You are not logged in.

#1 2023-05-22 08:11:46

rg_rg
Member
Registered: 2008-10-16
Posts: 12

[RESOLVED] Can't boot into system after the upgrade

Using arch installed via antergos installer many years ago. Today did full upgrade using Pacman - Syuu. Hadn't done upgrades since a few months. Now when attempting to boot, seeing following:

Loading linux kernel ...
Error: "/vmlinuz-linux" file is not found
Loading initial ramdisk...
Error: you need to load kernel first

Editing of boot selection shows following code:

setparams 'Antergos Linux'
load_video
set gfxpayload=keep
insmod zip
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
 search --no-floppy --fs-uuid --set=root  ed5572a1-b16a-4f57-9897-d21314c1f57d
else
  search --no-floppy --fs-uuid --set=root ed5572a1-b16a-4f57-9897-d21314c1f57d
fi
 
echo 'Loading linux kernel...'
linux /vmlinuz-linux root=UUID=82bc61d8-a450-4872-89a4-ea64b18ea7bd rw quiet resume=UUID=1fbcc6c-8b0b-4ca1-9b24-de8110a4bd3d
echo 'Loading initial ramdisk...'
initrd /intel-ucode.img /initramfs-linux.img

Booting into any other 4 boot options don't work either. I only have access to grub console and grub editor from this screen. Also I don't have any bootable mediums, and no other computer to record one. Anything can be done to get the laptop back to work? Sorry for code formatting - I have typed this using mobile phone.

Last edited by rg_rg (2023-05-22 10:32:17)

Offline

#2 2023-05-22 09:38:07

rg_rg
Member
Registered: 2008-10-16
Posts: 12

Re: [RESOLVED] Can't boot into system after the upgrade

Was able ro record a liveusb and chroot into system. Still any advice is highly appreciated

Offline

#3 2023-05-22 10:30:47

rg_rg
Member
Registered: 2008-10-16
Posts: 12

Re: [RESOLVED] Can't boot into system after the upgrade

Ok this was resolved quickly, here are the steps:

1. Find USB-OTG adapter
2. Download archlinux image
3. Install etchdroid app on android phone
4. Burn image to usb drive using the phone via usb org adapter
5. Boot into liveusb

when liveusb is booted, mount the root filesystem:

mount /dev/nvme0n1p3 /mnt

then mount all the other filesystems using /etc/fstab:

vi /etc/fstab
...
mount /dev/nvme... /boot
 

Then I found out that /boot doesn't contain vmlinuz really. So I had to connect to wi-fi to download it:

wpa_supplicant -B -i interface -c <(wpa_passphrase MYSSID passphrase)

Then ran pacman -Syu and made sure that kernel image is now in /boot. Reboot got me back into system.

Offline

Board footer

Powered by FluxBB