Kubuntu diehard trying out OpenSuSE; your grub install keeps nuking my grub2 install!

Hi!

I’m trying to dual boot OpenSuSE. Here’s the output from my attempts to update grub2


~ : Yes, Supreme Empress? $ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-24-generic-pae
Found initrd image: /boot/initrd.img-2.6.32-24-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found openSUSE 11.3 (i586) on /dev/sda4
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda4.  Check your device.map.
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda4.  Check your device.map.
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda4.  Check your device.map.
done
~ : Yes, Supreme Empress? $

My install of OpenSuSE died when it attempted to install grub legacy to the / partition I’d assigned it. Though OpenSuSE appears in my grub2 boot menu, it won’t boot. The error given is something like “no device found, you must mount kernel, press any key to continue”. I can’t remember it precisely, but that’s the gist. Grub legacy must not have installed, and now grub2 can’t properly boot it.

What should I do?

From kubuntu, can you post the output of

fdisk -l

And the contents of ‘/boot/grub/menu.lst’ of the SUSE root partition?

My install of OpenSuSE died when it attempted to install grub legacy to the / partition I’d assigned it.

I don’t really like that bit.

On 2010-09-02 08:36, tarahmarie wrote:
>
> Hi!
>
> I’m trying to dual boot OpenSuSE. Here’s the output from my attempts
> to update grub2
>
>
> Code:
> --------------------
>
> ~ : Yes, Supreme Empress? $ sudo update-grub
> Generating grub.cfg …
> Found linux image: /boot/vmlinuz-2.6.32-24-generic-pae
> Found initrd image: /boot/initrd.img-2.6.32-24-generic-pae
> Found memtest86+ image: /boot/memtest86+.bin
> Found openSUSE 11.3 (i586) on /dev/sda4
> /usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda4. Check your device.map.
> /usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda4. Check your device.map.
> /usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda4. Check your device.map.
> done
> ~ : Yes, Supreme Empress? $

What contains the device.map file?


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

Two things.

  1. Honestly if you’re installing 11.3, find and download 11.2.
    I am a big fan of opensuse but 11.3 was nothing but problems
    straight out of the gate for me.I wouldn’t want you to waste a lot
    of time setting up GRUB only to find out the distro itself is plagued.
    (my opinion of course, ymmv)

  2. Thanks for giving OpenSuSE a spin, but the conversion rate from .deb base
    buntu to .rpm OpenSuSE or vice versa seems to be fairly low. They are just
    different enough to make one or the other person insane. In any case, I hope
    you have a good experience I think KDE on SuSE is the best there is.


~ : Yes, Supreme Empress? $ sudo fdisk -l
[sudo] password for tarahmarie: 

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
                                                                          
   Device Boot      Start         End      Blocks   Id  System            
/dev/sda1   *           1           1        1023+  83  Linux             
/dev/sda2               1        2612    20971519+  83  Linux
/dev/sda3            2612        3656     8388607+  82  Linux swap / Solaris
/dev/sda4               1           1           0+  ee  GPT

Partition table entries are not in disk order

Disk /dev/sdb: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d75a7

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       91201   732572001   83  Linux

Disk /dev/sdd: 15.9 GB, 15931539456 bytes
255 heads, 63 sectors/track, 1936 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1        1937    15554048    c  W95 FAT32 (LBA)


And the contents of menu.lst:

Ah. Hmm. There ARE no contents in menu.lst. I’m assuming that may be my problem? If so, what do I do?

There is no menu.lst in Ubuntu
Grub 2 does not have one.

Are we to assume sda holds openSUSE and sdb Ubuntu?

If sda is openSUSE I would wipe it and start again. All you need is something like this:

sda1 swap
sda2 root
sda3 extended *
sda5 /home

The boot flag * should eventually end up on sda3