| Author |
Message |
piviul
Joined: 06 Jul 2011 Posts: 2
|
Posted: 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
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7741 Location: Stratford, Ontario
|
Posted: 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
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 3687 Location: Charleston S.C. USA
|
Posted: 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
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7741 Location: Stratford, Ontario
|
Posted: 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
|
|
 |
piviul
Joined: 06 Jul 2011 Posts: 2
|
Posted: 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
|
|
 |
cthisbear
Joined: 29 Jan 2006 Posts: 2942 Location: Sydney Australia
|
Posted: 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
|
|
 |
|