Rebuild initrd to get dev-mapper working

Craig White craigwhite at azapple.com
Mon Dec 11 04:36:36 UTC 2006


On Mon, 2006-12-11 at 13:17 +0800, Hadders wrote:
> Hi all,
>   I'm very close to getting my new hardware setup working. It kinda does.
> 
> I'm using the Intel SATA RAID to get RAID 0,  Grub as a boot manager, 
> have installed XP and copied my existing FC5 setup "over" to the new 
> container.
> 
> I can boot into this new setup, but only with the stock Kernel. When I 
> try the latest Kernel, the device mapper doesn't work and as such, the 
> system can't find the filesystems.
> Over on the ata.raid list, someone has suggested that I run the following:
> 
>  > dmraid -a n && dmraid -a y
> Which deactivates/activates the RAID container in one go?
> Then rebuild the initrd for the latest kernel I have (but not running)
> 
> I would assume the safest place to run this command would be from 
> runlevel 1?
> 
> Any tips would be appreciated.
----
can't think of any reason that runlevel would matter since initrd is
loaded only upon boot.

The way I would probably handle it on my system...

mkinitrd initrd-2.6.18-1.2239.fc5.img.custom 2.6.18-1.2239.fc5
cp initrd-2.6.18-1.2239.fc5.img initrd-2.6.18-1.2239.fc5.img.saved
mv initrd-2.6.18-1.2239.fc5.img.custom initrd-2.6.18-1.2239.fc5.img

Though I have learned to check the contents of /etc/modprobe.conf to
make certain that things are the way that I want before I execute
mkinitrd

Craig




More information about the fedora-list mailing list