You are not logged in.

#1 2012-06-23 18:00:01

TeaBough
Member
Registered: 2012-06-21
Posts: 17

[SOLVED] Nothing can be launched from my uefi bios utility p8p67

Hi,

I experience some problems with uefi. I have a p8p67 deluxe mother board with bios version 2302 x64. I add an entry using efibootmgr, when I reboot and enter the bios and clic on the new entry, nothing happend, there is a brief black screen a 1ms after I come back to the bios page ! When I do the same thing but from the EFI shell console using this command :

 vmlinuz-linux.efi root=/dev/sdaX ro rootfstype=ext4 add_efi_memmap initrd=\EFI\arch\initramfs-linux.img 

it works !

I used a lot this page to get everything not working : https://wiki.archlinux.org/index.php/UEFI_Bootloaders

Last edited by TeaBough (2012-06-26 08:44:55)

Offline

#2 2012-06-24 09:35:16

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

Please edit title and mark as [SOLVED].
I'm sorry, I tought you edited post.

Last edited by Šaran (2012-06-24 20:15:10)

Offline

#3 2012-06-24 11:44:28

TeaBough
Member
Registered: 2012-06-21
Posts: 17

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

No, it works when I use the EFI shell but not when I add an entry. Every time a boot and don't want to enter the efi shell in order to boot my system.

Offline

#4 2012-06-24 12:48:08

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

I assume that you use the command in the wiki for creating an entry so check if there is any bios setting that might affect the whole thing.

Also whats the output of

efibootmgr -v

Offline

#5 2012-06-24 19:11:36

TeaBough
Member
Registered: 2012-06-21
Posts: 17

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

I used two commands :

efibootmgr --create --gpt --disk /dev/sdb --part 3 --write-signature --label "shell" --loader "\\shellx64.efi"

and

efibootmgr -c -l \\shellx64.efi -L shell -p 1

The file shellx64.efi is actually my refindx64.efi. I renamed the file and put it to the root in order to boot using the "launch a uefi shell" button from my bios.

This is my configuration :

/dev/sda1 : windows (ntfs)
/dev/sdb1 : /boot
/dev/sdb2 : swap
/dev/sdb3 : /
/dev/sdb4 : home
/dev/sdb5 : efi partition

efibootmgr -v

give me that :

Timeout: 1 seconds
BootOrder: 0009,0008,0007,0006,0003,0002,0000,0001,0005,000A,000B,000C
Boot0000* shell	HD(3,b46ae,ea977d,eab23af9-8a2e-465b-8306-0dffa0386d07)File(\shellx64.efi)
Boot0001* Hard Drive	BIOS(2,0,00)
Boot0002* shell1	HD(3,b46ae,ea977d,eab23af9-8a2e-465b-8306-0dffa0386d07)File(\shellx64.efi)
Boot0003* shell2	HD(2,32fcd,816e1,0511ab42-efa7-4f59-8519-62877b877fe6)File(\shellx64.efi)
Boot0005* UEFI: Sony Storage Media 1.00	ACPI(a0341d0,0)PCI(1a,0)USB(1,0)USB(6,0)HD(1,2c,eeffd4,000906f5)
Boot0006* shell1	HD(0,0,6fccf30,542b0810)File(\shellx64.efi)
Boot0007* shell0	HD(1,3f,32f8e,382af5ba-c586-4e8b-a8e2-6e487918674a)File(\shellx64.efi)
Boot0008* shell6	HD(3,0,1,00000000-0000-0000-0000-000000000000)File(\shellx64.efi)
Boot0009* shell7	HD(3,0,1,00000000-0000-0000-0000-000000000000)File(\shellx64.efi)
Boot000A* chh	HD(2,0,1,00000000-0000-0000-0000-000000000000)File(\shellx64.efi)
Boot000B* cha	HD(1,800,a7b0000,fe824c52-cf85-4343-96d9-12b7537d2023)File(\shellx64.efi)
Boot000C* chb	HD(0,0,a7b0d70,00000000)File(\shellx64.efi)

These results come from some tests I made.

Offline

#6 2012-06-24 20:18:56

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

