VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: how to convert current ReiserFS partition to XFS at installation of VL5.9  (Read 2169 times)

vincent2

  • Vectorite
  • ***
  • Posts: 412

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: 2504

lets start with how many partitions do you have?
do you have data there you want to keep?
Logged

vincent2

  • Vectorite
  • ***
  • Posts: 412

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.8). 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: 2504

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: [Select]
tar cpO /home/username|lzma >/tmp/backup.tlzand 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: [Select]
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: [Select]
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: [Select]
/sbin/lilo -vthen 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