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

new hard drive install



Hi.
 I am trying to switch my debian 2.0 to a new hard drive.
It was on a drive partitioned with dos on hda1 and hda2 
and linux native and linux swap on hda3 and hda4 resp.;

I partitioned the new drive with hda1 as dos, hda2 as linux native, hda3
as linux swap. I copied (only) dos c: to hda1, and all of the linux
to hda2. I altered lilo.conf to reflect these changes 
and ran lilo; I changed fstab. I also ran mkswap.
  Now with the new drive on the first ide socket I get the lilo prompt ok.
If I choose dos, then dos boots and runs ok. But if I choose linux, the
boot process runs part way and then hangs with a kernel panic after
the partition check, with the message
"kernel panic:VFS:Unable to mount root fs on 03:03"
The partition check gives "hda: hda1 hda2 hda3" which is what I think it
should give.
I've checked and rechecked the lilo.conf stanza for linux
and it says root=/dev/hda2
and the fstab entry is the same.
  Can anyone suggest what I've missed or forgotten? I'll supply
more details if needed of course.
Thanks.
chuck



Reply to: