On Monday 29 September 2003 11:00, Jim Bonnet wrote:
The latest attempt resulted in: Kernel panic:VFS:unable to mount root fs on 03:43
I compiled the reiserfs support into the kernel, not as a module. (but I have tried modules as well)
so what am I doing wrong?
What kind of disk controller holds your root filesystem?? and is this built into your kernel as well?
-jim
If you are using GRUB as your boot manager, the default kernel install script will mess you up. If you look in /usr/src/linux/arch/i386/boot at install.sh (the script which is called by "make install") you will find if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi is the last line. Comment it out before running your make install, and that will help. That will not, however, solve all your problems. Leave reiserfs support to be built as a module, and simply add it to the list in YaST2->System->Sysconfig->System->Kernel->INITRD_MODULES Then, when you run mk_initrd, it will add the reiserfs module to your customized initrd and all should be well. I usually approach it this way: - download kernel-source-<version>.i586.rpm from the mantel directory (I am building 2.4.21-99 as I write this) - install it using "rpm -ivh --force --nodeps \ kernel-source-<version>.i586.rpm - make mrproper - make cloneconfig (to match it to my running kernel) - make menuconfig (I am convinced now as well that make xconfig has problems) - make bzImage modules - make install modules_install (if everything went well the previous step) - mk_initrd -k "vmlinuz vmlinuz.<old version>" \ -i "initrd initrd.<old version>" (this allows me to boot the old version if need be by editing /boot/grub/menu.lst accordingly) My grub config looks like this: color white/blue black/light-gray default 0 gfxmenu (hd0,4)/message timeout 8 title SuSE-2.4.21-99 kernel (hd0,4)/vmlinuz root=/dev/hda8 vga=0x374 initrd (hd0,4)/initrd title SuSE-2.4.21-67 kernel (hd0,4)/vmlinuz.2.4.21-67 root=/dev/hda8 vga=0x374 initrd (hd0,4)/initrd.2.4.21-67 title Windows 2000 root (hd0,0) chainloader +1 title Floppy root (fd0) chainloader +1 title Failsafe (SuSE-2.4.20-4GB) kernel (hd0,4)/vmlinuz.shipped root=/dev/hda8 showopts ide=nodma apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3 initrd (hd0,4)/initrd.shipped I'm running it on a Sony VAIO GRX-570 laptop, with KDE 3.1.4 under SuSE Pro 8.2. Works great. Let me know if I can help any other way. Mark Almeida -- Powered by SuSE Linux Pro 8.2/Kmail 1.5.4