sh-5.1# sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu
::WARNING https://repo.manjaro.org 'Connection: HTTPSConnectionPool(host='repo.manjaro.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1f81d1f5e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))'
::WARNING https://wikipedia.org 'Connection: HTTPSConnectionPool(host='wikipedia.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1f81d1ffd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))'
::WARNING https://bitbucket.org 'Connection: HTTPSConnectionPool(host='bitbucket.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1f81d1ff10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))'
::INFO Internet connection appears to be down
::INFO Mirror ranking is not available
::INFO Mirror list is generated using random method
::INFO Writing mirror list
Great it’s doing something and just completed, final lines are:
==> Warning:
-> Kernel has been updated. Modules of the current kernel
-> have been backed up so you can continue to use your
-> computer. However, the new kernel will only work
-> at next boot.
(17/19) Updating the info directory file...
(18/19) Copy Thunderbird Distribution Settings
(19/19) Updating the desktop file MIME type cache...
I rebooted and it isnt finding a Boot partition now. Upon installier of the kernel it did through up an error aeound grub. I should have pasted the output…
That seems to through an error.
Let me make sure that I am mounting my drive and efi boot partition correctly first (encrypted).
Output from lsblk
lsblk ✔
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 18.6M 1 loop /run/miso/sfs/livefs
loop1 7:1 0 846.2M 1 loop /run/miso/sfs/mhwdfs
loop2 7:2 0 2G 1 loop /run/miso/sfs/desktopfs
loop3 7:3 0 643.2M 1 loop /run/miso/sfs/rootfs
sda 8:0 1 28.9G 0 disk /run/miso/bootmnt
├─sda1 8:1 1 3.5G 0 part
└─sda2 8:2 1 4M 0 part
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 300M 0 part
├─nvme0n1p2 259:2 0 229.4G 0 part
└─nvme0n1p3 259:3 0 8.8G 0 part
sda1 and sda2 seem rto be the usb stick
Presumably nvme0n1p1 is my boot partition and nvme0n1p2 is the linux partition right…
I then use
su
cryptsetup luksOpen /dev/nvme0n1p2 nvme0n1p2_crypt
mount /dev/mapper/nvme0n1p2_crypt /mnt
mount /dev/nvme0n1p1 /mnt/boot/efi
manjaro-chroot /mnt
Is this correct?
The specific error I get with update-grub is this:
[manjaro /]# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-rt-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-rt-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-rt-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.11-rt-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.11-rt-x86_64.img
Found initrd fallback image: /boot/initramfs-5.11-rt-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
i dont know how to chroot into an encrypted nvm disk…
and of course there is no info on the wiki on how to do it
the grub looks good, but it didnt detect the 5.17 that we installed…
run again: mhwd-kernel -li
Yes I found some info on how to do it in various support threads so think it’s ok, however for some reason grub automatically assumes sda1/2 is where bootloader is, however that seems to be the livecd.
Output:
[manjaro /]# mhwd-kernel -li
Currently running: 5.15.32-1-MANJARO (linux515)
The following kernels are installed in your system:
* linux515-rt
Installing a new kernel it seems to want me to specify a target…
You decrypt it with cryptsetup luksOpen /dev/blabla decrypted_whatever and then mount /dev/mapper/decrypted_whatever like you would regular drive. If manjaro-chroot -a finds and mounts it automatically, I don’t know.