unable to boot using efi

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Rogerqea
White ninja
White ninja
Posts: 5
Joined: 26 Mar 2015, 05:59
Distribution: Ubuntu
Location: China

unable to boot using efi

Post#1 by Rogerqea » 26 Mar 2015, 06:50

I downloaded porteus3.1 and install it into my usb disk. It works very well on my laptop which has a traditional BIOS, so I don't think there are any problem with my usb disk.
But when I tried to use it to boot from my tablet which has an EFI system, it failed. The "EFI" folder is on the top of my usb disk. It can boot a few first steps, and I can see the screen which asked me to choose to boot from my win8.1 or from porteus. Then after I chose porteus, it only showed a black screen and two line words, and then died, didn't react to any input. It seems that my usb disk was rejected because the light on it was off. However I had booted ubuntu 14.04 and 14.10 on my EFI tablet successfully before.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: unable to boot using efi

Post#2 by francois » 26 Mar 2015, 11:19

Prendre son temps, profiter de celui qui passe.

Rogerqea
White ninja
White ninja
Posts: 5
Joined: 26 Mar 2015, 05:59
Distribution: Ubuntu
Location: China

Re: unable to boot using efi

Post#3 by Rogerqea » 26 Mar 2015, 12:32

francois wrote:Look here:
viewtopic.php?f=81&t=2700
Thank you for your reply. But it definitely isn't a problem about UEFI or EFI, because I have shut down the security boot.
the last two line before my tablet dead is :
"starting vmlinuz
using load options 'initrd=boot\syslinux\initrd.xz'"
The boot program has been loaded, but it failed to load the kernel. Actually I think the boot program can't detect my USB disk. By the way my tablet and USB disk are linked with a USB-hub, probably the program can't deal with USBhub?
Moreover, It is very strange that when I extract Linux mint's live iso's files to USB disk to boot from it, I meet similar problem. But when I do same thing to Ubuntu's live iso, it boots successfully. As Mint is based Ubuntu, I suspect there are some little differences in the boot step which lead to this.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: unable to boot using efi

Post#4 by brokenman » 26 Mar 2015, 14:10

What is the architecture of your tablet? (x86, arm)

I have a UEFI system so I can doublecheck. It worked last time I checked. Can you please explain how you acquired the Porteus v3.1 ISO? Was it directly from our server or using the build option. If the build option, then if you can remember any settings you chose it would be a big help. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Rogerqea
White ninja
White ninja
Posts: 5
Joined: 26 Mar 2015, 05:59
Distribution: Ubuntu
Location: China

Re: unable to boot using efi

Post#5 by Rogerqea » 26 Mar 2015, 14:43

brokenman wrote:What is the architecture of your tablet? (x86, arm)

I have a UEFI system so I can doublecheck. It worked last time I checked. Can you please explain how you acquired the Porteus v3.1 ISO? Was it directly from our server or using the build option. If the build option, then if you can remember any settings you chose it would be a big help. Thanks.
My tablet's architecture is x64, and its CPU is Intel N2910. As I have installed a Windows8.1(x64 enterprise edition)on its SSD and have used Win8.1 more than half a year, I don't think the problem is in the hardware.
I got my porteus today through your build options. I remember that all my options are 64bit, EFI, GUI, kde, factory time zone, UTC support, English keyboard, 2%sound, set passwords for guest and root but didn't change other advanced options, chrome, Libra office, Skype, development tool, Linux video card driver, no printing support. I help these would help you.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: unable to boot using efi

Post#6 by brokenman » 27 Mar 2015, 18:12

Judging by the last message you receive before the freeze it is most probably the bootloader stopping and not able to find the kernel in the path given. I just downloaded a new ISO and installed on a brand new USB drive from windows and then booted straight into porteus from where I am posting this message.

You may try opening the refind.conf file inside the EFI folder and uncommenting the line that reads: scanfor internal,external,optical,manual

This will force refind to search the device for kernels. If this doesn't work then you can try playing with refind. The config file is well commented.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Rogerqea
White ninja
White ninja
Posts: 5
Joined: 26 Mar 2015, 05:59
Distribution: Ubuntu
Location: China

Re: unable to boot using efi

Post#7 by Rogerqea » 28 Mar 2015, 02:44

brokenman wrote:Judging by the last message you receive before the freeze it is most probably the bootloader stopping and not able to find the kernel in the path given. I just downloaded a new ISO and installed on a brand new USB drive from windows and then booted straight into porteus from where I am posting this message.

You may try opening the refind.conf file inside the EFI folder and uncommenting the line that reads: scanfor internal,external,optical,manual

