update-grub does not include btrfs linux os partition
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
update-grub does not include btrfs linux os partition
Hi,
Every time when I run update-grub it did not include os linux ubuntu installed on BTRFS partition into grub.cfg. (I have it in 40_custom file manually included).
Could anybody tell me what am I missing or how to force update-grub to generate grub.cfg including linux ubuntu installed on btrfs partition or explain why is not there ?
os-prober on Oneiric should have been patched to detect btrfs. I recall seeing issues raised with subvolumes. Raise a bugzilla entry.
I still use ext3 typically for /boot because of so many possible variations in my environment.
os-prober on Oneiric should have been patched to detect btrfs. I recall seeing issues raised with subvolumes. Raise a bugzilla entry.
I still use ext3 typically for /boot because of so many possible variations in my environment.
Thanks to navigate me to os-prober. I have ext2 for /boot :-) I am not clear that oneiric should have been patched to detect btrfs. Is it possible to fix it by some already existing patch or is it under development ?
No the patch should already be included.
Go here and do as it says. It'll show us your boot configuation (nothing personal).
Forgot to mention: I just had a look at a Linux Mint system I have that has a ext3 /boot and btrfs root. Seems to work o.k. - finds Fedora which is also btrfs. This Mint is based on Debian, but I would expect all that to be similar.
O.K., cancel that comment - that Fedora system also has a separate ext3 /boot ... .
I have attached my RESULTS1.txt.
Because It is quite huge - I have a lot of my config in develop stuff there - going to describe shortly what is missing:
update-grub runs on /dev/sdc5 instance did not generated menuentry for btrfs on /dev/sde7 within /boot on /dev/sde2.
Please let me know if I should reported RESULTS1.txt on another forum ?
I have upgraded btrfs to precise and it is still not possible to detect another Ubuntu instance where / is btrfs and /boot is ext2.
Is there any workaround how to persuade os_prober or something else to generate by update-grub btrfs/ext2 menuentry in grub.conf properly
Are these Ubuntu systems at the same release (Oneriic, Precise ... whatever) ?. I seem to recall I saw a situation once where this happened when I was messing with a netbook - there might be some checking code in the Ubuntu os-prober. Esy enough to check, it's just a script (or was).
I doubt it has anything to do with btrfs.
I had a quadrupal-boot system with winsxp, debian, ubuntu & ubuntu server, upon installation of ubuntu it didn,t recognize debian.
The only way I got it to work was to mount the debian partitions & run os-prober & update-grub.
I was told by syg00 os-prober wasn't necessary & found it to be true as update-grub does it.
Are these Ubuntu systems at the same release (Oneriic, Precise ... whatever) ?. I seem to recall I saw a situation once where this happened when I was messing with a netbook - there might be some checking code in the Ubuntu os-prober. Esy enough to check, it's just a script (or was).
I doubt it has anything to do with btrfs.
Yes, When we posted previously longer time ago I had 4 oneiric ubuntu instances on internal hard drives.
At this moment - All ubuntu instances are precise.
I do not have another than Ubuntu instances installed (except in virtualbox, but that is not for this case :-).
At this moment I have 3 of them on internal hard drives plus 2x on USBs pendrive plus 1x usb ext hard drive plus 1x SDCard plus 2x wubi
plus now I am working on RAID 0 for 2x ext4 (ssd disk , sata disks) , btrfs , xfs , reiserfs , jfs - but they ar not booting yet.
(And not detected by update-grub either even they should be now - but it is another problem for another post , maybe :-)
I had a quadrupal-boot system with winsxp, debian, ubuntu & ubuntu server, upon installation of ubuntu it didn,t recognize debian.
The only way I got it to work was to mount the debian partitions & run os-prober & update-grub.
I was told by syg00 os-prober wasn't necessary & found it to be true as update-grub does it.
Yes, I tried it as well many times but it does not have influence if they are mounted or not.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.