Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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? – 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.