Windows won't boot after installing manjaro

Hello. I recently installed Manjaro XFCE to dual-boot alongside windows 10 since windows uses resources a lot on my machine, & i resized partitions to give manjaro space.After installing, i noticed i couldn’t access my disk that has my things from windows in manjaro. Whenever i go to windows boot manager on the dual boot screen, it will do automatic repairs & say it couldn’t repair my pc. Checking gparted shows my windows drive’s used & unused as blank “–”. Is there anything i can try to fix this? I’ve been trying to solve this for days.

Hello :wave:

could you open a terminal, type this and post the output as code here?

sudo parted -l

This way one could have an idea what you mean.

Also have look at this:

Hi! And i will take a look at how to provide info well.
Here’s the output:
Model: ATA WDC WD10SPZX-24Z (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition boot, esp
2 274MB 290MB 16.8MB Microsoft reserved partition msftres
3 290MB 704GB 704GB ntfs Basic data partition msftdata
6 704GB 704GB 524MB fat32 msftdata
7 704GB 709GB 4295MB linux-swap(v1) swap
8 709GB 972GB 264GB ext4
4 972GB 999GB 26.8GB ntfs Basic data partition msftdata
5 999GB 1000GB 1049MB ntfs Basic data partition hidden, diag

After resizing or changing a Windows Partition, also if you use other partition tools beside gparted, Windows needs to check the drive. There are tons of explanations about it. Here an example: https://neosmart.net/wiki/chkdsk/

I tried chkdsk but it told me that the file system is raw & that chkdsk is not availible for raw drives.

Ouch… :see_no_evil:

When you are in Manjaro, are you able to mount/open the Windows Partition in the file manager?

Well, i’m not able to open the windows partition however there is a button that says “Mount”. Is it safe to click it?

Yes, you need to mount that windows partition before opening it.

It said Failed to mount “Windows”. Error mounting /dev/sda3
Windows: Unknown error when mounting /dev/sda3.

Maybe this could help:

sudo ntfsfix /dev/sda3

Output?

What says this output?

sudo ntfsinfo -m /dev/sda3
1 Like

here’s the output for nstfsinfo:
Failed to read last sector (1898479614): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn’t setup yet,
or it was not setup correctly (e.g. by not using mdadm --build …),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount ‘/dev/sda3’: Invalid argument
The device ‘/dev/sda3’ doesn’t have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
Failed to open ‘/dev/sda3’.

& here’s the output for ntfsfix:
sudo ntfsfix /dev/sda3 Mounting volume… Failed to read last sector (1898479614): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn’t setup yet,
or it was not setup correctly (e.g. by not using mdadm --build …),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
FAILED
Attempting to correct errors… Failed to read last sector (1898479614): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn’t setup yet,
or it was not setup correctly (e.g. by not using mdadm --build …),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
FAILED
Failed to startup volume: Invalid argument
Failed to read last sector (1898479614): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn’t setup yet,
or it was not setup correctly (e.g. by not using mdadm --build …),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Trying the alternate boot sector
The alternate bootsector is usable
Set sector count to 1374191615 instead of 1898479615
Rewriting the bootsector
The boot sector has been rewritten

Processing $MFT and $MFTMirr…
Reading $MFT… OK
Reading $MFTMirr… OK
Comparing $MFTMirr to $MFT… OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition… OK
Going to empty the journal ($LogFile)… OK
Checking the alternate boot sector… FIXED
NTFS volume version is 3.1.
NTFS partition /dev/sda3 was processed successfully.

Sorry for this being so long, i was just posting the outcome! Anyways after using ntfsfix, i can now access the windows partition, see the files in it, & i believe it’s mounted now! I think i’ll boot up windows & see if the issue’s fixed.

Thanks a whole lot. Windows is now able to be booted up again.

No problem. But please edit it and format it as code like this:

  1. Type ```
  2. Press Enter
  3. Paste the code
  4. Press Enter
  5. Type ```

Wonderful! Please dont forget to select a post for the solution. :wink:

1 Like

Just another question, i feel like i wanna revert back to having just windows after this since i just want to be safe & not have this happen again. What would i do to bring back the space from manjaro back to my windows drive?

This happened because Windows didn’t check the Partition (or you skipped it when booting Windows) after resizing. This will never happen again if you don’t move/resize Windows Partition with gparted or similar in any way. I made a normal installation and Windows checked it and i was fine. (It is a normal procedure of Windows)

Delete the Manjaro Partition and use the windows bootloader. Remove Manjaro from the EFI bootlist.

Will that bring all the hard drive space i gave to manjaro back to my windows drive?

No, you need to resize the windows partition again :wink:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.