LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel panic - not syncing: VFS: unable to mount root fs on uknown-block(253,0) (http://www.linuxquestions.org/questions/slackware-14/kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-uknown-block-253-0-a-4175492089/)

fjur94 01-21-2014 09:13 PM

Kernel panic - not syncing: VFS: unable to mount root fs on uknown-block(253,0)
 
/dev/sda1 = /boot = bootable partition
/dev/sda2 = LVM Partition
/dev/lvfelix/root = /
/dev/lvfelix/var = /var
/dev/lvfelix/opt = /opt
/dev/lvfelix/home = /home
/dev/lvfelix/usr = /usr
/dev/lvfelix/swap = swap

Finally i start the installation, then when it finished that i had to boot the operating system, this message shows up(See the link below)

http://postimg.org/image/3nvdh48ex/

Richard Cranium 01-22-2014 06:05 PM

You'll need an initrd to start LVM up so that you can mount your boot partition.

In the meantime, use your installation DVD/CD to boot up. Don't attempt to mount your partitions, but accept the huge kernel, the default keyboard, and log in as root. Once you've done that, enter the following commands...
Code:

mkdir -p /var/lock/lvm
/sbin/vgchange -ay --ignorelockingfailure
/sbin/udevadm settle --timeout=10
mkdir /mnt/fix
mount /dev/lvfelix/root /mnt/fix
mount -R /proc /mnt/fix/proc
mount -R /sys /mnt/fix/sys
mount -R /dev /mnt/fix/dev
chroot /mnt/fix
mount -a

...and at this point, you should be able to run the /usr/share/mkinitrd/mkinitrd_command_generator.sh script to create your initrd. Ensure that /etc/lilo.conf has the correct stanza in it and re-run lilo. Reboot.

You might want to point /boot/vmlinuz to the generic kernel, too, before you re-run lilo and reboot.


All times are GMT -5. The time now is 11:11 PM.