add a make install this will skip the step of you copy the stuff manually...





"David G.Powers" <[EMAIL PROTECTED]> on 2001-01-23 03:45:55 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Scott Walker/MTL/BAM/ActiMedia)

Subject:  [expert] kernel panic on 2.4.1-pre10 can't find root partition



I am attempting to upgrade my kernel from 2.2.17 to 2.4.1-pre10 and I just
can't seem to get it right!  Please help!!!

-- Env --
Linux Mandrake 7.2
gcc version egcs-2.91.66 (kgcc)
ReiserFS 3.5.26 on all partitions (except swap!)
I can boot into 2.2.17 and the ReiserFS partitions mount with no problem

-- Steps --
untar...
make mrproper
make menuconfig
         Tried RieserFS as a module and as a built-in
make dep
make bzImage
make modules
make modules_install
copied System.map to /boot/System.map-2.4.1-pre10
copied arch/i386/boot/bzImage to /boot/vmlinuz-2.4.1-pre10
mkinitrd /boot/initrd-2.4.1-pre10.img 2.4.1-pre10
added entries to /etc/lilo.conf
         image=/boot/vmlinuz-2.4.1-pre10
                 label-linux-pre
                 root=/dev/hda7
                 initrd=/boot/initrd-2.4.1-pre10.img
                 read-only
/sbin/lilo

everything went fine - no error messages ... until ....

-- Results --
When I attempt to restart, I get a nasty message:
VFS: Cannon open root device "307" or 03:07
Please append a correct "root=" boot option
Kernel Panic: VFS: unable to mount root fs on 03:07

I booted back into 2.2.17 and took a look at /etc/fstab.  My "/" partition is
definitely on /dev/hda7

I tried 'rdev /boot/vmlinuz-2.4.1-pre10` which returns:
Root device /dev/hda7

I tried setting the kernel root option an boot time; root=/dev/hda7 - no go!

Obviously I don't know what I'm doing.  Can someone please point me in a
direction!

Thanks,

DP





.



Reply via email to