LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   erasing windows (https://www.linuxquestions.org/questions/ubuntu-63/erasing-windows-489254/)

heffo_j 10-04-2006 01:09 AM

erasing windows
 
G'day from Oz,

I am happy with Ubuntu and have decided to get rid of my XP partition. What is the safest way to do this without crashing boot up and trashing the drive?

Is it as simple as reformating the partition?

Do I need to fiddle with grub to handle the changed partition (i.e. so it doesn't look for XP)?

thanks for your time,

John

Samotnik 10-04-2006 01:29 AM

If you're using grub or lilo as main boot loader, you can simply format this partition (but if it's a first partition on a hard drive you shoud copy a first 512 bytes of MBR before then restore it after formatting).
If you're using NT loader, you should reformat this partition then install grub.
And before doing anything make a linux boot diskette!

NoStop 10-07-2006 02:07 AM

Quote:

Originally Posted by Samotnik
If you're using grub or lilo as main boot loader, you can simply format this partition (but if it's a first partition on a hard drive you shoud copy a first 512 bytes of MBR before then restore it after formatting).
If you're using NT loader, you should reformat this partition then install grub.
And before doing anything make a linux boot diskette!

Formatting hda1 into say ext3 shouldn't touch the mbr which is stored outside of this partition.

Cheers.

heffo_j 10-07-2006 05:58 PM

Quote:

Originally Posted by NoStop
Formatting hda1 into say ext3 shouldn't touch the mbr which is stored outside of this partition.

Cheers.

Would a FAT32 partition be okay as well?

Thanks

John

FreeDoughnut 10-07-2006 06:54 PM

FAT32 should be OK but if you're not going to be running Windows you'll want to do ext3 or Reiser. Much better, but no Windoze tolerance :) .

fragos 10-07-2006 06:56 PM

FAT32 partitions can be read and written by Linux but EXT3 is a much better choice as it won't suffer from fragmentation like a FAT partition. Linux doesn't even have a de-fragment program -- its not necessary unless you use Microsoft partition formats.

FreeDoughnut 10-07-2006 07:06 PM

I like the way I said it better. :)

heffo_j 10-07-2006 09:04 PM

Thank you all for your comments.

I am deleting the xp partition because I successfully run XP through vmware as a virtual machine. Having the FAT32 partition gives me some flexibility to load stuff there that is accessible to both XP and Linux (although I am aware of the recent devekopments with ntfs-3g).

It is just a thought at this stage and a appreciate your feedback.

Regards
John


All times are GMT -5. The time now is 06:44 PM.