Click to See Complete Forum and Search --> : Moved entire linux filesystem


HelplessNewbie
07-04-2003, 06:23 PM
I (someone who would be rated neither a complete newbie nor a linux expert) have succeded, with relative ease, in moving a 3.8GB SuSE 8.2 root filesystem (reiserfs) to a 21GB partition (that I stole from windows :)) using Knoppix and the reiserfs_resize utility. The only changes required were in /etc/fstab and /etc/lilo.conf in addition to rerunning 'lilo'. The system worked perfectly! Now try doing that in windows!

mdwatts
07-05-2003, 08:10 AM
So how (what commands etc.) did you do it?

HelplessNewbie
07-10-2003, 04:52 PM
The entire operation was done under Knoppix.
First I moved the filesystem by doing 'dd if=/dev/hda8 of=/dev/hda1'.
After that I resized it using reiserfs_resize (can't remember the exact params)
Then I mounted /dev/hda1, changed the / mount point in fstab, modified the and copied /mnt/hda1/etc/lilo.conf to knoppix's /etc/ because lilo didn't work correctly under chroot. After running lilo and rebooting everything worked perfectly. Now Linux is in it's rightful place on a 21GB partition and windows (which I use mainly for printing with my LBP-660) has it's 3.8GB as it deserves :). I'm one happy newbie now!