Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 19 Nov 2017, 05:06
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Quirky Xerus 8.3 for x86_64, released July 29, 2017
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 48 [711 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 46, 47, 48 Next
Author Message
jamesbond

Joined: 26 Feb 2007
Posts: 3073
Location: The Blue Marble

PostPosted: Sun 17 Apr 2016, 09:04    Post subject:  

linuxcbon wrote:
I am pretty sure that you dont need to do all that stuff and that isohybrid can do it alone with "-u" Cool .

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, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
linuxcbon

Joined: 09 Aug 2007
Posts: 1165

PostPosted: Sun 17 Apr 2016, 09:54    Post subject:  

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).
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3073
Location: The Blue Marble

PostPosted: Sun 17 Apr 2016, 10:07    Post subject:  

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.

Quote:
(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? Laughing 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/viewtopic.php?p=896765#896765.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 1425
Location: The other Mr. 305

PostPosted: Sun 17 Apr 2016, 12:18    Post subject:  

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
Back to top
View user's profile Send private message 
linuxcbon

Joined: 09 Aug 2007
Posts: 1165

PostPosted: Sun 17 Apr 2016, 14:22    Post subject:  

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)...
Back to top
View user's profile Send private message 
linuxcbon

Joined: 09 Aug 2007
Posts: 1165

PostPosted: Sun 17 Apr 2016, 14:25    Post subject:
Subject description: tr reverted to busybox
 

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.


... Laughing
Back to top
View user's profile Send private message 
linuxcbon

Joined: 09 Aug 2007
Posts: 1165

PostPosted: Sun 17 Apr 2016, 14:38    Post subject:  

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:
 # 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... Confused
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8312
Location: Perth, Western Australia

PostPosted: Mon 18 Apr 2016, 01:18    Post subject:  

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/viewtopic.php?p=896765#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.

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Mon 18 Apr 2016, 01:40    Post subject:  

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.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3073
Location: The Blue Marble

PostPosted: Mon 18 Apr 2016, 02:40    Post subject:  

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 Laughing

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


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

Quote:
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, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8312
Location: Perth, Western Australia

PostPosted: Mon 18 Apr 2016, 03:38    Post subject:  

jamesbond wrote:
Quote:
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.

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

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 3073
Location: The Blue Marble

PostPosted: Mon 18 Apr 2016, 04:11    Post subject:  

BarryK wrote:
Actually, I used xorriso, it has some isohybrid options:

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

Quote:
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, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8312
Location: Perth, Western Australia

PostPosted: Mon 18 Apr 2016, 08:59    Post subject:  

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.

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8312
Location: Perth, Western Australia

PostPosted: Mon 18 Apr 2016, 09:08    Post subject:  

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.

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
linuxcbon

Joined: 09 Aug 2007
Posts: 1165

PostPosted: Mon 18 Apr 2016, 09:16    Post subject:  

BarryK wrote:
OK, I have created an ISO for testing!

wow you are fast Smile I am still learning how to use isohybrid LOL.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 48 [711 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 46, 47, 48 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0625s ][ Queries: 12 (0.0055s) ][ GZIP on ]