Re: Debian's grub doesn't detect Ubuntu
On Mon, Jul 2, 2012 at 10:30 AM, Siard wrote: > Tom H wrote: >> Siard wrote: >>> Mika Suomalainen wrote: It seems that Debian's grub can only detect Debian and Windows 7, but not Ubuntu. >>> >>> First make sure that Ubuntu's /boot/grub/grub.cfg contains a >>> menuentry for Ubuntu in the section starting with >>> ### BEGIN /etc/grub.d/10_linux ### >> >> os-prober doesn't need "/boot/grub/grub.cfg" in Ubuntu to exist in >> order to create an entry in the Debian "/etc/grub.d/30_os-prober" >> section. > > I have Squeeze and Wheezy. I uninstalled Wheezy's grub, but then > Squeeze's grub did not detect kernel upgrades in Wheezy. After > reinstalling Wheezy's grub, things worked right again. > That's why I concluded that Wheezy's /boot/grub/grub.cfg is needed. This hasn't been my experience with grub2 at all. Just in case, I've just tested in a VM with two disks one with sid and one with quantal. sid's grub2 recognized and added quantal when (1) quantal's grub2 was installed and "/boot/grub/grub.cfg" existed (it used the kernel options in grub.cfg), (2) quantal's grub2 was installed and quantal's "/boot/grub/grub.cfg" was deleted, (3) quantal's grub* was uninstalled, (4) quantal's grub* was uninstalled and the first 446 of quantal's MBR and quantal's bios_boot partition were blanked out with dd. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=szcp_2olocjauv+zj-nuvco3wpbka0oy_n6f2sujfm...@mail.gmail.com
Re: Debian's grub doesn't detect Ubuntu
Tom H wrote: > Siard wrote: > > Mika Suomalainen wrote: > > > It seems that Debian's grub can only detect Debian and Windows 7, > > > but not Ubuntu. > > > > First make sure that Ubuntu's /boot/grub/grub.cfg contains a > > menuentry for Ubuntu in the section starting with > > ### BEGIN /etc/grub.d/10_linux ### > > os-prober doesn't need "/boot/grub/grub.cfg" in Ubuntu to exist in > order to create an entry in the Debian "/etc/grub.d/30_os-prober" > section. I have Squeeze and Wheezy. I uninstalled Wheezy's grub, but then Squeeze's grub did not detect kernel upgrades in Wheezy. After reinstalling Wheezy's grub, things worked right again. That's why I concluded that Wheezy's /boot/grub/grub.cfg is needed. > If "/boot/grub/grub.cfg" exists in Ubuntu, os-prober uses its kernel > options in the Debian "/etc/grub.d/30_os-prober" section. Yep, I once moved Wheezy to another partition. Wheezy's grub.cfg still contained the old partition, and Squeeze's os-prober adopted that. I had to correct the partition in Wheezy's grub.cfg to get it working right again. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120702163050.5338fa05.shiems...@kpnplanet.nl
Re: Debian's grub doesn't detect Ubuntu
On Wed, Jun 27, 2012 at 11:35 AM, Helgi Örn Helgason wrote: > On 27 June 2012 07:37, Mika Suomalainen > wrote: >> >> I have three OSes on this computer. They are Debian Sid, Ubuntu Precise >> and Windows 7. >> >> It seems that Debian's grub can only detect Debian and Windows 7, but >> not Ubuntu. >> >> I have tried Googling and running update-grub some times, but I haven't >> found anything useful. >> >> What should I try now? >> > Did you mount the Ubuntu partition before running update-grub? > If not, then try that. Usually that will help. There's no need to mount the Ubuntu "/" or "/boot" partition for os-prober to detect and add Ubuntu. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SzQbcMrMts1beqaENLLwsi5KkfnLKNkTC=mdgqehoo...@mail.gmail.com
Re: Debian's grub doesn't detect Ubuntu
On Wed, Jun 27, 2012 at 10:31 AM, Siard wrote: > Mika Suomalainen wrote: >> >> It seems that Debian's grub can only detect Debian and Windows 7, but >> not Ubuntu. > > First make sure that Ubuntu's /boot/grub/grub.cfg contains a menuentry > for Ubuntu in the section starting with > ### BEGIN /etc/grub.d/10_linux ### os-prober doesn't need "/boot/grub/grub.cfg" in Ubuntu to exist in order to create an entry in the Debian "/etc/grub.d/30_os-prober" section. If "/boot/grub/grub.cfg" exists in Ubuntu, os-prober uses its kernel options in the Debian "/etc/grub.d/30_os-prober" section. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sx0mrh7ck5o_8ftwajf6ppzxbdnf6sp3waag44gbzj...@mail.gmail.com
Re: Debian's grub doesn't detect Ubuntu
On Thu, 2012-06-28 at 13:51 +0300, Mika Suomalainen wrote: > On 27.06.2012 18:35, Helgi Örn Helgason wrote: > > On 27 June 2012 07:37, Mika Suomalainen > > wrote: > >> > Hi, > >> > > >> > I have three OSes on this computer. They are Debian Sid, Ubuntu Precise > >> > and Windows 7. > >> > > >> > It seems that Debian's grub can only detect Debian and Windows 7, but > >> > not Ubuntu. > >> > > >> > I have tried Googling and running update-grub some times, but I haven't > >> > found anything useful. > >> > > >> > What should I try now? > >> > > > Did you mount the Ubuntu partition before running update-grub? > > If not, then try that. Usually that will help. > > Thank you for your reply. > > I tried mounting all partitions now and running update-grub after > reading your email, but it didn't seem to work. I am still seeing only > Debian and Windows 7 in GRUB. > Try running update-grub on the Ubuntu partition. If these are on partitions on a single disk then make sure that you don't writ this Ubuntu results to the MBR. You just need to regenerate grub.cfg for Ubuntu. Then do the same for Debian but tell grub to write to the MBR. If these are on separate disks then have the ubuntu update write to the boot partition on the disk that it is installed on. Then have debian write to the MBR. I expect that the MBR is on a Windows 7 disk that is mounted as your start up disk as Win7 does not play well elsewise. If possible & you have these on separate disks then change the boot sequrence in you system bios to have your Debian disk as the first boot disk. I have such a setup. Debian, Ubuntu, Linux Mint, Windows 7 pro in that order, Each on its own disk. frosty -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1341063287.22317.9.ca...@beast.home
Re: [SOLVED] Debian's grub doesn't detect Ubuntu (was: Re: Debian's grub doesn't detect Ubuntu)
On Vi, 29 iun 12, 17:46:06, Mika Suomalainen wrote: > > I wondered why Debian's GRUB doesn't detect Ubuntu, but Ubuntu's GRUB > detects Debian at #ubuntu-fi-offtopic on freenode and I got answer that > Debian doesn't have os-prober. I mentioned os-prober in my first message :( > I noticed that that package is available on Debian repositories, > installed it and ran "os-prober" and "update-grub" as root and then GRUB > found Ubuntu. os-prober is recommended by grub-common. If you don't install recommended packages you should know what your are doing. Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: Debian's grub doesn't detect Ubuntu
On 28 June 2012 12:51, Mika Suomalainen wrote: > > Thank you for your reply. > > I tried mounting all partitions now and running update-grub after > reading your email, but it didn't seem to work. I am still seeing only > Debian and Windows 7 in GRUB. > Hmm... Strange, I did this today on a computer with exactly these same three systems. After a Ubuntu kernel upgrade I booted up debian and ran update-grub after mounting the Ubuntu partition, like usual it worked perfectly well. Where is your Ubuntu /boot, under / or on a seperate partition? /HÖ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAKuLEK7z92QofaowYjWNkX2LEpaqAFTGgzRB=put-fckzna...@mail.gmail.com
[SOLVED] Debian's grub doesn't detect Ubuntu (was: Re: Debian's grub doesn't detect Ubuntu)
Hi, This issue is now solved. I wondered why Debian's GRUB doesn't detect Ubuntu, but Ubuntu's GRUB detects Debian at #ubuntu-fi-offtopic on freenode and I got answer that Debian doesn't have os-prober. I noticed that that package is available on Debian repositories, installed it and ran "os-prober" and "update-grub" as root and then GRUB found Ubuntu. signature.asc Description: OpenPGP digital signature
Re: Debian's grub doesn't detect Ubuntu
On Wed, 27 Jun 2012 10:37:08 +0300, Mika Suomalainen wrote: > I have three OSes on this computer. They are Debian Sid, Ubuntu Precise > and Windows 7. > > It seems that Debian's grub can only detect Debian and Windows 7, but > not Ubuntu. You have a clever computer ;-P > I have tried Googling and running update-grub some times, but I haven't > found anything useful. > > What should I try now? If running "update-grub¹" does not do the trick, copy/paste the GRUB entry menu you have configured for Ubuntu, if any. If there's still none, also tell us so. ¹ Ensure the os-prober feature is enabled in "/etc/default/grub", variable #GRUB_DISABLE_OS_PROBER="true" should be commented out (#). Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jshseg$no$8...@dough.gmane.org
Re: Debian's grub doesn't detect Ubuntu
On 27.06.2012 18:35, Helgi Örn Helgason wrote: > On 27 June 2012 07:37, Mika Suomalainen > wrote: >> > Hi, >> > >> > I have three OSes on this computer. They are Debian Sid, Ubuntu Precise >> > and Windows 7. >> > >> > It seems that Debian's grub can only detect Debian and Windows 7, but >> > not Ubuntu. >> > >> > I have tried Googling and running update-grub some times, but I haven't >> > found anything useful. >> > >> > What should I try now? >> > > Did you mount the Ubuntu partition before running update-grub? > If not, then try that. Usually that will help. Thank you for your reply. I tried mounting all partitions now and running update-grub after reading your email, but it didn't seem to work. I am still seeing only Debian and Windows 7 in GRUB. -- [Mika Suomalainen](https://mkaysi.github.com/) || NOTICE! I am on mobile broadband with very limited time, so I cannot read emails very much. The best time to contact me is probably weekends when I have better connectivity with good luck. [gpg --keyserver pool.sks-keyservers.net --recv-keys 4DB53CFE82A46728](http://mkaysi.github.com/PGP/key.txt) || [Why do I sign my emails?](http://mkaysi.github.com/PGP/WhyDoISignEmails.html) || [Do you have problems verifying my PGP/MIME signature on mailing list?](http://mkaysi.github.com/PGP/PGP-MIME.html) || [Please don't send HTML.](http://mkaysi.github.com/articles/complaining/HTML.html) || [This signature](https://gist.github.com/2643070#file_icedove.md) [Please reply below this line](http://mkaysi.github.com/articles/complaining/topposting.html) signature.asc Description: OpenPGP digital signature
Re: Debian's grub doesn't detect Ubuntu
On 27 June 2012 07:37, Mika Suomalainen wrote: > Hi, > > I have three OSes on this computer. They are Debian Sid, Ubuntu Precise > and Windows 7. > > It seems that Debian's grub can only detect Debian and Windows 7, but > not Ubuntu. > > I have tried Googling and running update-grub some times, but I haven't > found anything useful. > > What should I try now? > Did you mount the Ubuntu partition before running update-grub? If not, then try that. Usually that will help. Cheers, /HÖ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cakulek4oz5vp76qlin+-hluh71xkzfmgd2tdqqcoxbtjtxi...@mail.gmail.com
Re: Debian's grub doesn't detect Ubuntu
Mika Suomalainen wrote: > It seems that Debian's grub can only detect Debian and Windows 7, but > not Ubuntu. First make sure that Ubuntu's /boot/grub/grub.cfg contains a menuentry for Ubuntu in the section starting with ### BEGIN /etc/grub.d/10_linux ### If not, run update-grub in Ubuntu. Once it does, run update-grub in Debian. If Ubuntu still is not detected for some reason, you can always copy the menuentry from Ubuntu's /boot/grub/grub.cfg to Debian's /etc/grub.d/40_custom, and run update-grub in Debian once again. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120627163111.0ce85cd6.shiems...@kpnplanet.nl
Re: Debian's grub doesn't detect Ubuntu
On Mi, 27 iun 12, 10:37:08, Mika Suomalainen wrote: > Hi, > > I have three OSes on this computer. They are Debian Sid, Ubuntu Precise > and Windows 7. > > It seems that Debian's grub can only detect Debian and Windows 7, but > not Ubuntu. I'm sure the developer of os-prober would like to know about this, how about filing a bug (if one doesn't exist already)? Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: Debian's grub doesn't detect Ubuntu
You could, most likely, enter it by hand into the grub configuration; & it should then be available on your next reboot. In /boot/grub/grub.cfg; ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### -- Sent from FOSS (Free Open Source Software) Debian GNU/Linux -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAL36VGkt6XfXYxR=hhzo-tfcxpkgn3xvnr93mcpdkm6u-lo...@mail.gmail.com
Debian's grub doesn't detect Ubuntu
Hi, I have three OSes on this computer. They are Debian Sid, Ubuntu Precise and Windows 7. It seems that Debian's grub can only detect Debian and Windows 7, but not Ubuntu. I have tried Googling and running update-grub some times, but I haven't found anything useful. What should I try now? Thanks in advantage. -- [Mika Suomalainen](https://mkaysi.github.com/) || NOTICE! I am on mobile broadband with very limited time, so I cannot read emails very much. The best time to contact me is probably weekends when I have better connectivity with good luck. [gpg --keyserver pool.sks-keyservers.net --recv-keys 4DB53CFE82A46728](http://mkaysi.github.com/PGP/key.txt) || [Why do I sign my emails?](http://mkaysi.github.com/PGP/WhyDoISignEmails.html) || [Do you have problems verifying my PGP/MIME signature on mailing list?](http://mkaysi.github.com/PGP/PGP-MIME.html) || [Please don't send HTML.](http://mkaysi.github.com/articles/complaining/HTML.html) || [This signature](https://gist.github.com/2643070#file_icedove.md) [Please reply below this line](http://mkaysi.github.com/articles/complaining/topposting.html) signature.asc Description: OpenPGP digital signature