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.
And adding the: initrd /boot/initrd.gz
line to the grub.cfg for the generic kernel entry
Huge kernel still can't running with the same kernel panic.
Generic kernel stop with this error:
Quote:
/boot/initrd.gz:Loading kernel modules from initrd image:
mount:mounting /dev/sda8 on /mnt failed:No such device
ERROR:No /sbin/init found on rootdev (or not mounted).Trouble ahead.
You can try to fix it.Type 'exit' when things are done.
(same as the thread linked)
I only can run with the USB stick created from slack installation
Disk /dev/sda: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, 976771055 sectores en total
Units = sectores of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificador del disco: 0xf414dd3e
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 405805679 202799416 7 HPFS/NTFS/exFAT
/dev/sda3 405805680 976767119 285480720 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, 976773168 sectores en total
Units = sectores of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificador del disco: 0xa9dda9dc
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sdc1 63 321299 160618+ 83 Linux
/dev/sdc2 321300 418236209 208957455 83 Linux
/dev/sdc3 418236210 426525749 4144770 82 Linux swap
/dev/sdc4 * 426525811 976771071 275122630+ 5 Extendida
/dev/sdc5 426525813 447008624 10241406 83 Linux
/dev/sdc6 447008688 467491499 10241406 83 Linux
/dev/sdc7 467492864 508457249 20482193 83 Linux
/dev/sdc8 508457313 549422999 20482843+ 83 Linux /dev/sdc9 549423063 590388749 20482843+ 83 Linux
Disk /dev/sdd: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders, 78165360 sectores en total
Units = sectores of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificador del disco: 0x44da44d9
Disposit. Inicio Comienzo Fin Bloques Id Sistema
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, 976773168 sectores en total
Units = sectores of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificador del disco: 0x0c1b0c1a
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sdb1 2048 976769023 488383488 7 HPFS/NTFS/exFAT
Disco /dev/sde: 8010 MB, 8010072064 bytes
247 heads, 62 sectors/track, 1021 cylinders, 15644672 sectores en total
Units = sectores of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificador del disco: 0xb0bcd68e
Esto no parece una tabla de particiones
Probablemente ha seleccionado el dispositivo que no era.
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sde1 ? 3223366781 3470046704 123339962 78 Desconocido
/dev/sde2 ? 432871117 1208554935 387841909+ 10 OPUS
/dev/sde3 ? 1869562563 3788792630 959615034 8b Desconocido
/dev/sde4 ? 4718592 4784127 32768 a OS/2 Boot Manager
Las entradas de la tabla de particiones no están en el orden del disco
I can't see any reason why your system shouldn't boot. You mentioned that you edited grub.cfg manually. Why aren't you using the update-grub command? Any changes to that file will get lost the next time the system launches update-grub because of an kernel update.
Please try that command (after making a backup of grub.cfg) and compare the newly generated file to your own entries.
You mentioned that you edited grub.cfg manually. Why aren't you using the update-grub command?
Because at the first time it don't worked, so I decided to do it manually.
But now I just tried another time, and now it can run with the huge kernel... but it still can't run with the generic kernel giving me the same errors.
Generic kernel without initrd give a kernel panic
Generic kernel with initrd give the sdc9 error.
This is grub.cfg after update-grub and manually adding initrd to the generic kernel entry.:
Quote:
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sdc9)" {
insmod part_msdos
insmod ext2
set root='(hd2,msdos9)'
search --no-floppy --fs-uuid --set 6c69d2d5-ba40-4d5c-ba9a-e92e2cbc776b
linux /boot/vmlinuz-generic-2.6.37.6 root=/dev/sdc9
initrd /boot/initrd.gz
}
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sdc9)" {
insmod part_msdos
insmod ext2
set root='(hd2,msdos9)'
search --no-floppy --fs-uuid --set 6c69d2d5-ba40-4d5c-ba9a-e92e2cbc776b
linux /boot/vmlinuz-huge-2.6.37.6 root=/dev/sdc9
}
It seems like I have errors with initrd. Now I will search more things about initrd, but if anyone can help here, it would be great.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.