mk_initrd fails on SuSE 8.0

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

 



Dear All
 
I was trying to reboot the machine after compiling the kernel image and generating
an initrd image . An initrd image is needed for loading the SCSI module at boot
time. I got the following error message after rebooting and picking the label for the
new kernel. I am running 2.4.18 that came with SuSE 8.0.
 
Kernel panic VFS: Unable to mount root fs on 03:03
 
Here are the steps I followed.
 
 1) cd  /usr/src/     (changed to the directory /usr/src)
 
2) cp r linux-2.4.18 linux-2.4.18-20021208 ( I was using 20021208 as EXTRAVERSION)
3) rm linux    (Removed the existing link)
4) ln -s linux-2.4.18-20021208 linux (Created the new symbolic link to the extension)
5) cd linux
 
6) Edited the EXTRAVERSION = line in the Makefile.
            EXTRAVERSION = -20021208
 
7) make mrproper
 
8) make xconfig
 
9) make dep
 
10) make clean
 
11) make bzImage
 
12) make modules
 
13) make modules_install
 
14) cp linux-2.4.18-20021208/arch/i386/boot/bzImage /boot/vmlinuz-2.4.18-20021208
 
15) cp System.map /boot/System.map-2.4.18-20021208
 
16) cd /boot
 
17) mkinitrd -k vmlinuz-2.4.18-20021208 -i initrd-2.4.18-20021208
 
linux:/boot # mkinitrd -k vmlinuz-2.4.18-20021208 -i initrd-2.4.18-20021208
 using "/dev/hda3" as root device (mounted on "/" as "reiserfs")
 
 creating initrd "//boot/initrd-2.4.18-20021208" for kernel "//boot/vmlinuz-2.4.18-20021208" (2.4.18-20021208)
 no such module: reiserfs
 no such module: ide-scsi
 Concatenating splash picture size 800x600 to initrd... done.
 
It generated the image file but the above warning seems to prevent the reiserfs module from being loaded
at boot time.
 
Any reason why the mk_initrd fails?
 
18) I still went ahead and added a new section to /etc/lilo.conf and ran /sbin/lilo.
 
   image  = /boot/vmlinuz-2.4.18-20021208
   label  = linuxDev
   root   = /dev/hda3
   vga    = 788
   initrd = /boot/initrd-2.4.18-20021208
   append = " hdd=ide-scsi"
 
19) When I rebooted and picked linuxDev, the system panicked.
 
Kernel panic VFS: Unable to mount root fs on 03:03
 
Any hints would be highly appreciated.
 
Murali

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux