[PATCH] mkinitrd rescue mode - now crypto

Jeff Layton jlayton at redhat.com
Fri Jun 10 18:48:31 UTC 2005


On Thu, 2005-06-09 at 17:13 -0400, Peter Jones wrote:
> 
> Well, there is the scary echo/cd hack patch that was attached to one of
> those bugs...

Ok, I did a little more testing today. Enabled -DDEBUG in the build
process and added this just after the recursiveRemove():

lsdir("/","");

After that, I booted to an initramfs with my test nash, and it showed
this:

Switching to new root
//proc/
//sys/
//sysroot/
unmounting old /proc
unmounting old /sys

So it looks like only /proc,/sys, and /sysroot were still in the root
directory. I suppose this means we can call the recursiveRemove() a
success!

As a side note, however, I've been unable so far to get an initramfs
that is a "merge" of more than one cpio image. I've tried passing more
than 1 initrd directive via GRUB, and have tried using an initrd command
line that has more than one arg. Neither way seems to work -- perhaps
this is an issue with GRUB in FC4?

-- 
Jeff Layton <jlayton at redhat.com>




More information about the fedora-devel-list mailing list