First mess and no boot with Arch

captain-sensible

Well-Known Member
Joined
Jun 14, 2019
Messages
2,910
Reaction score
1,973
Credits
18,114
I updated Arch today using sudo pacman -Syu

I saw a mention of to use new grub features to re-install it. That was a mistake.
It failed to boot after that.

My bacon was saved using

super_grub2_disk_hybrid_2.04s1.iso which was on a Ventoy formated stick for first screw up
then boot elementaryOS from usb. installed timeshift , then ran timeshift using snapshot on laptop Sd card

It got my system up , so i decided to revert to a previous Timeshift snapshot; that worked.
But i could boot up, but it was painfully slow. I think the reason is this:

Code:
[andrew@darkstar:/][1]$ tree -L 2 boot                                                                                                                        (09-01 13:48)
boot
├── amd-ucode.img
├── boot
├── EFI
│   ├── amd-ucode.img
│   ├── boot
│   ├── EFI
│   ├── grub
│   ├── initramfs-linux-fallback.img
│   ├── initramfs-linux.img
│   └── vmlinuz-linux
├── grub
│   ├── fonts
│   ├── grub.cfg
│   ├── grubenv
│   ├── locale
│   ├── themes
│   └── x86_64-efi
├── initramfs-linux-fallback.img
├── initramfs-linux.img
└── vmlinuz-linux


what a mess . Question is do i delete to empty directories while system is up and run while system is up :

Code:
# grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi

# grub-mkconfig -o /boot/grub/grub.cfg

i read its best to do it from Arch installation disk.
 
Last edited:


 
ok now its just
Code:
[andrew@darkstar:/]$ tree -L 2 boot                                                                                                                           (09-01 15:52)
boot
├── amd-ucode.img
├── EFI
│   └── boot
├── grub
│   ├── fonts
│   ├── grub.cfg
│   ├── grubenv
│   ├── locale
│   ├── themes
│   └── x86_64-efi
├── initramfs-linux-fallback.img
├── initramfs-linux.img
└── vmlinuz-linux

7 directories, 6 files

slowness of boot has gone.
thank goodness for timeshift
 
yes that video shows exactly the problem with update to grub
Code:
[andrew@darkstar:~]$ pacman -Qi grub                                      (09-01 16:24)
Name            : grub
Version         : 2:2.06.r322.gd9b4638c5-3

After timeshift i got 133 updates to install including grub. By NOT running

Code:
# grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi

# grub-mkconfig -o /boot/grub/grub.cfg

it booted OK
 
got Arch working yesterday. I updated today and noticed there was an upgrade of kernel 5.19.5 ..etc
to 5.19.6

rebooted .. no problem.

Also my grub version is :
Code:
[andrew@darkstar:~]$ pacman -Qi grub                                      (09-03 08:56)
Name            : grub
Version         : 2:2.06.r322.gd9b4638c5-3
Description     : GNU GRand Unified Bootloader (2)
Architecture    : x86_64
URL             : https://www.gnu.org/software/grub/

Have you ever encounted "if it ain't broke don't fix it" , well i couldn't help myself and re-ran :
Code:
# grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi

# grub-mkconfig -o /boot/grub/grub.cfg

So it wasn't upgrade to kernel nor upgrade to grub, that caused the problem but running the aove 2 commands
that messed it up

this time i had elementary iso on a ventoy formatted stick. Installed timeshift to live OS via apt and re-stored to previous snapshot . upand running again. now i can see why Mr Volkerding still uses Lilo on Slackware !
 
Last edited:

Staff online

Members online


Latest posts

Top