DavidXanatos / DiskCryptor

A fork of the DiskCryptor full disk encryption tool
https://www.diskcryptor.org/
469 stars 102 forks source link

Startup problem #57

Open erhelito opened 2 years ago

erhelito commented 2 years ago

Hi! My father recently installed disk cryptor on his new laptop. He encrypted the whole disks (C: and D:). He used AES for C:, and the combined method for the D:. But the problem is that he can't boot normally : in the startup, it boots windows, which try to “repair”, but it doesn't work at all. I tried to boot on an Ubuntu live key, but it didn't work either…

Hope you could help us!

DavidXanatos commented 2 years ago

sounds like you are missing the bootloader also you can always create a live windows 2 go drive using rufus.is boot it install dc to it reboot and then decrypt the drives from that 2go environment

erhelito commented 2 years ago

I created a Windows key (with the ISO from this site), but I just don't know how to process. I clicked on “repair windows”, but I don't think it's what you asked me to do.

ps: the key is 5Go, not 2

DavidXanatos commented 2 years ago

follow this instructions: https://www.intowindows.com/rufus-to-create-windows-to-go-usb-drive/ create a live windows usb driver, not iso not read only live writable windows from a usb drive that software can be installed to. than install DC into that.

erhelito commented 2 years ago

I have multiple problems creating this key with rufus. I found this video, and this one. Does it work? (I don't want to test things that can destroy the pc ^^

DavidXanatos commented 2 years ago

I'm sorry but I don't have time to watch these videos, for me rufus works fine, but I always use an external HDD/SSD not a usb stick. My experience with sticks was always very poor, they suck....

erhelito commented 2 years ago

Yeah, it didn't work with the USB key. On these videos the repair the boot with this command Bootrec /fix boot (and do other stuff, but it's the main thing they do). I'll try it later.

DavidXanatos commented 2 years ago

No Bootrec /fix boot will just screw up things more

Just find a way to boot a windows from USB as simple as that when you have your PC booted from a windows that lives on a USB drive install DC to that windows then you can decrypt the integrated HDD's

erhelito commented 2 years ago

Sorry, I don't understand "install DC" 😅 And for creating this USB key, it didn't work with the method you sent me... Will it work with the windows installation USB key?

(I'm a Linux user, it's been a long time since I have used windows)

erhelito commented 2 years ago

OK, I understood! I'll try this, but wtf windows is so complicated 😂😅

DavidXanatos commented 2 years ago

You know live linux boot media, right? We want the same for windows its called Windows 2 GO, everything that's called Windows PE is wrong and not what you need.

some of these guides should work: https://www.google.com/search?client=firefox-b-d&q=create+windows+2+go

Windows 8 enterprise and older windows 10 enterprise installations had a windows 2 go creator build in you can grab a old winodws 8 enterprise evaluation iso, install it to a VM connect a USB HDD to that and use that option from the start menu.

But as said for me rufus.is works great: https://www.thepcinsider.com/create-windows-to-go-usb-drive-rufus/

And as said, sticks suck use an external USB HDD.

bad-Hamster commented 2 years ago

Hi - here's my 'How To' guide:


Problem -   Installed DiskCryptor (DC) on new Dell laptop (Inspiron 16 7610) with win 11 - laptop failed to boot thereafter (ie. bootloader damaged).

Soln -  Create win 11 USB boot device, boot laptop from USB device, install DC whilst using boot device, reboot, 
        encrypt laptop integral HDD with DC. 

In Detail:

* PRE *
-------
1. Download DiskCryptor.   (1.2 beta 3)

2. Download Rufus.    3.2 Portable  rufus.ie  (boot drive creation s/w)   

3. Download win 11 boot image.      www.microsoft.com/software-download/windows11

4. Obtain USB device > 25GB.   (I used a spare 500GB portable USB HDD)

Create Win 11 USB Boot Device
----------------------------------
1. Plug in portable USB HDD.

2. Launch Rufus:                    (NB: lots of good youtube tutorials for Rufus 3.x)
    a. Select win 11 boot image.
    b. Select USB HDD.
    c. Click: Start.

