/boot/loader question

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Dec 5 18:36:00 PST 2004

On Monday, 6. December 2004 02:12, walt wrote:
> > i had a look at loader, and it seemed to me that there is logic for
> > extended slices...
> When you asked for volunteers to patch loader I started looking at the code
> also -- and I'm still looking ;o)  Can you point out for me which file(s)
> contain the relevant code?

have a look at src/sys/boot/i386/libi386/biosdisk.c; bd_opendisk seems to do 
the major work. maybe you'll notice something if you compile boot with 

> > could you please post your fdisk output for the original
> > dfly-in-extended slice setup? i suspect the new FAT32 extended slice ids
> > not working correctly.
> Note that partition 4 is *not* (of course) the logical partition I referred
> to earlier -- it is my gcc34 install of DFly which boots perfectly.  My
> logical partition containing DFly is ad1s8 which I can mount okay but can't
> boot from.

now that seems okay. i should extend fdisk to also show extended slice 


\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00003.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20041205/97dc3bd7/attachment-0018.obj>

More information about the Kernel mailing list