VectorLinux
April 23, 2014, 06:52:28 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: how to convert current ReiserFS partition to XFS at installation of VL5.9  (Read 1438 times)
vincent2
Vectorite
***
Posts: 390


« on: January 04, 2008, 01:47:54 am »

Bonjour!
Just downloaded VL5.9 to /home of my current VL5.8, I plan to use "vinstall-iso" to install VL5.9,in order to booster the performance of Laptop I decided to switch to XFS,
would anybody elaborate how to convert current ReiserFS partitions to XFS at installation of VL5.9?
which commands and tools?

A bien tot!
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2503



« Reply #1 on: January 04, 2008, 06:50:56 am »

lets start with how many partitions do you have?
do you have data there you want to keep?
Logged
vincent2
Vectorite
***
Posts: 390


« Reply #2 on: January 05, 2008, 06:05:58 am »

Four partitions all together  in hard disk excluding swap partition(1 ntfs for xp,1 win fat,1 reiserfs for / of vl5.8,1 reiserfs for /home of vl5.Cool. i do need the data on /home as vl5.9 iso left there for v-install.perhaps i'd better move the data of /home to win fat partition before running  v-install, then i can convert both "/" and "/home" partition  to XFS.  but how?
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2503



« Reply #3 on: January 05, 2008, 09:50:42 am »

first move the ISO to the fat32 partition

you should then backup your personal data. if you tar it up you can store it on the fat32 partition without losing permisions.
this can be done with the command below. just change /home/username to the dir or files you want to backup
Code:
tar cpO /home/username|lzma >/tmp/backup.tlz
and then move the backup.tlz to the fat32 partition

then you will need to add the installer initrd and kernel to lilo
you will ned to mount the ISO and copy them from it.
this can be done with the command below. just change fat32partition to thae actual name of the partition
Code:
mount -o loop /mnt/fat32partition/VL5.9*.iso /mnt/loop
cp /mnt/loop/isolinux/initrd.img /boot
cp /mnt/loop/isolinux/kernel/sata /boot


now copy and paste the command section below to fix lilo.conf
Code:
cat >>/etc/lilo.conf <<EOF
title vl install
root (hd0,0)
kernel /boot/sata root=/dev/ram rw
initrd /boot/initrd.img
EOF

then run lilo
Code:
/sbin/lilo -v
then reboot and choose vl install from lilo menu
this will start the installer which should find the ISO on the fat32 partition and let you format the linux partitions as XFS

HTH,
Uelsk8s
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!