Results 1 to 2 of 2

Thread: Deleting Partition Table

  1. #1
    Join Date
    Mar 2006
    Beans
    87
    Distro
    Ubuntu 6.06

    Deleting Partition Table

    I recently received a shiny new Commodore 64 throwback machine, and had a few problems I believe may have been hard drive problems when I attempted to install Ubuntu on it. There is nothing on it yet other than an earlier version of Ubuntu I'd like to replace with the current version. But before I do that, I'd like to do a full read/write benchmark, while the drive is empty. The problem is, the drive has a partition table, thus read/write will not proceed, and I can't figure out how to get rid of it.

    So far as gparted and the disk utility can tell, it's all free, unallocated space at this time... though I had difficulty getting it to delete the swap partition. (I am doing this all from a CD boot, of course.) However, the read/write test still detects a partition table, and if I try to boot without the CD, I get a "no such partition" error and get thrown into grub rescue... so obviously, there's still something there.

    How do I get rid of it?

    EDIT: Okay, I jumped the gun posting this. In the disk utility, I formatted it with the "do not partition" option. That cleared it, and I now have a read/write benchmark test going. Sorry to clutter this with what was clearly a stupid question (nobody else had ever asked, so far as I could tell)... but I preserve this for posterity.
    Last edited by Tarvok; August 7th, 2011 at 03:22 PM.

  2. #2
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Deleting Partition Table

    Code:
    sudo dd if=/dev/zero of=/dev/sd# bs=512 count=1
    Replace sd# with the disk identifier.

    EDIT: I see you've solved your problem another way. :)
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •