Hi...

    I have spent a bit of time messing around with the command-line
fdisk and disklabel commands, and have been unable to setup a proper
fdisk and FreeBSD partition label solely from the command line.

    When I do 'fdisk -e /dev/rda1' or 'fdisk -u ...', that seems to
write an fdisk label, but I get 'No space left on device' or some such
message when I try to do 'disklabel -r -w da1 auto'.

    Basically, I want to be able to automate an install, and can't
figure out how to get a shell script to completely initialize a proper
fdisk label AND FreeBSD disk label + boot blocks.

    I know that I can use sysinstall to do this properly, but I really
need to do this from a shell script in an automated fashion. I have
tried using slice partitions with disklabel, and that doesn't work
either.

    I have consulted the FreeBSD FAQ, and haven't been able to find the
answer there. I also sent this to freebsd-questions, and didn't get any
reply. Can anybody point me in the right direction?

...Marc...


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

Reply via email to