Re: formatting bootable media

2002-10-22 Thread Lars Eggert
Lars Eggert wrote: 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 Turns out that the "disklabel -r" output after this step differs between -current a

formatting bootable media

2002-10-22 Thread Lars Eggert
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 W