Subject: Re: Status of LFS?
To: Simon Burge <simonb@wasabisystems.com>
From: David Laight <david@l8s.co.uk>
List: netbsd-users
Date: 02/14/2005 22:12:46
> When I first did lfs boot support for x86 you used to have to do
> something like:
> 
> 	newfs_lfs -O 256 /dev/rwd0a
> 	installboot -b 32 /dev/rwd0a /usr/mdec/bootxx_lfsv2
> 
> The -O to newfs_lfs says to start the filesystem 256 sectors after the
> start of the disk, which leaves some room to put the primary bootstrap,
> and then the -b 32 tells installboot to just blat the bootstrap starting
> at block 32.

Erm -b doesn't mean that (I don't think it ever has!).

Starting the fs anywhere other than 8k is a PITA - you need to be VERY
careful to ensure that any old superblock (eg from an FFSv1 fs) is
overwritten.  Otherwise mount and/or fsck WILL treat the disk as FFSv1
with the expected consequences for your data.

	David

-- 
David Laight: david@l8s.co.uk