[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-port-i386
Subject: Re: Using bootxx_fat16
From: David Laight <david () l8s ! co ! uk>
Date: 2008-01-04 19:56:41
Message-ID: 20080104195641.GC11303 () snowdrop ! l8s ! co ! uk
[Download RAW message or body]
On Fri, Jan 04, 2008 at 06:34:55PM +0200, Alan Barrett wrote:
> On Fri, 04 Jan 2008, Stephen Borrill wrote:
> > I took a pen drive, formatted it under Windows to ensure it had a clean FAT
> > (not FAT32) filesystem, then copied /boot and a kernel to the filesystem.
> > [...]
> > I set the first partition as active. bootxx_fat16 is doing its magic
> > loading /boot. However, once in the boot loader, I can't find a working
> > path to the kernel.
>
> I had a similar problem, which went away when I added a disklabel
> (in the space between the MBR and the start of the FAT partition).
/boot should contain code to 'fake up' a valid disklabel from the
mbr information. See read_label() in stand/lib/biosdisk.c
hmmm.... looks like I have some local changes in that file :-)
David
--
David Laight: david@l8s.co.uk
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic