The above error has been driving me nuts over the last few days and can't figure out why I'm getting it.
This is what I'm trying to do:-
and this what I get:
What am I doing wrong?
This is what I'm trying to do:-
Bash:
DISK=da0
gpart destroy -F $DISK
gpart create -s MBR $DISK
head -c 440 /boot/mbr >mbr-new
dd if=mbr-new of=/dev/da0
gpart show da0
and this what I get:
Code:
da0 destroyed
da0 created
dd: /dev/da0: Invalid argument
0+1 records in
0+0 records out
0 bytes transferred in 0.000094 secs (0 bytes/sec)
=> 63 249644911 da0 MBR (119G)
63 249644911 - free - (119G)
What am I doing wrong?