PDA

View Full Version : [ubuntu] [SOLVED] How to format/wipe hard drive



jon555
September 22nd, 2008, 10:58 AM
I think that I might have some hidden viruses on HDD. I would like to Wipe and format it, How can I format HDD from Ubuntu live CD?

bumanie
September 22nd, 2008, 11:04 AM
Jon555, I can tell you how to do that, but I did answer a previous post by you re windows not booting, if wishing to wipe your hard drive is in response to that issue, things may be able to be done that can save your previous setup without taking such drastic steps. I suspect that you installed windows in a logical partition , therefore it wouldn't boot - windows will not boot from a logical partition. Post output of
sudo fdisk -l(That's a lower case L not a numeral one) from the live cd before wiping the drive.

jon555
September 22nd, 2008, 11:07 AM
Sorry too leate - long story anyway I sort of messed it up. Deleted that partition, but when installed windows that said, something wrongf with Hdd. So I wana format it clean make two partitions install windows first and then Ubuntu.

L Campbell
September 22nd, 2008, 11:09 AM
I think that I might have some hidden viruses on HDD. I would like to Wipe and format it, How can I format HDD from Ubuntu live CD?

First, you probably already know, you have to set the boot order in BIOS, so that the CDROM boots first.

Boot up the live CD and then select 'Install' (the icon should be on your desktop).

The install process allows you to take the entire Hard Drive for Ubuntu and thus effectively gives you a clean slate to work with.

Hope this helps you.

jon555
September 22nd, 2008, 11:11 AM
Thnx Campbell, but I want also make windows partition, so I must format it all before and I want do it from Ubuntu.

jon555
September 22nd, 2008, 11:14 AM
I guess I did it with Gparted

rolnics
September 22nd, 2008, 11:15 AM
When you get to the partition section click the custom / manual option for setting up your own partitions. Then make sure you leave XXGb's on the first hard of your hard drive for windows, then use the rest of the hard drive for linux, probably an idea to create a separate /home as well.

bumanie
September 22nd, 2008, 11:16 AM
That's a shame. Oh well, these things happen sometimes. From the live cd
sudo apt-get install gpartedThis will install the partition editor. Go to System --> Administration --> Partition editor. Highlight the partitions and click format and choose the filesystem you want. You can pre-partition one ntfs partition and one ext3 partition at this stage if you wish. It is better to install windows first, followed by ubuntu. It is also a good idea when installing ubuntu to choose manual at the partitioning stage and make a 6-8gb / a 1-2gb swap and a separate /home as large as you want. This way if something goes wrong with ubuntu, you only have to reinstall to / and all your saved data in /home is safe.

jon555
September 22nd, 2008, 11:21 AM
Thnx it worked bye!:)

rolnics
September 22nd, 2008, 11:23 AM
Take a look at this. (http://www.psychocats.net/ubuntu/images/installinghardyplus10.png) That is a screen shot of the options I was talking about in my earlier post.

But I would take a look at psychocats (http://www.psychocats.net/ubuntu/installing) guide he if you want to dual boot, I found his guides a god send when I was starting out and I still refer to them.