How to wipe disk clean totallyErase root password before reselling computerproblems with grubWubi Grub Prompt “Minimal BASH-like line editing is supported”Ubuntu 14.04 can't boot after hard shutdownOperating System not found (Grub error)GRUB Boot 2.02 beta2-9ubuntu1.3Gnu Grub 2.02 beta2-9ubuntu1.3Can't boot into windows after removing ubuntuHow do I start Ubuntu from grub?cannot install windows XP after deleting Ubuntu 16.04 and formating all the hard drive?ISO Image loaded, unable to access programme

How can I make my BBEG immortal short of making them a Lich or Vampire?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Can one be a co-translator of a book, if he does not know the language that the book is translated into?

What killed these X2 caps?

Has there ever been an airliner design involving reducing generator load by installing solar panels?

Why doesn't H₄O²⁺ exist?

How to show the equivalence between the regularized regression and their constraint formulas using KKT

AES: Why is it a good practice to use only the first 16bytes of a hash for encryption?

90's TV series where a boy goes to another dimension through portal near power lines

How can I fix/modify my tub/shower combo so the water comes out of the showerhead?

What is going on with Captain Marvel's blood colour?

What's the point of deactivating Num Lock on login screens?

Memorizing the Keyboard

What reasons are there for a Capitalist to oppose a 100% inheritance tax?

Why are electrically insulating heatsinks so rare? Is it just cost?

Is it canonical bit space?

Forgetting the musical notes while performing in concert

Theorems that impeded progress

How much of data wrangling is a data scientist's job?

Infinite Abelian subgroup of infinite non Abelian group example

Did Shadowfax go to Valinor?

What exploit are these user agents trying to use?

Stopping power of mountain vs road bike

Emailing HOD to enhance faculty application



How to wipe disk clean totally


Erase root password before reselling computerproblems with grubWubi Grub Prompt “Minimal BASH-like line editing is supported”Ubuntu 14.04 can't boot after hard shutdownOperating System not found (Grub error)GRUB Boot 2.02 beta2-9ubuntu1.3Gnu Grub 2.02 beta2-9ubuntu1.3Can't boot into windows after removing ubuntuHow do I start Ubuntu from grub?cannot install windows XP after deleting Ubuntu 16.04 and formating all the hard drive?ISO Image loaded, unable to access programme






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I saw this has been answered before but related to windows.



I have the following on a 2009 macbook air and would like to wipe the disk and start over:



Minimal bash-like line editing is supported.
For the first word, TAB lists possible command completions.
Anywhere else TAB lists possible device or file completions.
Grub>



I typed in exit and nothing occurred. Any direction please. I do not know what else is on this particular disk and to avoid complication I just want to wipe ALL and start over newly. Please advise. Thanks. Best, Richard










share|improve this question














bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    1















    I saw this has been answered before but related to windows.



    I have the following on a 2009 macbook air and would like to wipe the disk and start over:



    Minimal bash-like line editing is supported.
    For the first word, TAB lists possible command completions.
    Anywhere else TAB lists possible device or file completions.
    Grub>



    I typed in exit and nothing occurred. Any direction please. I do not know what else is on this particular disk and to avoid complication I just want to wipe ALL and start over newly. Please advise. Thanks. Best, Richard










    share|improve this question














    bumped to the homepage by Community 2 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      1












      1








      1








      I saw this has been answered before but related to windows.



      I have the following on a 2009 macbook air and would like to wipe the disk and start over:



      Minimal bash-like line editing is supported.
      For the first word, TAB lists possible command completions.
      Anywhere else TAB lists possible device or file completions.
      Grub>



      I typed in exit and nothing occurred. Any direction please. I do not know what else is on this particular disk and to avoid complication I just want to wipe ALL and start over newly. Please advise. Thanks. Best, Richard










      share|improve this question














      I saw this has been answered before but related to windows.



      I have the following on a 2009 macbook air and would like to wipe the disk and start over:



      Minimal bash-like line editing is supported.
      For the first word, TAB lists possible command completions.
      Anywhere else TAB lists possible device or file completions.
      Grub>



      I typed in exit and nothing occurred. Any direction please. I do not know what else is on this particular disk and to avoid complication I just want to wipe ALL and start over newly. Please advise. Thanks. Best, Richard







      grub2






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 26 '16 at 23:24









      Richard LewisRichard Lewis

      612




      612





      bumped to the homepage by Community 2 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          2 Answers
          2






          active

          oldest

          votes


















          0














          I would install a fresh copy of Ubuntu, and that will wipe the disk in the process. That should be a sufficient "wipe" unless you are trying to hide files from a forensic investigator. Good luck!






          share|improve this answer






























            -1














            Wiping the disk is not necessary. Just boot using a LiveCD/LiveUSB and (re-)install Ubuntu. During installation, you can reformat the whole disk. That should be sufficient.



            If you want to wipe the disk before reinstalling, you can write zeros across the complete disk using the LiveCD/LiveUSB, a terminal, and the dd command.



            Edit



            To wipe a hdd, you need to boot a Live-Image of a Linux system, eg. Ubuntu. After booting into the system, you need to open a terminal. Root privileges are required to write on hardware level to a disk, therefore you need to become root. A root shell can easily be opened by



            sudo -i



            Before you use the dd command, it is absolutely necessary to determine the correct location of your hdd. This can be done for example by gparted. This enables you to match the expected vs. found partitions and hdd size. Make sure, that you are using the correct location, otherwise you will destroy the data set!!! In the following I assume, that the hdd is located at /dev/sda.



            To wipe the disk, you can use the command



            dd if=/dev/zero of=/dev/sda



            That will write zeros on the entire disk, making it very unlikely that someone can recover the original data. Instead of /dev/zero you can use /dev/urandom to use (pseudo-)random data instead of zeros, but that will slow down the writing process dramatically! You will find often, that overwriting only one time is not sufficient to prevent recovering. I think and read that this is an urban legend (eg. here).



            Hope that this description is detailed enough to wipe your disk. Last, let me put the warning here once more: Make sure, you are using the right disk location for the dd command, otherwise your data will be unrecoverable destroyed!!!*






            share|improve this answer

























            • Thanks Frank. You mean just type 000000 following the grub command I now have? (with the install USB in). And what is "dd" exactly? I type that after? Sorry just trying to understand the sequence here. I just have the message I wrote ending in "grub" as a dos type prompt on my screen so want to understand what I type next exactly. Thanks.

              – Richard Lewis
              Jan 28 '16 at 9:00











            • Dear Richard, no... You have to boot the LiveCD. I will add some information to my answer to illustrate the process.

              – Frank Förster
              Feb 1 '16 at 23:07











            • Ok, thanks Frank for your full and detailed answer. I will be giving this a go at the weekend. I let you know.

              – Richard Lewis
              Feb 2 '16 at 23:15











            • Does not answer the question - the question the op is essentially asking is 'how to wipe disk from grub'

              – theYnot
              May 20 '18 at 9:10











            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
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f726042%2fhow-to-wipe-disk-clean-totally%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I would install a fresh copy of Ubuntu, and that will wipe the disk in the process. That should be a sufficient "wipe" unless you are trying to hide files from a forensic investigator. Good luck!






            share|improve this answer



























              0














              I would install a fresh copy of Ubuntu, and that will wipe the disk in the process. That should be a sufficient "wipe" unless you are trying to hide files from a forensic investigator. Good luck!






              share|improve this answer

























                0












                0








                0







                I would install a fresh copy of Ubuntu, and that will wipe the disk in the process. That should be a sufficient "wipe" unless you are trying to hide files from a forensic investigator. Good luck!






                share|improve this answer













                I would install a fresh copy of Ubuntu, and that will wipe the disk in the process. That should be a sufficient "wipe" unless you are trying to hide files from a forensic investigator. Good luck!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 27 '16 at 0:23









                Justin PavatteJustin Pavatte

                1134




                1134























                    -1














                    Wiping the disk is not necessary. Just boot using a LiveCD/LiveUSB and (re-)install Ubuntu. During installation, you can reformat the whole disk. That should be sufficient.



                    If you want to wipe the disk before reinstalling, you can write zeros across the complete disk using the LiveCD/LiveUSB, a terminal, and the dd command.



                    Edit



                    To wipe a hdd, you need to boot a Live-Image of a Linux system, eg. Ubuntu. After booting into the system, you need to open a terminal. Root privileges are required to write on hardware level to a disk, therefore you need to become root. A root shell can easily be opened by



                    sudo -i



                    Before you use the dd command, it is absolutely necessary to determine the correct location of your hdd. This can be done for example by gparted. This enables you to match the expected vs. found partitions and hdd size. Make sure, that you are using the correct location, otherwise you will destroy the data set!!! In the following I assume, that the hdd is located at /dev/sda.



                    To wipe the disk, you can use the command



                    dd if=/dev/zero of=/dev/sda



                    That will write zeros on the entire disk, making it very unlikely that someone can recover the original data. Instead of /dev/zero you can use /dev/urandom to use (pseudo-)random data instead of zeros, but that will slow down the writing process dramatically! You will find often, that overwriting only one time is not sufficient to prevent recovering. I think and read that this is an urban legend (eg. here).



                    Hope that this description is detailed enough to wipe your disk. Last, let me put the warning here once more: Make sure, you are using the right disk location for the dd command, otherwise your data will be unrecoverable destroyed!!!*






                    share|improve this answer

























                    • Thanks Frank. You mean just type 000000 following the grub command I now have? (with the install USB in). And what is "dd" exactly? I type that after? Sorry just trying to understand the sequence here. I just have the message I wrote ending in "grub" as a dos type prompt on my screen so want to understand what I type next exactly. Thanks.

                      – Richard Lewis
                      Jan 28 '16 at 9:00











                    • Dear Richard, no... You have to boot the LiveCD. I will add some information to my answer to illustrate the process.

                      – Frank Förster
                      Feb 1 '16 at 23:07











                    • Ok, thanks Frank for your full and detailed answer. I will be giving this a go at the weekend. I let you know.

                      – Richard Lewis
                      Feb 2 '16 at 23:15











                    • Does not answer the question - the question the op is essentially asking is 'how to wipe disk from grub'

                      – theYnot
                      May 20 '18 at 9:10















                    -1














                    Wiping the disk is not necessary. Just boot using a LiveCD/LiveUSB and (re-)install Ubuntu. During installation, you can reformat the whole disk. That should be sufficient.



                    If you want to wipe the disk before reinstalling, you can write zeros across the complete disk using the LiveCD/LiveUSB, a terminal, and the dd command.



                    Edit



                    To wipe a hdd, you need to boot a Live-Image of a Linux system, eg. Ubuntu. After booting into the system, you need to open a terminal. Root privileges are required to write on hardware level to a disk, therefore you need to become root. A root shell can easily be opened by



                    sudo -i



                    Before you use the dd command, it is absolutely necessary to determine the correct location of your hdd. This can be done for example by gparted. This enables you to match the expected vs. found partitions and hdd size. Make sure, that you are using the correct location, otherwise you will destroy the data set!!! In the following I assume, that the hdd is located at /dev/sda.



                    To wipe the disk, you can use the command



                    dd if=/dev/zero of=/dev/sda



                    That will write zeros on the entire disk, making it very unlikely that someone can recover the original data. Instead of /dev/zero you can use /dev/urandom to use (pseudo-)random data instead of zeros, but that will slow down the writing process dramatically! You will find often, that overwriting only one time is not sufficient to prevent recovering. I think and read that this is an urban legend (eg. here).



                    Hope that this description is detailed enough to wipe your disk. Last, let me put the warning here once more: Make sure, you are using the right disk location for the dd command, otherwise your data will be unrecoverable destroyed!!!*






                    share|improve this answer

























                    • Thanks Frank. You mean just type 000000 following the grub command I now have? (with the install USB in). And what is "dd" exactly? I type that after? Sorry just trying to understand the sequence here. I just have the message I wrote ending in "grub" as a dos type prompt on my screen so want to understand what I type next exactly. Thanks.

                      – Richard Lewis
                      Jan 28 '16 at 9:00











                    • Dear Richard, no... You have to boot the LiveCD. I will add some information to my answer to illustrate the process.

                      – Frank Förster
                      Feb 1 '16 at 23:07











                    • Ok, thanks Frank for your full and detailed answer. I will be giving this a go at the weekend. I let you know.

                      – Richard Lewis
                      Feb 2 '16 at 23:15











                    • Does not answer the question - the question the op is essentially asking is 'how to wipe disk from grub'

                      – theYnot
                      May 20 '18 at 9:10













                    -1












                    -1








                    -1







                    Wiping the disk is not necessary. Just boot using a LiveCD/LiveUSB and (re-)install Ubuntu. During installation, you can reformat the whole disk. That should be sufficient.



                    If you want to wipe the disk before reinstalling, you can write zeros across the complete disk using the LiveCD/LiveUSB, a terminal, and the dd command.



                    Edit



                    To wipe a hdd, you need to boot a Live-Image of a Linux system, eg. Ubuntu. After booting into the system, you need to open a terminal. Root privileges are required to write on hardware level to a disk, therefore you need to become root. A root shell can easily be opened by



                    sudo -i



                    Before you use the dd command, it is absolutely necessary to determine the correct location of your hdd. This can be done for example by gparted. This enables you to match the expected vs. found partitions and hdd size. Make sure, that you are using the correct location, otherwise you will destroy the data set!!! In the following I assume, that the hdd is located at /dev/sda.



                    To wipe the disk, you can use the command



                    dd if=/dev/zero of=/dev/sda



                    That will write zeros on the entire disk, making it very unlikely that someone can recover the original data. Instead of /dev/zero you can use /dev/urandom to use (pseudo-)random data instead of zeros, but that will slow down the writing process dramatically! You will find often, that overwriting only one time is not sufficient to prevent recovering. I think and read that this is an urban legend (eg. here).



                    Hope that this description is detailed enough to wipe your disk. Last, let me put the warning here once more: Make sure, you are using the right disk location for the dd command, otherwise your data will be unrecoverable destroyed!!!*






                    share|improve this answer















                    Wiping the disk is not necessary. Just boot using a LiveCD/LiveUSB and (re-)install Ubuntu. During installation, you can reformat the whole disk. That should be sufficient.



                    If you want to wipe the disk before reinstalling, you can write zeros across the complete disk using the LiveCD/LiveUSB, a terminal, and the dd command.



                    Edit



                    To wipe a hdd, you need to boot a Live-Image of a Linux system, eg. Ubuntu. After booting into the system, you need to open a terminal. Root privileges are required to write on hardware level to a disk, therefore you need to become root. A root shell can easily be opened by



                    sudo -i



                    Before you use the dd command, it is absolutely necessary to determine the correct location of your hdd. This can be done for example by gparted. This enables you to match the expected vs. found partitions and hdd size. Make sure, that you are using the correct location, otherwise you will destroy the data set!!! In the following I assume, that the hdd is located at /dev/sda.



                    To wipe the disk, you can use the command



                    dd if=/dev/zero of=/dev/sda



                    That will write zeros on the entire disk, making it very unlikely that someone can recover the original data. Instead of /dev/zero you can use /dev/urandom to use (pseudo-)random data instead of zeros, but that will slow down the writing process dramatically! You will find often, that overwriting only one time is not sufficient to prevent recovering. I think and read that this is an urban legend (eg. here).



                    Hope that this description is detailed enough to wipe your disk. Last, let me put the warning here once more: Make sure, you are using the right disk location for the dd command, otherwise your data will be unrecoverable destroyed!!!*







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Feb 1 '16 at 23:33

























                    answered Jan 27 '16 at 3:25









                    Frank FörsterFrank Förster

                    1594




                    1594












                    • Thanks Frank. You mean just type 000000 following the grub command I now have? (with the install USB in). And what is "dd" exactly? I type that after? Sorry just trying to understand the sequence here. I just have the message I wrote ending in "grub" as a dos type prompt on my screen so want to understand what I type next exactly. Thanks.

                      – Richard Lewis
                      Jan 28 '16 at 9:00











                    • Dear Richard, no... You have to boot the LiveCD. I will add some information to my answer to illustrate the process.

                      – Frank Förster
                      Feb 1 '16 at 23:07











                    • Ok, thanks Frank for your full and detailed answer. I will be giving this a go at the weekend. I let you know.

                      – Richard Lewis
                      Feb 2 '16 at 23:15











                    • Does not answer the question - the question the op is essentially asking is 'how to wipe disk from grub'

                      – theYnot
                      May 20 '18 at 9:10

















                    • Thanks Frank. You mean just type 000000 following the grub command I now have? (with the install USB in). And what is "dd" exactly? I type that after? Sorry just trying to understand the sequence here. I just have the message I wrote ending in "grub" as a dos type prompt on my screen so want to understand what I type next exactly. Thanks.

                      – Richard Lewis
                      Jan 28 '16 at 9:00











                    • Dear Richard, no... You have to boot the LiveCD. I will add some information to my answer to illustrate the process.

                      – Frank Förster
                      Feb 1 '16 at 23:07











                    • Ok, thanks Frank for your full and detailed answer. I will be giving this a go at the weekend. I let you know.

                      – Richard Lewis
                      Feb 2 '16 at 23:15











                    • Does not answer the question - the question the op is essentially asking is 'how to wipe disk from grub'

                      – theYnot
                      May 20 '18 at 9:10
















                    Thanks Frank. You mean just type 000000 following the grub command I now have? (with the install USB in). And what is "dd" exactly? I type that after? Sorry just trying to understand the sequence here. I just have the message I wrote ending in "grub" as a dos type prompt on my screen so want to understand what I type next exactly. Thanks.

                    – Richard Lewis
                    Jan 28 '16 at 9:00





                    Thanks Frank. You mean just type 000000 following the grub command I now have? (with the install USB in). And what is "dd" exactly? I type that after? Sorry just trying to understand the sequence here. I just have the message I wrote ending in "grub" as a dos type prompt on my screen so want to understand what I type next exactly. Thanks.

                    – Richard Lewis
                    Jan 28 '16 at 9:00













                    Dear Richard, no... You have to boot the LiveCD. I will add some information to my answer to illustrate the process.

                    – Frank Förster
                    Feb 1 '16 at 23:07





                    Dear Richard, no... You have to boot the LiveCD. I will add some information to my answer to illustrate the process.

                    – Frank Förster
                    Feb 1 '16 at 23:07













                    Ok, thanks Frank for your full and detailed answer. I will be giving this a go at the weekend. I let you know.

                    – Richard Lewis
                    Feb 2 '16 at 23:15





                    Ok, thanks Frank for your full and detailed answer. I will be giving this a go at the weekend. I let you know.

                    – Richard Lewis
                    Feb 2 '16 at 23:15













                    Does not answer the question - the question the op is essentially asking is 'how to wipe disk from grub'

                    – theYnot
                    May 20 '18 at 9:10





                    Does not answer the question - the question the op is essentially asking is 'how to wipe disk from grub'

                    – theYnot
                    May 20 '18 at 9:10

















                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f726042%2fhow-to-wipe-disk-clean-totally%23new-answer', 'question_page');

                    );

                    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







                    Popular posts from this blog

                    Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                    Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                    Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»