You are not logged in.

#1 2017-04-05 10:20:45

Dennis Beekman
Member
From: Klippenweg 2B 7622EV Borne
Registered: 2010-06-21
Posts: 60
Website

[solved] New netbook not booting after install with EFI issues

http://aldi.medion.com/md60250/nl/?refPage=aldi

So last week I bought a new Medion convertible netbook from Aldi intending to first test if everything works with Ubuntu and to then install Arch on it.
Ubuntu doesn't find the mmcblk0 storage drive at all though during installation so I went directly for Arch instead.

After disabling fast boot en secure boot in the EUFI screen the USB booted just fine and I was able to follow installation wiki.
For some reason though the boot process seems to fail and drops me into emergency shell.

This is what I did:

I made a 2GB partition on /dev/mmcblk0 and formatted the drive using the below command.

"mkfs.fat -F32 /dev/mmcblk0p1".

Then i made and mounted the rest of the partitions as follows:

/dev/mmcblk0p4 => /mnt
/dev/mmcblk0p3 => /mnt/home
/dev/mmcblk0p1 => /mnt/boot (this is the efi partition).

I then make the fstab file as is described in the wiki

genfstab -U /mnt >> /mnt/etc/fstab

After doing all the normal install steps and installing grub + efibootmgr I configured grub as follows.

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Linux --recheck --debug
grub-mkconfig -o /boot/grub/grub.cfg

i also added the shell.efi file to /boot as is suggested in the wiki.

Upon rebooting it shows the entry in the bootmenu and actually starts booting but quickly give me a couple of errors.

[0.000000]efi: requested map no found
[0.000000]esrt: ESRT header is not in the memory map.
...
timed out waiting for device dev-by-disk\x2duuid-bbbbedbe8\x2d8186\x2d97b08413a351.device
dependency failed for /dev/disk/by-uuid/bbbebe8-8186-495a-9c55-97b00413a351
dependency failed for swap
...

It continues for all the partitions as if it cannot find or mount them, but I am able to see them normally in the emergency shell.

I tried everything listed in the link below but it did not resolve the issue... does anyone have any suggestion as to why it is failing to load the partitions ?

https://bbs.archlinux.org/viewtopic.php?id=221055

-- mod edit: removed oversized (and irrelevant) image.  Trilby --

Last edited by Dennis Beekman (2017-04-06 18:45:06)

Offline

#2 2017-04-05 10:55:13

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [solved] New netbook not booting after install with EFI issues

My best bet is something wrong with the fstab. You can try to boot the installation without an fstab:

mount /dev/mmcblk0p4 /mnt
rm /mnt/etc/fstab

If it works, then you may want to look into what.genfstab outputs and compare it with lsblk -f...

Offline

#3 2017-04-05 11:00:39

Dennis Beekman
Member
From: Klippenweg 2B 7622EV Borne
Registered: 2010-06-21
Posts: 60
Website

Re: [solved] New netbook not booting after install with EFI issues

Checking fstab I found that 2 of my drives where being identified by uuid and 2 by /dev/mmcblk0p*
After replacing the UUID and replacing them with /dev/mmcblk0p* for all the drives the errors seem to have been resolved.

i am still left with these errors though

[0.000000]efi: requested map no found
[0.000000]esrt: ESRT header is not in the memory map.

does anyone know what these errors actually mean ?
The machine seems to boot normally now but I would still like to get these resolved swell just in case they cause problems in the long run.

Offline

#4 2017-04-05 11:08:59

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [solved] New netbook not booting after install with EFI issues

It pretty much means your UEFI firmware isn't decent enough...(which is not a rare case, you are lucky that at least it is 64-bit). For the exact meaning you might need to do some digging on UEFI spec and even relevant code in the kernel...

FWIW, you can/should use ">" instead of ">>" for genfstab, coz the latter "appends" the output to the file...

Last edited by tom.ty89 (2017-04-05 11:09:48)

Offline

Board footer

Powered by FluxBB