#Windows partition broken after installing mint

146 messages · Page 1 of 1 (latest)

snow pelican
#

After installing Mint, I cannot mount the partition that windows is on. I also cannot boot into windows. When I select "Windows Boot Manager" from the boot menu, I just get sent to the windows recovery thing. And the repair boot tool there doesn't work.

languid fiber
#

boot to Linux to test something

#

the installed version

#

****To see if Linux is booted/installed as UEFI or BIOS mode:
In terminal: ls /sys/firmware/efi
a 'no files found' means it's booted as legacy BIOS

#

files found will mean UEFI booted

snow pelican
#

There are files there

languid fiber
#

ok. good

#

run DISKS from Mint app menu

snow pelican
#

got it, here's the disk in question

#

partition 3 is windows

languid fiber
#

yes, structure looks good

#

idk why Windows boot got messed

#

u may need to get and boot a windows installer dvd/image and use its Advanced tools/repair

snow pelican
#

the advanced tools are what it sends me to when I try to boot windows, I think?

#

also, what about the "Repair filesystem..." option in Disks. is that worth trying?

snow pelican
languid fiber
#

yeah that screen, but from ISO

snow pelican
#

Ok. And you don't think the 'Disks" app's repair filesystem tool is worth running?

languid fiber
#

no

#

ur in the installed linux now; u can see all ur Windows files

snow pelican
#

I can't see windows files. I can't mount the partition that has them

languid fiber
#

hmm

#

if u highlight it in DISKS, and clik Play, wat happens?

snow pelican
languid fiber
#

kk

#

u made a ventoy usb?

#

for linux, earlier?

snow pelican
#

do you mean the flash drive I used to install linux?

languid fiber
#

yes

snow pelican
#

I didn't use ventoy (if that matters), but I do have that, yeah

languid fiber
#

u may need some tools, so I recommend u get the ventoy bootloader tool for USB's and install it exactly to my instructions (LINE 11 especially) then add Hirens Boot CD PE iso to it.

#

then boot the usb as a UEFI storage device at power on time.. use ventoy menu to choose Hirens, and boot normal. On Hirens desktop, open command prompt as administrator (r-click) and do chkdsk c:

#

if errors are found, log to c drive in prompt. c:

#

then type chkdsk /f

snow pelican
#

Alright. I'll work on this and let you know, thanks

#

Also, what iso should I be putting on to it?

#

windows, right?

languid fiber
#

if that doesn't fix the problem, you can verify if the ESP (UEFI Boot partition) contains the proper stuff, by loading linux mint iso, off ur ventoy stick, then running its Boot Repair tool from its desktop start-menu, and do a SUMMARY report, and read it over.

#

I'd just add Hirens Boot PE , and Mint ISO for now

snow pelican
#

but you're saying to run chkdsk which is windows, no?

languid fiber
#

if the chkdsk thing doesnt fix Windows, and the Boot Repair summary shows no entries for Windows in all the data regarding that exact disk, then more work needs to be done regarding rebuilding the EFI partition

languid fiber
snow pelican
#

ohh I didn't know that. ok

snow pelican
languid fiber
#

so the first command scans the c: drive (in hirens it should detect the NTFS partition automatically, and letter it C:) u can check in its file explorer anyway.

#

if it finds errors, it will tell u at the end of the scan in the command prompt

#

it will say do "chkdsk /f" to fix

#

/r will do a surface scan, but that's rather lengthy and likely excess work.

#

when i said log to, i just mean make sure the prompt reads C:\ >

#

command to log to correct place: c:

#

and/or cd \

#

in the extreme event... you'll need the Win official install ISO, and have a good watch of this video to guide u
https://www.youtube.com/watch?v=CZ17JrgFFhw

Is your system not booting or has something else gone wrong with the UEFI bootloader? If so, this video will show you how to completely rebuild the UEFI bootloader to fix just about any booting problem your having with a GPT or UEFI system.

Sponsored links
VIP-SCDKey.com
25% off discount code: CyberCPU
▬ Windows 10 Pro (16USD): https://biitt.l...

▶ Play video
#

but u may hopefully not have to go that far.

snow pelican
#

'chkdsk c:' output a bunch of stuff, but notably "The Volume Bitmap is incorrect."

it recommends running 'chkdsk /scan'. should I do that, or 'chkdsk /f' like you said?

snow pelican
#

yes

languid fiber
#

ok do its recommendation

#

might take a while but hopefully not more than 10 minutes

snow pelican
#

nah, it finished fast. it's now recommending 'chkdsk /spotfix'

#

should I go ahead with that recommendation?

languid fiber
#

i suppose so

#

not even sure what that does

#

/f just "fixes" errors afaik

snow pelican
#

hm. it said it fixed the 1 error it found, but I still can't boot to it or mount it

languid fiber
#

danggg

#

try again.. go back into hirens. do the chkdsk /f thing.. then use its own file explorer to look around and open files like pictures or documents in the thing it calls "c:" drive.

#

ie: c:\users$user\

#

hope it at least opens files there.

snow pelican
#

