You are not logged in.
Pages: 1
I want to write a new entire in NVRAM. So I issues this efibootmgr command:
#!/usr/bin/bash
efibootmgr -c -d /dev/sda -p 5 -l /vmlinuz-linux -L "UEFI: Arch Linux" -u "initrd=/initramfs-linux.img root=PARTUUID=3d72688d-ce8f-4b55-82b7-b4ccf24196f6 rootfstype=ext4 rw add_efi_memmap" -w
And it gives me this error:
efibootmgr: Could not set variable: Invalid argument
efibootmgr: Could not preprare boot variable: Invalid argument
I don't know where this error is coming from.
Here is my blkid
/dev/sda1: LABEL="System Reserved" UUID="40AE16AEAE169C8A" TYPE="ntfs" PARTLABEL="Microsoft basic data" PARTUUID="d5da6791-891d-47b5-a22d-fd2209efd78d"
/dev/sda2: UUID="54D62603D625E5C8" TYPE="ntfs" PARTLABEL="Microsoft basic data" PARTUUID="e18a1244-e52a-4619-97b4-90e022d39a87"
/dev/sda4: UUID="3c2e4754-b0f6-4085-9b92-a1948e58ee3c" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="3d72688d-ce8f-4b55-82b7-b4ccf24196f6"
/dev/sda5: UUID="9D23-17ED" TYPE="vfat" PARTLABEL="EFI System" PARTUUID="a065e733-fff6-4c5c-8df1-53a793f4f390"
/dev/sdg1: UUID="2015-06-01-15-28-10-00" LABEL="ARCH_201506" TYPE="iso9660" PTUUID="17bad5fa" PTTYPE="dos" PARTUUID="17bad5fa-01"
/dev/sdg2: SEC_TYPE="msdos" LABEL="ARCHISO_EFI" UUID="9B64-15F2" TYPE="vfat" PARTUUID="17bad5fa-02"
/dev/loop0: TYPE="squashfs"
/dev/loop1: UUID="a0b8124e-507a-4c5a-bfc9-79e306898aa2" TYPE="ext4"
/dev/mapper/arch_airootfs: UUID="a0b8124e-507a-4c5a-bfc9-79e306898aa2" TYPE="ext4"
/dev/sdh1: UUID="7C19-35D2" TYPE="vfat" PARTUUID="01996417-01"
/dev/sda3: PARTLABEL="BIOS boot partition" PARTUUID="88d91e1f-42bf-4985-91c8-c0ef74338751"
/dev/sda6: PARTLABEL="Microsoft reserved partition" PARTUUID="5f198cc2-8478-41b4-b484-b20aae968f4c"
Here are my partitions:
1 2048 206847 100.0 MiB 0700 Microsoft basic data
2 206848 994990079 474.3 GiB 0700 Microsoft basic data
3 1939179520 1939183615 2.0 MiB EF02 BIOS boot partition
4 994994176 1938712575 450.0 GiB 8300 Linux filesystem
5 1938712576 1938917375 100.0 MiB EF00 EFI System
6 1938917376 1939179519 128.0 MiB 0C01 Microsoft reserved ...
Here is the content of my ESP parition (5) that contains the /boot folder:
total 50672
drwxr-xr-x 5 root root 512 Jun 7 08:20 EFI
drwxr-xr-x 6 root root 1024 Jun 7 08:28 grub
-rwxr-xr-x 1 root root 18538326 Aug 9 14:18 initramfs-linux-fallback.img
-rwxr-xr-x 1 root root 17961679 Aug 9 14:18 initramfs-linux-lts-fallback.img
-rwxr-xr-x 1 root root 3600082 Aug 9 14:18 initramfs-linux-lts.img
-rwxr-xr-x 1 root root 3654027 Aug 9 14:18 initramfs-linux.img
drwxr-xr-x 9 root root 1024 Nov 14 2014 refind
drwxr-xr-x 2 root root 4608 Apr 16 15:01 syslinux
-rwxr-xr-x 1 root root 4224352 Aug 3 17:32 vmlinuz-linux
-rwxr-xr-x 1 root root 3901408 Aug 4 11:02 vmlinuz-linux-lts
Please if someone can tell me where the problem lies, it'll be a great help as right now I'm totally stuck.
EDIT:
I also know that I booted in UEFI mode beucause the folder: /sys/firmware/efi/efivars is full of files.
Thanks a lot for your kind concern and time.
Jenia
Last edited by jenia (2015-08-15 17:06:10)
Offline
Jin, Jiyan, Azadî
Offline
Pages: 1