Skip to content

Resized EFI partition with /boot from Windows 10, can't properly boot Arch anymore

Hello,

So I currently have a dual boot on my laptop, with Arch and Windows.

I followed a video in order to make the dual boot to work and it advised to use the existing the EFI partition as the /boot partition, which I did.

This morning I tried to update with

pacman -Syu

But it told me the /boot was too small (100 Mo) so I tried to resize it through gparted, which wasn't working. So I tried to boot into Windows to resize it.

This actually worked but now, if I try to boot into Arch, I'll got this error:

Booting 'Arch Linux'
error: no such device: DC28-59E7
Loading Linux linux ...
Loading initial ramdisk

Press any key to continue..._

and then,

[ 0.0000000] [Firmware Bug]: TSC_DEADLINE disabled due to 
Errata: please update microcode to version: 0xb2 (or later)
starting version 237
[ 3.046528] sd 0:0:0:0: [sda] No caching mode page found
[ 3.046554] sd 0:0:0:0: [sda] Assuming drive cache: write 
through
[ 3.047899] scsi 0:0:0:1: Wrong diagnostic page: asked for 1 
got 8
[ 3.047937] scsi 0:0:0:1: Failed to get diagnostic page 0x1
[ 3.047967] scsi 0:0:0:1: Failed to bind enclosure -19
[ 3.173873] usbhid 1-0:1.0: can't add hid device: -71
[ 3.174300] usbhid 1-0:1.1: can't add hid device: -71
[ 3.174882] usbhid 1-0:1.2: can't add hid device: -71
[ ***] A start job is running for dev-disk-by\x2duuid-
DC28\x2d59E7.device (27s / 1m30s).

finally followed by, after the 1m30 time out:

[ TIME] Timed out waiting for device dev-disk-by\x2duuid-
DC28\x2d59E7.device.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local Files and Directories. . .
[DEPEND] Dependency failed for File System Check on 
/dev/disk/by-uuid/DC28-59E7.
[  OK ] Reached target Sockets.
[ OK ] Reached Network.
 	Starting Create Volatile Files and Directories. . .
[ OK ] Started Emergency Shell.
[ OK ] Reached target Emergency Mode.
[ OK ] Reached target Timers.
[ OK ] Started Create Volatile Files and Directories.
 	Starting Update UTMP about System Boot/Shutdown. . .
[ OK] Started Update UTMP about System Boot/Shutdown.
You are in emergency mode. After logging in, type "journalctl -
xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" 
or "exit"
to boot into default mode.
Give root password for maintenance
(or press Control-D to continue): _

I have no idea what to do at this point and would really appreciate both help and an explaination about what I did that wrong, apparently.

Thanks in advance

Edited 8 Mar 2018. We only hold this version.

1 points14 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
1 · 100% up
Kind
Text
ID
83154b

Author

7
posts
18
comments
0
media
View profile

15 comments

The message error: no such device: DC28-59E7 makes me think resizing it may have changed the UUID. I'd boot into an arch ISO and check with blkid. You may have to adjust your fstab.

5 points

How does it change the UUID? Does editing it in Windows invalidate it?

1 points

I'm not actually sure, as I haven't resized a partition and seen what happened to the UUID. The reason it might change is it's not the ID of the disc, it's the unique ID of the partition. So if you resize it, maybe it changes.

It would be easy enough to find out by simply booting into the arch install media and checking with blkid. If it's changed and it's no longer DC28-59E7, simply mount your root partition, and edit your /etc/fstab changing UUID=DC28-59E7 to whatever the new ID of the EFI partition is.

4 points

journalctl -cb from the emergency console might shed some light

2 points

Tried it, it gaves me 1600 lines of log, will go through it but I don't really know if I can find something by myself and I'm not really sure on how to share it aswell.

1 points

You can share it in pastebin by saving a file into the Windows partition. Be sure to un-mount it after you save it.

EDIT: I'm an idiot, I don't think you can mount in emergency console. EDIT2: Maybe...? If you were to save the output, it would be something like

mount /dev/sd[Windows Partiton Number] /mnt
journalctl -cb > /mnt/<CAREFUL WITH YOUR PATH>/journalout.txt
1 points

Maybe resizing it changed the uuid,or removed the boot flag

2 points

Is the EFI partition in use by Windows to?

1 points

Well, I guess, I quite have a total lack of skill at this point... :(

1 points

Source

Boot into windows and press Super+R (Super is what Linux calls the Windows key). Type in msinfo32 and look under System Summary. Look for BIOS Mode and it'll tell you. In the case of my Dad's PC, It's Legacy.

1 points
unknown author

Deleted before we saved it.

1 points

Story of my life haha. I just leave the 100MB Windows EFI partition alone and create another, larger one for Linux.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.