- find --set-root /TESTRUN/initrd.gz
- root (hd0,1)
- uuid 65a8ce93-769e-425a-b02b-e32494af59ef
Here to help
This problem arises because easy2boot presents the puppy files on an iso, and isofs is defined to be a readonly filesystem. Effectively Puppy "thinks" it is running from a CD not a USB stick.Scooby wrote:
...
During boot press F2 key
and then write the following
then savefile will work, This can be somewhat tedious so will see if it can be automated somehow?Code: Select all
puppy psavemark=1
Code: Select all
append initrd=initrd.gz pmedia=usbflash
Code: Select all
# Extract files to /precise (only vmlinuz, initrd.gz and sfs needed)
# rename PUPPY_PR.SFS to lower case puppy_precise_5.4.3.sfs
title Precise
kernel /precise/vmlinuz pmedia=usbflash psubdir=precise fix=fsck psavemark=1
initrd /precise/initrd.gz
# Extract sfs to /precise
# rename PUPPY_PR.SFS to lower case puppy_precise_5.4.3.sfs and place in \precise folder
title puppy boot from ISO
map /_ISO/Linux/precise-5.4.3.iso (0xff)
map --hook
root (0xff)
kernel /vmlinuz pmedia=usbflash psavemark=1 fix=fsck psubdir=precise
initrd /initrd.gz
trueriver wrote:Scooby wrote:...
Alternative 2 - the second easiest way
This did not work for me with the instructions as given (at least if I understood them correctly). I did find a slightly different way to do things.
I created a script for editing ISO'strueriver wrote: 2. Workaround for existing Puppy iso
Extract the iso file to a folder on disk, alter the file isolinux.cfg changing cd to usbflash so the last line now readsand then re-create the iso from that folder. This process of extract->replace->rebuild could easily be automated.Code: Select all
append initrd=initrd.gz pmedia=usbflash
rmprep wrote:You can boot from ISO but you need to extract the sfs file - so you might as well just extract all three files.
here are both menu entries for precise sku - use whichever one you like and you can change the folder name if you like to match your distro.
I am not sure if the fix=fsck is required - seems to work OK without it.Code: Select all
# Extract files to /precise (only vmlinuz, initrd.gz and sfs needed) # rename PUPPY_PR.SFS to lower case puppy_precise_5.4.3.sfs title Precise kernel /precise/vmlinuz pmedia=usbflash psubdir=precise fix=fsck psavemark=1 initrd /precise/initrd.gz # Extract sfs to /precise # rename PUPPY_PR.SFS to lower case puppy_precise_5.4.3.sfs and place in \precise folder title puppy boot from ISO map /_ISO/Linux/precise-5.4.3.iso (0xff) map --hook root (0xff) kernel /vmlinuz pmedia=usbflash psavemark=1 fix=fsck psubdir=precise initrd /initrd.gz
Note: ONLY WORKS ON REAL SYSTEM and NOT in QEMU!
I used a FAT32 USB boot drive and settings were not saved on exit.
They may be saved if you use ext2 format.
Code: Select all
title puppy boot from ISO
partnew (hd0,3) 0x00 (hd0,0)/_ISO/Linux/precise-5.4.3.iso
map (hd0,0)/_ISO/Linux/precise-5.4.3.iso (0xff)
map --hook
root (0xff)
kernel /vmlinuz pmedia=usbflash psavemark=1 fix=fsck psubdir=precise
initrd /initrd.gz
HiSteve I know this works as well and needs no extraction of files from ISO.Code: Select all
title puppy boot from ISO partnew (hd0,3) 0x00 (hd0,0)/_ISO/Linux/precise-5.4.3.iso map (hd0,0)/_ISO/Linux/precise-5.4.3.iso (0xff) map --hook root (0xff) kernel /vmlinuz pmedia=usbflash psavemark=1 fix=fsck psubdir=precise initrd /initrd.gz
Is there any special reason you don't recommend using it this way?
Code: Select all
title puppy boot from ISO
partnew (hd0,3) 0x00 (hd0,0)/_ISO/Linux/precise-5.4.3.iso
map (hd0,0)/_ISO/Linux/precise-5.4.3.iso (0xff)
map --hook
root (0xff)
kernel /vmlinuz pmedia=usbflash psavemark=1 fix=fsck
initrd /initrd.gz
This does not work with most flavours of linux. That is why people who are familiar with Grub4dos will tend not to think of this option, and (I am guessing) this might well be one of the motivations behind the easy2boot extensions to grub4dos. And indeed it is why I personally was delighted to be pointed towards that project by this thread.Scooby wrote:...
Steve I know this works as well and needs no extraction of files from ISO.Code: Select all
title puppy boot from ISO partnew (hd0,3) 0x00 (hd0,0)/_ISO/Linux/precise-5.4.3.iso map (hd0,0)/_ISO/Linux/precise-5.4.3.iso (0xff) map --hook root (0xff) kernel /vmlinuz pmedia=usbflash psavemark=1 fix=fsck psubdir=precise initrd /initrd.gz
Is there any special reason you don't recommend using it this way?
Just to let you know I have now got this working, and have posted a separate HowTo heretrueriver wrote:...
Ideas.
...
4. Make a "mongrel" easy2boot and permanent system.
...
nooby wrote: How are your latest
0 version compared to rcrsn51's Isobooter
I have not tested using "0". but, have, in the past weeks found Easy2Boot extremely simple without requiring the need to "reset" the GRUB4DOS menu system that ISObooter requires.nooby wrote:isobooter is extremely easy to use.
I'll test your Alternative 0 now
within 30 minute or so. Rebooting ...