Yet Another Box Using XFS
Finally! Approximately 28 hours after I started I finally got my laptop’s root filesystem to be XFS. Yay! Here’s a quick summary of what I did:
- boot with init=/bin/bash
- make sure that / is mounted read-only
- mount my external firewire drive read-write
- use dd to copy the entire root partition to a file on the external disk
- run sha1sum on the disk image and the partition (just to make sure that I got everything exactly the way it is)
- reboot into knoppix/other live CD (I happened to have a copy of SLAX)
- mkfs.xfs the partition
- mount the partition, and the disk image (using -o loop=/dev/loop9)
- cp -a the files from the disk image to the partition
- chroot to the new partition
- edit /etc/fstab to reflect new filesystem type
- run grub to install the new stage 1.5
- reboot, and enjoy the new filesystem
It is rather simple procedure. The thing that made it take so long (instead of ~3-4 hours) was the fact that GRUB didn’t want to work. It took me more than a day to figure out that downgrading grub to 0.91-2 would do the trick.
Comment by [unknown] — January 1, 1970 @ 00:00
Comment by [unknown] — January 1, 1970 @ 00:00