How do I wipe a hard disk completely using a Live CD?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am brand new to this and just need to completely wipe the hdd for a fresh Ubuntu install. The live cd is mounted and I'm in the terminal window. 'wipe' did not work but gparted seems to be there. the 'gparted' install command shows, 'gparted is already the newest version (0.25.0-1).
Any help is appreciated.
partitioning gparted
add a comment |
I am brand new to this and just need to completely wipe the hdd for a fresh Ubuntu install. The live cd is mounted and I'm in the terminal window. 'wipe' did not work but gparted seems to be there. the 'gparted' install command shows, 'gparted is already the newest version (0.25.0-1).
Any help is appreciated.
partitioning gparted
Welcome to Ask Ubuntu. You don't need to wipe your disk to install, most options (not all) will create necessary partitions & install Ubuntu. You don't need to usegparted. Telling us the release of Ubuntu you are trying to install also makes it easier to advise you in less general terms.
– guiverc
Mar 26 at 6:25
I have install media on the system besides me, and it offers to "Erase Ubuntu 18.04.2 LTS and re-install" or "Install Xubuntu 19.04 alongisde .." and more options. You want the first option (where instead of seeing Ubuntu 18.04.2 that my system has, it'll say whatever was on your system most likely.
– guiverc
Mar 26 at 6:26
1
Please change your question, so that it is understandable what you are asking!
– variona
Mar 26 at 7:25
You mention that "The live cd is mounted". Fine. Then you have to reboot on Live CD, you cannot boot on your HDD if you wish to install something on it. Once booted on live CD, you will see an icon to install Ubuntu. Click on it, follow the instructions. At a specific step, as @guiverc says, you will have the option to erase you former system and install your new one on the full hard drive. But be 100% sure that it's what you wish! It will not be recoverable if you accidentally deleted partitions that you wanted to keep!...
– FloT
Mar 26 at 8:11
add a comment |
I am brand new to this and just need to completely wipe the hdd for a fresh Ubuntu install. The live cd is mounted and I'm in the terminal window. 'wipe' did not work but gparted seems to be there. the 'gparted' install command shows, 'gparted is already the newest version (0.25.0-1).
Any help is appreciated.
partitioning gparted
I am brand new to this and just need to completely wipe the hdd for a fresh Ubuntu install. The live cd is mounted and I'm in the terminal window. 'wipe' did not work but gparted seems to be there. the 'gparted' install command shows, 'gparted is already the newest version (0.25.0-1).
Any help is appreciated.
partitioning gparted
partitioning gparted
edited Mar 26 at 8:00
DK Bose
15.1k124288
15.1k124288
asked Mar 26 at 6:18
Nathaniel KingNathaniel King
11
11
Welcome to Ask Ubuntu. You don't need to wipe your disk to install, most options (not all) will create necessary partitions & install Ubuntu. You don't need to usegparted. Telling us the release of Ubuntu you are trying to install also makes it easier to advise you in less general terms.
– guiverc
Mar 26 at 6:25
I have install media on the system besides me, and it offers to "Erase Ubuntu 18.04.2 LTS and re-install" or "Install Xubuntu 19.04 alongisde .." and more options. You want the first option (where instead of seeing Ubuntu 18.04.2 that my system has, it'll say whatever was on your system most likely.
– guiverc
Mar 26 at 6:26
1
Please change your question, so that it is understandable what you are asking!
– variona
Mar 26 at 7:25
You mention that "The live cd is mounted". Fine. Then you have to reboot on Live CD, you cannot boot on your HDD if you wish to install something on it. Once booted on live CD, you will see an icon to install Ubuntu. Click on it, follow the instructions. At a specific step, as @guiverc says, you will have the option to erase you former system and install your new one on the full hard drive. But be 100% sure that it's what you wish! It will not be recoverable if you accidentally deleted partitions that you wanted to keep!...
– FloT
Mar 26 at 8:11
add a comment |
Welcome to Ask Ubuntu. You don't need to wipe your disk to install, most options (not all) will create necessary partitions & install Ubuntu. You don't need to usegparted. Telling us the release of Ubuntu you are trying to install also makes it easier to advise you in less general terms.
– guiverc
Mar 26 at 6:25
I have install media on the system besides me, and it offers to "Erase Ubuntu 18.04.2 LTS and re-install" or "Install Xubuntu 19.04 alongisde .." and more options. You want the first option (where instead of seeing Ubuntu 18.04.2 that my system has, it'll say whatever was on your system most likely.
– guiverc
Mar 26 at 6:26
1
Please change your question, so that it is understandable what you are asking!
– variona
Mar 26 at 7:25
You mention that "The live cd is mounted". Fine. Then you have to reboot on Live CD, you cannot boot on your HDD if you wish to install something on it. Once booted on live CD, you will see an icon to install Ubuntu. Click on it, follow the instructions. At a specific step, as @guiverc says, you will have the option to erase you former system and install your new one on the full hard drive. But be 100% sure that it's what you wish! It will not be recoverable if you accidentally deleted partitions that you wanted to keep!...
– FloT
Mar 26 at 8:11
Welcome to Ask Ubuntu. You don't need to wipe your disk to install, most options (not all) will create necessary partitions & install Ubuntu. You don't need to use
gparted. Telling us the release of Ubuntu you are trying to install also makes it easier to advise you in less general terms.– guiverc
Mar 26 at 6:25
Welcome to Ask Ubuntu. You don't need to wipe your disk to install, most options (not all) will create necessary partitions & install Ubuntu. You don't need to use
gparted. Telling us the release of Ubuntu you are trying to install also makes it easier to advise you in less general terms.– guiverc
Mar 26 at 6:25
I have install media on the system besides me, and it offers to "Erase Ubuntu 18.04.2 LTS and re-install" or "Install Xubuntu 19.04 alongisde .." and more options. You want the first option (where instead of seeing Ubuntu 18.04.2 that my system has, it'll say whatever was on your system most likely.
– guiverc
Mar 26 at 6:26
I have install media on the system besides me, and it offers to "Erase Ubuntu 18.04.2 LTS and re-install" or "Install Xubuntu 19.04 alongisde .." and more options. You want the first option (where instead of seeing Ubuntu 18.04.2 that my system has, it'll say whatever was on your system most likely.
– guiverc
Mar 26 at 6:26
1
1
Please change your question, so that it is understandable what you are asking!
– variona
Mar 26 at 7:25
Please change your question, so that it is understandable what you are asking!
– variona
Mar 26 at 7:25
You mention that "The live cd is mounted". Fine. Then you have to reboot on Live CD, you cannot boot on your HDD if you wish to install something on it. Once booted on live CD, you will see an icon to install Ubuntu. Click on it, follow the instructions. At a specific step, as @guiverc says, you will have the option to erase you former system and install your new one on the full hard drive. But be 100% sure that it's what you wish! It will not be recoverable if you accidentally deleted partitions that you wanted to keep!...
– FloT
Mar 26 at 8:11
You mention that "The live cd is mounted". Fine. Then you have to reboot on Live CD, you cannot boot on your HDD if you wish to install something on it. Once booted on live CD, you will see an icon to install Ubuntu. Click on it, follow the instructions. At a specific step, as @guiverc says, you will have the option to erase you former system and install your new one on the full hard drive. But be 100% sure that it's what you wish! It will not be recoverable if you accidentally deleted partitions that you wanted to keep!...
– FloT
Mar 26 at 8:11
add a comment |
3 Answers
3
active
oldest
votes
Wipe and gparted are separate programs. You can install wipe using this command.
sudo apt install wipe
If you don't have internet you can do it manually using dd.
dd if=/dev/zero of=/dev/sda bs=100M
instead of /dev/sda type your hard drive file which is in this format:
/dev/sdx
and specify bs according to your ram.
errrr... the user clearly is new and means "format" by "wipe" not "get rid or incriminating data"
– tatsu
Mar 26 at 10:04
add a comment |
If you mean "Format" or "remove all partitions" or "Format to unpartitioned" or anything of the sort.
Live CDs come prepacked with Gparted.
Open the start menu and type "gp", "Gparted" will show up, hit Enter or click on it and using that tool you'll be able to easily format or do whatever other disk operations you want to do.
for example :
Once you've selected the right drive with the drop down menu (by defaul the usb will be last in the list or not show up, so do not worry about that)
then "Partition" -> "Create partition table"

Remember you click the chack mark "apply" otherwise it does not apply.
this will give you a clean slate.
That being said if the whole point of this is to install ubuntu afterwards this is pointless. you can just start installing ubuntu straight away and when you get to the choice of install type (side by side, replace,re-install) just choose "something else" it opens up what is basically gparted but a version of gparted that is focused to creating the right partitions for booting ubuntu.
You'll need a 500Mb EFI partion first and the rest as an ext4 partion where / is mounted the rest of the paramaters should just remain defaults.
With such a setup, conditions for installing will be met and the installer will allow you to proceed. It works really well.
add a comment |
Open Disks by pressing the Dash button (or in the apps button, bottom left, on 18.04+) and typing it in. You can select the proper disk, and then press the menu button on that disk in the top right of the window. Click format, and then select "Overwrite (Slow)" and format. BE CAREFUL with formatting drives, especially securely, as you cannot recover the data afterwards and you need to be extra certain you've selected the correct one. If it's not impossible, I'd even go so far as to shut down, unplug important non-targeted drives and then start up, so I couldn't accidentally or otherwise delete data from them. Of course, just double checking should work too ;)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1128738%2fhow-do-i-wipe-a-hard-disk-completely-using-a-live-cd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Wipe and gparted are separate programs. You can install wipe using this command.
sudo apt install wipe
If you don't have internet you can do it manually using dd.
dd if=/dev/zero of=/dev/sda bs=100M
instead of /dev/sda type your hard drive file which is in this format:
/dev/sdx
and specify bs according to your ram.
errrr... the user clearly is new and means "format" by "wipe" not "get rid or incriminating data"
– tatsu
Mar 26 at 10:04
add a comment |
Wipe and gparted are separate programs. You can install wipe using this command.
sudo apt install wipe
If you don't have internet you can do it manually using dd.
dd if=/dev/zero of=/dev/sda bs=100M
instead of /dev/sda type your hard drive file which is in this format:
/dev/sdx
and specify bs according to your ram.
errrr... the user clearly is new and means "format" by "wipe" not "get rid or incriminating data"
– tatsu
Mar 26 at 10:04
add a comment |
Wipe and gparted are separate programs. You can install wipe using this command.
sudo apt install wipe
If you don't have internet you can do it manually using dd.
dd if=/dev/zero of=/dev/sda bs=100M
instead of /dev/sda type your hard drive file which is in this format:
/dev/sdx
and specify bs according to your ram.
Wipe and gparted are separate programs. You can install wipe using this command.
sudo apt install wipe
If you don't have internet you can do it manually using dd.
dd if=/dev/zero of=/dev/sda bs=100M
instead of /dev/sda type your hard drive file which is in this format:
/dev/sdx
and specify bs according to your ram.
edited Mar 26 at 8:51
Tintin
14010
14010
answered Mar 26 at 8:17
lordkianlordkian
211
211
errrr... the user clearly is new and means "format" by "wipe" not "get rid or incriminating data"
– tatsu
Mar 26 at 10:04
add a comment |
errrr... the user clearly is new and means "format" by "wipe" not "get rid or incriminating data"
– tatsu
Mar 26 at 10:04
errrr... the user clearly is new and means "format" by "wipe" not "get rid or incriminating data"
– tatsu
Mar 26 at 10:04
errrr... the user clearly is new and means "format" by "wipe" not "get rid or incriminating data"
– tatsu
Mar 26 at 10:04
add a comment |
If you mean "Format" or "remove all partitions" or "Format to unpartitioned" or anything of the sort.
Live CDs come prepacked with Gparted.
Open the start menu and type "gp", "Gparted" will show up, hit Enter or click on it and using that tool you'll be able to easily format or do whatever other disk operations you want to do.
for example :
Once you've selected the right drive with the drop down menu (by defaul the usb will be last in the list or not show up, so do not worry about that)
then "Partition" -> "Create partition table"

Remember you click the chack mark "apply" otherwise it does not apply.
this will give you a clean slate.
That being said if the whole point of this is to install ubuntu afterwards this is pointless. you can just start installing ubuntu straight away and when you get to the choice of install type (side by side, replace,re-install) just choose "something else" it opens up what is basically gparted but a version of gparted that is focused to creating the right partitions for booting ubuntu.
You'll need a 500Mb EFI partion first and the rest as an ext4 partion where / is mounted the rest of the paramaters should just remain defaults.
With such a setup, conditions for installing will be met and the installer will allow you to proceed. It works really well.
add a comment |
If you mean "Format" or "remove all partitions" or "Format to unpartitioned" or anything of the sort.
Live CDs come prepacked with Gparted.
Open the start menu and type "gp", "Gparted" will show up, hit Enter or click on it and using that tool you'll be able to easily format or do whatever other disk operations you want to do.
for example :
Once you've selected the right drive with the drop down menu (by defaul the usb will be last in the list or not show up, so do not worry about that)
then "Partition" -> "Create partition table"

Remember you click the chack mark "apply" otherwise it does not apply.
this will give you a clean slate.
That being said if the whole point of this is to install ubuntu afterwards this is pointless. you can just start installing ubuntu straight away and when you get to the choice of install type (side by side, replace,re-install) just choose "something else" it opens up what is basically gparted but a version of gparted that is focused to creating the right partitions for booting ubuntu.
You'll need a 500Mb EFI partion first and the rest as an ext4 partion where / is mounted the rest of the paramaters should just remain defaults.
With such a setup, conditions for installing will be met and the installer will allow you to proceed. It works really well.
add a comment |
If you mean "Format" or "remove all partitions" or "Format to unpartitioned" or anything of the sort.
Live CDs come prepacked with Gparted.
Open the start menu and type "gp", "Gparted" will show up, hit Enter or click on it and using that tool you'll be able to easily format or do whatever other disk operations you want to do.
for example :
Once you've selected the right drive with the drop down menu (by defaul the usb will be last in the list or not show up, so do not worry about that)
then "Partition" -> "Create partition table"

Remember you click the chack mark "apply" otherwise it does not apply.
this will give you a clean slate.
That being said if the whole point of this is to install ubuntu afterwards this is pointless. you can just start installing ubuntu straight away and when you get to the choice of install type (side by side, replace,re-install) just choose "something else" it opens up what is basically gparted but a version of gparted that is focused to creating the right partitions for booting ubuntu.
You'll need a 500Mb EFI partion first and the rest as an ext4 partion where / is mounted the rest of the paramaters should just remain defaults.
With such a setup, conditions for installing will be met and the installer will allow you to proceed. It works really well.
If you mean "Format" or "remove all partitions" or "Format to unpartitioned" or anything of the sort.
Live CDs come prepacked with Gparted.
Open the start menu and type "gp", "Gparted" will show up, hit Enter or click on it and using that tool you'll be able to easily format or do whatever other disk operations you want to do.
for example :
Once you've selected the right drive with the drop down menu (by defaul the usb will be last in the list or not show up, so do not worry about that)
then "Partition" -> "Create partition table"

Remember you click the chack mark "apply" otherwise it does not apply.
this will give you a clean slate.
That being said if the whole point of this is to install ubuntu afterwards this is pointless. you can just start installing ubuntu straight away and when you get to the choice of install type (side by side, replace,re-install) just choose "something else" it opens up what is basically gparted but a version of gparted that is focused to creating the right partitions for booting ubuntu.
You'll need a 500Mb EFI partion first and the rest as an ext4 partion where / is mounted the rest of the paramaters should just remain defaults.
With such a setup, conditions for installing will be met and the installer will allow you to proceed. It works really well.
edited Mar 26 at 10:16
answered Mar 26 at 10:07
tatsutatsu
675734
675734
add a comment |
add a comment |
Open Disks by pressing the Dash button (or in the apps button, bottom left, on 18.04+) and typing it in. You can select the proper disk, and then press the menu button on that disk in the top right of the window. Click format, and then select "Overwrite (Slow)" and format. BE CAREFUL with formatting drives, especially securely, as you cannot recover the data afterwards and you need to be extra certain you've selected the correct one. If it's not impossible, I'd even go so far as to shut down, unplug important non-targeted drives and then start up, so I couldn't accidentally or otherwise delete data from them. Of course, just double checking should work too ;)
add a comment |
Open Disks by pressing the Dash button (or in the apps button, bottom left, on 18.04+) and typing it in. You can select the proper disk, and then press the menu button on that disk in the top right of the window. Click format, and then select "Overwrite (Slow)" and format. BE CAREFUL with formatting drives, especially securely, as you cannot recover the data afterwards and you need to be extra certain you've selected the correct one. If it's not impossible, I'd even go so far as to shut down, unplug important non-targeted drives and then start up, so I couldn't accidentally or otherwise delete data from them. Of course, just double checking should work too ;)
add a comment |
Open Disks by pressing the Dash button (or in the apps button, bottom left, on 18.04+) and typing it in. You can select the proper disk, and then press the menu button on that disk in the top right of the window. Click format, and then select "Overwrite (Slow)" and format. BE CAREFUL with formatting drives, especially securely, as you cannot recover the data afterwards and you need to be extra certain you've selected the correct one. If it's not impossible, I'd even go so far as to shut down, unplug important non-targeted drives and then start up, so I couldn't accidentally or otherwise delete data from them. Of course, just double checking should work too ;)
Open Disks by pressing the Dash button (or in the apps button, bottom left, on 18.04+) and typing it in. You can select the proper disk, and then press the menu button on that disk in the top right of the window. Click format, and then select "Overwrite (Slow)" and format. BE CAREFUL with formatting drives, especially securely, as you cannot recover the data afterwards and you need to be extra certain you've selected the correct one. If it's not impossible, I'd even go so far as to shut down, unplug important non-targeted drives and then start up, so I couldn't accidentally or otherwise delete data from them. Of course, just double checking should work too ;)
answered Mar 30 at 1:01
Brenden McFarlingBrenden McFarling
7114
7114
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1128738%2fhow-do-i-wipe-a-hard-disk-completely-using-a-live-cd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to Ask Ubuntu. You don't need to wipe your disk to install, most options (not all) will create necessary partitions & install Ubuntu. You don't need to use
gparted. Telling us the release of Ubuntu you are trying to install also makes it easier to advise you in less general terms.– guiverc
Mar 26 at 6:25
I have install media on the system besides me, and it offers to "Erase Ubuntu 18.04.2 LTS and re-install" or "Install Xubuntu 19.04 alongisde .." and more options. You want the first option (where instead of seeing Ubuntu 18.04.2 that my system has, it'll say whatever was on your system most likely.
– guiverc
Mar 26 at 6:26
1
Please change your question, so that it is understandable what you are asking!
– variona
Mar 26 at 7:25
You mention that "The live cd is mounted". Fine. Then you have to reboot on Live CD, you cannot boot on your HDD if you wish to install something on it. Once booted on live CD, you will see an icon to install Ubuntu. Click on it, follow the instructions. At a specific step, as @guiverc says, you will have the option to erase you former system and install your new one on the full hard drive. But be 100% sure that it's what you wish! It will not be recoverable if you accidentally deleted partitions that you wanted to keep!...
– FloT
Mar 26 at 8:11