[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Core 2 Duo upgrade => Debian Etch stuck in initramfs shell



On Friday 06 October 2006 20:28, Richard in Paris wrote:
> Hello!
> I upgraded my config from a Duron to a Core 2 Duo on an Asus P5B-VM mobo
> (with integrated Intel 965G graphics controller). Just before that, I
> updated my Debian Etch to kernel 2.6.18, xorg 7.1, discover2, latest (as
> of this friday) grub, initramfs-tools, udev. I have a single harddisk
> (PATA) connected to the jmicron controller (JMB363) integrated on the
> mobo by Asus. Grub boots alright on hda (fstab also states that all my
> partitions are on hda), but twenty seconds later I see on the screen that
> my partitions are called hde1 hde2 hde3 and so on. Right after that I get
> this: Waiting for root file system
> Done
> Check root= bootarg cat /proc/cmdline
> or missing modules, devices: cat /proc/modules ls /dev
> ALERT! /dev/hda3 does not exist.
> Dropping to a shell!
> Busybox v1.01
> /bin/sh: can't access tty; job control turned off
> (initramfs)
>
> What can I do?

New kernels locate devices differently.  It detected your hard-disk as hde, 
not hda.  Either switch to using labels, since labels are designed to avoid 
these problems, or change references to hda to hde.  Detailed instructions 
below.

Boot from a floppy/usb-key/cd-rom (eg knoppnix).  Mount your hard disk.

Edit /boot/grub/menu.lst. Change 
	# kopt=root=/dev/hda3 ro
to
	# kopt=root=/dev/hde7 ro
or
	# root=LABEL=/xxx ro

Since grub seems to find the right hard disk, so you probably don't want to 
change the following line
	# groot=(hd0,2)

run update-grub

Edit /etc/fstab (either change hda to hde or switch to using labels)

umount, and reboot

See the thread at http://lists.debian.org/debian-user/2006/09/msg02837.html 
for more info on labels.

HTH
Andrew V.

> _________________________________________________________________________
>_ Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
> Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131



Reply to: