Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)
Hi everyone,
i have been trying to install kernel-generic-2.6.17.13 and i get the kernel panic error from above. I have installed the header and the modules. And created a initrd for ext3. AND I STILL GET THAT ERROR OR KERNEL PANIC - ATTEMPING TO KILL INIT. i have ln system, vmlinuz and rc.modules and still don't get it to work. I tried it from bareacpi.i and huge26.s my hdd is a ata. If someone has the solution for this i would hight appreciate it. Or please let me know what i am doing wrong. by the way i also edited lilo. with the vmlinuz-generic-smp and added initrd = /boot/initrd.gz. i will be waiting for your replies thanks...
I don't think you need an initrd for ext3. And from the looks of it, your lilo is pointing to the wrong partition. Are you sure that root is on the second partition of the fourth disk?
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)
Hi everyone,
i have been trying to install kernel-generic-2.6.17.13 and i get the kernel panic error from above. I have installed the header and the modules. And created a initrd for ext3. AND I STILL GET THAT ERROR OR KERNEL PANIC - ATTEMPING TO KILL INIT. i have ln system, vmlinuz and rc.modules and still don't get it to work. I tried it from bareacpi.i and huge26.s my hdd is a ata. If someone has the solution for this i would hight appreciate it. Or please let me know what i am doing wrong. by the way i also edited lilo. with the vmlinuz-generic-smp and added initrd = /boot/initrd.gz. i will be waiting for your replies thanks...
bijit
Hi,
Did you run lilo as root from the console? Just editing the lilo.conf with the proper stanza without writing will get you nothing.
Did you follow the '/boot/README.initrd' procedures?
I only have two partitions hda1=/ and hda2=swap. On lilo i have root = /dev/hda1. Yes i ran lilo as root on the console. And also followed /boot/README.initrd. this is all that I did.
Quote:
mount /mnt/cdrom
cd /mnt/cdrom
installpkg * #the disk only has 3 files(kernel generic, kernel headers and kernel modules$)
cd /boot
ln -s System.map-generic-smp-2.6.17.13
ln -s vmlinuz-generic-smp-2.6.17.13
mkinitrd -c -k 2.6.17.13-smp -m jbd:ext -f ext3 -r /dev/hda1
cd /etc/rc.d/
ln -s rc.modules-generic-smp-2.6.17.13
vim /etc/lilo
image = /boot/vmlinuz
initrd = /boot/initrd.gz
:wq
lilo
That is all that i did. On the /boot the initrd.gz is red. It shouldn't be in the same color as the vmlinuz? Please reply back since my comp is in standby until i can fix it...
lilo -v -t -b /dev/hda #this will test the lilo.conf
lilo -v -b /dev/hda #will write the lilo MBR
If you have any errors for the first command above then post them.
If no errors then try the second. This will write to the 'MBR' of /dev/hda. I would also suggest the use of the 'compact' option in the lilo.conf.
Hi !
I had the same problem like you many years in the past I found that this happened when i separated some directories of linux (honestly i don't remember what are the name of those directories, maybe one is the /boot) in different hard disks, and when you recompiled the kernel, copied and moved all the stuff and modified lilo to start the new kernel. The mount point of the new kernel was pointing to another part.
The point in here is check your configuration, and start playing what directories you can move with the hard disks without making this error happens (i found that you can have /home safely in another directory, maybe the /tmp is another afe one to move).
This is just a shot in the dark...what if you replace any hda word with sda in your lilo.conf and in /etc/fstab . I know u use paralel ata,but just give it a try....
And then don't forget to run lilo again.
(boot and mount to your slackware partition via liveCD or slackware install CD,of course).
It may still not work,though
I have found the error. The error for the 2.6.# is that the vga doesn't work. In order to see the booting process I have to give vga=normal. But I still have problems When give command:
Code:
# startx
Its gives some error and says it doesn't support my screen depth. Any screen depth I put. And when I do:
Code:
# shutdown -r 0
it says rebooting . and it doesn't do anything after and it doesn't reboot. Do you think its the same problem with the vga?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.