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 Sat 18 May 2013, 16:23
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to boot Puppy from iso on USB flash drive?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
piviul

Joined: 06 Jul 2011
Posts: 2

PostPosted: Wed 06 Jul 2011, 09:45    Post subject:  How to boot Puppy from iso on USB flash drive?
Subject description: Can I just configure grub to do it?
 

Hi all, I have a USB pen drive where I've installed grub and copied on it some iso images of linux distributions and I have configured grub to boot them directly. I've tried booting puppy linux 5.25 iso image but I get the error lupu_525.sfs not found. But I can find it on the iso image! The iso images are all on the root of the pen drive and this is the puppy relative portion of the grub.cfg:

menuentry "Puppy Linux 5.25 k 2.6.32 " {
loopback loop /lupu-525.iso
linux (loop)/vmlinuz iso-scan/filename=/lupu-525.iso
initrd (loop)/initrd.gz
}

Have you any idea how can I configure grub.cfg to boot the iso directly?

Thank you very much

Piviul
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 7741
Location: Stratford, Ontario

PostPosted: Wed 06 Jul 2011, 10:07    Post subject:  

Some Linux ISO's can be booted directly, but Puppy is not one of them. Because the lupu_525.sfs file is buried inside the ISO, Puppy can't find it.

However, if you extract that file from the ISO and copy it to the root of the flash drive, it may boot.

[edit] But that might not work either, because Puppy usually requires the "pmedia=usbflash" argument to boot off a USB device.

Also, read here.

Last edited by rcrsn51 on Wed 06 Jul 2011, 10:14; edited 1 time in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 3687
Location: Charleston S.C. USA

PostPosted: Wed 06 Jul 2011, 10:12    Post subject:  

Maybe this,

Change the initrd line to this:
initrd (loop)/initrd.gz iso-scan/filename=/lupu-525.iso

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 7741
Location: Stratford, Ontario

PostPosted: Wed 06 Jul 2011, 11:23    Post subject:  

To boot a Puppy from GRUB2 on a flash drive, it may be simpler to NOT use the ISO.

Make a folder like /lupu525 and copy the three core files from the ISO - vmlinuz, initrd.gz and lupu_525.sfs.

Use the following GRUB2 entry.
Code:
menuentry "Puppy Linux 5.25 " {
setroot='(hd0,1)'
linux /lupu525/vmlinuz psubdir=lupu525 pmedia=usbflash
initrd /lupu525/initrd.gz
}
Back to top
View user's profile Send private message 
piviul

Joined: 06 Jul 2011
Posts: 2

PostPosted: Thu 07 Jul 2011, 04:11    Post subject:  

ok, thank you very much, now the problem is more clear.

Have a nice day

Piviul
Back to top
View user's profile Send private message 
cthisbear

Joined: 29 Jan 2006
Posts: 2942
Location: Sydney Australia

PostPosted: Thu 07 Jul 2011, 07:00    Post subject:  

Hiren's method is good.

Won't boot >> from ISO

but extract with 7 zip.

http://murga-linux.com/puppy/viewtopic.php?t=69655

Chris.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 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.0481s ][ Queries: 11 (0.0100s) ][ GZIP on ]