I just update my system and reboot the system. I'm dual boot my machine with windows that stored in different SSD which I don't open for a couple of months now if it might help.
The issue it stuck in the initrd
from grub. The path of file which Grub used for boot like vmlinuz-linux-zen
and initramfs-linux-zen
accessed with @/ as the root too. When I enter the Grub command line, I run command below:
grub > ls
(hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (hd1) (hd1,gpt2) (hd1,gpt1)
grub > ls (hd0,gpt2)/
@cache @/ @root/ @tmp/ @home/ @log/ @srv/
grub > ls (hd0,gpt2)/@/
dev/ run/ boot/ lib sbin srv/ usr/ opt/ lib64/ bin home/ etc/ var/ tmp/ sys/ mnt/ proc/ root/
grub > ls (hd0,gpt2)/@/boot/
initramfs-linux-zen-fallback.img initramfs-linux-zen.img intel-unicode.img grub/ amd-ucode.img vmlinuz-linux-zen efi/ memtest/
after that I try to boot using:
grub > set root=(hd0,gpt2)
grub > linux /@/boot/vmlinuz-linux-zen.img root=/dev/sda2
grub > initrd /@/boot/initramfs-linux-zen.img
grub > boot
But it didn't fix the issue, it's just stuck in the grub command line display. When I try to chroot with live-usb it can't detect my partition.
Edit:
I already find the problem why I can't detect the partition. It's regarding the hardware company of the SSD can't be detected other than using zen-kernel
, so I use live-usb with garuda ISO. The problem right now are the changes in the partition of my linux file as shown below when I try to use my program it's work fine:
[root@garuda-kde-lite garuda]# lsblk
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:1 0 300M 0 part
├─nvme0n1p2 259:2 0 467.8G 0 part
└─nvme0n1p3 259:3 0 8.8G 0 part
[root@garuda-kde-lite garuda]# mount /dev/nv
nvme0 nvme0n1 nvme0n1p1 nvme0n1p2 nvme0n1p3 nvram
[root@garuda-kde-lite garuda]# mount /dev/nvme0n1p2 /mnt
[root@garuda-kde-lite garuda]# ls /mnt
@ boot @cache @home @log @root @srv @tmp
[root@garuda-kde-lite garuda]# ls /mnt/@
bin boot dev etc home lib lib64 mnt opt proc root run sbin srv sys tmp usr var
[root@garuda-kde-lite garuda]# arch-chroot /mnt/@
==> WARNING: /mnt/@ is not a mountpoint. This may have undesirable side effects.
[root@garuda-kde-lite /]# pfetch
___ garuda@garuda-kde-lite
(.. | os Garuda Linux
(<> | host Aspire A514-52G V1.12
/ __ \ kernel 6.2.13-zen-1-zen
( / \ /| uptime 2h 28m
_/\ __)/_) pkgs 1241
\/-____\/ memory 3160M / 11667M
Below when I try to update using pacman
:
:: Proceed with installation? [Y/n]
error: could not determine cachedir mount point /var/cache/pacman/pkg
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.
The output of efiboomgr
from the live ISO:
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,0002,2001,2002,2003
Boot0000* USB HDD: USB PciRoot(0x0)/Pci(0x14,0x0)/USB(14,0)/HD(2,MBR,0xc5a43d17,0x7289000,0x10000)RC
Boot0001* Garuda HD(1,GPT,546eef13-7329-7349-bc1d-5845ec2cf516,0x1000,0x96000)/File(\EFI\Garuda\grubx64.efi)
Boot0002* Windows Boot Manager HD(1,GPT,546eef13-7329-7349-bc1d-5845ec2cf516,0x1000,0x96000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
and lsblk -f
command:
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squashfs 4.0 0 100% /run/miso/sfs/livefs
loop1 squashfs 4.0 0 100% /run/miso/sfs/mhwdfs
loop2 squashfs 4.0 0 100% /run/miso/sfs/desktopfs
loop3 squashfs 4.0 0 100% /run/miso/sfs/rootfs
sda
├─sda1 ntfs 6606225D06222F0D 40.5G 59% /run/media/garuda/6606225D06222F0D
└─sda2
sdb
├─sdb1 exfat 1.0 Ventoy 7B93-BAB5
│ └─ventoy iso9660 Joliet Extension GARUDA_KDELITE_RAPTOR 2023-05-01-22-43-28-00 0 100% /run/miso/bootmnt
└─sdb2
zram0 [SWAP]
nvme0n1
├─nvme0n1p1 vfat FAT32 EF59-4196
├─nvme0n1p2 btrfs b94c9465-09d9-48a9-973e-7ad9526ce84f 201.5G 57% /mnt
└─nvme0n1p3 swap 1 swap 0d5ef773-b5c0-4755-b443-30f3c0b42115