Find the answer to your Linux question:
Results 1 to 4 of 4
I have an IBM Thinkpad that had Windows XP installed on it, but it crashed. As a result, I ended up installing Ubuntu on it until I could find my ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    1

    Question How do I format a harddrive with Ubuntu installed on it

    I have an IBM Thinkpad that had Windows XP installed on it, but it crashed. As a result, I ended up installing Ubuntu on it until I could find my Windows XP installations cd.

    Now that I've found it, I'm running into problems installing Windows back on it, so I'm thinking that I need to format the harddrive. But I'm not very experienced in Ubuntu or Linux. Can someone show me how to reformat a harddrive with Ubuntu so that I can install Windows on it?

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Welcome to the forums!

    The Parted Magic LiveCD with its graphical user interface makes easy work of formatting drives if you want to try it:

    Parted Magic News

    You can also use it to clear GRUB from the master boot record should you need to do so.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Just a note, Windows XP has trouble recognizing a harddrive formatted to linux partitions. You'll want to format it to NTFS or FAT32.

    Parted Magic is great as mentioned. Any live CD that included gparted should do.
    GParted partitioning software - Full tutorial

  4. #4
    Just Joined!
    Join Date
    Jan 2009
    Posts
    5
    Quote Originally Posted by razorsandroses View Post
    I have an IBM Thinkpad that had Windows XP installed on it, but it crashed. As a result, I ended up installing Ubuntu on it until I could find my Windows XP installations cd.

    Now that I've found it, I'm running into problems installing Windows back on it, so I'm thinking that I need to format the harddrive. But I'm not very experienced in Ubuntu or Linux. Can someone show me how to reformat a harddrive with Ubuntu so that I can install Windows on it?
    Start cfdisk:
    cfdisk
    # It should find your drive at /dev/hda or /dev/sda

    Move the curser to the last partion and press "D"
    Repeat for each linux partition.

    Move the cursor to the bottom onto "Write" and press the enter key. Type "yes" and press the enter key.

    Exit cfdisk:
    Press "q"

    You should now have a clean unpartitioned drive ready for the Windows install.
    Put the Windows install disk into the cdrom drive and reboot.
    The Windows install will allow you to create and format the drive for ntfs.

Posting Permissions

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