How do I format my HD once Ubuntu is on it?

Asked by jeff lenard

I am running Ubuntu 11 and cannot get the update to load. I wish to re-format my HD and then load Ubuntu 12.01 from a DVD-R. I need to know how to access the C prompt to run the DOS format command. Please advise with key stroke by key stroke directions. Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You will need a bootable CD or USB to start the installation. Part of the install process is partitioning so you can delete the current install (This will destroy ALL data so be sure your backups are up to date) and then install to the new freed space.

You don't need DOS or anything like that, it's already built in.

Revision history for this message
jeff lenard (adagio246) said :
#2

TNX for your help. Unfortunately the problem remains.

I have burned a DVD-R with Ubuntu 12.?? I have confirmed that BIOS is configured to boot 1st from DVD/CD drive and then from HD. I have placed the DVD w/ Ubuntu 12.?? into the DVD/CD drive, started the computer, and the old Ubuntu 11.?? loads. This old Ubuntu shows the DVD/CD drive containing the Ubuntu 12.?? program.

I believe there is a corrupted file on the HD and wish to erase the HD; then begin anew with the DVD of Ubuntu 12.?? Alternatively, how do I force the downloading of the DVD once Ubuntu 11.?? has opened?

Again, thank you, jeff

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

How did you burn the CD?

Revision history for this message
jeff lenard (adagio246) said :
#4

I was about to post this note (you're comment vis a vis how the CD was burned is spot on).

Initial DVD was burned using a program on my Windows 7 machine. Second CD was burned using the Nero packaged in the Ubuntu 12.?? download. The latter is currently loading; hopefully with success.

My question regarding how to format the HD remains open. Using MS-DOS or CMD one can get to the C: prompt and use the command 'format C' to reformat the HD. Can this be accomplished with Ubuntu? If so, how.

Thank you,
jeff

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

The Ubuntu liveCD has gparted which you can use to format partitions with

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

There is no C: in Linux, that is a Windows construct

Revision history for this message
jeff lenard (adagio246) said :
#7

Okay, Windows construct and all. . . Still, is there any way to reformat the HD on the machine running Ubuntu? I understand such an action would delete all data leaving only BIOS to run the machine. Maybe the other way to ask this same question: How would one overwrite the HD as to delete all data on it?

Revision history for this message
Thomas Krüger (thkrueger) said :
#8

As explained earlier, you have that option in the installtion process. You will be asked what to do with the hard disk.
Your main focus should be on getting the live CD/DVD with the installer running. You will need it anyway.

Also: You should not format a drive while the OS on it is running, not on Linux and not on Window. Never!

Revision history for this message
jeff lenard (adagio246) said :
#9

TNX. Let me re-phrase - once the computer is started, it automatically boots to Ubuntu. How does one avoid the boot to Ubuntu? In the case of Windows, one can go to RUN > CMD and then using CD command get to the C prompt, whereupon the format command is given.

The objective is to 'shred' all data on the HD.

Any thoughts?

Again, thank you all,
jeff

Revision history for this message
Thomas Krüger (thkrueger) said :
#10

No, the process you are describing is wrong in two ways.

1. You are formatting a disk from which the currently running OS (including the format tool) is loaded from. You are sawing on the branch you are sitting on.
2. Formatting a hard drive does not delete it's content. It's like removing all road from a city leaving the building intact. It will make them harder to access only.

How to get it done the right way.
1. Step one create a working Ubuntu live CD/DVD: https://help.ubuntu.com/community/BootFromCD
2. Boot from that CD/DVD
3. (optional) Find out the device name (the first HDD in system is usually /dev/sda and run 'shred devicename'. It will wipe all data on the disk safely but might take a lot of time.
4. Run the installer!

Everything else is straight forward.

Revision history for this message
snd (dns) said :
#11

1. gksudo gedit /etc/grub
2. change GRUB_HIDDEN_TIMEOUT to something higher than 0 (in seconds) and save the file.
3: sudo update-grub

Revision history for this message
snd (dns) said :
#12

oops lol not in seconds but higher than 0 so 1 :p

Revision history for this message
Thomas Krüger (thkrueger) said :
#13

That won't help when booting from CD.

Revision history for this message
snd (dns) said :
#14

Thomas: Yep sorry, this was just about his question how to avoid to boot automatically into ubuntu.

Jeff: You can also boot from USB: https://help.ubuntu.com/community/Installation/FromUSBStick
And with windows: http://www.linuxliveusb.com/

Can you help with this problem?

Provide an answer of your own, or ask jeff lenard for more information if necessary.

To post a message you must log in.