How to delete all partitions for a complete reinstall

Eric Hanchrow offby1 at blarg.net
Tue Aug 15 05:25:50 UTC 2006


>>>>> "Kevin" == Kevin Zhao <klzhao at gmail.com> writes:

    Kevin> I wonder which commands (fdisk -xxx?  etc) can be used if i
    Kevin> boot using ubuntu live cd.

I would use

        $ dd if=/dev/zero count=512 bs=1 of=/dev/hda

Change the /dev/hda as appropriate.

-- 
If there were a little guy running around inside the computer
executing our programs, he would probably have as long and
plaintive a tale to tell about his job as a federal government
employee.
        -- Paul Graham





More information about the ubuntu-users mailing list