Re: Grub dilemma



On Sat, Oct 18, 2008 at 04:01:35PM +0200, Cubells wrote:
En/na Frank McCormick ha escrit:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I am running two distributions on my machine...Sid on hda1 and another
(Ubuntu) on hda3. Grub seems to boot from hda3...as I have to copy Grubs
menu.lst to hda3 every time Sid's kernel gets updated. (I don't remember
where I installed Grub..it was a long time ago ).


No.

You have installed your ubuntu grub on the MBR, but when debian has a
kernel upgrade your ubuntu doesn't upgrade its grub configuration file
because it isn't a automagic kernel. :-)

You have to edit your grub configuration file and put something like this:

### END DEBIAN AUTOMAGIC KERNELS LIST

title Debian
root (hd0,0)
kernel /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
savedefault

This is for grub package /boot/grub/menu.lst. If you are installing
grub-pc, you have /boot/grub/grub.cfg

menuentry "Debian GNU/Linux" {
set root=(hd0,1)
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
}

please note (hd0,1) : larger number!!!

Osamu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: download linux kernel 2.6.33.2
    ... I am running Ubuntu 8.04 with BIOS 2.6 24-27-generic. ... Fairly certain that you mean Ubuntu 8.04 with Linux Kernel 2.6.24-7 ... So first figure out whether it is the bios or grub that is giving you ...
    (Ubuntu)
  • Re: GRUB badly broken during upgrade
    ... I went to upgrade the Ubuntu to 11.10, and all seemed well until I ... root. ... When I had just installed Xubuntu, the grub menu would show its ...
    (Ubuntu)
  • Re: GRUB badly broken during upgrade
    ... I went to upgrade the Ubuntu to 11.10, and all seemed well until I ... root. ... When I had just installed Xubuntu, the grub menu would show its ... Right now, on boot, your system goes straight to a grub rescue prompt? ...
    (Ubuntu)
  • Re: expand /boot partition?
    ... install several new Ubuntu versions from live or ... /dev/sda1 - Windows Vista ... I use the Windows Vista bootloader. ... I figure the menu just need to be told where grub is again.. ...
    (Ubuntu)
  • Re: Fwd: CD/DVD drive problem
    ... "It must be a Ubuntu problem" seems to be a stock answer. ... source software ported to Windows for people I know who will only use ... Grub must at some point be probing the ide/ata devices, ... permanently disables it until the next hard boot. ...
    (Ubuntu)