On Monday June 29 2009, Greg Freemyer wrote:
On Mon, Jun 29, 2009 at 6:46 PM, Hans de Faber wrote:
How can I delete or completely erase a partition-table.
The feature "delete partitiontable" is removed in the opensuse partitioning tool.
Thanks, Hans
The typical PC partition table is in the very first sector of the drive, so:
dd if=/dev/zero of=/dev/sdx count=1
should do it, but you may need to reboot to get the kernel to reread it. ...
The kernel manages all I/O (even when you access a disk via its /dev entry, not just via files), so any buffered disk blocks it has will remain consistent when you write. However, if you have any mounted file system volumes on that drive, you should unmount them first, lest unpredictable and undesirable consequences ensue.
Greg
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org