In bios under boot tab find "Add new boot option" and for path enter "/shellx64.efi". Set it as default and it should boot normally.

Offline

#7 2012-06-24 20:38:51

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

Warning:before you do anything wait for someone more knowledgeable to confirm the below

I think that in order to boot it you need a path in the form

/EFI/whatever/whatever.efi 

and also this has to be in the efi partition

can you also post the fstab?

Offline

#8 2012-06-24 20:55:56

TeaBough
Member
Registered: 2012-06-21
Posts: 17

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

Šaran wrote:

In bios under boot tab find "Add new boot option" and for path enter "/shellx64.efi". Set it as default and it should boot normally.

There is no such button in the uefi bios of the p8p67.

Offline

#9 2012-06-24 21:07:12

TeaBough
Member
Registered: 2012-06-21
Posts: 17

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

89c51 wrote:

Warning:before you do anything wait for someone more knowledgeable to confirm the below

I think that in order to boot it you need a path in the form

/EFI/whatever/whatever.efi 

and also this has to be in the efi partition

can you also post the fstab?

I tried but it didn't work. This is my fstab :

# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid	0	0
UUID=16205fcc-22de-49d3-9ee2-f6d26f74ce6d swap swap defaults 0 0
UUID=1797fa67-a9c0-49eb-8781-7f98dd3b8d5a /boot ext2 defaults 0 1
UUID=1ac248e5-a5e7-4429-9f7b-33b1cee9ee51 / ext4 defaults,discard,noatime 0 1
UUID=90995d6a-252b-4291-b3f1-cf6b9f6fae59 /home ext4 defaults,discard,noatime 0 1
tmpfs	/tmp	tmpfs	defaults,size=1g	0	0
tmpfs	/var/log	tmpfs	defaults,nosuid,nodev	0	0
tmpfs	/var/tmp	tmpfs	defaults	0	0
tmpfs	/var/run	tmpfs	defaults	0	0
tmpfs	/var/lock	tmpfs	defaults	0	0
/dev/sdc1	/media/dede	ntfs-3g		defaults,uid=thibault,gid=users,umask=000	0	0
/dev/sdb5	/boot/efi	vfat	defaults	0	1

And the new entries I have tested:

Boot000D* test1	HD(1,3f,32f8e,382af5ba-c586-4e8b-a8e2-6e487918674a)File(\EFI\arch\refind\refindx64.efi)
Boot000E* test2	HD(2,32fcd,816e1,0511ab42-efa7-4f59-8519-62877b877fe6)File(\EFI\arch\refind\refindx64.efi)
Boot000F* test3	HD(0,0,a7b0d70,00000000)File(\EFI\arch\refind\refindx64.efi)
Boot0010* test4	HD(1,800,a7b0000,fe824c52-cf85-4343-96d9-12b7537d2023)File(\EFI\arch\refind\refindx64.efi)
Boot0011* test5	HD(2,0,1,00000000-0000-0000-0000-000000000000)File(\EFI\arch\refind\refindx64.efi)

Offline

#10 2012-06-24 21:17:16

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

Try one more thing

In the

efibootmgr --create --gpt --disk /dev/sdb --part 3 --write-signature --label "shell" --loader "whatever.efi"

command i think the --part parameter should point at the bootloader - in your case 5

Offline

#11 2012-06-24 21:18:06

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

Damn, mine Asus laptop has that option.
This is known Asus bug, but besides updating bios, there's probably nothing you can do.

Offline

#12 2012-06-26 08:40:23

TeaBough
Member
Registered: 2012-06-21
Posts: 17

Re: [SOLVED] Nothing can be launched from my uefi bios utility p8p67

89c51 wrote:

Try one more thing

In the

efibootmgr --create --gpt --disk /dev/sdb --part 3 --write-signature --label "shell" --loader "whatever.efi"

command i think the --part parameter should point at the bootloader - in your case 5

That's it !!!! I thought the part parameter should point at the right physical disc and not the partition. so --part 5 worked. Thank you very much! I should have read more carefully the man page :-).

Last edited by TeaBough (2012-06-26 08:41:48)

Offline

Board footer

Powered by FluxBB