>>: It seems that our new boot blocks doesn't like the taste of disks
>>: prepared according to the meagre information we have in the handbook.
>>
>>How does this script differ from 'disklabel -w wd0 auto'?  It does do
>>the fdisk stuff (your script, not the disklabel command).
>
>It differs in that you can boot from the disk afterwards with my script,
>you cant with disklabel -w wd0 auto.

That may be because you forgot to supply the -r or -B args to disklabel,
or forgot to edit the label using disklabel -e.  I think no editing is
required to boot from the 'c' partition (the missing d_type initialisation
doesn't matter because the `d_type != DTYPE_SCSI' case defaults to
DTYPE_ESDI (aka IDE)).  The 'a' partition produced by
`disklabel -Brw wd0 auto ' is obviosuly unbootable and unnewfsable,
etc., since it is empty.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to