Yesterday I did an "apt-get update; apt-get upgrade" on my Ubuntu 6
system.  Apparently it fiddled with the kernel (I had 2.6.15-26-386
installed and it I think installed 2.6.15-26-686.) 

I noticed today that it suggested a reboot.  I had a look at
/boot/grub/menu.lst which had been modified (according to
the modification time), but I couldn't pick the change.  It all
looked good, and I have numerous alternative kernels to fall back to.

Upon attempting to reboot, I got this message:

Uncompressing Linux... Ok, booting the kernel
mdadm: /dev/md0 has been started with two drives.
mdadm: /dev/md1 has been started with two drives.
mount: Mounting /dev/hda7 on /root failed: Device or resource busy
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
mount: Mounting /sys on /root/sys failed: No such file or directory
mount: Mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init

Obviously if I can't mount /root then it won't be able to mount
/root/dev.  It drops into a shell, and I saw that there's nothing
really mounted (I think it's just an initrd file system).

I can mount /dev/md0 (which is "/") to a temporary mount point and
everything's there.  But I can't boot *any* of my Linux kernels.

This suggests to me that it's not a problem with the kernel, it's a
problem with some critical component needed by all the kernels, in the
root file system.

A google search leads me to
http://www.linuxquestions.org/questions/showthread.php?t=446745 which
suggests that in April last year udev was broken badly:

> Got it!!!
> 
> I downloaded the testing version of udev (0.091-2) from
> packages.debian.org and installed it via chroot, and that did
> it. The system booted right up.
> 
> Obviously there's a bad bug in udev version 0.092-1. I recommend
> everyone stay away from this one.

How do I query what version of udev I have installed?

Why is mount trying to mount one of the partitions that makes up
/dev/md0 instead of mounting /dev/md0?

/dev/md0 is /dev/hda7 and /dev/sda7, and /etc/fsab has /dev/md0
mounting on /.

Any advice would be most welcome.

luke

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to