How to use sfdisk
I have a sata drive and when I do sfdisk -l /dev/sda1 (that is how it is listed in/dev)it returns "Warning: start=63 - this looks lake a partition rather than the entire disk. Use the -- force option if you really want this." [U]This is an entire disk[./U] I have looked at a lot of examples and they all show this sfdisk /dev/hdc << EOF
0,407
,407
;
;
EOF
Which I don't understand. All I want is to make the whole drive one partition. I tried <start> <size> <id>; sfdisk /dev/sda1 0 298 L but it doesn't work. What do I need to type?
|