Surety is one thing - but the proof is in the pudding. Take any older puppy ISO that is known not to be UEFI-capable (*not* slacko 6.3.0.6), then run "isohybrid -u" and see what's you gotlinuxcbon wrote:I am pretty sure that you dont need to do all that stuff and that isohybrid can do it alone with "-u" .
Quirky Xerus 8.6 (Aug. 16), Beaver 8.7.1 (Sept. 21), 2018
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
many distributions use it and it works...So why doesnt it work for you ?jamesbond wrote:Surety is one thing - but the proof is in the pudding. Take any older puppy ISO that is known not to be UEFI-capable (*not* slacko 6.3.0.6), then run "isohybrid -u" and see what's you got
(I cant test, I dont have any UEFI, so I will let other people test it).
I didn't say it doesn't work. I said that it wouldn't work if you didn't prepare the ISO correctly. I said that you cannot take any random ISO and make it UEFI-bootable just by running isohybrid -u on it.linuxcbon wrote:many distributions use it and it works...So why doesnt it work for you ?
You can. As I said, download any non-UEFI puppy.iso, then try to run that "isohybrid -u" on the ISO. See what message you'll get. You don't even need to get to the step of attempting to boot it. I can copy and paste the message I've gotten when *I* do that, but then if you believed everything I said from the beginning we wouldn't have this conversation, do we? But you are right to question me. Don't take anything you hear for granted.(I cant test, I dont have any UEFI, so I will let other people test it).
Oh, you also don't need UEFI machines to test. I've outlined how you can do it at the comfort of your BIOS machine: http://www.murga-linux.com/puppy/viewto ... 765#896765.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
Hi BarryK:
If you are going completely back to the .iso standard, can you possibly repost in more detail how you create the usfs.xz files in the past? I tried to follow your previous posts about it but failed to recreate. Perhaps a walk-through?
Much appreciated if you could take the time.
Best,
Slavvo67
If you are going completely back to the .iso standard, can you possibly repost in more detail how you create the usfs.xz files in the past? I tried to follow your previous posts about it but failed to recreate. Perhaps a walk-through?
Much appreciated if you could take the time.
Best,
Slavvo67
Hints for some missing libs :
http://packages.ubuntu.com/xenial/libcg
http://packages.ubuntu.com/xenial/libcggl
http://packages.ubuntu.com/xenial/libpng16-16
http://packages.ubuntu.com/xenial/libmikmod3
http://packages.ubuntu.com/xenial/libsdl-mixer1.2
http://packages.ubuntu.com/xenial/libsdl2-2.0-0
http://packages.ubuntu.com/xenial/libsdl-ttf2.0-0
http://packages.ubuntu.com/xenial/libenet7
http://packages.ubuntu.com/xenial/shared-mime-info
http://packages.ubuntu.com/xenial/xdg-user-dirs
http://packages.ubuntu.com/xenial/xdg-utils
there are others, but these ones are the most important (for some games and steam and firefox especially)...
http://packages.ubuntu.com/xenial/libcg
http://packages.ubuntu.com/xenial/libcggl
http://packages.ubuntu.com/xenial/libpng16-16
http://packages.ubuntu.com/xenial/libmikmod3
http://packages.ubuntu.com/xenial/libsdl-mixer1.2
http://packages.ubuntu.com/xenial/libsdl2-2.0-0
http://packages.ubuntu.com/xenial/libsdl-ttf2.0-0
http://packages.ubuntu.com/xenial/libenet7
http://packages.ubuntu.com/xenial/shared-mime-info
http://packages.ubuntu.com/xenial/xdg-user-dirs
http://packages.ubuntu.com/xenial/xdg-utils
there are others, but these ones are the most important (for some games and steam and firefox especially)...
...BarryK wrote:Ha ha, have run into a problem with using the full 'tr' utility from 'coreutils', see my blog report:
http://barryk.org/news/?viewDetailed=00334
The next build will have the busybox tr.
ok I gotjamesbond wrote: Surety is one thing - but the proof is in the pudding. Take any older puppy ISO that is known not to be UEFI-capable (*not* slacko 6.3.0.6), then run "isohybrid -u" and see what's you got
Code: Select all
# isohybrid -u precise-5.7.1.iso
isohybrid: precise-5.7.1.iso: unable to find efi image
# isohybrid -u werewolf64-7.4.iso
isohybrid: werewolf64-7.4.iso: unable to find efi image
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Just when I was lamenting that I don't have a UEFI PC with inbuilt optical drive!jamesbond wrote:Oh, you also don't need UEFI machines to test. I've outlined how you can do it at the comfort of your BIOS machine: http://www.murga-linux.com/puppy/viewto ... 765#896765.
Note, I tried to boot from external USB optical drive on my Asus E200HA UEFI baby laptop, but the firmware won't recognise its existence.
I'm currently playing with isohybrid, and have had partial success.
I used 'dd' to copy the .iso file to a flash drive, and booted on my baby laptop.
jamesbond,
What do you think? If my iso will boot on a flash drive, is that a pretty good indicator that it will also boot on an internal optical drive?
Note, I had to do some black magic to get my UEFI-firmware to recognise the esp fat image file 'efiboot.img' that I created in the iso.
[url]https://bkhome.org/news/[/url]
Barry, I saw your blog on coreutils. I understand.
But, @Musher0 seems to offer some help and insight with this thread. If useful, you might consider it as it could reduce your work in bash in the future.
You may have already seen it. He does echo comments you've made.
This is just a minor thought that may be helpful in your moving forward.
But, @Musher0 seems to offer some help and insight with this thread. If useful, you might consider it as it could reduce your work in bash in the future.
You may have already seen it. He does echo comments you've made.
This is just a minor thought that may be helpful in your moving forward.
Now you don't have any excuseBarryK wrote:Just when I was lamenting that I don't have a UEFI PC with inbuilt optical drive!
I'm currently playing with isohybrid, and have had partial success.
I used 'dd' to copy the .iso file to a flash drive, and booted on my baby laptop.
If you use "isohybrid -u" to make it bootable on flash, and the boot from flash is the UEFI boot (not BIOS boot), then yes, the iso will probably boot on optical drive too.jamesbond,
What do you think? If my iso will boot on a flash drive, is that a pretty good indicator that it will also boot on an internal optical drive?
What do you use for making the ISO? cdrkit's mkisofs is not a good choice. Use either xorriso, or cdrtool's mkisofs. I had to use blackmagic too when I still used cdrkit's mkisofs.Note, I had to do some black magic to get my UEFI-firmware to recognise the esp fat image file 'efiboot.img' that I created in the iso.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
It is very much a work in progress.jamesbond wrote:If you use "isohybrid -u" to make it bootable on flash, and the boot from flash is the UEFI boot (not BIOS boot), then yes, the iso will probably boot on optical drive too.jamesbond,
What do you think? If my iso will boot on a flash drive, is that a pretty good indicator that it will also boot on an internal optical drive?
What do you use for making the ISO? cdrkit's mkisofs is not a good choice. Use either xorriso, or cdrtool's mkisofs. I had to use blackmagic too when I still used cdrkit's mkisofs.Note, I had to do some black magic to get my UEFI-firmware to recognise the esp fat image file 'efiboot.img' that I created in the iso.
Actually, I used xorriso, it has some isohybrid options:
Code: Select all
xorriso -as mkisofs -o ${ISONAME} -isohybrid-mbr isohdpfx.bin \
-c boot.cat -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table \
-eltorito-alt-boot -e efiboot.img -no-emul-boot -isohybrid-gpt-basdat ./build/
[url]https://bkhome.org/news/[/url]
.BarryK wrote:Actually, I used xorriso, it has some isohybrid options:
Code: Select all
xorriso -as mkisofs -o ${ISONAME} -isohybrid-mbr isohdpfx.bin \ -c boot.cat -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table \ -eltorito-alt-boot -e efiboot.img -no-emul-boot -isohybrid-gpt-basdat ./build/
Yes, this will do. No "isohybrid -u" is needed in this case (the gpt-basdat takes care of that). My xorriso incantation is similar, but I don't use the "-as mkisofs" so all the options are xorriso native options:
Code: Select all
xorriso -dev "/path/to/output.iso \
-volid "FATDOG_LIVE" \
-compliance "iso_9660_level=3:iso_9660_1999" \
-map "/path/to/iso-root" / \
-boot_image isolinux dir=/ \
-boot_image isolinux system_area=/usr/share/syslinux/isohdpfx.bin \
-boot_image isolinux partition_table=on \
-boot_image isolinux next \
-boot_image any efi_path=efiboot.img \
-boot_image isolinux partition_entry=gpt_basdat
Yes, this means it works. Do you use grub2-efi, or still the syslinux-efi? If you use syslinux-efi, you need to keep two copies of vmlinuz and initrd: one in the iso-root (for BIOS isolinux), another one inside efiboot.img (for syslinux-efi). If you use grub2-efi you only need to keep one copy, in the iso-root.I then used 'dd' to write the iso to a USB stick, and hey, my baby laptop recognised it, even (started) to boot -- it loaded vmlinuz, but I haven't yet put an initrd into it. One step at a time.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
OK, I have created an ISO for testing!
Here it is, feedback requested:
http://barryk.org/news/?viewDetailed=00341
jamesbond,
Yes, I have only used syslinux/isolinux, and have two vmlinuz and initrd.
I have a script in woofQ that creates this ISO. I will upload woofQ after releasing Quirky Xerus 8.0.
Here it is, feedback requested:
http://barryk.org/news/?viewDetailed=00341
jamesbond,
Yes, I have only used syslinux/isolinux, and have two vmlinuz and initrd.
I have a script in woofQ that creates this ISO. I will upload woofQ after releasing Quirky Xerus 8.0.
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
You need to get hold of woofQ. I plan to upload it after releasing Quirky 8.0. Might upload woofQ as a tarball, as an alternative to my Bones version control system.slavvo67 wrote:Hi BarryK:
If you are going completely back to the .iso standard, can you possibly repost in more detail how you create the usfs.xz files in the past? I tried to follow your previous posts about it but failed to recreate. Perhaps a walk-through?
Much appreciated if you could take the time.
Best,
Slavvo67
[url]https://bkhome.org/news/[/url]
Quirky Xerus 7.90
- internet not connected by default !
solved with
- all programs have this
-
- pmount slow to start ("probing hardware")
- gparted doesnt reckognize EFI partition in stick, but fdisk does show.
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 716799 716800 350M 0 Empty
/dev/sdb2 136 16519 16384 8M ef EFI (FAT-12/16/32)
- seamonkey
- internet not connected by default !
solved with
Code: Select all
# network_default_connect
# route: SIOCADDRT: File exists
Waiting for interfaces to initialize...
configuring network interface eth0
cheching if interface eth0 is alive...yes
dhcpcd[29590]: sending commands to master dhcpcd process
dhcpcd[29590]: send OK
Success!
Code: Select all
Unable to update the static FcBlanks: 0x2028
Code: Select all
# ppm
tr: warning: an unescaped backslash at end of string is not portable
- gparted doesnt reckognize EFI partition in stick, but fdisk does show.
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 716799 716800 350M 0 Empty
/dev/sdb2 136 16519 16384 8M ef EFI (FAT-12/16/32)
- seamonkey
Code: Select all
*** BUG ***
In pixman_region32_reset: Malformed region region
Set a breakpoint on '_pixman_log_error' to debug
Gaaaah!! I wasn't aware of this earlier.BarryK wrote:jamesbond,
Yes, I have only used syslinux/isolinux, and have two vmlinuz and initrd.
http://www.syslinux.org/archives/2015-April/023381.html
http://www.syslinux.org/archives/2015-O ... 24469.html
Just for fun - testing was done in qemu:
a) grub2-efi works (tested)
b) gummiboot works (tested) - gummiboot recently renamed as "systemd-boot" but it actually has nothing to do with systemd except that it's developed by the same guy (no, not Lennard - it's Kay).
EDIT : C) or you may want to try refind : http://www.rodsbooks.com/refind/
After booting, it fails to start desktop, because of missing fbdev Xorg driver. modesetting driver doesn't work, vesa doesn't work. It should probably work on real machine with intel/radeon/nvidia card.
If you prefer gummiboot, the bootloader is attached. For example of how to use it, I've uploaded the FAT image here: http://www.lightofdawn.org/g.img. Use this g.img instead of efiboot.img and quirky will boot.
Note: let me know when you've grabbed this g.img. I'll remove it after that.
@linuxcbon: http://www.syslinux.org/wiki/index.php? ... ybrid#UEFI - isohybrid only adds GPT partition tables to make the efiboot.img visible as ESP. But you need to have efiboot.img already *inside* the ISO to begin with. That's why "isohybrid -u" fails for some random non-UEFI ISO.
- Attachments
-
- gummibootx64.efi.gz
- Gunzip before use.
Source: https://cgit.freedesktop.org/gummiboot/
Doc: https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/ - (32.8 KiB) Downloaded 315 times
Last edited by jamesbond on Mon 18 Apr 2016, 15:26, edited 1 time in total.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
Quirky Xerus 7.90 (8.0beta)
I booted the dvd on my macmini, efi wouldn't boot but it did boot from
the other.
I ran the installer and did a frugal install to a 32gb usb-3.0 flash
drive.
I moved the flash drive to an Acer laptop and it booted, I've rebooted
a couple of times since choosing save, I added gkrellm with QPM.
Seems to be working okay so far.
the other.
I ran the installer and did a frugal install to a 32gb usb-3.0 flash
drive.
I moved the flash drive to an Acer laptop and it booted, I've rebooted
a couple of times since choosing save, I added gkrellm with QPM.
Seems to be working okay so far.
- Attachments
-
- screenshot.jpg
- (77.31 KiB) Downloaded 2056 times
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: Quirky Xerus 7.90 (8.0beta)
What do you mean by "other"?Billtoo wrote:I booted the dvd on my macmini, efi wouldn't boot but it did boot from
the other.
Legacy Boot enabled?
Anyway, I haven't researched booting on a Mac.
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
OK, got it.jamesbond wrote:If you prefer gummiboot, the bootloader is attached. For example of how to use it, I've uploaded the FAT image here: http://www.lightofdawn.org/g.img. Use this g.img instead of efiboot.img and quirky will boot.
Note: let me know when you've grabbed this g.img. I'll remove it after that.
[url]https://bkhome.org/news/[/url]