| Author |
Message |
nooby
Joined: 29 Jun 2008 Posts: 9389 Location: SwedenEurope
|
Posted: Tue 10 Apr 2012, 02:11 Post subject:
How to rebuild Puppy iso for easy USB boot? |
|
I found this one on another forum.
I fail to get what he is doing. But it is a kind of rebuild of iso
to be able to boot it from usb and he see that as more practical?
Would it still be able to make use of save file or is it always fresh.
If it is always fresh can one build into the new iso the changes one needs like Swedish keyboard, Adobe Flash player and so on?
http://reboot.pro/5041/page__st__50
| Quote: | Posted 07 November 2010 - 01:13 PM
Wary 0.9.6 (Puppy Linux family)
Download:
http://distro.ibiblio.org/pub/linux/distri...uirky/wary-096/
The ISO needs to be modified; you need to move the SFS files into the initramfs.
Here's how I did it on Linux:
Create a build folder:
mkdir build && cd build
Extract the ISO (alternatively, you can mount it then copy the files to build folder):
7z x ../wary-096.iso
Remove unneeded files:
rm -rf \[BOOT\]
rm -f boot.cat
Unpack initramfs:
mkdir initrd-tree && cd initrd-tree
zcat ../initrd.gz | cpio -id --no-absolute-filenames
Move SFS files into initramfs:
mv ../*.sfs .
Rebuild initramfs:
find | cpio -o -H newc | gzip -9 > ../initrd.gz
Remove temp folder:
cd ..
rm -rf initrd-tree
And finally, rebuild the ISO:
cd ..
mkisofs -D -R -o wary-096_humongous.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table build/
Now you can boot the ISO with a menu entry like:
title Wary 0.9.6
find --set-root /wary-096_humongous.iso (0xff)
map /wary-096_humongous.iso (0xff)
map --hook
root (0xff)
kernel /vmlinuz pmedia=usbflash pdev1=isoboot
initrd /initrd.gz
Replace "pmedia=usbflash" with "pmedia=atahd" if booting from internal hard drive. |
Sure I could possibly just mimic what he did but would be cool to get
what is the good thing and bad thing about it before putting that much work
into it if it is of no good use???
Or is it a good thing. Would it make a USB or internal Puppy as secure as
booting from CD or DVD? Always fresh? But with the preferences and
programs that one like. A fresh Lupu lack a big browser and so on.
|
|
Back to top
|
|
 |
greengeek
Joined: 20 Jul 2010 Posts: 1184 Location: New Zealand
|
Posted: Tue 10 Apr 2012, 04:56 Post subject:
Re: Rebuilding Puppy for easy iso boot? Subject description: I know too little so help me get what is going on? |
|
| nooby wrote: | | Or is it a good thing. Would it make a USB or internal Puppy as secure as booting from CD or DVD? Always fresh? But with the preferences and programs that one like. A fresh Lupu lack a big browser and so on. |
Do you want a Puppy that stays the same every time you boot? If so, which puppy would you choose and what do you want it to have?
1) Lupu 528.005?
2) Automatic connection to your internet?
3) Which browser?
4) Word processor?
4) etc? etc? etc?
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Tue 10 Apr 2012, 06:19 Post subject:
Re: Rebuilding Puppy for easy iso boot? Subject description: I know too little so help me get what is going on? |
|
| greengeek wrote: | | nooby wrote: | | Or is it a good thing. Would it make a USB or internal Puppy as secure as booting from CD or DVD? Always fresh? But with the preferences and programs that one like. A fresh Lupu lack a big browser and so on. |
Do you want a Puppy that stays the same every time you boot? If so, which puppy would you choose and what do you want it to have?
1) Lupu 528.005?
2) Automatic connection to your internet?
3) Which browser?
4) Word processor?
4) etc? etc? etc? |
I think this is interesting in general. He puts an sfs into the initrd.gz. That surely could be done with any sfs you want.
I wonder if puppy could boot using different initrd.gz files? Lets say initrd-audio.gz contains the audio software and the menu entry would call initrd /initrd-audio.gz. Would this be possible?
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9389 Location: SwedenEurope
|
Posted: Tue 10 Apr 2012, 06:48 Post subject:
|
|
The reason I found it interesting where my latest attempt
to have a computer without a hard disk and boot it using
a small USB with just Lupu-528-005 on it and Firefox
and Adoble Flash Player and some other things like Geeqie
and VLC and so on. And the most important to me is that
it has the Swedish keyboard setting.
As it is now I need to go through set up each time I boot.
CD/DVD allow for Puppy set up as multisession and
each time I read Flash and others tell about their way
of running it then that sounds interesting.
Placing sfs in initramfs is that what Iguleder has done too?
I failed to get how to set up his OS so I dropped out of that thread.
But remember something vaguely but maybe misunderstood.
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Tue 10 Apr 2012, 07:08 Post subject:
|
|
| nooby wrote: | If it is always fresh can one build into the new iso the changes one needs
like Swedish keyboard, Adobe Flash player and so on? |
I think to put in adobe flash player and keyboard settings etc., stuff like that can be done on a simple remaster. There is no need to put an sfs into the initrd.gz. I have build in the firefox including flash and german keyboard settings in the LazY Puppy Release 1. No matter if booting from cd or usb flash - i do always have the firefox with flash and German Keyboard settings at bootup (in Release 1). No manual setup, straight to the desktop.
Doesn't have your puppy the remaster puppy live cd function?
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9389 Location: SwedenEurope
|
Posted: Tue 10 Apr 2012, 12:11 Post subject:
|
|
| Quote: | Doesn't have your puppy the remaster puppy live cd function?
|
Most likely, I am not intelligent enough to use such. I started the thread
because I found it interesting.
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
greengeek
Joined: 20 Jul 2010 Posts: 1184 Location: New Zealand
|
Posted: Tue 10 Apr 2012, 14:45 Post subject:
|
|
| nooby wrote: | And the most important to me is that
it has the Swedish keyboard setting.
As it is now I need to go through set up each time I boot.
|
I think RSH has made a good suggestion Nooby. If you start with a frugal install on a clean HDD, then setup your keyboard and internet connection, then do Menu, Setup, Remaster live CD, you will be able to burn your own Live CD that contains exactly the settings you want.
Once you have that "Nooby Live CD" you will be able to run it or install it on any machine.
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9389 Location: SwedenEurope
|
Posted: Tue 10 Apr 2012, 15:21 Post subject:
|
|
Yes I should try it but I get so sad when I fail doing things that goes wrong.
I tried to boot a LM12 recently and spent hours on it and it refused to boot.
Luckily Puppy could install itself and that allow me to boot LM12 through
the grub4dos that it installed. G4D find LM12 and privide a boot link to it.
But it should had worked with grub2 too. So I have not licked the wounds
enough to dare a new failure. But I most likely try it out next week.
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
linuxbear
Joined: 18 Apr 2009 Posts: 439 Location: Las Vegas, Nevada, USA
|
Posted: Tue 10 Apr 2012, 15:38 Post subject:
|
|
If you look for ways to optimize the filesystem so that Linux runs more efficiently on an SSD, you will also find some options which when turned off will increase read/write times to a pendrive. This search will tell you that SSD works best with an ext-2 format. That is the base system format of a solid state disk. I am not sure if ext-2 would be more efficient on a USB device. If you use something like unetbootin to create the USB pendrive, it will most likely force a FAT 32 format as the base system. When you are saving your sfs files, you should probably choose as you normally would for a Puppy frugal install since puppy-foo.sfs is a squashed file that the base format will not care about.
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Tue 10 Apr 2012, 18:32 Post subject:
|
|
Nooby,
i think best way to lead you to success would be to make a remaster, only working for your computer - as a first stage.
All you have to do, is to click OK or YES at every GUI that wants to be clicked by you - after you have installed the needed applications and setup your system (swedish keyboard etc).
It probably doesn't run on other computers (because of the different hardware settings), but surely on the yours.
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9389 Location: SwedenEurope
|
Posted: Wed 11 Apr 2012, 04:08 Post subject:
|
|
Yes it is supposed to run on that computer primary but if I add a
pfix=ram boot in the menu.list it will allow it to start up fresh on
any computer but then I will have lost the Firefox with bookmarks.
But maybe one an do like Beem and others have done.
Do symlink to the /mnt/home and that way be able to use it anywhere?
Or one have Firefox as a sfs load on fly? I have Opera browser
as sfs fast to load but have not experimented with bookmarks
I cheated and made html page of the bookmarks. Slower but better
than nothing.
Thanks for telling about the remaster. I doubt I am intelligent enough
to use it but I should give it a try for sure.
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
|