You are not logged in.
Pages: 1
I am trying to install Arch Linux on Dell XPS 9560. Here are the commands I use:
ls /sys/firmware/efi/efivars # check uefi
parted /dev/nvme0n1 --script mklabel gpt
parted /dev/nvme0n1 --script mkpart ESP fat32 1MiB 513MiB
parted /dev/nvme0n1 --script set 1 boot on
parted /dev/nvme0n1 --script mkpart primary linux-swap 513MiB 16.5GiB
parted /dev/nvme0n1 --script mkpart primary ext4 16.5GiB 100%
mkfs.fat -F32 -n BOOT /dev/nvme0n1p1
mkswap -L swap /dev/nvme0n1p2
swapon /dev/nvme0n1p2
mkfs.ext4 /dev/nvme0n1p3
mount /dev/nvme0n1p3 /mnt
pacstrap /mnt base base-devel linux linux-firmware diffutils less logrotate nano usbutils which netctl terminus-font
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt /bin/bashIn chroot:
pacman -S --needed --noconfirm grub efibootmgr crda iwd dialog git linux-headers zsh wget tree gnu-netcat net-tools dhcpcd dhclient intel-ucode wpa_supplicant wireless-regdb wireless_tools
mkdir -p /boot/efi
mount /dev/nvme0n1p1 /boot/efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
grub-mkconfig -o /boot/grub/grub.cfgUnfortunatelly after reboot I receive error message "No bootable device found"
There are two additional weirdness:
* I can successfully install Manjaro Linux on same laptop (so it is not a problem with hardware?)
* I can successfully install Arch Linux using exactly same commands on other laptop (Lenovo)
Here are outputs of some commands (from liveusb):
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 529.7M 1 loop /run/archiso/sfs/airootfs
sda 8:0 1 7.5G 0 disk /run/archiso/bootmnt
├─sda1 8:1 1 647M 0 part
└─sda2 8:2 1 64M 0 part
nvme0n1 259:0 0 477G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part
├─nvme0n1p2 259:2 0 16G 0 part
└─nvme0n1p3 259:3 0 460.5G 0 part fdisk -l
Disk /dev/nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: PM961 NVMe SAMSUNG 512GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 35AA5B0F-C7A6-4DF7-BDE6-EC95B9D9283E
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 34603007 33552384 16G Linux swap
/dev/nvme0n1p3 34603008 1000214527 965611520 460.5G Linux filesystemefibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002
Boot0000* ubuntu HD(1,GPT,cfd6b84e-4c70-4a07-8e46-7f69aa343f36,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* rEFInd Boot Manager HD(1,GPT,473fd32a-0336-47a0-a29b-71b53a74931a,0x800,0x100000)/File(\EFI\refind\refind_x64.efi)
Boot0002* UEFI: SanDisk, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x5eaa061f,0xa4,0x20000)..BO
Boot0003* UEFI: SanDisk, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x5eaa061f,0xa4,0x20000)..BO
Boot0004* GRUB HD(1,GPT,06151fed-c1e7-450c-b735-75d8b2ac2fb2,0x800,0x100000)/File(\EFI\GRUB\grubx64.efi)
Boot0010* UEFI: eVtran V03S SLC 1.00, Partition 2 PciRoot(0x0)/Pci(0x14,0x0)/USB(16,0)/HD(2,GPT,224f7fd6-17a8-4baa-a3a8-7d01adce4ab5,0x3b84984,0x400)..BOCould you please help me, what I am doing wrong? I will be happy to provide any additional information
Offline
You never mounted the ESP, so the grub install command failed.
Edit: Oh, I see it. Strange to do it after genfstab
Last edited by Scimmia (2020-07-15 18:36:00)
Offline
Have you disabled Secure Boot?
The NVRAM BootOrder doesn't list Boot0004 (which looks to be the Arch entry), you could try running the grub-install(8) command again with the --removable switch added to copy grubx64.efi to $ESP/EFI/BOOT/BOOTX64.EFI and see if the firmware will boot that automatically.
Jin, Jîyan, Azadî
Offline
Pages: 1