rhboot / efibootmgr

efibootmgr development tree
GNU General Public License v2.0
519 stars 99 forks source link

cant set boot args on dell xps 9350 #52

Closed avbdr closed 8 years ago

avbdr commented 8 years ago

Kernel boots just fine but dies with a kernel panic because it cant mount a root fs on unknown block Im understanding that no args were passed to the kernel. Kernel and initrd files are placed on UEFI partition in /EFI/debian/ with all files named in lowercase.

Commands I were trying:

efibootmgr  -c -d /dev/nvme0n1 -p 1 -L "Debian" -l '\EFI\debian\kernel.efi' -u 'ro initrd=EFI/debian/initrd.img root=UUID=...'
efibootmgr  -c -d /dev/nvme0n1 -p 1 -L "Debian" -l '\EFI\debian\kernel.efi' -u 'ro initrd=\EFI\debian\initrd.img root=UUID=...'
echo -n 'ro initrd=EFI/debian/initrd.img root=UUID=468d7e65-1b46-4ee6-80ab-a585289e91bf'|iconv -f utf-8 -t ucs2 > qqqq
efibootmgr  -c -d /dev/nvme0n1 -p 1 -L "debian 5" -l '\EFI\debian\kernel.efi' -@ qqqq
# efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0005,0000,0001,0002,0003,0004
Boot0000* Linux Boot Manager    HD(1,GPT,927c1134-0f59-4d13-9309-8e4d918ef4b2,0x800,0xfa000)/File(\EFI\systemd\systemd-bootx64.efi)
Boot0001* Diskette Drive    BBS(Floppy,Diskette Drive,0x0)..BO
Boot0002* M.2 PCIe SSD  BBS(HD,PM951 NVMe SAMSUNG 256GB ,0x0)..BO
Boot0003* USB Storage Device    BBS(USB,USB Storage Device,0x0)..BO
Boot0004* CD/DVD/CD-RW Drive    BBS(CDROM,CD/DVD/CD-RW Drive,0x0)..BO
Boot0005* debian 5  HD(1,GPT,927c1134-0f59-4d13-9309-8e4d918ef4b2,0x800,0xfa000)/File(\EFI\debian\kernel.efi)r.o. .i.n.i.t.r.d.=.E.F.I./.d.e.b.i.a.n./.i.n.i.t.r.d...i.m.g. .r.o.o.t.=.U.U.I.D.=.4.6.8.d.7.e.6.5.-.1.b.4.6.-.4.e.e.6.-.8.0.a.b.-.a.5.8.5.2.8.9.e.9.1.b.f.
avbdr commented 8 years ago
efibootmgr -V
version 0.12
vathpela commented 8 years ago

I'm not seeing the issue here - that looks like it worked? The ucs2 data is in the boot option, apparently correctly.

avbdr commented 8 years ago

so issue is that firmwere itself ignores boot options?

avbdr commented 8 years ago

this could be closed as its a confirmed XPS UEFI bug. thanks for your work.