You are not logged in.

#1 2010-01-23 16:14:55

voyciz
Member
Registered: 2010-01-07
Posts: 9

Initrd Problem

Hello all, was hoping someone could help me out here. What I'm trying to do is create an initrd that I can use with the stock kernel that is basically live, I don't want any partitions being mounted.

I tried mkinitcpio and if I remember correctly, it doesn't include the init scripts and I tried adding them myself but that didn't work out too well. So now I'm using the older mkinitrd-type method.

Here's my grub config file:
--------
title Arch w/ checksumtool
kernel /boot/cdvmlinuz26 ramdisk_size=75%
initrd /boot/initrd.img.gz
--------

And the linuxrc file located in the initrd:
--------
#!/bin/ash
mount -t proc /proc /proc
mount -t sysfs none /sys
/bin/ash --login
--------

Now when it boots up, it tells me "Kernel panic: couldn't mount root filesystem on unkown block-device". Would someone help me figure out what I'm doing wrong here?

Offline

Board footer

Powered by FluxBB