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

Rebuilt box, problems booting



My sid workstation had a boot drive failure. I replaced the failed drive
(a Maxtor 30GB) with a Maxtor 120GB. I kept the same partition layout
(swap hda1; / hda2; lvm hda3). I then rebuilt the base system from the
woody bf2.4disks and did an apt-get dselect-upgrade from the package list
in backups.

The problem I'm encountering is that since the rebuild, I can only boot
from the 2.4.18-bf2.4 kernel. When I tried booting from either the
previous kernels (2.4.19 and 2.4.21), or from a freshly compiled 2.4.22,
with the options I need, I get a kernel panic when it tries to boot
/dev/hda2.

In my original install, / was ext3, but when I rebuilt, I made it
reiserfs. On the previous kernels, I had reiserfs compiled as a module but
on 2.4.22, I compiled inline, but it still dies when trying to mount /.

When attempting to boot 2.4.22, here are the last few messages I get:

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Cannot open root device "hda2" or 03:02
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:02

>From the /boot/grub/menu.lst, I have the following lines:

root  (hd0,1)
kernel /boot/vmlinuz-2.4.22 root=/dev/hda2 hde=ide-scsi ro
savedefault
boot

root  (hd0,1)
kernel /boot/vmlinuz-2.4.18-bf2.4 root=/dev/hda2 hde=ide-scsi ro
savedefault
boot

It appears to me to be some issue with devfs (which is enabled in 2.4.22
and is not in 2.4.18-bf2.4.) How do I get up on the new kernel and get
devfs enabled, since this is the first step in getting everything else
running? (X depends on the nvidia driver etc).

Thanks,
-- 
--Brad
========================================================================
Bradley M. Alexander                           |
gTLD SysAdmin, Security Engineer    |   storm [at] tux.org
========================================================================
Key fingerprints:
DSA 0x54434E65: 37F6 BCA6 621D 920C E02E  E3C8 73B2 C019 5443 4E65
RSA 0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A  C8 9C F0 93 75 A0 01 34
========================================================================
Bobby, if you give me one more iota of grief, I'm going to peck open your
brain case and let the air out.
							--Pesto
							The Goodfeathers



Reply to: