Revision [8543]

This is an old revision of InstallationFrugal made by coolpup on 2010-08-08 04:55:55.

 

Apart from running Puppy Linux from a full hard disk drive (H.D.D.) installation or from a LiveDVD, it is also possible to run it as a frugal installation, performed by extracting the contents of the ISO image to a directory on virtually any type of FAT32, NTFS, or EXT2/3/4 formatted partition.

When a frugal installation is desired, then it is convenient to have a LiveDVD because it can be used to install the required boot loader (either /wiki/applications/pre-installed/grub GRUB, SYSLINUX, or EXTLINUX depending on the format of the partition).

First acquire the latest, official, production version of Puppy Linux.

Installation to an ext3 partition

Flash tutorial

Installation, from within Microsoft Windows, to any FAT32 partition using SYSLINUX

For example, installing to a partition on an U.S.B. flash drive.







Appendix

For a frugal installation the file system is placed inside a single file, pup_xxx.sfs, which itself contains a compressed read-only ext2 file system into which the Linux "/" dir is placed, with its sub-directories inside it. There is also a pup_save.2fs file which contains an uncompressed ext2 file system. This one, called the "save file", stores any changes or additions you make to the normal file system. Upon booting, pup_save.2fs is super-imposed over pup_xxx.sfs so that one sees a complete file system. There are only two other small files: initrd.gz and vmlinuz (the kernel). Prior to Puppy Linux 4.00, zdrv_xxx.sfs was also used. Thus you can conveniently back up everything to, for example, a USB flash drive by simply copying /mnt/home/pup_save.2fs (plus vmlinuz, initrd.gz, pup_xxx.sfs) and your GRUB boot loader marker and config files to the drive. Technically though, you only need to back up the pup_save.2fs file, because the rest are all the original files from the .ISO file.

A frugal installation runs faster in high-RAM computers; install is easy to upgrade; and it can be placed on a Windows FAT32 or NTFS hard drive/partition without re-partitioning it.

However, if you have fast newer disks and plenty of R.A.M., frugal loses its speed advantage. On a P3-1GHz machine with 1GB of RAM and UDMA5 hard disks, there is no material performance difference between a frugal install and a full H.D.D install, provided the full install is on a reiserfs partition.

On a P3-800 laptop with only a UDMA2 hard disk, there is a great deal of difference. If you have enough RAM to hold Puppy, e.g. 256MB, then the frugal install is the only way to go.

To be able to dual-boot Puppy alongside Windows without re-partitioning then the frugal install is the way to go.

For a full installation the conventional Linux file system [/, /boot, /bin, /etc, /lib, /mnt, /root, /sys, /usr, /var, etc.] is placed straight onto the partition. A full installation runs faster on low-RAM computers.

On a full hard disk install, vmlinuz is (usually) in /boot, Firefox is in /usr/bin and so forth. On a frugal install vmlinuz is outside of pup_save.2fs somewhere on the "real" file system. Firefox in frugal is also in /usr/bin, but /usr/bin itself is not directly on the disk but rather is in /initrd/pup_rw which in reality is pup_save.2fs on the disk's "real" file-system, "union'ed" into the overall Linux / directory tree in pup_xxx.sfs using special Puppy magic.

Another thing frugal installs do is copy the pup_xxx.sfs file into ram if there is enough memory, causing applications to start slightly faster. If the computer does not have sufficient RAM, it will instead mount the pup_xxx.sfs file from the HDD.

In the case that a frugal install's pup_save.2fs file is on a flash-based drive, Puppy will actually store any changes and new files you make in RAM, and only copy them to the pup_save.2fs file on the drive periodically (or when you click the "save" icon or shut down). This is to cut down on writes to the drive to extend it's life. This behavior does not happen on non-flash media (if it does you probably forgot to set the pmedia=satahd parameter when using a SATA drive).

You can place a frugal install on a pre-existing <a href="http://puppylinux.org/wikka/Win98">Win98</a> install; the pup_save.2fs (though it itself contains an ext2 filesystem) can reside on a vfat (fat32) partition, and if you are adventurous I believe even on an NTFS partition. Which is why a frugal install is also called a "coexist" install.

Not so with a full hard disk drive install: you cannot place a full install on a pre-existing vfat or NTFS partition, because these Microsoft file systems do not support Linux symlinks.

References

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



Categories
CategoryDocumentation
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki