#How do i recover my windows D bitlocker partition that I shrunk a little using parted?

41 messages · Page 1 of 1 (latest)

lavish laurel
#
  • I shrunk D drive from parted from arch-iso carelessly
  • I am not able to access the D drive anymore as windows says it must be formatted before it can be used.
  • I can boot into windows on the c drive
  • I also just figured those drives were bitlocker partitions when i checked them using gparted from arch
> fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ01ABD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F502B63F-A0DE-4467-B989-A4272135BD1A

Device          Start        End   Sectors   Size Type
/dev/sda1        2048    1333247   1331200   650M EFI System
/dev/sda2     1333248    1595391    262144   128M Microsoft reserved
/dev/sda3     1595392  976003766 974408375 464.6G Microsoft basic data     <---- Windows C:
/dev/sda4   976005120  977688575   1683456   822M Windows recovery environment
/dev/sda5   977690624 1882812500 905121877 431.6G Microsoft basic data     <---- Windows D:
/dev/sda6  1884766208 1953523711  68757504  32.8G Linux filesystem         <---- Arch Linux /
lavish laurel
#

update: When I check the bitlocker settings in windows or right click on the drives I get the option "Turn on bitlocker" which probably indicates my drives aren't encrypted

#

but the blkid still shows it is TYPE="BitLocker". mount.ntfs doesn't work on it either.

lavish laurel
#

idk anymore 😭

balmy totem
#

what did you do brooo @@

balmy totem
#

type diskpart then list disk and picture it here

lavish laurel
balmy totem
balmy totem
lavish laurel
#

not working either what does that do

balmy totem
#

it open cmd

lavish laurel
#

oh wait its right clicking

balmy totem
#

what

lavish laurel
lavish laurel
balmy totem
#

i though you cant boot in windows

lavish laurel
#

list disk
'list' is not recognized as an internal or external command,
operable program or batch file.

#

i can boot into windows

balmy totem
#

nvm just open cmd with administrator

lavish laurel
#

did

balmy totem
#

diskpart

#

then list disk

lavish laurel
#
C:\WINDOWS\system32>diskpart

Microsoft DiskPart version 10.0.19041.3636

Copyright (C) Microsoft Corporation.
On computer: DESKTOP-0BCEET1

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          931 GB   954 MB        *

DISKPART>

balmy totem
#

hmm

#

how many parition do you have in disk 0?

#

is C and D bitlocked ?

lavish laurel
#
> fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ01ABD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F502B63F-A0DE-4467-B989-A4272135BD1A

Device          Start        End   Sectors   Size Type
/dev/sda1        2048    1333247   1331200   650M EFI System
/dev/sda2     1333248    1595391    262144   128M Microsoft reserved
/dev/sda3     1595392  976003766 974408375 464.6G Microsoft basic data     <---- Windows C:
/dev/sda4   976005120  977688575   1683456   822M Windows recovery environment
/dev/sda5   977690624 1882812500 905121877 431.6G Microsoft basic data     <---- Windows D:
/dev/sda6  1884766208 1953523711  68757504  32.8G Linux filesystem         <---- Arch Linux /
#

6

balmy totem
#

okay exit diskpart and do Manage-bde -unlock C: -password

lavish laurel
#

it says already unlocked

balmy totem
#

wut

lavish laurel
#

this is exactly what i am having problem with

balmy totem
#

do you want to format it?

lavish laurel
#

happening because i shrunk the partition

lavish laurel
#

recover it

balmy totem
balmy totem
lavish laurel