[SOLVED] Slackware guest on Virtualbox - which modules for initrd?
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Slackware guest on Virtualbox - which modules for initrd?
I'm running Slackware-14.0 (32bit) with kernel 3.2.45 in Virtualbox.
I'm trying to build an initrd in order to use the generic kernel. But it doesn't work. When booting I get a kernelpanic because the filesystem cannot be mounted. Normally in this case either the driver (module) for the disk or the filesystem is missing. Here my mkinitrd.conf
You use a ext4 filesystem? Also, which chipset selected in a settings on a pages "System > Motherboard" and which controller of hard drives selected on a page "Drives"? Select the ICH* chipset and the controller ICH*. I have VirtualBox version 4.2.14, on the settings pages described above I select the ICH9 chipset and ICH6 controller. In dmesg output I see:
[ 0.775500] SCSI subsystem initialized
[ 0.775519] ACPI: bus type ATA registered
[ 0.775690] libata version 3.00 loaded.
[ 1.336794] ata_piix 0000:00:1f.1: version 2.13
[ 1.336974] ata_piix 0000:00:1f.1: setting latency timer to 64
[ 1.337818] scsi2 : ata_piix
[ 1.340597] scsi3 : ata_piix
[ 1.341346] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xe000 irq 14
[ 1.341985] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xe008 irq 15
[ 1.930457] ata2.00: ATAPI: VBOX CD-ROM, 1.0, max UDMA/133
[ 1.931335] ata1.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
[ 1.931914] ata1.00: 16777216 sectors, multi 128: LBA
[ 1.932063] ata1.01: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
[ 1.932063] ata1.01: 16777216 sectors, multi 128: LBA
[ 1.934323] ata2.00: configured for UDMA/100
[ 1.935227] ata1.00: configured for UDMA/100
[ 1.936094] ata1.01: configured for UDMA/100
[ 4.221208] scsi 2:0:0:0: Direct-Access ATA VBOX HARDDISK 1.0 PQ: 0 ANSI: 5
[ 4.225080] scsi 2:0:1:0: Direct-Access ATA VBOX HARDDISK 1.0 PQ: 0 ANSI: 5
[ 4.226308] sd 2:0:0:0: [sda] Attached SCSI disk
[ 4.230276] scsi 3:0:0:0: CD-ROM VBOX CD-ROM 1.0 PQ: 0 ANSI: 5
[ 4.231021] sd 2:0:1:0: [sdb] Attached SCSI disk
[ 4.232544] sr0: scsi3-mmc drive: 32x/32x xa/form2 tray
[ 4.234005] sr 3:0:0:0: Attached scsi CD-ROM sr0
[ 4.273661] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.274494] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
Also, can you provide screenshot on kernel panic message?