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.
About this post
- Posted
- Archived
- Edited
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 83154b
15 comments
The message
error: no such device: DC28-59E7makes me think resizing it may have changed the UUID. I'd boot into an arch ISO and check withblkid. You may have to adjust your fstab.How does it change the UUID? Does editing it in Windows invalidate it?
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 longerDC28-59E7, simply mount your root partition, and edit your/etc/fstabchangingUUID=DC28-59E7to whatever the new ID of the EFI partition is.journalctl -cb from the emergency console might shed some light
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.
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
Maybe resizing it changed the uuid,or removed the boot flag
Is the EFI partition in use by Windows to?
Well, I guess, I quite have a total lack of skill at this point... :(
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.
Deleted before we saved it.
Backup the disk and try rescatux: https://www.supergrubdisk.org/category/download/rescatuxdownloads/rescatux-beta/
Story of my life haha. I just leave the 100MB Windows EFI partition alone and create another, larger one for Linux.