Configure BIOS
-----------------
1. Shutdown laptop.

2. Power on laptop and immediately press f12 to enter BIOS:     (Key may vary across systems ie. ESC, f2 etc)
    a. Disable 'Secure Boot'.  (As per install instructions for DC 1.2 Beta 3)
    b. Make USB HDD the primary boot device  (USB device was present in options list - I deselected integral HDD).  
    c. Save BIOS changes, exit BIOS and allow to boot.  (Laptop will boot from USB HDD).

Install DC
----------
1. Copy DC to the USB boot HDD.

2. Install DC from USB boot HDD.

3. Reboot laptop.

Encrypt Laptop Integral Drive With DC
------------------------------------------
1. Launch DC.
    a. Select integral drive for encryption.
    b. Choose password.
    c. Start encryption process.  (500GB drive took 35 mins with an i7 cpu).

2. Reboot.

3. Enter DC encryption password.

4. Laptop boots and loads win 11 OS.
ghost commented 2 years ago

I think one of the main issues here is that people want to integrate DiskCryptor into WinPE distros that already have programs they need. For example, I want DiskCryptor to properly load on Macrium Reflect WinPE or StrelecPE or Hiren's Boot CD.

Having Windows To Go just for DiskCryptor alone is stupid and you can't integrate bootable version of Macrium WinPE into Windows To Go. You'd have to use an installable version.

The very idea of using WinPE is to manage OS offline without having to decrypt it. If you have Windows To Go just for DiskCryptor, then you would need to decrypt OS drive before loading other WinPE (with Macrium Reflect or whichever other programs). There is no benefit to that compared to normally decrypting OS drive before loading WinPE from bootable disk...

I also don't understand why other drivers don't have problems loading on boot in WinPE, but DC drivers do...

yohnnylim commented 1 year ago

Hi - here's my 'How To' guide:


Problem -     Installed DiskCryptor (DC) on new Dell laptop (Inspiron 16 7610) with win 11 - laptop failed to boot thereafter (ie. bootloader damaged).

Soln -    Create win 11 USB boot device, boot laptop from USB device, install DC whilst using boot device, reboot, 
      encrypt laptop integral HDD with DC. 

In Detail:

* PRE *
-------
1. Download DiskCryptor.   (1.2 beta 3)

2. Download Rufus.    3.2 Portable  rufus.ie  (boot drive creation s/w)   

3. Download win 11 boot image.    www.microsoft.com/software-download/windows11

4. Obtain USB device > 25GB.   (I used a spare 500GB portable USB HDD)

Create Win 11 USB Boot Device
----------------------------------
1. Plug in portable USB HDD.

2. Launch Rufus:                  (NB: lots of good youtube tutorials for Rufus 3.x)
  a. Select win 11 boot image.
  b. Select USB HDD.
  c. Click: Start.

Configure BIOS
-----------------
1. Shutdown laptop.

2. Power on laptop and immediately press f12 to enter BIOS:     (Key may vary across systems ie. ESC, f2 etc)
  a. Disable 'Secure Boot'.  (As per install instructions for DC 1.2 Beta 3)
  b. Make USB HDD the primary boot device  (USB device was present in options list - I deselected integral HDD).  
  c. Save BIOS changes, exit BIOS and allow to boot.  (Laptop will boot from USB HDD).

Install DC
----------
1. Copy DC to the USB boot HDD.

2. Install DC from USB boot HDD.

3. Reboot laptop.

Encrypt Laptop Integral Drive With DC
------------------------------------------
1. Launch DC.
  a. Select integral drive for encryption.
  b. Choose password.
  c. Start encryption process.  (500GB drive took 35 mins with an i7 cpu).

2. Reboot.

3. Enter DC encryption password.

4. Laptop boots and loads win 11 OS.

Hi, I've installed 1.2 Beta 3 on the boot HDD win2go, and now the boot USB has the same issue as the integral HDD... However I managed to install 1.1.846.118 (latest stable version) can I use this version instead to encrypt the drive?