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? =(
('thats odd..') Lenny not booting
('thats odd..') Lenny not booting
"The best place to hide a tree, is in a forest"
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:
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
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
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
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
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 againbad_brain wrote:yeah, but you can also press "c" for "command line", "e" is explicitly for editing the boot parameters...
"The best place to hide a tree, is in a forest"
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
it'll display sth like:
the 2nd line (kernel) is the one you're looking for...change hdx to sdx...
Code: Select all
root (hd0,1)
kernel /boot/vmlinuz-xxx root = /dev/hda1
initdr /boot/vmlinuz-xxx