Revision [11029]
This is an old revision of InstallationFrugal made by coolpup on 2010-11-22 10:04:26.
Frugal Installations
A frugal installation is performed by extracting the contents of the container ISO or ZIP file to any FAT32, NTFS or EXT4 formatted partition.Fastest filesystem for flash memory drives: EXT4
When a frugal installation is desired it is convenient to have a LiveDVD because it can be used to install the required boot loader (either GRUB, SYSLINUX, or EXTLINUX depending on the formatting of the installation partition). Instructions are also provided below for situations when not using an optical disc drive.
First acquire the container file (either an ISO or ZIP file) of the desired Puppy Linux, e.g. Fluppy, Puppy 5, LupQ or Wary.
If the target partition or drive contains any files copy them elsewhere if required, because they will be destroyed when formatting.
If, after performing the installation processes given below, the computer does not boot into Puppy Linux from the U.S.B. flash drive follow the instructions in Appendices 1 and 3 at LiveDVD.
Installation to an U.S.B. flash (or external) drive
- with GRUBforDOS bootloader
- without an optical disc drive
Installation to an U.S.B. flash (or external) drive
- with Syslinux bootloader (for FAT only)
- without an optical disc drive
- Prepare the U.S.B. device: see Appendix 1
- Install a boot-loader: see Appendix 2
- Install Puppy Linux to the U.S.B. device: see Appendix 3
- Format the drive or partition to FAT32
- Download and extract syslinux to a folder, e.g. C:\syslinux
- Then go to directory C:\syslinux\win32\ by entering into the command-line interface:
cd C:\syslinux\win32\
- Then run the syslinux command to make the drive bootable (where X: is the drive letter for the target drive or partition)
syslinux.exe -m -a X:
- Open the Puppy ISO (or ZIP) file to view its contents, using e.g. 7-zip, (it is important that the original file names be kept)
- Copy to the U.S.B. flash drive the files: vmlinuz, initrd.gz, and all those with the extensions .sfs, and .cfg
- Rename isolinux.cfg to syslinux.cfg
- Edit syslinux.cfg in a text editor: change "pmedia=cd" to "pmedia=usbflash"
- Reboot computer with U.S.B. flash drive connected
Installation to any partition using GRUB and with an optical disc drive
Flash tutorialInstallation to any Microsoft Windows partition
http://www.murga-linux.com/puppy/viewtopic.php?t=61796References
http://www.murga-linux.com/puppy/viewtopic.php?t=46129http://www.puppylinux.org/main/index.php?file=Manual-English05.txt
http://aronzak.wordpress.com/2008/10/07/usb-linux-howto-puppy-41/
http://www.murga-linux.com/puppy/viewtopic.php?t=54826
http://www.pendrivelinux.com/put-lucid-puppy-on-usb-flash-drive-from-windows/#more-4392 (see next reference also)
http://murga-linux.com/puppy/viewtopic.php?p=458818#458818
Appendix 1 [Preparing the U.S.B. device]
- Download and install recent versions of: dosfstools, e2fsprogs, NTFS3G NTFS-3G, tar
- Determine the correct target device name of the U.S.B.flash memory drive to work on:
probedisk2
- Create a partition table on the correct target device: Menu > System > GParted > Device > Create Partition Table
- Create new partition(s) on the correct target device: Menu > System > GParted > Partition > New
- Ensure the correct device is unmounted: Menu > System > GParted > Partition > Unmount
- Create the required file system (formatting) on the drive or partition(s) to either FAT32 or EXT4 on the correct device: Menu > System > GParted > Partition > Format to
- Set the boot flag on the device: Menu > System > GParted > Partition > Manage Flags > boot
- (Optional) Verify that any existing data is destroyed, e.g. using sdb as target device:
dd if=/dev/random of=/dev/sdb && dd dd if=/dev/zero of=/dev/sdb
- Zero the first 512 bytes of the boot partition, e.g. using sdb1 as target partition:
dd if=/dev/zero of=/dev/sdb1 bs=512 count=1
Appendix 2 [Installing a boot-loader to the U.S.B. device]
Use either SYSLINUX or GRUB for DOS.- Install the boot-loader SYSLINUX for FAT32 partitions, e.g. using /dev/sdb1 as the target partition:
syslinux -i --stupid /dev/sdb1
- Install the boot-loader GRUBforDOS for FAT32, EXT4, and NTFS partitions: run Grub4DosConfig
Appendix 3 [Installing Puppy to the U.S.B. device]
- Click on the Puppy ISO (or ZIP) file to open its contents
- Copy to the U.S.B. flash drive the files: vmlinuz, initrd.gz, and all those with the extensions .sfs, and .cfg
- Rename isolinux.cfg to syslinux.cfg
- Edit syslinux.cfg in a text editor: change "pmedia=cd" to "pmedia=usbflash"
- Reboot the computer with the U.S.B. flash drive connected
- The menu.lst file needs to be edited correctly: use Grub4DosConfig
- Reboot the computer with the U.S.B. flash drive connected