Universal Installer; FULL HD install to USB flash.

Booting, installing, newbie
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

Universal Installer; FULL HD install to USB flash.

#1 Post by sunburnt »

The Setup menu's Universal Installer lists devices but not the install type!

Are all of the install types frugal or full?

I want a FULL install on a USB flash & inside an ext2 image file.
I'll modify the boot code so it'll mount the image file during bootup.
So the FULL install is easily portable to any file system, just like frugal.
And no Save file is needed & also no UnionFS is needed either.
The price is that the full install takes up 3 times the space of a frugal one.
A frugal install of Puppy 4.00 is ~ 70mb, a full install is ~ 180mb.
But with the size & price of USB flash drives these days, size is no big deal.

I'm thinking of using Puppy 4.00, but it seems buggy, especially Seamonkey.
Are there problems with Puppy 4.00, or has anyone else noticed this?
User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#2 Post by Aitch »

Hi

http://www.puppylinux.com/flash-puppy.htm

I believe BarryK advises setting boot in the bios to usb flash, if you have it

There would still appear to be a few teething problems with 4.00 [depending on which kernel you are using] based on the forum, though it is hardware variable

good luck - yeh, pendrives are cheap now, but don't get U3 types & even some makes are tricky based on posts

http://www.wellminded.com/puppy/pupsearch.html

Aitch :)
User avatar
erikson
Posts: 735
Joined: Wed 27 Feb 2008, 09:22
Location: Ghent, Belgium
Contact:

#3 Post by erikson »

Aitch wrote:... pendrives are cheap now, but don't get U3 types & even some makes are tricky based on posts
Actually I use a U3 type (Sandisk Cruzer Micro 2GB). It's configured with two frugal 3.01 flavors (standard and pcPuppyOS) plus a grub boot menu.

Originally I had left the small U3 partition as it was. It did not interfere with Puppy at all.

I later removed that partition because its preinstalled software popped up unexpectedly once in a while when working under Windows, and I didn't need it anyway.

So for me Puppy works off this particular brand of U3 pendrive, both with the U3 partition still present and after its removal. I have no experience with other brands.
[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]
User avatar
erikson
Posts: 735
Joined: Wed 27 Feb 2008, 09:22
Location: Ghent, Belgium
Contact:

Re: Universal Installer; FULL HD install to USB flash.

#4 Post by erikson »

sunburnt wrote:I want a FULL install on a USB flash & inside an ext2 image file.
This "should" be possible (I haven't tested it), but I don't see any advantage in doing so.

In fact a full install is not easier to maintain that a frugal one (on the contrary), and it also nullifies the benefit of Puppy's technique to saveguard the pendrive's lifetime.

As mentioned in previous post, I can boot two Puppy flavors off my pendrive, with everything related to Puppy residing on the pendrive. From the boot menu, I can also boot the original WinXP/SP2 from hard disk.
[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]
paulh
Posts: 32
Joined: Wed 14 May 2008, 13:52

#5 Post by paulh »

I've got a Memorex traveldrive 1 GB mini pen drive that is U3. I tried to install Puppy 4.0 on it a couple of days ago to use on an old Pentium II. The OS installed, but the boot floppy could not find it on the pen drive. I think it was looking in the wrong place, in the U3 partition. I wound up installing Puppy on an extra compact flash card from my camera kit, and that worked.

I'm about ready to junk the U3 feature. There is a utility that will remove the U3 partition from a pen drive. It's available on the web, though I don't have the URL handy. Do a search.
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#6 Post by sunburnt »

Hi guys; erikson, the install would be portable to other file systems,
not easier to maintain, Puppy's maintenance is the same either way.
Also newer pen drives last much longer than the old ones.
Using it this way isn't a problem, just don't have a swap file or partition.

I asked Dougal about the Universal Installer, hope to get an answer.
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#7 Post by sunburnt »

Dougal replied with a simple & inventive solution.
Just mount the image file over the top of a HD or USB partition,
if I undestood him correctly that is.
He said to mount it where the original partition was, but that would block
access to the image file itself I think, but maybe I'm wrong about that.
User avatar
erikson
Posts: 735
Joined: Wed 27 Feb 2008, 09:22
Location: Ghent, Belgium
Contact:

#8 Post by erikson »

I'm not sure what exactly Dougal suggests. However, if I understand correctly now, you want a full-install "virtual partition" to reside inside an image file, that is internally formatted as ext2, and boot/work from there.

I think it's fairly simple (but excuse me if it doesn't work...)

1. Make a temporary work partition somewhere (e.g. on hard disk, as /dev/hdx), with the size you want for the image file.
2. Format that partition as ext2 and do a regular full installation to it. (It can already be tested here).
3. Copy the partition into an image file (this is the key trick).

Code: Select all

dd if=/dev/hdx of=/wherever/part.img
4. Delete the temporary work partition.
5. Move file part.img to wherever else you like (e.g. onto pen drive).

I assume that it should be possible somehow to mount part.img as "boot partition" in your boot menu (but it may take some trial-and-error to find out how).

Good luck, and let us know if it works :-)

(Edited with corrections)
[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]
User avatar
noprob
Posts: 20
Joined: Sun 18 Mar 2007, 01:20
Location: Mountains of WV. U.S.of A.
Contact:

puppy usb/pen drive install

#9 Post by noprob »

The U3 partition is useless for my needs and the removal program can be found here.

I have been able to copy files and folders to my Sandisk Cruzer Micro 1GB
and I'm sure I could also store mp3 or Ogg Vorbis music files and other formats,but to date I have not been able to successfully install a working puppy via using a usb device and hope to soon.
This forum gives me hope and the desire to continue on this endeavor.

As a side note I use many puppy derivatives as a Live CD and enjoy much.

I also seed many puppies via tuxdistro.com and linuxtracker.org
all posted torrents are uploaded by the original uploader.
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#10 Post by sunburnt »

erikson; Correct, a full install in an image file, so it's portable like Puppy is now.
I'd thought of installing to a ext2 partition & copying to the image file,
but I wanted to be able to add it to the Universal Installer, this'll work.

The boot code in the file /sbin/init would need a line added to it to
mount the image file, just after the line that mounts the drive partition.

To look at the init file, you have to gunzip initrd.gz which gives you a
initrd file, which then you must un-cpio to get the root file system.
The init file will be in /sbin


noprob; I always manually do frugal installs to HD or USB flash drives.
Just copy the 4 Puppy files to the drive & if it's a DOS FAT drive you can
boot from DOS with linld.com (how I do it), or use SysLinux to boot it.
If you want more instructions on HowTo just say so & I'll gladly help.
Post Reply