I'm thinking I'll try browsing the c drive before and after chkdsk /f

languid fiber
#

sure

languid fiber
snow pelican
#

oh. c drive is the wrong partition. it's looking at my other hard drice

#

drive

languid fiber
#

well find the right stuff and work on the right drive letter.

snow pelican
#

yup, working on that

#

"Corrupt master file table. CHKDSK aborted." it makes no recommendations

languid fiber
#

ew

#

are u able to access files?

#

and, did u do the command using an Administrator-level command prompt window?

snow pelican
#

"d:" returns "The file or directory is corrupted and unreachable"

languid fiber
#

in the file explorer, u mean?

snow pelican
#

both in the command prompt and in file explorer

languid fiber
snow pelican
#

I have no good way to verify other than the fact that it won't load

languid fiber
#

there may be some Disk-related tools in Hirens. I guess check them out.. otherwise u will need to erase that partition, and reinstall Windows on it.

languid fiber
snow pelican
#

D: says 372.47 GB, so that seems right. strangely the file system is listed as "RAW" and the status is "Healthy (Basic Data Partition)"

snow pelican
#

alright, thanks

languid fiber
snow pelican
#

Alright, so. I spent all of last night trying to restore the partition, with no luck. So its time to give up on it and just reinstall windows. I wanted some guidance though. So I just need to go ahead and format that singular partition, right?

The first image is the one in question.
But I also noticed the one in the second image that says "Microsoft Reserved". Do I need to do anything with that?
And then lastly, the partition in the third image is "Windows Recovery Environment" which I guess is why I can get to that recovery screen that I think you'd usually see booting from an ISO. Can I just reinstall from that?

languid fiber
#

hang on

snow pelican
#

yup, no worries

languid fiber
#

ok you're still able to boot into linux on this computer right?

snow pelican
#

yeah

languid fiber
#

I would first venture to boot the Windows Installer ISO, and do a thing

#

u have it right?

snow pelican
languid fiber
#

looks right

snow pelican
#

Ok. Then yeah. I'll get that and add it to my ventoy

#

oops nope. that's an exe

languid fiber
#

ok (obviously if it doesnt install right, then u'll need to make a media creation tool, on another Windows PC, onto a fresh USB stick of at least 8 GB i think)

#

but ya find the ISO.

#

try with Ventoy for now

snow pelican
#

Alright. What are you suggesting I try?

languid fiber
#

whatever u had working.. windows 10 or 11.. just install. I was gonna say try to recover the bootloader, but nvm.

#

so to prepare the disk,

#

go into gparted, delete 3 partitions. The large screwed up NTFS one, the ms reserved, and the ms recovery one.. apply changes, then reboot to the Windows installer. dont format anything.. just leave as unallocated space, and windows installer should pick it up and set it up with u.

snow pelican
#

Gotcha. And do I just need the gparted package, or do I need gparted-common as well?

#

nevermind its a dependency

languid fiber
#

no i'd rather u do it from the live USB

#

which it already is included on

#

the mint stick

#

however, if u dont have access to it, then u will need to install gparted on your main mint install.

snow pelican
#

No, I can do it from Mint on ventoy.

languid fiber
#

ya u can choose either way

languid fiber
languid fiber
#

keep in mind that after you install Windows, its installer may alter or delete something in the EFI partition to make Linux unbootable. In such case, run the Boot Repair tool in the mint live desktop.

#

also, don't forget to turn off Windows Fast Startup, as the first order of business once it gets installed.

snow pelican
#

👍

#

with those partitions marked for deletion, I now have two separate unallocated segments. is there a way to combine them/does it matter?

languid fiber
snow pelican
#

I'll just grow the Linux partition to include the ~500mb on the right. then I don't need to worry about the time to move files or it messing with the boot

languid fiber
#

ahh

snow pelican
#

what do you make of this. this is after installing windows and restarting

languid fiber
#

um..

#

oh prob cuz the old boot entry was there from before in the EFI partition

#

trial and error it

snow pelican
#

👍

#

well I have no idea where it was stored. but it says it has a backup of my pc from 3 days ago. I stg, was Microsoft storing backups on the cloud without my knowledge? even more reason to be on Linux

languid fiber
#

lol

#

wow eh.

#

well it must be an online storage. That would likely show up in your OneDrive. (check via web)

#

not a bad thing I guess if you don't have super secret files.

snow pelican
#

turned out it wasn't as much of a backup as it seemed lol. but anyway. I can boot to both windows and Linux now! Last thing: is there a way/need to remove that extra windows boot entry

languid fiber
#

yes. I think on the Hirens CD there's a thing called Easy BCDedit

#

just be sure to keep right entry.

#

and keep your Ventoy USB intact in case dualbooted Linux needs repair

snow pelican
#

it's telling me this

languid fiber
#

oh idk much about this. make a new post for that in misc-support

snow pelican
#

will do. thank you so much for all your help. I really appreciate it

languid fiber
#

you're welcome! please mark the post as solved.

snow pelican
#

I can't find how to do that on mobile, which is all I have access to atm