Kernel panic - Unable to mount fs
Hi all,
After successfully installing the 2.6.13 kernel from the 10.2 second cd i unpacked kernel-source-2.6.13 .tgz (on the second cd) and got the generic config file and copied it over /usr/src/linux/.config then ran make menuconfig and loaded the .config file (just to be sure it uses that config file which works), then did the modules ("make modules" then "make modules_install"), Then, copied the kernel and System.map to /boot/ ("cp arch/i386/boot/bzImage /boot/vmlinuz" then "cp System.map /boot") and added this to lilo.conf: Code:
Code:
image = /boot/vmlinuz-generic-2.6.13 Code:
Unable to mount fs on unknown-block(3.1) |
Are you using reiserfs? If you do, did you made the initrd image to load reiserfs support? You can read about that in the README.initrd file that's on testing/ where you got the kernel.
And if you wanted to change the kernel a little bit when you did make menuconfig, before make modules && make modules_install you've to make bzImage to generate the new kernel on arch/i386/boot/bzImage |
i think i did get initrd to load reiserfs support, doesnt typing "mkinitrd -c -k 2.6.13 -m reiserfs" do that ?
i did "make clean" then "make bzImage" before the module commands, sorry i should have mentioned that. Could the reason i got the "Unable to mount fs" be because i didnt do anything to the /boot/initrd.gz ? Am i supposed to? I added "initrd=/boot/initrd.gz" line to this section of the lilo.conf: Code:
image = /boot/vmlinuz |
I have had this kind of error when the kernel doesn't have the proper driver for the filesystem (as mentioned above) and once when the IDE controller driver of the MOBO wasn't correct.
I have had never installed a precompiled 2.6.x kernel so I can't help you with that, I always compile kernel from source, you can download the current stable version source from kernel.org and you can use Xushi's guide to do this properly, it was pretty useful to me. Keep trying, don't give up. It isn't that hard. Peace :cool: |
I just had a thought, the second section of the lilo.conf actually boots fine even though i moved the new bzImage to /boot/, does this mean the new bzImage is ok?
|
kernel panic
Dont know if this will help. But having failed several times at 2.6.x config I did clean install of 10.2 and chose testing2.6 kernel. Then remembering that install will use 2.4.31 kernel modules,headers and source--as well as its alsa driver, I did 'expert install' unselecting 2.4.31 kernel,source,module,headers and alsa driver. Then once at login prompt as root I inserted cd2 in drive and ran 'mount /mnt/cdrom' then 'cd /mnt/cdrom'> ls and moving to 2.6.13 kernel I installed headers,modules,source and alsa driver. Then 'umount /mnt/cdrom'. Reboot gave me 2.6.13 kernel system.
As described elsewhere this kernel has everything but the kitchen sink. But it is fast and it works. Good luck. |
Sounds similar to what i did, i followed this guide here which gave me the 2.6.13 kernel and it works great, i'd be happy with this kernel except its on a laptop and i'd like the power management stuff, also it doesnt seem to have pentium 4 chosen as the cpu. I tried a few times using the .config in /usr/src/linux which i assumed was the one that 2.6.13 used and just altered the CPU and power management options in menuconfig, but got an error. I then thought hmm maybe the /usr/src/linux/.config file isnt the one that was used by the working 2.6.13 so i unpacked /mnt/cdrom/linux-2.6.13/kernel-source-2.6.13-noarch-1.tgz (10.2 second cd) and found the config file in there, i used this file to overwrite /usr/src/linux/.config, this time (the last attempt) i didnt change anything at all in menuconfig and just compiled the kernel then modules, moved it over to /boot/ and got this error even though i never changed any settings in menuconfig (left the config file from inside /mnt/cdrom/linux-2.6.13/kernel-source-2.6.13-noarch-1.tgz completely alone).
|
dont know if this will help but here is my /boot/ dir:
Code:
drwxr-xr-x 3 root root 592 2005-10-12 18:04 ./ Code:
# Start LILO global section |
One last thing im trying is copying kernel-generic-2.6.13-i486-1.tgz off cd 2, extracting it and changing just 2 lines in the config file then making it back into .tgz, i have extracted the file into the directories "boot" and "install" Can someone let me know what the command is to compress these 2 directories back into a file named kernel-generic-2.6.13-i486-1.tgz please?
|
The idea worked.
|
good to hear.
|
This idea is working fine on my pc too ;)
|
Quote:
|
All times are GMT -5. The time now is 10:02 AM. |