Hi,

the following produces a bootable CF card under 4.7:

dd if=/dev/zero of=/dev/da2 bs=512 count=32
fdisk -BI da2
disklabel -w -B da2s1 auto
disklabel -r da2s1 > /tmp/da2s1
disklabel -r da2s1 | grep ' c:' | sed 's/c:/a:/' >> /tmp/da2s1
disklabel -R -B da2s1 /tmp/da2s1
newfs /dev/da2s1a

When executed under -current, I end up in the loader when booting from the media, and I can't seem to get it to see the file system:

Console: internal video/keyboard
BIOS drive C: is disk0
BIOS 639kB/64512kB available memory

FreeBSD/i386 bootstrap loader, Revision 0.8
([EMAIL PROTECTED], Thu Sep 19 12:19:30 PDT 2002)
\
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel]...
can't load 'kernel'
can't load 'kernel.old'

Type '?' for a list of commands, 'help' for more detailed help.
ok ls
open '/' failed: no such file or directory
ok lsdev
cd @ 0x11ee0
disk @ 0x10ca0
disk0: BIOS drive C:
disk0s1a: FFS
pxe @ 0xeef0

If I access the -current-created media under 4.7, I see these messages:

da2: rejecting BSD label: raw partition offset != slice offset
da2: start 1, end 2104704, size 2104704
da2c: start 0, end 2104703, size 2104704
da2s1: rejecting BSD label: raw partition offset != slice offset
da2s1: start 1, end 2104704, size 2104704
da2s1c: start 0, end 2104703, size 2104704

Any ideas? Might this be geom-related? Or a pilot error on my part?

Thanks,
Lars
--
Lars Eggert <[EMAIL PROTECTED]> USC Information Sciences Institute

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to