[Solved] Security Boot Fail

Technical issues/questions of an intermediate or advanced nature.
Jack
Contributor
Contributor
Posts: 1541
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 4.0rc4 My Mate 64 bit
Location: USA

[Solved] Security Boot Fail

Post#1 by Jack » 10 Sep 2018, 22:23

I just try to bootup Porteus-XFCE-v4.0-dev-x86_64.iso and I booting EFI and I see a Pad Lock and under it Security Boot Fail. I have a Acer with Windows 8.1 and I was using USB 3.0 thumb drive with 2 partitions a Fat 32 with boot files and EXT4 Porteus. Is this going to be a easy fixed? If yes what do I need to do?
Last edited by Jack on 12 Sep 2018, 22:06, edited 1 time in total.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 4154
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Security Boot Fail

Post#2 by Ed_P » 11 Sep 2018, 03:46

Jack!! You're BACK!! :Yahoo!:

On EFI systems to boot a USB drive you need to disable the machine's Secure Boot option.


Welcome back Jack. :)
Ed

jssouza
DEV Team
DEV Team
Posts: 645
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Security Boot Fail

Post#3 by jssouza » 11 Sep 2018, 05:56

There's a kind of workaround that I use without disabling secureboot.
First flash ubuntu (or fedora) on the thumb drive. Just the live usb. Ubuntu does not need secure boot to be disabled. Now nuke all traces of ubuntu from the usb except the EFI and boot. Now copy porteus folders on the USB and edit grub.cfg to boot porteus.

User avatar
Ed_P
Contributor
Contributor
Posts: 4154
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Security Boot Fail

Post#4 by Ed_P » 11 Sep 2018, 06:08

jssouza wrote:
11 Sep 2018, 05:56
nuke all traces of ubuntu from the usb except the EFI and boot

:%) So the USB's EFI & boot folders end up containing both Ubuntu and Porteus files?
Ed

jssouza
DEV Team
DEV Team
Posts: 645
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Security Boot Fail

Post#5 by jssouza » 11 Sep 2018, 08:01

Ed_P wrote:
11 Sep 2018, 06:08
So the USB's EFI & boot folders end up containing both Ubuntu and Porteus files?
No, the EFI and boot folders are only that of ubuntu. I put the porteus kernel and initrd in this boot folder. And copy the porteus folder onto the USB.
Then I add an entry (or multiple entries) in the boot/grub/grub.cfg for booting porteus, something like:

Code: Select all

menuentry "Porteus" {
	set gfxpayload=keep
	linux	/boot/vmlinuz
	initrd	/boot/initrd.xz
}
Other boot possibilities (eg: isoboot) is also possible using the from= cheatcode.

Jack
Contributor
Contributor
Posts: 1541
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 4.0rc4 My Mate 64 bit
Location: USA

Security Boot Fail

Post#6 by Jack » 11 Sep 2018, 12:49

I broke a round bone in my back but not sure what it called.

I will try what everyone told me what to do and see if I can do it.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 4154
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Security Boot Fail

Post#7 by Ed_P » 11 Sep 2018, 14:56

jssouza wrote:
11 Sep 2018, 08:01
No, the EFI and boot folders are only that of ubuntu. I put the porteus kernel and initrd in this boot folder. And copy the porteus folder onto the USB.
Unclear to me. Are you referring to the /EFI/boot/ folder? Can you post an ls of the boot folder?
Then I add an entry (or multiple entries) in the boot/grub/grub.cfg for booting porteus, something like:

Code: Select all

menuentry "Porteus" {
	set gfxpayload=keep
	linux	/boot/vmlinuz
	initrd	/boot/initrd.xz
}
On my EFI system with Grub2Win I found this works for booting my Porteus USB drive. ;)

Code: Select all

menuentry " Porteus 4.0 USB - EFI" --class slackware   --class icon-porteus  {

     set efibootmgr=/EFI/boot/bootx64.efi

     set bootdrv=$root
     search -f $efibootmgr --set=root
     if [ $root != $bootdrv ]; then
        chainloader $efibootmgr
     else
        echo "----------------------------------------"
        echo USB drive NOT found.
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv 
     }
Jack wrote:
11 Sep 2018, 12:49
I broke a round bone in my back but not sure what it called.
:o Well happy to see you survived. :good:
Ed

Jack
Contributor
Contributor
Posts: 1541
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 4.0rc4 My Mate 64 bit
Location: USA

Security Boot Fail

Post#8 by Jack » 11 Sep 2018, 15:30

