Article 5F98Y [SOLVED] slackware64-14.2 : Error booting kernel generic on /dev/sda2

[SOLVED] slackware64-14.2 : Error booting kernel generic on /dev/sda2

by
marav
from LinuxQuestions.org on (#5F98Y)
Hi,

VBox with slackware64 14.2, fresh install
Boot on huge kernel : nothing to report
Boot on generic kernel (initrd.gz made with the shell script in /usr/share/mkinitrd/) :
just after insmod part :
Code:mount: mounting /dev/sda2 on /mnt failed : No such device
ERROR: No /sbin/init found on rootdev (or not mounted). Trouble ahead.My fstab:
Code:/dev/sda1 swap swap defaults 0 0
/dev/sda2 / ext4 defaults 1 1My lilo.conf (generic part):
Code:image: /boot/vmlinuz-generic-4.4.240
initrd = /boot/initrd.gz
root = /dev/sda2
label = 4.4.240
read-onlyfdisk -l :
Code:/dev/sda1 ... 2G 82 Linux swap
/dev/sda2 * ... 20G 83 LinuxIs it not recommended to put the / on the 2nd partition in the case of a generic kernel ?latest?d=yIl2AUoC8zA latest?i=RQMTZXCLj6s:p0nqNi5uzxI:F7zBnMy latest?i=RQMTZXCLj6s:p0nqNi5uzxI:V_sGLiP latest?d=qj6IDK7rITs latest?i=RQMTZXCLj6s:p0nqNi5uzxI:gIN9vFwRQMTZXCLj6s
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments