Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a separate 10GB partition to test pre-release builds. This time I decided to test the btrfs as root. After finishing installation, ubiquity showed an error message stating that grub could not be installed and I must install it manually. I thought 11.10 supported grub on btrfs. Anyways, here is my partition scheme.

/dev/sda1 ext4 / (Oneiric)
/dev/sda2 ext4 /home 
/dev/sda3 btrfs / (Oneiric) 

The problem is that grub does not pick up /dev/sda3 entries using update-grub2 command.

How do I manually add an entry for /dev/sda3 to grub2 so that I can choose which installation to boot into?

share|improve this question

closed as too localized by fossfreedom Apr 2 '12 at 17:35

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
possibly you need a separate /boot partition as per this bug report? bugs.archlinux.org/task/23901 –  fossfreedom Nov 10 '11 at 10:18
    
@fossfreedom, nope, grub2 now supports booting directly from btrfs. Owais Lone, when you installed you had sda3 set to mount at / right? sda1 should not have been assigned a mount point. –  psusi Nov 10 '11 at 14:40
    
@psusi Yes, /dev/sda3 was selected as /. No mount point was selected to /dev/sda1. I installed twice with the same result. –  Owais Lone Nov 10 '11 at 17:11
    
Do you want the btrfs-oneiric to appear in your sda1 grub? Do you have os-prober installed on your sda1 system? –  bseibold Nov 16 '11 at 13:42
    
Yes it's installed. Anyways, I reformatted the partition to ext4 and installed precise on it but an answer might help someone else in the same situation. –  Owais Lone Nov 16 '11 at 13:54

Browse other questions tagged or ask your own question.