Well I watch a youtube video on how to do it. My Computer see the USB but it won't boot.
Here is partition 1.
guest@porteus:~$ tree /mnt/sdc1
/mnt/sdc1
├── EFI
│   └── boot
│   ├── bootx64.efi
│   ├── chain.c32
│   ├── ldlinux.e64
│   ├── libcom32.c32
│   ├── libmenu.c32
│   ├── libutil.c32
│   ├── linux.c32
│   ├── menu.c32
│   ├── porteus.png
│   ├── syslinux.c32
│   ├── syslinux.cfg
│   └── vesamenu.c32
├── System Volume Information
│   └── IndexerVolumeGuid
├── USB_INSTALLATION.txt
└── boot
├── Porteus-installer-for-Linux.com
├── Porteus-installer-for-Windows.exe
├── docs
│   ├── GNU_GPL
│   ├── License.txt
│   ├── cheatcodes.txt
│   ├── install.txt
│   └── requirements.txt
└── syslinux
├── boot.cat
├── chain.c32
├── extlinux.conf
├── initrd.xz
├── intel-ucode.cpio
├── isolinux.bin
├── isolinux.boot
├── isolinux.cfg
├── ldlinux.sys
├── lilo.conf
├── plpbt
├── porteus.cfg
├── porteus.png
├── syslinux.cfg
├── vesamenu.c32
└── vmlinuz

6 directories, 37 files
guest@porteus:~$
Here is partition 2.
guest@porteus:/$ tree /mnt/sdc2
/mnt/sdc2
├── USB_INSTALLATION.txt
└── porteus
├── base
│   ├── 000-kernel.xzm
│   ├── 001-core.xzm
│   ├── 002-xorg.xzm
│   ├── 003-xfce4.xzm
│   ├── 05-devel.xzm
│   └── 06-crippled_sources-4.16.18-64bit.xzm
├── make_iso.sh
├── modules
├── optional
├── porteus-v4.0-x86_64.cfg
└── rootcopy

5 directories, 9 files
guest@porteus:/$
Do I need to make it bootable?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 4154
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Security Boot Fail

Post#9 by Ed_P » 11 Sep 2018, 16:03

My USB drive certainly doesn't look like yours Jack.

Code: Select all

guest@porteus:~$ ll /mnt/sdb1
total 192
drwxrwxrwx 3 root root 16384 Apr 29 07:12 EFI/
drwxrwxrwx 9 root root 16384 Aug 13 23:54 Guest/
drwxrwxrwx 2 root root 16384 Aug 14 15:25 Modsavedat/
drwxrwxrwx 2 root root 16384 Aug 14 00:00 Modules/
drwxrwxrwx 8 root root 16384 Aug 14 00:07 My_Webpages/
drwxrwxrwx 2 root root 16384 Aug 14 15:47 System Volume Information/
drwxrwxrwx 2 root root 16384 Aug 14 00:00 Temp/
-rwxrwxrwx 1 root root  1512 Apr 29 07:12 USB_INSTALLATION.txt*
drwxrwxrwx 4 root root 16384 Aug 13 23:53 boot/
drwxrwxrwx 2 root root 16384 Aug 13 23:53 changes/
drwxrwxrwx 6 root root 16384 Apr 29 07:12 porteus/
-rwxrwxrwx 1 root root  5272 Aug 13 20:23 porteus-efi-usb.sh*
It has very few files in it's root folder. Did you read the USB_INSTALLATION.txt file?

BTW What command did you use to produce your directory listing? I use to know it but have forgotten.

-edit-

tree :good:
Ed

jssouza
DEV Team
DEV Team
Posts: 645
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Security Boot Fail

Post#10 by jssouza » 11 Sep 2018, 16:08

Ed_P wrote:
11 Sep 2018, 14:56
Unclear to me. Are you referring to the /EFI/boot/ folder? Can you post an ls of the boot folder?
EFI and boot are seperate directories

Code: Select all

guest@porteus:~$ ls -Ral /mnt/sdc1/EFI/
/mnt/sdc1/EFI/:
total 12
drwxrwxrwx  3 root root 4096 Aug 23 11:30 ./
drwxrwxrwx 13 root root 4096 Jan  1  1970 ../
drwxrwxrwx  2 root root 4096 Aug 23 11:30 BOOT/

/mnt/sdc1/EFI/BOOT:
total 2300
drwxrwxrwx 2 root root    4096 Aug 23 11:30 ./
drwxrwxrwx 3 root root    4096 Aug 23 11:30 ../
-rwxrwxrwx 1 root root 1196736 Aug 23 11:30 BOOTx64.EFI*
-rwxrwxrwx 1 root root 1146232 Aug 23 11:30 grubx64.efi*

