How to wipe disk clean totallyErase root password before reselling computerproblems with grubWubi Grub Prompt...

Did Shadowfax go to Valinor?

Western buddy movie with a supernatural twist where a woman turns into an eagle at the end

Doing something right before you need it - expression for this?

How to model explosives?

Will google still index a page if I use a $_SESSION variable?

What is the word for reserving something for yourself before others do?

Where does SFDX store details about scratch orgs?

How do conventional missiles fly?

How can I tell someone that I want to be his or her friend?

Is it possible to download Internet Explorer on my Mac running OS X El Capitan?

Should I tell management that I intend to leave due to bad software development practices?

Were any external disk drives stacked vertically?

In a Spin are Both Wings Stalled?

Facing a paradox: Earnshaw's theorem in one dimension

Why doesn't H₄O²⁺ exist?

Can I ask the recruiters in my resume to put the reason why I am rejected?

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

Famous Pre Reformation Christian Pastors (Non Catholic and Non Orthodox)

Why is Collection not simply treated as Collection<?>

A reference to a well-known characterization of scattered compact spaces

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

Twin primes whose sum is a cube

Combinations of multiple lists

Why can't we play rap on piano?



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 15 mins 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 15 mins 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 15 mins 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 15 mins 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

                    Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                    Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                    Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...