You are not logged in.

#1 2010-09-16 20:51:46

pussi
Member
Registered: 2009-05-09
Posts: 15

[SOLVED] Trouble getting initrd-image to work

Hello everyone

I'm trying to get plymouth to work and for that reason I'm messing with initrd images for the first time in my life.

I had no issues generating the image, but once I rebooted, nothing happened. It looks like lilo fails to load the image since I'm not getting the 'Loading initrd-blahblah.img........' message, although I'm not getting any error messages either. Basically it just loads kernel and boots normally like it's never heard of initrd images.

These are the lines I've changed in/etc/mkinitcpio.conf. Everything else is default.

MODULES="radeon"
HOOKS="base udev plymouth autodetect sata filesystems"
COMPRESSION="lzma"

running mkinitcpio.conf, no errrors there

# mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initrd-$(uname -r).img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [plymouth]
:: Parsing hook [autodetect]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/initrd-2.6.35.4-ck1.img'...SUCCESS

/etc/lilo.conf:

lba32
boot=/dev/sdb
compact
prompt
timeout=50
default=2.6.35.4-ck1

read-only
root=/dev/sdb1

image=/boot/kernel-2.6.35.4-ck1
  label=plymouth
  initrd=/boot/initrd-2.6.35.4-ck1.img
  append="quiet splash sata_nv.swncq=1 pci=nomsi snd-hda-intel.model=3stack snd-hda-intel.probe_mask=1 powernow-k8.vcore_list=1125,1125,825"

running lilo shows error message but I've been getting it since I installed arch, and it has been working fine nevertheless.

# lilo
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Added 2.6.35.4-ck1 *
Added plymouth
Added nokms
Added bootchart

Also I think it might be relevant to point out that I'm building my kernels by hand (no PKGBUILDs or anything).

Any ideas will be appreciated  smile


EDIT: solved. forgot to enable support for initramfs/initrd in kernel

Last edited by pussi (2010-09-17 06:47:47)

Offline

Board footer

Powered by FluxBB