xfs
[Top] [All Lists]

Re: mkbootdisk and XFS

To: wfrancis@xxxxxxxxxx
Subject: Re: mkbootdisk and XFS
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Thu, 19 Apr 2001 15:54:35 -0400
Cc: linux-xfs@xxxxxxxxxxx
References: <200104191850.f3JIonQ30674@vertigo.incyte.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
wfrancis@xxxxxxxxxx wrote:

It is very unlikely you will be able to build a kernel with XFS included
that will be able to fit on a floppy.
The only thing you might try is a strip --strip-unneeded, but you probably won't
gain much space.

The kernel on the XFS boot floppies does not have XFS built in, (XFS is loaded
as a module from the seconds stage) This was one of our big hurtles in doing
the installer.

Our best recommendation in terms of a rescue disk is to simple boot the CD into
rescue mode. I know this isn't exactly what you were asking but...

The only other option might be to build  a bootable cdimage... or modify the
cdboot.img.


> While not strictly a XFS question, I hope since you folks have hacked
> all this together you might be know of an option I have not
> considered and have hopefully come across the problem before.
>
> I have installed a RH 7.1 server with your XFS patches on it which works
> wonderfully (thank you so much!). I made it into a kickstart server and
> to my delight XFS installs perfectly over it. My problem is thus: my kickstart
> %post script normally does a mkbootdisk as part of the post initial install
> process, reboots the machine, and then a script which runs the first time
> the machine comes back up twiddles the floppy back to a kickstart disk.
>
> >From the looks of it, the XFS kernel patches take up a lot of space. The
> stock RH 7.1 kernel comes in around 781K, while the patched XFS kernel comes
> in around 1.3M, which barely would fit onto a floppy by itself, never mind
> the initrd file.
>
> >From bootnet.img, I tried to just change the syslinux.cfg file, but that goes
> straight into
> the installer regardless. Back in 6.0, you could do this but I guess it no
> longer
> works that way.
>
> mkbootdisk makes a vfat filesystem, which IIRC does not allow you to use
> "super" floppies >1.44M. Just checked, it'll let me mkbootdisk with device
> /dev/fd0u1600, but won't boot from it :-(
>
> A requirement is that this work with both SCSI and IDE systems, so I'm wary
> of rolling my own kernel and initrd.
>
> Any ideas very much appreciated.
>
> Will

--
Russell Cattelan
--
Digital Elves inc. -- Currently on loan to SGI
Linux XFS core developer.




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