guest@porteus:~$ ls -Ral /mnt/sdc1/boot/
/mnt/sdc1/boot/:
total 12
drwxrwxrwx  3 root root 4096 Aug 23 11:24 ./
drwxrwxrwx 13 root root 4096 Jan  1  1970 ../
drwxrwxrwx  3 root root 4096 Aug 23 11:24 grub/
-rwxrwxrwx  1 root root  698872 Dec 23  2016 initrd.xz*
-rwxrwxrwx  1 root root 3215216 Feb  6  2017 vmlinuz*

/mnt/sdc1/boot/grub:
total 2372
drwxrwxrwx 3 root root    4096 Aug 23 11:24 ./
drwxrwxrwx 3 root root    4096 Aug 23 11:24 ../
-rwxrwxrwx 1 root root 2392064 Aug 23 11:24 efi.img*
-rwxrwxrwx 1 root root    5004 Aug 23 11:24 font.pf2*
-rwxrwxrwx 1 root root     966 Aug 23 11:24 grub.cfg*
-rwxrwxrwx 1 root root     624 Aug 23 11:24 loopback.cfg*
drwxrwxrwx 2 root root   12288 Aug 23 11:24 x86_64-efi/

/mnt/sdc1/boot/grub/x86_64-efi:
total 2552
drwxrwxrwx 2 root root 12288 Aug 23 11:24 ./
drwxrwxrwx 3 root root  4096 Aug 23 11:24 ../
-rwxrwxrwx 1 root root 15392 Aug 23 11:24 acpi.mod*
-rwxrwxrwx 1 root root  1928 Aug 23 11:24 adler32.mod*
-rwxrwxrwx 1 root root 22744 Aug 23 11:24 ahci.mod*
-rwxrwxrwx 1 root root   704 Aug 23 11:24 all_video.mod*
-rwxrwxrwx 1 root root  1488 Aug 23 11:24 aout.mod*
-rwxrwxrwx 1 root root  5336 Aug 23 11:24 appleldr.mod*
-rwxrwxrwx 1 root root  4496 Aug 23 11:24 archelp.mod*
-rwxrwxrwx 1 root root  6944 Aug 23 11:24 at_keyboard.mod*
-rwxrwxrwx 1 root root  8888 Aug 23 11:24 ata.mod*
-rwxrwxrwx 1 root root  2504 Aug 23 11:24 backtrace.mod*
-rwxrwxrwx 1 root root  9312 Aug 23 11:24 bfs.mod*
-rwxrwxrwx 1 root root  3144 Aug 23 11:24 bitmap.mod*
-rwxrwxrwx 1 root root  5368 Aug 23 11:24 bitmap_scale.mod*
-rwxrwxrwx 1 root root  3152 Aug 23 11:24 blocklist.mod*
-rwxrwxrwx 1 root root  3248 Aug 23 11:24 boot.mod*
-rwxrwxrwx 1 root root 47904 Aug 23 11:24 bsd.mod*
-rwxrwxrwx 1 root root  3344 Aug 23 11:24 bswap_test.mod*
-rwxrwxrwx 1 root root 19464 Aug 23 11:24 btrfs.mod*
-rwxrwxrwx 1 root root  2784 Aug 23 11:24 bufio.mod*
-rwxrwxrwx 1 root root  4360 Aug 23 11:24 cat.mod*
-rwxrwxrwx 1 root root  5704 Aug 23 11:24 cbfs.mod*
-rwxrwxrwx 1 root root  6184 Aug 23 11:24 cbls.mod*
-rwxrwxrwx 1 root root  3832 Aug 23 11:24 cbmemc.mod*
-rwxrwxrwx 1 root root  1432 Aug 23 11:24 cbtable.mod*
-rwxrwxrwx 1 root root  4512 Aug 23 11:24 cbtime.mod*
-rwxrwxrwx 1 root root 20440 Aug 23 11:24 chain.mod*
-rwxrwxrwx 1 root root  4712 Aug 23 11:24 cmdline_cat_test.mod*
-rwxrwxrwx 1 root root  2888 Aug 23 11:24 cmp.mod*
-rwxrwxrwx 1 root root  6696 Aug 23 11:24 cmp_test.mod*
-rwxrwxrwx 1 root root  3632 Aug 23 11:24 command.lst*
-rwxrwxrwx 1 root root  4360 Aug 23 11:24 cpio.mod*
-rwxrwxrwx 1 root root  4360 Aug 23 11:24 cpio_be.mod*
-rwxrwxrwx 1 root root  2576 Aug 23 11:24 cpuid.mod*
-rwxrwxrwx 1 root root  2160 Aug 23 11:24 crc64.mod*
-rwxrwxrwx 1 root root   936 Aug 23 11:24 crypto.lst*
-rwxrwxrwx 1 root root  6840 Aug 23 11:24 crypto.mod*
-rwxrwxrwx 1 root root 15776 Aug 23 11:24 cryptodisk.mod*
-rwxrwxrwx 1 root root  3864 Aug 23 11:24 cs5536.mod*
-rwxrwxrwx 1 root root  2688 Aug 23 11:24 ctz_test.mod*
-rwxrwxrwx 1 root root  3176 Aug 23 11:24 date.mod*
-rwxrwxrwx 1 root root  3008 Aug 23 11:24 datehook.mod*
-rwxrwxrwx 1 root root  1912 Aug 23 11:24 datetime.mod*
-rwxrwxrwx 1 root root  3096 Aug 23 11:24 disk.mod*
-rwxrwxrwx 1 root root 14608 Aug 23 11:24 diskfilter.mod*
-rwxrwxrwx 1 root root  1384 Aug 23 11:24 div.mod*
-rwxrwxrwx 1 root root  8280 Aug 23 11:24 div_test.mod*
-rwxrwxrwx 1 root root  2744 Aug 23 11:24 dm_nv.mod*
-rwxrwxrwx 1 root root  3040 Aug 23 11:24 echo.mod*
-rwxrwxrwx 1 root root 13264 Aug 23 11:24 efi_gop.mod*
-rwxrwxrwx 1 root root  7376 Aug 23 11:24 efi_uga.mod*
-rwxrwxrwx 1 root root  2280 Aug 23 11:24 efifwsetup.mod*
-rwxrwxrwx 1 root root 10136 Aug 23 11:24 efinet.mod*
-rwxrwxrwx 1 root root 25064 Aug 23 11:24 ehci.mod*
-rwxrwxrwx 1 root root  6264 Aug 23 11:24 elf.mod*
-rwxrwxrwx 1 root root  2192 Aug 23 11:24 eval.mod*
-rwxrwxrwx 1 root root  8024 Aug 23 11:24 exfat.mod*
-rwxrwxrwx 1 root root  2280 Aug 23 11:24 exfctest.mod*
-rwxrwxrwx 1 root root  8760 Aug 23 11:24 ext2.mod*
-rwxrwxrwx 1 root root  8144 Aug 23 11:24 fat.mod*
-rwxrwxrwx 1 root root 25288 Aug 23 11:24 file.mod*
-rwxrwxrwx 1 root root  3000 Aug 23 11:24 fixvideo.mod*
-rwxrwxrwx 1 root root 17384 Aug 23 11:24 font.mod*
-rwxrwxrwx 1 root root   214 Aug 23 11:24 fs.lst*
-rwxrwxrwx 1 root root  2408 Aug 23 11:24 gcry_arcfour.mod*
-rwxrwxrwx 1 root root  9264 Aug 23 11:24 gcry_blowfish.mod*
-rwxrwxrwx 1 root root 28664 Aug 23 11:24 gcry_camellia.mod*
-rwxrwxrwx 1 root root 14904 Aug 23 11:24 gcry_cast5.mod*
-rwxrwxrwx 1 root root  3920 Aug 23 11:24 gcry_crc.mod*
-rwxrwxrwx 1 root root 16936 Aug 23 11:24 gcry_des.mod*
-rwxrwxrwx 1 root root  3424 Aug 23 11:24 gcry_dsa.mod*
-rwxrwxrwx 1 root root  4088 Aug 23 11:24 gcry_idea.mod*
-rwxrwxrwx 1 root root  4200 Aug 23 11:24 gcry_md4.mod*
-rwxrwxrwx 1 root root  4624 Aug 23 11:24 gcry_md5.mod*
-rwxrwxrwx 1 root root  3264 Aug 23 11:24 gcry_rfc2268.mod*
-rwxrwxrwx 1 root root 20792 Aug 23 11:24 gcry_rijndael.mod*
-rwxrwxrwx 1 root root  7952 Aug 23 11:24 gcry_rmd160.mod*
-rwxrwxrwx 1 root root  3400 Aug 23 11:24 gcry_rsa.mod*
-rwxrwxrwx 1 root root 15480 Aug 23 11:24 gcry_seed.mod*
-rwxrwxrwx 1 root root 16736 Aug 23 11:24 gcry_serpent.mod*
-rwxrwxrwx 1 root root  7872 Aug 23 11:24 gcry_sha1.mod*
-rwxrwxrwx 1 root root  5464 Aug 23 11:24 gcry_sha256.mod*
-rwxrwxrwx 1 root root  7080 Aug 23 11:24 gcry_sha512.mod*
-rwxrwxrwx 1 root root 13600 Aug 23 11:24 gcry_tiger.mod*
-rwxrwxrwx 1 root root 33760 Aug 23 11:24 gcry_twofish.mod*
-rwxrwxrwx 1 root root 22880 Aug 23 11:24 gcry_whirlpool.mod*
-rwxrwxrwx 1 root root  9272 Aug 23 11:24 geli.mod*
-rwxrwxrwx 1 root root  8400 Aug 23 11:24 gettext.mod*
-rwxrwxrwx 1 root root 59256 Aug 23 11:24 gfxmenu.mod*
-rwxrwxrwx 1 root root 17632 Aug 23 11:24 gfxterm.mod*
-rwxrwxrwx 1 root root  4504 Aug 23 11:24 gfxterm_background.mod*
-rwxrwxrwx 1 root root  7808 Aug 23 11:24 gfxterm_menu.mod*
-rwxrwxrwx 1 root root  5152 Aug 23 11:24 gptsync.mod*
-rwxrwxrwx 1 root root   219 Aug 23 11:24 grub.cfg*
-rwxrwxrwx 1 root root 11424 Aug 23 11:24 gzio.mod*
-rwxrwxrwx 1 root root  6664 Aug 23 11:24 halt.mod*
-rwxrwxrwx 1 root root  8576 Aug 23 11:24 hashsum.mod*
-rwxrwxrwx 1 root root 11272 Aug 23 11:24 hdparm.mod*
-rwxrwxrwx 1 root root  3928 Aug 23 11:24 help.mod*
-rwxrwxrwx 1 root root  4456 Aug 23 11:24 hexdump.mod*
-rwxrwxrwx 1 root root  9968 Aug 23 11:24 hfs.mod*
-rwxrwxrwx 1 root root 10664 Aug 23 11:24 hfsplus.mod*
-rwxrwxrwx 1 root root  4304 Aug 23 11:24 hfspluscomp.mod*
-rwxrwxrwx 1 root root  9336 Aug 23 11:24 http.mod*
-rwxrwxrwx 1 root root  4624 Aug 23 11:24 iorw.mod*
-rwxrwxrwx 1 root root  8680 Aug 23 11:24 jfs.mod*
-rwxrwxrwx 1 root root  8696 Aug 23 11:24 jpeg.mod*
-rwxrwxrwx 1 root root  6376 Aug 23 11:24 keylayouts.mod*
-rwxrwxrwx 1 root root  3048 Aug 23 11:24 keystatus.mod*
-rwxrwxrwx 1 root root  8128 Aug 23 11:24 ldm.mod*
-rwxrwxrwx 1 root root 15912 Aug 23 11:24 legacy_password_test.mod*
-rwxrwxrwx 1 root root 44624 Aug 23 11:24 legacycfg.mod*
-rwxrwxrwx 1 root root 21048 Aug 23 11:24 linux.mod*
-rwxrwxrwx 1 root root 12712 Aug 23 11:24 linux16.mod*
-rwxrwxrwx 1 root root 12104 Aug 23 11:24 linuxefi.mod*
-rwxrwxrwx 1 root root  4632 Aug 23 11:24 loadbios.mod*
-rwxrwxrwx 1 root root  9424 Aug 23 11:24 loadenv.mod*
-rwxrwxrwx 1 root root  4728 Aug 23 11:24 loopback.mod*
-rwxrwxrwx 1 root root  6656 Aug 23 11:24 ls.mod*
-rwxrwxrwx 1 root root  7160 Aug 23 11:24 lsacpi.mod*
-rwxrwxrwx 1 root root  5256 Aug 23 11:24 lsefi.mod*
-rwxrwxrwx 1 root root  3640 Aug 23 11:24 lsefimmap.mod*
-rwxrwxrwx 1 root root  4200 Aug 23 11:24 lsefisystab.mod*
-rwxrwxrwx 1 root root  2928 Aug 23 11:24 lsmmap.mod*
-rwxrwxrwx 1 root root  7192 Aug 23 11:24 lspci.mod*
-rwxrwxrwx 1 root root  3808 Aug 23 11:24 lssal.mod*
-rwxrwxrwx 1 root root  9704 Aug 23 11:24 luks.mod*
-rwxrwxrwx 1 root root  9680 Aug 23 11:24 lvm.mod*
-rwxrwxrwx 1 root root  7416 Aug 23 11:24 lzopio.mod*
-rwxrwxrwx 1 root root  4896 Aug 23 11:24 macbless.mod*
-rwxrwxrwx 1 root root 10704 Aug 23 11:24 macho.mod*
-rwxrwxrwx 1 root root  2768 Aug 23 11:24 mdraid09.mod*
-rwxrwxrwx 1 root root  2768 Aug 23 11:24 mdraid09_be.mod*
-rwxrwxrwx 1 root root  2656 Aug 23 11:24 mdraid1x.mod*
-rwxrwxrwx 1 root root  4640 Aug 23 11:24 memrw.mod*
-rwxrwxrwx 1 root root  5552 Aug 23 11:24 minicmd.mod*
-rwxrwxrwx 1 root root  5584 Aug 23 11:24 minix2.mod*
-rwxrwxrwx 1 root root  5656 Aug 23 11:24 minix2_be.mod*
-rwxrwxrwx 1 root root  5616 Aug 23 11:24 minix3.mod*
-rwxrwxrwx 1 root root  5688 Aug 23 11:24 minix3_be.mod*
-rwxrwxrwx 1 root root  5560 Aug 23 11:24 minix_be.mod*
-rwxrwxrwx 1 root root  9384 Aug 23 11:24 mmap.mod*
-rwxrwxrwx 1 root root  5030 Aug 23 11:24 moddep.lst*
-rwxrwxrwx 1 root root  3352 Aug 23 11:24 morse.mod*
-rwxrwxrwx 1 root root 43392 Aug 23 11:24 mpi.mod*
-rwxrwxrwx 1 root root  3712 Aug 23 11:24 msdospart.mod*
-rwxrwxrwx 1 root root  2592 Aug 23 11:24 mul_test.mod*
-rwxrwxrwx 1 root root 20392 Aug 23 11:24 multiboot.mod*
-rwxrwxrwx 1 root root 23936 Aug 23 11:24 multiboot2.mod*
-rwxrwxrwx 1 root root  6608 Aug 23 11:24 nativedisk.mod*
-rwxrwxrwx 1 root root 87552 Aug 23 11:24 net.mod*
-rwxrwxrwx 1 root root  4528 Aug 23 11:24 newc.mod*
-rwxrwxrwx 1 root root 15072 Aug 23 11:24 ntfs.mod*
-rwxrwxrwx 1 root root  5800 Aug 23 11:24 ntfscomp.mod*
-rwxrwxrwx 1 root root  4328 Aug 23 11:24 odc.mod*
-rwxrwxrwx 1 root root  2208 Aug 23 11:24 offsetio.mod*
-rwxrwxrwx 1 root root 15784 Aug 23 11:24 ohci.mod*
-rwxrwxrwx 1 root root  2280 Aug 23 11:24 part_acorn.mod*
-rwxrwxrwx 1 root root  2592 Aug 23 11:24 part_amiga.mod*
-rwxrwxrwx 1 root root  3016 Aug 23 11:24 part_apple.mod*
-rwxrwxrwx 1 root root  4184 Aug 23 11:24 part_bsd.mod*
-rwxrwxrwx 1 root root  2640 Aug 23 11:24 part_dfly.mod*
-rwxrwxrwx 1 root root  2168 Aug 23 11:24 part_dvh.mod*
-rwxrwxrwx 1 root root  3224 Aug 23 11:24 part_gpt.mod*
-rwxrwxrwx 1 root root  2984 Aug 23 11:24 part_msdos.mod*
-rwxrwxrwx 1 root root  2488 Aug 23 11:24 part_plan.mod*
-rwxrwxrwx 1 root root  2232 Aug 23 11:24 part_sun.mod*
-rwxrwxrwx 1 root root  2488 Aug 23 11:24 part_sunpc.mod*
-rwxrwxrwx 1 root root   111 Aug 23 11:24 partmap.lst*
-rwxrwxrwx 1 root root    17 Aug 23 11:24 parttool.lst*
-rwxrwxrwx 1 root root  7264 Aug 23 11:24 parttool.mod*
-rwxrwxrwx 1 root root  2936 Aug 23 11:24 password.mod*
-rwxrwxrwx 1 root root  4440 Aug 23 11:24 password_pbkdf2.mod*
-rwxrwxrwx 1 root root  7320 Aug 23 11:24 pata.mod*
-rwxrwxrwx 1 root root  2024 Aug 23 11:24 pbkdf2.mod*
-rwxrwxrwx 1 root root  3464 Aug 23 11:24 pbkdf2_test.mod*
-rwxrwxrwx 1 root root  3520 Aug 23 11:24 pcidump.mod*
-rwxrwxrwx 1 root root  4048 Aug 23 11:24 play.mod*
-rwxrwxrwx 1 root root 10152 Aug 23 11:24 png.mod*
-rwxrwxrwx 1 root root  2208 Aug 23 11:24 priority_queue.mod*
-rwxrwxrwx 1 root root  4336 Aug 23 11:24 probe.mod*
-rwxrwxrwx 1 root root  3808 Aug 23 11:24 procfs.mod*
-rwxrwxrwx 1 root root  3088 Aug 23 11:24 progress.mod*
-rwxrwxrwx 1 root root  1976 Aug 23 11:24 raid5rec.mod*
-rwxrwxrwx 1 root root  3328 Aug 23 11:24 raid6rec.mod*
-rwxrwxrwx 1 root root  3624 Aug 23 11:24 random.mod*
-rwxrwxrwx 1 root root  2264 Aug 23 11:24 read.mod*
-rwxrwxrwx 1 root root  1848 Aug 23 11:24 reboot.mod*
-rwxrwxrwx 1 root root 76512 Aug 23 11:24 regexp.mod*
-rwxrwxrwx 1 root root 13976 Aug 23 11:24 reiserfs.mod*
-rwxrwxrwx 1 root root 26248 Aug 23 11:24 relocator.mod*
-rwxrwxrwx 1 root root  5632 Aug 23 11:24 romfs.mod*
-rwxrwxrwx 1 root root  7096 Aug 23 11:24 scsi.mod*
-rwxrwxrwx 1 root root 14608 Aug 23 11:24 serial.mod*
-rwxrwxrwx 1 root root  1032 Aug 23 11:24 setjmp.mod*
-rwxrwxrwx 1 root root  2616 Aug 23 11:24 setjmp_test.mod*
-rwxrwxrwx 1 root root  8328 Aug 23 11:24 setpci.mod*
-rwxrwxrwx 1 root root  3104 Aug 23 11:24 shift_test.mod*
-rwxrwxrwx 1 root root  8736 Aug 23 11:24 signature_test.mod*
-rwxrwxrwx 1 root root  3496 Aug 23 11:24 sleep.mod*
-rwxrwxrwx 1 root root  3424 Aug 23 11:24 sleep_test.mod*
-rwxrwxrwx 1 root root  3192 Aug 23 11:24 spkmodem.mod*
-rwxrwxrwx 1 root root  9856 Aug 23 11:24 squash4.mod*
-rwxrwxrwx 1 root root 29720 Aug 23 11:24 syslinuxcfg.mod*
-rwxrwxrwx 1 root root   162 Aug 23 11:24 terminal.lst*
-rwxrwxrwx 1 root root  6528 Aug 23 11:24 terminal.mod*
-rwxrwxrwx 1 root root 18904 Aug 23 11:24 terminfo.mod*
-rwxrwxrwx 1 root root  7632 Aug 23 11:24 test.mod*
-rwxrwxrwx 1 root root  2048 Aug 23 11:24 test_blockarg.mod*
-rwxrwxrwx 1 root root  3800 Aug 23 11:24 testload.mod*
-rwxrwxrwx 1 root root  3432 Aug 23 11:24 testspeed.mod*
-rwxrwxrwx 1 root root  8592 Aug 23 11:24 tftp.mod*
-rwxrwxrwx 1 root root  6376 Aug 23 11:24 tga.mod*
-rwxrwxrwx 1 root root  2344 Aug 23 11:24 time.mod*
-rwxrwxrwx 1 root root  3640 Aug 23 11:24 tr.mod*
-rwxrwxrwx 1 root root  2080 Aug 23 11:24 trig.mod*
-rwxrwxrwx 1 root root  1864 Aug 23 11:24 true.mod*
-rwxrwxrwx 1 root root 11248 Aug 23 11:24 udf.mod*
-rwxrwxrwx 1 root root  7640 Aug 23 11:24 ufs1.mod*
-rwxrwxrwx 1 root root  7800 Aug 23 11:24 ufs1_be.mod*
-rwxrwxrwx 1 root root  7640 Aug 23 11:24 ufs2.mod*
-rwxrwxrwx 1 root root 10032 Aug 23 11:24 uhci.mod*
-rwxrwxrwx 1 root root 15544 Aug 23 11:24 usb.mod*
-rwxrwxrwx 1 root root  5928 Aug 23 11:24 usb_keyboard.mod*
-rwxrwxrwx 1 root root 11016 Aug 23 11:24 usbms.mod*
-rwxrwxrwx 1 root root  2888 Aug 23 11:24 usbserial_common.mod*
-rwxrwxrwx 1 root root  3424 Aug 23 11:24 usbserial_ftdi.mod*
-rwxrwxrwx 1 root root  3784 Aug 23 11:24 usbserial_pl2303.mod*
-rwxrwxrwx 1 root root  2336 Aug 23 11:24 usbserial_usbdebug.mod*
-rwxrwxrwx 1 root root  5576 Aug 23 11:24 usbtest.mod*
-rwxrwxrwx 1 root root 20080 Aug 23 11:24 verify.mod*
-rwxrwxrwx 1 root root    41 Aug 23 11:24 video.lst*
-rwxrwxrwx 1 root root  8936 Aug 23 11:24 video.mod*
-rwxrwxrwx 1 root root  9016 Aug 23 11:24 video_bochs.mod*
-rwxrwxrwx 1 root root  9592 Aug 23 11:24 video_cirrus.mod*
-rwxrwxrwx 1 root root 10016 Aug 23 11:24 video_colors.mod*
-rwxrwxrwx 1 root root 29768 Aug 23 11:24 video_fb.mod*
-rwxrwxrwx 1 root root  5312 Aug 23 11:24 videoinfo.mod*
-rwxrwxrwx 1 root root  5456 Aug 23 11:24 videotest.mod*
-rwxrwxrwx 1 root root  3808 Aug 23 11:24 videotest_checksum.mod*
-rwxrwxrwx 1 root root 10416 Aug 23 11:24 xfs.mod*
-rwxrwxrwx 1 root root 41608 Aug 23 11:24 xnu.mod*
-rwxrwxrwx 1 root root  3256 Aug 23 11:24 xnu_uuid.mod*
-rwxrwxrwx 1 root root  3296 Aug 23 11:24 xnu_uuid_test.mod*
-rwxrwxrwx 1 root root 20176 Aug 23 11:24 xzio.mod*
-rwxrwxrwx 1 root root  8584 Aug 23 11:24 zfscrypt.mod*
guest@porteus:~$ 
The vmlinuz and initrd.xz in the /boot directory are of porteus
Ed_P wrote:
11 Sep 2018, 14:56
On my EFI system with Grub2Win I found this works for booting my Porteus USB drive.
Good, so narrowing it down, basically, here are the steps:
- Keep secure boot on
- Burn an ubuntu on a USB drive
- Run from USB and see that ubuntu runs with secure boot on
- Add an entry in the grub loader of ubuntu to boot porteus. You know how to do this already with grub2win.

