Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I just got a new pc that comes with an empty 250GB 3G SATA Non-Hot Plug 7,200rpm HDD. I decided to install Debian 6 from a USB, I chose the partition to be Guided - use entire disk and set up encrypted LVM, however, so far is taking about 9 hours and is at 93% (erasing), the progress bar is moving, but really slowly.

Is this normal? or could it be some hardware issues?

Thanks

share|improve this question

4 Answers 4

Possibly. If I recall correctly, debian copies debug output to console #2 or #3. Hit control-alt-F2 (or F3) to drop out of graphics mode and see if there's any error messages cropping up.

I agree, though - nine hours sounds wrong.

share|improve this answer
    
I tried opening a new console (#2, #3), however, all I get is a clean console ready to use debian# –  Mike Sullivan Jun 7 '11 at 12:49
    
Go through #1 through #4; one of them should be the debug output. –  Shadur Jun 7 '11 at 13:26

I assume this is also true for Debian 6 (I haven't confirmed it), but by default Debian 5 will do a cryptographically secure erase when setting up an encrypted partition. This takes a long time, and might account for your 9 hour install.

If you partition manually, you can tell it to skip that step and it will finish much faster, with the the caveat that there may be remnants of the old data still in the unused areas of the disk.

share|improve this answer

I can confirm this on Debian 7. I have a 500GB HDD and it took 3 hours for just approx. 13% of the full capacity. When something like this happens my advice is to ask yourself "Do I really need an encrypted LVM?". If you have some important data that you want to preserve from unwanted access, you can encrypt the data separately.

share|improve this answer

Though this might seem like necroposting it is still quite relevant and a problem I ran in to myself recently with the current stable release of Debian. My 1 terabyte drive took a day and a half to wipe.

In Debian 7 (Wheezy) when setup says it is "erasing the disk" - the part that takes so long - you can safely hit cancel to proceed to the next step which is selecting your password. Other "cancel buttons" in the Debian setup process typically cancel the entire installation, but not this one. I have not tested this on any versions other than Wheezy.

NOTE: this of course means that you are skipping the step that writes random data over the disk, and defeating the security that provides. Frankly, if you are not concerned about the privacy of that data then by all means just cancel the wipe. S.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.