LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 11-07-2011, 05:46 PM   #1
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Rep: Reputation: 1
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 ?

thank you for any clue.
M.
 
Old 11-07-2011, 06:22 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,425

Rep: Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055
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.
 
Old 11-08-2011, 07:39 PM   #3
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by syg00 View Post
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 ?
 
Old 11-08-2011, 07:59 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,425

Rep: Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055
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 ... .

Last edited by syg00; 11-08-2011 at 08:07 PM.
 
Old 11-08-2011, 09:00 PM   #5
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
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 ?
Attached Files
File Type: txt RESULTS1.txt (244.5 KB, 3 views)
 
Old 05-03-2012, 08:57 AM   #6
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Hi,

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

thank you for any clue ?
M.
 
Old 05-03-2012, 09:43 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,425

Rep: Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055
Sorry, just noticed this again. This is to get me subscribed to the thread again.
Will reply tomorrow.
 
Old 05-03-2012, 11:17 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,425

Rep: Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055
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.
 
Old 05-04-2012, 01:08 AM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,982

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
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.
 
Old 05-04-2012, 06:26 AM   #10
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by syg00 View Post
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 :-)
 
Old 05-04-2012, 06:27 AM   #11
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by EDDY1 View Post
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.
 
  


Reply

Tags
generate, grub 2, linux, update


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
btrfs and lilo wont install on the root partition charlie_lab Slackware - Installation 9 09-08-2011 03:17 AM
[SOLVED] Btrfs, grub & dualboot martvefun Linux - General 2 02-02-2011 02:07 AM
Restore btrfs partition Alien_Hominid Linux - General 1 12-19-2010 04:01 AM
parted doesn't see display name when partition is reiser4 or btrfs robertjinx Linux - Software 2 08-08-2010 03:19 AM
how to include in Linux NIS update from solaris maztahv00d00 Linux - Newbie 1 05-07-2006 03:59 PM


All times are GMT -5. The time now is 07:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration