You are not logged in.

#1 2015-08-13 23:32:04

jonnybel
Member
Registered: 2011-11-21
Posts: 20

[SOLVED] After Windows 10 Upgrade, Arch tries to mount wrong partition

Hi.
I have a dual-boot setup (UEFI/Gummiboot), which was working perfectly fine until I upgraded my Windows 8 to 10.
I have a RAID-0 setup, so the partition names of the RAID array are called "md126pX", where X is the partition number.

Apparently Windows 10 created an additional recovery partition, before my Linux partitions, so now instead of 4 there are now 5 windows partitions (md126p5 seems to be yet another recovery partition for windows) and my Arch now "starts" at md126p6 instead of previously having the root at md126p5.

Whenever I boot into my Arch, I get:

mounting '/dev/md126p5' on real root
mount: unknown filesystem type 'ntfs'

and I get dropped to an emergency shell.

So I figured I might have my fstab set to mount the partitions by labels (couldn't remember if I had set it by labels or UUIDs), so used a live cd of Arch to "rebuild" the fstab. This time I even made sure I generated it by UUIDs, and the result was the following:
(please ignore the sda partitions, as they are from my storage hard drive and do not matter for this situation)

# /dev/md126p6 LABEL=root
UUID=3311c0d7-299f-4c97-ae17-d4812d6aa26d	/         	ext4      	rw,relatime,stripe=32,data=ordered	0 1

# /dev/md126p7 LABEL=home
UUID=7b26b8de-2f44-4846-9246-1f700a41aed9	/home     	ext4      	rw,relatime,stripe=32,data=ordered	0 2

# /dev/sda2
UUID=5068a665-937d-40f5-8116-a51c6d529346	/home/jonnybel/Stash 	ext4      	rw,relatime,data=ordered	0 2

# /dev/sda3
UUID=cd3878b3-d242-4aad-ae41-522ab9495ee4	none      	swap      	defaults  	0 0

But everytime I reboot I get the same error about Arch trying to mount md126p5 which doesn't make any sense!
Why is it trying to mount that partition? How can I fix this?

Thanks in advance.

Last edited by jonnybel (2015-08-14 01:31:13)

Offline

#2 2015-08-13 23:35:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] After Windows 10 Upgrade, Arch tries to mount wrong partition

Fix your boot loader.

Offline

#3 2015-08-13 23:51:49

jonnybel
Member
Registered: 2011-11-21
Posts: 20

Re: [SOLVED] After Windows 10 Upgrade, Arch tries to mount wrong partition

Oh, right, I thought it wouldn't be the bootloader because it seemed to get past it, that was dumb...

Thank you, I'm gonna try to fix it now!

Last edited by jonnybel (2015-08-14 01:32:54)

Offline

#4 2015-08-14 01:30:08

jonnybel
Member
Registered: 2011-11-21
Posts: 20

Re: [SOLVED] After Windows 10 Upgrade, Arch tries to mount wrong partition

Yep, I used bootctl as if it were a fresh installation and it totally fixed it. Thanks again!

Last edited by jonnybel (2015-08-14 01:30:55)

Offline

Board footer

Powered by FluxBB