xfs
[Top] [All Lists]

Re: How to make an XFS compatible boot floppy?

To: nic@xxxxxxxxxxx
Subject: Re: How to make an XFS compatible boot floppy?
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Fri, 30 Mar 2001 19:19:14 -0600
Cc: linux-xfs@xxxxxxxxxxx
References: <15045.8871.297381.856149@xxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
nic@xxxxxxxxxxx wrote:

<snip>

> How can I make a boot floppy, just in case I kill my whole machine,
> (or so that I can boot from floppy, delete my root filesystem and make
> it an xfs partition)?

<snip>
 
> '/sbin/mkinitrd initrd-2.4.2-XFS.img 2.4.2-XFS' just hangs and I can't
> get anywhere. A strace -f on that command shows it hangs with:
> [pid 13931] open("/dev/loop/0", O_RDWR|O_LARGEFILE

Odds are the reason for the hang is that mkinitrd requires the loopback
device, which is still broken in 2.4.2 (although patched & fixed in our
2.4.2-based xfs RPMS).  So, you weren't necessarily doing anything
wrong.  However, even if the loopback device worked, 2.4 + xfs is
getting big enough that fitting everything you need on a floppy is going
to be tight.

Russel's suggestion of using the rescue mode of one of our installer
images might be the easiest way to go at this point.

I haven't yet looked at Kelley's images, but thanks!  Maybe you can
tackle making the Linuxcare rescue CD xfs capable!  ;)

-Eric

<Prev in Thread] Current Thread [Next in Thread>