[Bug 356584] [NEW] Upgrading from grub to grub 2 in ubuntu 9.04 raise this error: Error 11: Unrecognized device string

Luis Ochoa ziul1979 at gmail.com
Mon Apr 6 20:40:21 UTC 2009


Public bug reported:

I report bug and solution, but this happens even when I do it on ubuntu
9.04 with latest packages:

When upgrading from GNU GRUB 0.97 to GRUB2 (or currently 1.96), if your
existing /boot/grub/menu.lst file has the uuid command which replaced
the root command, you need to revert to the root command.

You need to open your /boot/grub/menu/lst file as 'root' (administrator)

Then you need to edit the file and save the changes before closing. For
example, change this:

----------------------------------------------------------------------------------------------------------------------------------------
title    Ubuntu, kernel 2.6.20-15-generic
uuid     fe7bf845-7ce9-4733-b6de-f70f2b62076d
kernel   /boot/vmlinuz-2.6.20-15-generic root=UUID=fe7bf845-7ce9-4733-b6de-f70f2b62076d ro quiet splash
initrd   /boot/initrd.img-2.6.20-15-generic
quiet
----------------------------------------------------------------------------------------------------------------------------------------

change for next text,  this is because uuid is not supported by this
grub 2 version, but it's used  and then raise an grub error Error 11:
Unrecognized device string.

Resume change uuid for root.
----------------------------------------------------------------------------------------------------------------------------------------
title    Ubuntu, kernel 2.6.20-15-generic
root     (hd0,1)   # or alter for whatever hard disk and partition number you have
kernel   /boot/vmlinuz-2.6.20-15-generic root=UUID=fe7bf845-7ce9-4733-b6de-f70f2b62076d ro quiet splash
initrd   /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
----------------------------------------------------------------------------------------------------------------------------------------

Where: '(hd0,1) is the applicable hard disk and partition number in GRUB terms for your Ubuntu partition.
If you're not sure, run 'sudo fdisk -lu', or open Gnome Partition Editor from your Ubuntu Live CD and take a look.
You will see your Ubuntu partition described with a number like '/dev/sda2' or similar. 

After I did this everything goes fine.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Upgrading from grub to grub 2 in ubuntu 9.04 raise this error: Error 11: Unrecognized device string
https://bugs.launchpad.net/bugs/356584
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list