You are not logged in.

#1 2009-01-20 22:16:30

MarianoC
Member
Registered: 2008-10-16
Posts: 20

[Solved] kenel26-fastboot and $ramfs

Hi, i was trying to install kernel26-fastboot (http://aur.archlinux.org/packages.php?ID=21998)...The package compiled without problems, then I run:

# mkinitcpio -c /etc/mkinitcpio-fastboot.conf -g /boot/kernel26-fastboot.img

After that I added this kernel in grub:

title           Arch Linux FastBoot (on /dev/sda3)
root            (hd0,2)
kernel          /boot/vmlinuz26-fastboot root=/dev/sda3 ro 5 vga=791
initrd          /boot/kernel26-fastboot.img
savedefault
boot

But when i try to run start, it send me to $ramfs and the messages are:

Attempting to create root device name for '/dev/sda3
unknown
ERROR: root fs cannot be detected. Try using the rootfstype=kernel parameter

Waiting for device to settle...done
Root device '/dev/sda2' doesn`t exist, attempting to create it
ERROR: Failed to parse block device name for '/dev/sda3'
ERROR: Unable to create/detect root device '/dev/sda3'
Dropping to a recovery shell
NOTE: klibc contains no 'ls' binary
.
.
.
ramfs$

The relevant part of /etc/mknitcipio-fastboot.conf is:

MODULES="pata_amd ata_generic sata-nv ext4"
HOOKS="base udev autodetect pata scsi sata usbinput keymap filesystems"

obviously, i tried with rootfstype=ext4 and with rootdelay=8, but it was the same.

What I'm doing wrong??, I must be missing something, but i don't know what is it.

Sorry by my english, bye.

Edit: If i try to load a module in ramfs$ i get: Could not load /lib/modules/2.6.28-fastboot/modules.dep: No such file or directory
When i go to  /lib/modules, the only directory is 2.6.28-ARCH but 2.6.28-fastboot doesn't exist. But if i start with the default kernel, /lib/modules/2.6.28-fastboot exist.

Last edited by MarianoC (2009-01-21 09:08:05)

Offline

#2 2009-01-21 06:21:47

cerbie
Member
Registered: 2008-03-16
Posts: 124

Re: [Solved] kenel26-fastboot and $ramfs

What happens when you do it with UUID?


"If the data structure can't be explained on a beer coaster, it's too complex." - Felix von Leitner

Offline

#3 2009-01-21 07:41:52

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: [Solved] kenel26-fastboot and $ramfs

have you compiled ext4 support into the kernel when configuring it?

Last edited by Berseker (2009-01-21 07:42:02)

Offline

#4 2009-01-21 09:07:03

MarianoC
Member
Registered: 2008-10-16
Posts: 20

Re: [Solved] kenel26-fastboot and $ramfs

Berseker wrote:

have you compiled ext4 support into the kernel when configuring it?

That was the key, i had forgotten to add ext4 support into the kernel...Everything works now...Thank you very much!!!!

Offline

#5 2009-03-01 23:54:05

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: [Solved] kenel26-fastboot and $ramfs

Can you give us clue? I'm having identical problems using the 2.6.29rc6 fastboot kernel. I've tried everything you did and have also selected all the ext4 options in the menuconfig file, but still no luck.
I get exactly the same symptoms when running a second installation under VirtualBox on another machine.
I've put ext4 in the modules line in the mkinitcpio-fastboot.conf (then rerun mkinitcpio) and also in the modules line of /etc/rc.conf - but no joy.
It doen't make any difference whether the UUID or /dev/sda1 syntax is used in grub, infact, specifying the swap partition results in the same error message and ramfs$ prompt.
Help!

EDIT: Read the AUR package comments and the solution was there - it required the following:

"mkinitcpio -k 2.6.29-rc6-fastboot -c /etc/mkinitcpio-fastboot.conf -g /boot/kernel26-fastboot.img"

Last edited by Cotton (2009-03-02 00:16:49)

Offline

Board footer

Powered by FluxBB