Subject: Re: LFS as root File-System.
To: Andrew Gillham <gillham@vaultron.com>
From: Wojciech Puchar <wojtek@wojtek.3miasto.net>
List: port-i386
Date: 07/15/2001 22:15:33
> >
> > There is LFS support in libsa, so making /boot load the kernel from
> > LFS is a simple matter of adding like 3 lines of code to a table in
> > the i386 boot loader code.
>
> It would be nice to load boot from a floppy and have it able to load
> the kernel from the LFS / file system. Even if boot itself can't be
> on LFS, the LFS support would be a good first step I think. Then a
> boot floppy (or dosboot.com) could be used rather than having to find
> the kernel on a FFS or floppy, etc.
>
no need to use floppy
i use ffs, but have /boot on small (150kB) partition to allow my BIOS load
it on 20GB drive (my BIOS supports 8GB with LBA and 504MB in NORMAL).
/boot itself could load kernel from anywere probably because this BIOS has
extended int13 support.
you can have lfs in partition a in this example:
# size offset fstype [fsize bsize cpg/sgs]
a: 24614728 819500 4.2BSD 1024 8192 96 # (Cyl. 812*- 25232*)
b: 819200 300 swap # (Cyl. 0*- 812*)
c: 25434228 0 unused 0 0 # (Cyl. 0 - 25232*)
d: 25434228 0 unused 0 0 # (Cyl. 0 - 25232*)
e: 300 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 0*)