Quirky Xerus 8.6 (Aug. 16), Beaver 8.7.1 (Sept. 21), 2018

Please post any bugs you have found
Message
Author
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#61 Post by jamesbond »

linuxcbon wrote:I am pretty sure that you dont need to do all that stuff and that isohybrid can do it alone with "-u" 8) .
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 :wink:
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]

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#62 Post by linuxcbon »

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 :wink:
many distributions use it and it works...So why doesnt it work for you ?
(I cant test, I dont have any UEFI, so I will let other people test it).

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#63 Post by jamesbond »

linuxcbon wrote:many distributions use it and it works...So why doesnt it work for you ?
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.
(I cant test, I dont have any UEFI, so I will let other people test it).
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? :lol: But you are right to question me. Don't take anything you hear for granted.

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]

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#64 Post by slavvo67 »

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


linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#66 Post by linuxcbon »

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.
... :lol:

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#67 Post by linuxcbon »

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 :wink:
ok I 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
Damn, I need to study the topic... :?

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#68 Post by BarryK »

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.
Just when I was lamenting that I don't have a UEFI PC with inbuilt optical drive!

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]

gcmartin

#69 Post by gcmartin »

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.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#70 Post by jamesbond »

BarryK wrote:Just when I was lamenting that I don't have a UEFI PC with inbuilt optical drive!
Now you don't have any excuse :lol:
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.
Image
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?
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.
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.
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.
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]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#71 Post by BarryK »

jamesbond wrote:
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?
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.
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.
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.
It is very much a work in progress.

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/
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.
[url]https://bkhome.org/news/[/url]

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#72 Post by jamesbond »

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
EDIT: The only downside to xorriso is that its iso9960_1999 ("iso-level 4" in cdrtools' mkisofs) is not working, as late as version 1.4.0. I haven't tried newer version. Impact: Windows can't see the long filenames. But if this is not a concern, then xorriso is good to go.
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.
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.
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]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#73 Post by BarryK »

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.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#74 Post by BarryK »

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
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.
[url]https://bkhome.org/news/[/url]

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#75 Post by linuxcbon »

BarryK wrote:OK, I have created an ISO for testing!
wow you are fast :) I am still learning how to use isohybrid LOL.

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#76 Post by linuxcbon »

Quirky Xerus 7.90

- 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!
- all programs have this

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
- 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

Code: Select all

*** BUG ***
In pixman_region32_reset: Malformed region region
Set a breakpoint on '_pixman_log_error' to debug

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#77 Post by jamesbond »

BarryK wrote:jamesbond,
Yes, I have only used syslinux/isolinux, and have two vmlinuz and initrd.
Gaaaah!! :evil: I wasn't aware of this earlier.
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 312 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]

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Quirky Xerus 7.90 (8.0beta)

#78 Post by Billtoo »

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.
Attachments
screenshot.jpg
(77.31 KiB) Downloaded 2056 times

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: Quirky Xerus 7.90 (8.0beta)

#79 Post by BarryK »

Billtoo wrote:I booted the dvd on my macmini, efi wouldn't boot but it did boot from
the other.
What do you mean by "other"?
Legacy Boot enabled?

Anyway, I haven't researched booting on a Mac.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#80 Post by BarryK »

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.
OK, got it.
[url]https://bkhome.org/news/[/url]

Post Reply