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 Mon 24 Sep 2018, 08:13
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Launch Puppy Linux live from a USB multi boot iso grub entry
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
jptsetung

Joined: 21 Feb 2018
Posts: 5

PostPosted: Wed 21 Feb 2018, 05:34    Post subject:  Launch Puppy Linux live from a USB multi boot iso grub entry  

Hi,

I'm trying to launch the PuppyLinux live iso from a a multiboot grub menuentry.

So far it didn't work.

I have this menu entry in my grub cfg file :
Code:
set root='(hd2,4)'
search --no-floppy --fs-uuid --set=root 8883-AD5A
loopback loop /ISOs/xenialpup-7.5-uefi.iso
linux (loop)/vmlinuz boot=casper  iso-scan/filename=/ISOs/xenialpup-7.5-uefi.iso pmedia=cd locale=en_US setkmap=fr bootkbd=fr console-setup/layoutcode=fr noeject --
initrd (loop)/initrd.gz


The iso file is on a fat32 partition on a bootable external hardrive. When I boot the computer, it successfully boot on the external hardrive, the grub menu is shown. I select the Puppy menu entry.

It seems to work at first, the grub seems to successfully initiate the process of loading the OS, but after a couple of seconds it stops, and the console says ; puppy_xenialpup_7.5.sfs not found on /dev/sdb3 I'll be able to post a screen shot of the error in a couple of hours.
Back to top
View user's profile Send private message 
jptsetung

Joined: 21 Feb 2018
Posts: 5

PostPosted: Wed 21 Feb 2018, 06:39    Post subject:  

Here is the screenshot of the puppy boot console

https://photos.app.goo.gl/XjuxHGMgEiD8R08C3
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1663
Location: Italy

PostPosted: Wed 21 Feb 2018, 06:55    Post subject: Re: Launch Puppy Linux live from a USB multi boot iso grub entry  

jptsetung wrote:

Code:
set root='(hd2,4)'
search --no-floppy --fs-uuid --set=root 8883-AD5A
loopback loop /ISOs/xenialpup-7.5-uefi.iso
linux (loop)/vmlinuz boot=casper  iso-scan/filename=/ISOs/xenialpup-7.5-uefi.iso pmedia=cd locale=en_US setkmap=fr bootkbd=fr console-setup/layoutcode=fr noeject --
initrd (loop)/initrd.gz



I would simply try:

Code:
menuentry "Xenialpup 7.5 uefi ISO " {
set root=(hd1,3)
loopback loop /ISOs/xenialpup-7.5-uefi.iso
linux (loop)/vmlinuz pmedia=usbhd pfix=fsck
initrd (loop)/initrd.gz
}
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4150
Location: King's Lynn, UK.

PostPosted: Wed 21 Feb 2018, 07:55    Post subject:  

@jpsetung:-

The whole problem you're encountering is down to one thing. In normal operation, GRUB2 simply doesn't 'see' Puppy. At all.

That's due to the way Puppy works.....especially with a 'frugal' install. You may get on better with a 'full' install (although that's only recommended for RAM-challenged machines, normally.....and you tend to lose out on many of Puppy's more awesome features, like being being able to load/unload SFS packages 'on-the-fly'.)

GRUB2 looks for a /boot folder, and I don't think even a 'full' Puppy install uses one of those. So, try watchdog's advice from above; you have to give GRUB2 different instructions as to how to 'see' Pup.


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
jptsetung

Joined: 21 Feb 2018
Posts: 5

PostPosted: Thu 22 Feb 2018, 05:25    Post subject:  

I tried watchdog's menuentry, but I still get the exact same error. I'll try to see if some multi boot usb tools know how to do it. I found this interesting one but no puppy linux entry https://github.com/thias/glim/tree/master/grub2
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1663
Location: Italy

PostPosted: Thu 22 Feb 2018, 06:34    Post subject:  

Try again my menuentry but before booting extract from the iso file the puppy_xenialpup_7.5.sfs and the zdrv_xenialpup_7.5.sfs at root directory of sdb3. I can boot xenialpup 7.5 ISO file in a sdb1 usb hd with the following menuentry:

Code:
menuentry "Xenialpup 7.5 ISO (frugal on sdb1)" {
set root=(hd1,1)
loopback loop /xenialpup-7.5-uefi.iso
linux (loop)/vmlinuz pmedia=usbhd psubdir=xenialpup-7.5 pfix=fsck
initrd (loop)/initrd.gz
}
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3383
Location: holland

PostPosted: Thu 22 Feb 2018, 15:45    Post subject:  

I have grub2 installed on one of my USB sticks and a normal frugal install works fine for me (formatted as ext2).
EDIT: Tried when formatted as ext4, works fine also.
(extracted the contents of the Tahr ISO in folder "tahr")

Code:
menuentry "Puppy Tahr" {
set root=(hd0,1)
linux /tahr/vmlinuz psubdir=tahr pfix=fsck
initrd /tahr/initrd.gz
}


Booting straight from puppy ISO I never could make it work with grub2, tried a lot.
(however, didn't do what watchdog suggested in previous post)

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
jafadmin

Joined: 19 Mar 2009
Posts: 843

PostPosted: Thu 22 Feb 2018, 18:26    Post subject:  

If you drop a copy of the puppy_xenialpup_7.5.sfs on sda3, it should boot.

It's a limitation of Grub2
Back to top
View user's profile Send private message 
jptsetung

Joined: 21 Feb 2018
Posts: 5

PostPosted: Fri 23 Feb 2018, 05:34    Post subject:  

OK thank you all, I'll probably try to extract the ISO somewhere then, I'll let you know.
Back to top
View user's profile Send private message 
jptsetung

Joined: 21 Feb 2018
Posts: 5

PostPosted: Fri 23 Feb 2018, 09:37    Post subject:  

Nice, it's working! Thank you all.

So in the end here is the process.

Unarchive the .iso somewhere, corresponding to the $basepath variable in the menuentry.

And use this menuentry (note I used parameters to set the default layout to azerty, not sure which options are useful, but in the end it works, but my puppy was in azerty after the boot) (8883-AD5A is the partition uuid where the .iso was unarchived).

Code:
search --no-floppy --fs-uuid --set=root 8883-AD5A
set basepath="/ISOs/xenialpup-7.5-uefi "
set azerty="pkeys=fr setkmap=fr bootkbd=fr console-setup/layoutcode=fr"
linux ${basepath}/vmlinuz psubdir=$basepath pfix=fsck $azerty
initrd ${basepath}/initrd.gz
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0453s ][ Queries: 12 (0.0068s) ][ GZIP on ]