Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Using bootxx_fat16



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@localhost



Home | Main Index | Thread Index | Old Index