This will force refind to search the device for kernels. If this doesn't work then you can try playing with refind. The config file is well commented.
Thank you very much.
I have tried your advice, but it seems that the options in refind.conf only influence whether the loader can detect all systems on my tablet. As I described previously, the bug happens in the next step, i.e. the loader can detect Win8.1 and porteus, and I can choose to boot porteus, but then (I guess) the loader failed to load the Linux kernel.
Moreover, I found that only when I include "manual" in "scanfor" porteus can be detected. It is a USB drive but "external" doesn't work, which makes me feel strange. The "manual" is commented as"- use stanzas later in this configuration file", but actually I don't understand its meaning.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: unable to boot using efi

Post#8 by neko » 28 Mar 2015, 06:30

@Rogerqea
To distinguish what is a cause,
you could test by booting another EFI iso.

1. Boot Porteus-aFVWM-v3.1-x86_64-2.iso (FVWM) on BIOS PC.

2. On the FVWM running environment,
create USB memory stick for EFI PC including this FVWM ISO by "Create Porteus live USB" tool.

3. Boot FVWM from the USB on EFI tablet.

Result:
(1)NG
This test was not useful.

(2)OK
3-1)It might be guessed that there is a trouble in /EFI/boot/XXX.efi or /EFI/boot/XXX.cfg.
-- confirm test 4.

3-2)It might be guessed that there is a trouble in kernel.
-- confirm test 5.

4. Replace /EFI of orignal ISO(USB) with one of FVWM ISO.
Add the /.disk of FVWM ISO to orignal ISO(USB).
Boot this new original ISO(USB) on EFI tablet.

5. Replace /boot/syslinux/vmlinuz and /porteus/base/000-kernel.xzm of orignal ISO(USB)
with ones of FVWM ISO.
Boot this new original ISO(USB) on EFI tablet.

Best regard.


====================================
Porteus-aFVWM-v3.1-x86_64-2.iso (202M)
http://www.mediafire.com/download/zzpsc ... 6_64-2.iso
md5sum: b3784403dfdd6bd7b9c6d3866e479342 Porteus-aFVWM-v3.1-x86_64-2.iso

Rogerqea
White ninja
White ninja
Posts: 5
Joined: 26 Mar 2015, 05:59
Distribution: Ubuntu
Location: China

Re: unable to boot using efi

Post#9 by Rogerqea » 29 Mar 2015, 02:39

neko wrote:@Rogerqea
To distinguish what is a cause,
you could test by booting another EFI iso.

1. Boot Porteus-aFVWM-v3.1-x86_64-2.iso (FVWM) on BIOS PC.

2. On the FVWM running environment,
create USB memory stick for EFI PC including this FVWM ISO by "Create Porteus live USB" tool.

3. Boot FVWM from the USB on EFI tablet.

Result:
(1)NG
This test was not useful.

(2)OK
3-1)It might be guessed that there is a trouble in /EFI/boot/XXX.efi or /EFI/boot/XXX.cfg.
-- confirm test 4.

3-2)It might be guessed that there is a trouble in kernel.
-- confirm test 5.

4. Replace /EFI of orignal ISO(USB) with one of FVWM ISO.
Add the /.disk of FVWM ISO to orignal ISO(USB).
Boot this new original ISO(USB) on EFI tablet.

5. Replace /boot/syslinux/vmlinuz and /porteus/base/000-kernel.xzm of orignal ISO(USB)
with ones of FVWM ISO.
Boot this new original ISO(USB) on EFI tablet.

Best regard.


====================================
Porteus-aFVWM-v3.1-x86_64-2.iso (202M)
http://www.mediafire.com/download/zzpsc ... 6_64-2.iso
md5sum: b3784403dfdd6bd7b9c6d3866e479342 Porteus-aFVWM-v3.1-x86_64-2.iso

Thank you very much.
I have downloaded your iso file, but I am afraid that I have to know the password of root of the system in your iso file to use the "Create Porteus live USB" tool...

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: unable to boot using efi

Post#10 by neko » 29 Mar 2015, 03:03

@Rogerqea
The root password of FVWM ISO is same as one of original Porteus ISO.

Best regard.

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: unable to boot using efi

Post#11 by cttan » 29 Mar 2015, 12:11

Hi Rogerqea,

Most likely yout USB is not formatted as GPT disk.

Pls issue this command in a terminal:-

Code: Select all

# fdisk -l /dev/sdc

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdc: 3944 MB, 3944742912 bytes
255 heads, 63 sectors/track, 479 cylinders, total 7704576 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1     7704575     3852287+  ee  GPT
Checkout this thread:-
http://forum.porteus.org/viewtopic.php? ... hilit=uefi

And inside the thread there is a must watch video from brokenman about UEFI USB making:-
https://www.youtube.com/watch?v=Q_AXMoa ... tu.be?hd=1

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: unable to boot using efi

Post#12 by brokenman » 30 Mar 2015, 11:33

It is able to boot from a standard FAT32 partition. What is the file system you are booting from? Inside the EFI folder you will find a folder with the drivers for supported file systems.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply