[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
How to convert to reiserfs
Dear luggies,
Requirements:
1. linux kernel source linux-2.2.14 (If you have linux-2.2.12 , you can download patches patch-2.2.13 and patch-2.2.14 and apply them in the order
cd /usr/src (assuming linux src is in /usr/src/linux)
patch -p0 /path-to/patch-2.2.13
patch -p0 /path-to/patch-2.2.14
find /usr/src/linux -name "*.rej",
You shouldn't have any .rej files, if you have them , then you have some trouble with the source or patch
2. Reiserfs 3.5.16 patch available from
ftp.devlinux.com/pub/namesys/
patch the kernel linux-2.2.14 with the reiserfs patch
cd /usr/src
path -p0 /path-to/reiserfs-3.5.16-patch
check for .rej files
After this you compile the kernel according to your requirements (don't forget to turn on reiserfs support) and reboot with the new kernel and check if everything is fine.
You have to install the reiserfs utilities.The following commands do that
cd /usr/src/linux/fs/reiserfs
mkdir bin
make install
Now you are ready to switch to reiserfs
I assume that you have separate /usr partition and you want to convert this to reiserfs.
1.Copy all the data to another partition or harddisk
cp -a /usr /mnt/other-partition
where other-partition is another partition or another hard disk mounted on /mnt/other-partition
2.Switch to single user mode and unmount /usr partition.(You wouldn't be able to unmount /usr in multiuser mode)
umount /usr
3. make reiserfs filesystem on the usr partition
mkreiserfs /dev/hdXX for ide
mkreiserfs /dev/sdXX for SCSI
substitute XX with the correct parameters
first X - drive number
eg - hda for ide primary master
second X - partition number
eg- hda1 for first primary partition
hda5 for first partition in extended partition
To find out which partition you /usr is
cat /etc/fstab and get the entry for /usr
4.Modify the /etc/fstab , change the partition type corresponding to /usr to reiserfs
5.Copy the data back to /usr
6.Get back to multiuser mode
init 3
That's all , you have reiserfs up and running.
Note: 1.For other partitions substitute /usr with the corresponding partition
2.I wouldn't advise you to convert / to reiserfs
regards,
George Samuel
_________________________________________________
Get Your Free Email At, http://www.rediffmail.com
---
Send e-mail to 'ilugc-request@xxxxxxxxxxxxxxxxxx' with 'unsubscribe'
in either the subject or the body to unsubscribe from this list.