('thats odd..') Lenny not booting

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

('thats odd..') Lenny not booting

Post by ayu »

After the installation of Debian Lenny, all the devices that once were hd, changed to sd, like hda1 and hdb1 are now sda1 and sdb1 ... so Lenny wont boot now. And I can't figure out how to change it from the command line that is supplied in grub.

I got some info from the enormous "WARNING" message, and it said "try root = /dev/sda1", but....try where? ^^ I can't edit /proc/cmdline or anything =/ it's read only.

Help? =(
"The best place to hide a tree, is in a forest"

G-Brain
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 467
Joined: 08 Nov 2007, 17:00
16
Location: NL

Post by G-Brain »

SCSI drivers.

root= is a kernel option. You can add it in grub's menu.lst or add it by switching to the command line on boot. Something like this:

Code: Select all

kernel /boot/vmlinuz26 root=/dev/hda1
I <3 MariaLara more than all of you

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

I had the same issue, but because I had Sarge installed too I could edit menu.list from there.
to edit it from GRUB you don't have to use the command line:
- in the GRUB screen make sure the entry you want to edit is highlighted
- press "e"
- pick the line you want to edit and press "e" again
- edit the line, exit with ESC

:wink:

G-Brain
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 467
Joined: 08 Nov 2007, 17:00
16
Location: NL

Post by G-Brain »

bad_brain wrote:to edit it from GRUB you don't have to use the command line
Grub e, that's what I meant. It is a command line... :P
I <3 MariaLara more than all of you

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

yeah, but you can also press "c" for "command line", "e" is explicitly for editing the boot parameters... :wink:

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

bad_brain wrote:yeah, but you can also press "c" for "command line", "e" is explicitly for editing the boot parameters... :wink:
yeah I tried that, but didn't look like the right parameter, was something along the lines of "hd(0,0)" or something, but I'll check again
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

it'll display sth like:

Code: Select all

root (hd0,1)
kernel /boot/vmlinuz-xxx root = /dev/hda1
initdr /boot/vmlinuz-xxx
the 2nd line (kernel) is the one you're looking for...change hdx to sdx... :wink:

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Thanks guys ^^ I went inside to edit the grub list before, but for some odd reason that I can't explain, I only noticed the line "hd(0,0" :/ ... I went in again and changed it now though, thanks =)
"The best place to hide a tree, is in a forest"

Post Reply