It’s just yulistic!

last update:

Purpose Let’s make a root(/) partition except /boot directory be btrfs. btrfs supports a copy-on-write functionality. For the reason of excepting /boot partition, the Ubuntu document warns against including Grub into btrfs partition. ... As of 11.04, it is possible to use only btrfs file systems with the caveat that grub 'MUST NOT' be installed to the boot sector of the btrfs volume containing /boot. (from [link]( As a result, I decided to make the /boot partition be separated from the root(/) partition.

Problem Make a boot partition be separated from the root partition without re-installation. Environment Ubuntu 10.04.04 Live USB (Burned with UNetbootin) Grub legacy Solution Basically refer to link. The site mentions two methods: Easy way and Manual way. Firstly, I tried _Easy way_ but failed because of some problems in a tool, boot-repair. I recommend to follow Manual way and the following explanations are also related to that way.

1. Backup for Grub2 settings $ sudo cp /etc/default/grub /etc/default/grub.old $ sudo cp -R /etc/grub.d /etc/grub.d.old $ sudo cp -R /boot/grub /boot/grub.old 2. Remove Grub2 $ sudo apt-get purge grub2 grub-pc 3. Install Grub Legacy $ sudo apt-get install grub 4. Update Grub settings $ sudo update-grub $ sudo grub-install /dev/sdX *sdX should be matched your machine state. Usually, it is /dev/sda. 5. Block the update of Grub Legacy $ echo “grub hold” | sudo dpkg --set-selections