Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Reformatting Ubuntu

  1. #1
    Join Date
    May 2008
    Beans
    86

    Exclamation Reformatting Ubuntu

    I have to go back to Windows for awhile. I tried booting up my Windows XP cd and I got an error saying no previous versions of Windows were detected and there was a disk read error. I think my disk is fine and I believe this is because I have Ubuntu on my HD. How can I reformat Ubuntu and make my hard drive clean/empty?

    Thanks

  2. #2
    Join Date
    Dec 2005
    Beans
    19,355
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Reformatting Ubuntu

    Let's check your partitions:

    Code:
    sudo fdisk -l
    Small L, then Copy and paste the results.
    Learning is not attained by chance, it must be sought for with ardor and attended to with diligence. Abigail Adams ( 1744 - 1818 ), 1780;

    My blog Poetry and More Free Ubuntu Magazine

  3. #3
    Join Date
    Aug 2007
    Beans
    690

    Re: Reformatting Ubuntu

    boot form livecd

    dd if=/dev/zero of=/dev/sda (or hda if thats what you have)

    that will create a blank hardrive, unformatted, with nothing on it.

    to format it to ntfs (why you would want to, i dont know) put in a windows cd and use cfdisk to create partitions/format them

    or

    mkntfs while still booted with livecd

  4. #4
    Join Date
    May 2008
    Beans
    86

    Re: Reformatting Ubuntu

    Quote Originally Posted by Sef View Post
    Let's check your partitions:

    Code:
    sudo fdisk -l
    Small L, then Copy and paste the results.
    Code:
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x20962096
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       29644   238115398+  83  Linux
    /dev/sda2           29645       30401     6080602+   5  Extended
    /dev/sda5           29645       30401     6080571   82  Linux swap / Solaris

  5. #5
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Reformatting Ubuntu

    It looks like you don't have a winxp partition any more. To install xp boot from your CD and let it go through all the things it has to until it gets to the partition screen. Just delete the partitions that are already there and the you can set up your partitions any way you want.

    Jim

  6. #6
    Join Date
    May 2008
    Beans
    86

    Re: Reformatting Ubuntu

    Quote Originally Posted by cariboo907 View Post
    It looks like you don't have a winxp partition any more. To install xp boot from your CD and let it go through all the things it has to until it gets to the partition screen. Just delete the partitions that are already there and the you can set up your partitions any way you want.

    Jim
    I know I don't have the Windows XP partition. Something must be wrong with the disc then because I can't get to the partition screen without error.

  7. #7
    Join Date
    May 2008
    Beans
    86

    Re: Reformatting Ubuntu

    I checked the disk on another computer and it reads fine. The problem is that Ubuntu is installed. How can I completely format my hard drive so it is blank?

    Thanks

  8. #8

    Re: Reformatting Ubuntu

    Quote Originally Posted by JimmyJim View Post
    I checked the disk on another computer and it reads fine. The problem is that Ubuntu is installed. How can I completely format my hard drive so it is blank?

    Thanks
    I (highly) doubt that the Ubuntu install is your problem. It might be your optical drive.

  9. #9
    Join Date
    May 2008
    Beans
    86

    Re: Reformatting Ubuntu

    Quote Originally Posted by nig_nig_the_conqueror View Post
    I (highly) doubt that the Ubuntu install is your problem. It might be your optical drive.
    I've had issues before where the disk wouldn't read because a different version of Windows (different from the disk) was installed. I've used this disk on my computer many times before Ubuntu. The other computer that I tried the disk on has a very old, poor optical drive and it read fine. I just burnt a DVD with my optical drive. I highly doubt that my optical drive is the issue.

    Regardless of the cause, how can I completely reformat my hard drive so it is clean? Thanks

  10. #10

    Re: Reformatting Ubuntu

    Quote Originally Posted by JimmyJim View Post
    I've had issues before where the disk wouldn't read because a different version of Windows (different from the disk) was installed. I've used this disk on my computer many times before Ubuntu. The other computer that I tried the disk on has a very old, poor optical drive and it read fine. I just burnt a DVD with my optical drive. I highly doubt that my optical drive is the issue.

    Regardless of the cause, how can I completely reformat my hard drive so it is clean? Thanks
    Use GParted. It's a live cd and should do what you need.

    http://gparted.sourceforge.net/livecd.php


    EDIT: I just realized...I don't think Gparted can create NTSF partitions, but you can try creating a FAT32 partition and the Windows install disk should be able to format it to NTSF. Hope this helps.
    Last edited by nig_nig_the_conqueror; July 6th, 2008 at 07:25 AM.

Page 1 of 3 123 LastLast

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
  •