User avatar
Ed_P
Contributor
Contributor
Posts: 4154
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Security Boot Fail

Post#11 by Ed_P » 11 Sep 2018, 16:33

That approach takes up a lot of space on the USB drive!
-rwxrwxrwx 1 root root 2392064 Aug 23 11:24 efi.img*
Plus all the /boot/grub/x86_64-efi files.

It would be nice to figure out how the Ubuntu system supports the Secure Boot option so Porteus can do it also.

But I think the Ubuntu approach is a little more complicated than Jack needs. I think he needs baby steps for his problem at this point. :)
Ed

Jack
Contributor
Contributor
Posts: 1541
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 4.0rc4 My Mate 64 bit
Location: USA

Security Boot Fail

Post#12 by Jack » 11 Sep 2018, 16:47

You use 1 partition and I use 2 partition because I am using a 32gb USB and partition is the FAT 32 Boot and partition 2 is the rest and it is EXT 4 the working partition. I been using this for years but now the Acer can use the EFI and that what I want to do. I don't use save.dat file.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

jssouza
DEV Team
DEV Team
Posts: 645
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Security Boot Fail

Post#13 by jssouza » 11 Sep 2018, 16:47

Ed_P wrote:
11 Sep 2018, 16:33
-rwxrwxrwx 1 root root 2392064 Aug 23 11:24 efi.img*
That's 2.4 MB :)
Ed_P wrote:
11 Sep 2018, 16:33
It would be nice to figure out how the Ubuntu system supports the Secure Boot option so Porteus can do it also.
You need to sign the grub bootloader. Ubuntu does it with Canonical's signature, fedora with red hat's

User avatar
Ed_P
Contributor
Contributor
Posts: 4154
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Security Boot Fail

Post#14 by Ed_P » 11 Sep 2018, 17:01

Jack wrote:
11 Sep 2018, 16:47
You use 1 partition and I use 2 partition because I am using a 32gb USB and partition is the FAT 32 Boot and partition 2 is the rest and it is EXT 4 the working partition. I been using this for years but now the Acer can use the EFI and that what I want to do. I don't use save.dat file.
That's fine Jack, you can use 2 partitions with EFI. And the install of Porteus 4.0 on a USB drive will boot on a EFI system if the Secure Boot option is disabled. What you have on your 1st partition is not a normal install of Porteus and needs to be fixed to boot. A normal Porteus 4.0 install creates the 1st partition for EFI support.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 4154
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Security Boot Fail

Post#15 by Ed_P » 11 Sep 2018, 17:09

jssouza wrote:
11 Sep 2018, 16:47
That's 2.4 MB :)
True. I misread.
You need to sign the grub bootloader. Ubuntu does it with Canonical's signature, fedora with red hat's
So basically you don't boot to Ubuntu you boot to grub. Interesting.
Ed

Post Reply