#Windows 11 not booting after partition resize

169 messages · Page 1 of 1 (latest)

dense glen
#

Hi!
So, I was migrating my Installation of windows to a bigger drive using Linux
But after the migration and veryfing everything works, I installed Ubuntu on the previous drive after which the windows stopped booting

I've gotten first the hibernation file error, after removing which, I'm stuck with 0xc000000e

Any thoughts? I am able to access the drive from Linux forcefully

From external windows usb
bootrec /fixboot - no elements found
Bootrec /scanos - no installations found
Diskpart list disk only returns USB disk out of 3 drives installed

Laptop Acer Nitro 5

dense glen
#

Further output

unique atlas
dense glen
#

I'm guessing Ubuntu overrode some windows boot settings?

unique atlas
dense glen
unique atlas
dense glen
#

Neither of my three drives is visible when I plug in a live windows USB stick and enter troubleshooting cmd

#

(there is also a 1tb HDD which went unmentioned because it's just file storage)

unique atlas
#

and check if it is detected...

dense glen
#

Okay 🫡, I'm currently out but will report back once I do it

dense glen
#

Oh, sorry for horizontal

#

So it is detenced but as unusable

#

The type of file system is raw

#

I think I will try to dump a disk image and then recreate the partition?

unique atlas
dense glen
# unique atlas Looks like faulty drive...

Faulty partition map post resize. Two partition records with small differences in start/end
I accidentally nuked the partition while trying to recreate it...

But I've got a copy
So I think I'll try reinstalling windows and cloning the data transition back

dense glen
#

Nothing yet 😄 visiting today, so I'll be home late
But will probably run those tomorrow in the background during work since these operations take a bit (e.g. restoration using dd) and come back with updates
Thankfully I use a separate laptop for work

#

I'm betting with my luck after installing new W11 and restoring the partition there will be problems with system32 integrity in relation to current system version

dense glen
#

Installing windows, letting it repartition the drive and restore using dd from a partition image I've made before accidentally nuking it with testdisk

#

DD from livecd ubuntu

#

But gotta ensure windows isn't hibernated or anything

unique atlas
dense glen
#

But I'm not a new Linux user if that's why you're asking

unique atlas
dense glen
#

I do break a lot of technology and should have started making backups by now

dense glen
#

Update of the day 🥳

#

Win install does not see my drives

#

RST drives - tried from Acer site
Disabling RST - also tried

#

Tried

#

Diskpart actually sees my disk rn

unique atlas
dense glen
#

Yup! Finally

#

The 1tb cleaned drive

#

(wasn't seen before when it had win partitions)

#

So diskpart sees it, but win install does not

unique atlas
dense glen
#

At least it was seen but as unusable and only under volumes, not disks

#

For what it's worth instead of showing me empty disk list it immediately jumps me to ~"requires drivers, select drivers for disks, no disks found"

unique atlas
#

for your laptop?..

#

did you untick the box...that shows unsigned drivers as well?..

dense glen
#

Yup! Acer Nitro 5 AN515-58 RST drivers
Version 1037 and 1003
1003 is not visible by the installer (counted as not viable for the hardware)
1037 is installable but does not help to see drivers

unique atlas
dense glen
# dense glen

Yup! I think the text on the image was the process for creating a new partition
Unless I need to modify it some

#

Sending a link in a second

unique atlas
dense glen
#

(drivers for reference)

unique atlas
#

?

dense glen
#

I also created it from gparted, also no change

unique atlas
#

if you are at your pc..right now...

dense glen
#

Yup omw

#

4 minutes 😅 accidentally wiped livecd win

unique atlas
dense glen
#

Probably bad select when playing around with diskpart and running clean on a wrong disk 😆

#

(I ran clean multiple times, so 100% it was run once on the 1tb)

unique atlas
#

knock when you are ready to open diskpart...in the windows installer again...

unique atlas
dense glen
#

List disk or volume?

#

Right now no partition on 1tb

unique atlas
# dense glen

I forgot... both of your drives having the same issue?..

unique atlas
dense glen
#

500tb is Ubuntu that I forgot to unplug

unique atlas
#

unplug it..and get back here again..

dense glen
#

Doneee

#

Omw retaking picture

unique atlas
#

btw...what are you using right now?...official windows installer usb or rufus or ventoy usb?...

dense glen
#

Ubuntu image writer from official win 11 iso

dense glen
unique atlas
dense glen
#

I do not have access to neither
Because official tool is an exe :/
Rufus isn't on Linux afaik

unique atlas
dense glen
#

It's my only windows, I have ubuntu for work, Ubuntu on 500tb and trying 1tb on windows

#

Originally I had win on 500bt

unique atlas
dense glen
#

Okay!

unique atlas
#

you can the new ventoy gui for linux...although it has some bugs...I am used to the command line method..

unique atlas
#

@dense glen whats the update?..

dense glen
#

Got called in to actually do something at work 😆, I'll tinker more past 5

unique atlas
#

okay!..

dense glen
#

Ventoy with and without RST drivers - no change

#

Recreated an MBR primary partition using tutorial above, no change

unique atlas
dense glen
#

Done

unique atlas
#

where did you download the iso from?...

dense glen
#

Official Microsoft website 😅

#

Was about to try to redownload

unique atlas
#

I see... anyways... did you create it?

dense glen
#

Yup

#

Also did this before by the previous tutorial (img up)

#

This is the first screen I get when I click install now

#

No the select disk or anything

unique atlas
dense glen
#

Regardless if I disable or enable RST

unique atlas
dense glen
#

Can't be sure 😅
Intel volume management and Intel Rapid storage technology

dense glen
unique atlas
dense glen
#

Done

unique atlas
dense glen
#

Done

unique atlas
dense glen
unique atlas
dense glen
#

UEFI with safe boot disabled

unique atlas
dense glen
#

Running

unique atlas
# dense glen Running

once completed... shut down your pc...unplug usb and boot into bios... and look for AHCI or VMD controller or something...

dense glen
#

Disabled vmd

unique atlas
dense glen
#

It was many times switched

unique atlas
#

save settings and restart...

#

check what happens..

dense glen
#

Without the USB: no bootable device

unique atlas
#

without usb...check what happpens

dense glen
#

Reports lack of bootable device

unique atlas
dense glen
#

For reference the info:

#

I remember the first time around I also had to fight a bit but it was in December so I don't remember anything

unique atlas
dense glen
#

Already did wimboot, because normal boot had issues

unique atlas
#

normal boot didnt boot?..

dense glen
unique atlas
dense glen
#

.... Damn it

#

Okay omw to redownload

unique atlas
#

still..dont get your hopes up... while you redownload...lets try to load the drivers again..

dense glen
#

will do, will be back with an update

unique atlas
#

@dense glen did you clean the drive...before all of this?..

#

like clean and convert to gpt?..

dense glen
#

Before which step

I did clean the drive multiple time
I do not remember converting to gpt, only rmb

unique atlas
dense glen
#

As in, clean the USB or the disk

unique atlas
#

disk

dense glen
# dense glen

Okay, will do
I've followed this earlier so I assume its just MBR and gpt switch

unique atlas
#

yep!.. and gpt for the uefi mode..

#

proceed with cleaning the drive and convert GPT...

#

check...if it doesnt detect... then knock when you load the drivers...

dense glen
#

Don't mind me, just gonna have a small meltdown...Prayerblink
New iso with vmd disabled worked immediately without drivers

#

Now just gotta try restoring partition from image

#

Disk image gziped is 230gb so imma hit the gym in the meanwhile 😆

unique atlas
#

have a great day!...

dense glen
#

Thank you! And thank you very much for your investment in this post ❤️

In the end I was unable to restore my windows partition image in a way that didn't mess with booting (using dd or copy) but I think I'm gonna install new windows on 1TB and mount partition image on some HDD and copy files over that way and see what programs I need to install

unique atlas
#

@dense glen you can mark this thread as solved...
I am leaving the thread...if you need anything else...

Knock in #tech-support