You are not logged in.

#1 2008-05-11 01:08:49

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

GRUB Error 11: Unrecognized Device String

This just popped out of nowhere. i tried reinstalling GRUB with a livecd but that didn't work. This is on a fresh install from last night. This morning just rebooted and BAM. The Windows option still works though..:rolleyes:

Heres my menu.lst

# (0) Arch Linux
title  Arch Linux
root  (hd0,2)
kernel /boot/vmlinuz26
root=/dev/disk/by-uuid/a9341d88-bf3b-4dfe-a46d-46c38b2c2224 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root  (hd0,2)
kernel /boot/vmlinuz26
root=/dev/disk/by-uuid/a9341d88-bf3b-4dfe-a46d-46c38b2c2224 ro
initrd /boot/kernel26-fallback.img

Whats wrong?

Last edited by b0uncyfr0 (2008-05-11 02:39:35)

Offline

#2 2008-05-11 05:12:55

ScriptDevil
Member
From: In Front of My PC
Registered: 2006-04-06
Posts: 253

Re: GRUB Error 11: Unrecognized Device String

The kernel and root must be in the same line
Wrong:
kernel /boot/vmlinuz26
root=/dev/disk/by-uuid/a9341d88-bf3b-4dfe-a46d-46c38b2c2224 ro

Right:
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/a9341d88-bf3b-4dfe-a46d-46c38b2c2224 ro

Press "e" in your grub screen on any one

Go to the root line and press "e"

Go to its begining and type kernel /boot/vmlinuz26

Press Enter

Go to the previous line ("The one with the kernel in it")

Press "d" to delete it

Press "b" to boot

When your install boots, open the /boot/grub/menu.lst and delete the line break between the kernel and root line. Save the file.

big_smile enjoy

Last edited by ScriptDevil (2008-05-11 05:13:44)


Be yourself, because you are all that you can be

Offline

#3 2008-06-27 18:29:20

AndrewW
Member
Registered: 2008-06-27
Posts: 3

Re: GRUB Error 11: Unrecognized Device String

Thank you!

This happened to me on the first boot after installing. It seems that nano automatically put root on a new line when I added a vga setting. As I was editing menu.lst to remove the newline, nano tried replacing it several times!

I think I'll go and learn vi now.

Offline

#4 2008-06-27 20:08:46

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: GRUB Error 11: Unrecognized Device String

I had the same problem, when you edit the kernel line, it word wraps the root= line. You just add your change, then backspace at the beginning of the line.

You can also just create a .nanorc file in your home directory and put in

set nowrap

and all will be well.

Offline

#5 2008-06-27 21:23:03

JeremyTheWicked
Member
From: Poland
Registered: 2008-05-23
Posts: 193

Re: GRUB Error 11: Unrecognized Device String

AndrewW wrote:

Thank you!

This happened to me on the first boot after installing. It seems that nano automatically put root on a new line when I added a vga setting. As I was editing menu.lst to remove the newline, nano tried replacing it several times!

I think I'll go and learn vi now.

That's why it's safer to invoke 'nano -w' when dealing with system configuration files.


arch(3) adj amused because you think you understand something better than other people ;P

Offline

Board footer

Powered by FluxBB