URL: http://www.plop.at/en/ploplinux.html

Plop Linux


page update: 27/Nov/2011
Introduction
System requirements
Features
Screenshots
Download
!! Create bootable Plop Linux CD/USB device with Linux
!! Create bootable Plop Linux CD/USB device with Windows
Install to harddisk
F-PROT Antivirus for Linux
Avast Antivirus for Linux
AVG Antivirus for Linux
Backup/restore Windows with Partimage
Backup/restore Windows with fsarchiver
Boot from network (PXE, DHCP, TFTP, NFS, Samba/Windows network share) - Linux Server
Boot from network (PXE, DHCP, TFTP, Windows network share) - Windows Server
Xorg, Gnome, Fluxbox, gparted and more
x64 (64bit) version
Locale settings
Perl modules
Welcome text
C compiler
Ext2/3 instead of FAT
Splash screen
Special commands
Boot parameter
FAQ's - Frequently asked questions

Introduction


Plop Linux is a small distribution that can boot from CD, DVD, USB flash drive (UFD), USB harddisk or from network with PXE. It's designed to rescue data from a damaged system, backup and restore operating systems, automate tasks and more.

Very often asked: Whats the base distribution of Plop Linux? Answer: Plop Linux is built from scratch, there is no other distribution.

Current stable: 4.1.2

Next release: ploplinux-4.1.3-test2


Info: Alternative to the official usb install method, you can use following tools made by others:


System requirements



Features



Screenshots


Boot menu

zoom
     Console

zoom
     Console

zoom
     Gnome

zoom
     Fluxbox

zoom

Download


Download ChangeLog

Version: Standard This runs on PC's with 32bit and 64bit processors. Compiled for 32bit with ram access up to 64Gig (i586 with PAE, i686 and newer)

Version: x64 This is a 64bit kernel version. Runs only on PC's with 64bit processors.

Version: i486 for old PC's.

2011-08-16 opt.sqfs has been updated. It has been updated in the X iso's too.

Plop Linux 4.1.2, released 2011-08-16

ploplinux-4.1.2.md5sum MD5SUM  
Live CD's
ploplinux-4.1.2.iso LiveCD ISO 75 MB
ploplinux-4.1.2-X.iso LiveCD ISO - Xorg, Gnome, Fluxbox, .... 673 MB
Plop Linux Compressed
ploplinux-4.1.2.tgz compressed 72 MB
ploplinux-4.1.2.zip compressed 72 MB
Network boot files
ploplinux-pxeboot.tgz PXE configuration / base directory structure 0.3 MB
ploplinux-pxeboot.zip PXE configuration / base directory structure 0.3 MB


opt.sqfs
opt.sqfs Version 20110816 - Gnome, gparted, gnome, wine, mono, firefox, ...
Detail list of programs
451MB
locale-archive.gz Unpack in ploplinux/opt: gunzip locale-archive.gz 17MB
perl5.tar.gz Unpack in ploplinux/opt: tar xfz perl5.tar.gz 10MB


Plop Linux 4.1.2-x64, released 2011-08-16

ploplinux-4.1.2-x64.md5sum MD5SUM  
Live CD's
ploplinux-4.1.2-x64.iso LiveCD ISO 75 MB
ploplinux-4.1.2-x64-X.iso LiveCD ISO - Xorg, Gnome, Fluxbox, .... 673 MB
Plop Linux Compressed
ploplinux-4.1.2-x64.tgz compressed 72 MB
ploplinux-4.1.2-x64.zip compressed 72 MB


Plop Linux 4.1.2-i486, released 2011-08-16

ploplinux-4.1.2-i486.md5sum MD5SUM  
Live CD's
ploplinux-4.1.2-i486.iso LiveCD ISO 75 MB
ploplinux-4.1.2-i486-X.iso LiveCD ISO - Xorg, Gnome, Fluxbox, .... 673 MB
Plop Linux Compressed
ploplinux-4.1.2-i486.tgz compressed 72 MB
ploplinux-4.1.2-i486.zip compressed 72 MB
ploplinux-4.1.2-i486-FPU.tgz added 2011-08-17 FPU emulation enabled 72 MB




Create bootable Plop Linux CD/USB device with Linux


1. Create a Plop Linux CD/DVD
1.1. Burn an ISO image
1.1.1. Burn on CD
1.1.2. Burn on DVD
1.2. Create a new ISO image
1.2.1. Download and extract
1.2.2. Adding files
1.2.3. Create the ISO image
2. Create a bootable Plop Linux USB device
2.1. Make an USB device bootable step-by-step

1. Create a Plop Linux CD/DVD

1.1. Burn an ISO image

1.1.1. Burn on CD

1.1.2. Burn on DVD

1.2. Create a new ISO image

1.2.1. Download and extract

1.2.2. Adding files

1.2.3. Create the ISO image

2. Create a bootable Plop Linux USB device

2.1. Make an USB device bootable step-by-step


Create bootable Plop Linux CD/USB device with Windows


1. Create a Plop Linux CD/DVD
1.1. Burn an ISO image
1.2. Howto create a new ISO image
2. Create a bootable Plop Linux USB device
2.1. Make an USB device bootable step-by-step

1. Create a Plop Linux CD/DVD

1.1. Burn an ISO image

1.2. Howto create a new ISO image

2. Create a bootable Plop Linux USB device

2.1. Make USB device bootable step-by-step


Install to harddisk


You can install Plop Linux to your harddisk with installploplinux. Start it from your running Plop Linux.


F-PROT Antivirus for Linux


The F-PROT Antivirus is a free Antivirus program for personal users. Read the details at http://www.f-prot.com.

How to use it with Plop Linux

Download the latest linux version from http://www.f-prot.com/products/ and copy the tar.gz file into the ploplinux/opt/ directory.

Download Home: see here
Download Corporate: see here

When Plop Linux has started, then run setupfprot. Now the F-PROT files will be extracted and you can run fpscan.

Place your antivir.def into the ploplinux/opt/ directory to use the latest definitions.


Avast Antivirus for Linux


The Avast Antivirus is a free Antivirus program for non-commertial use. Please read their licence agreement http://www.avast.com.

To run Avast from Plop Linux, you need the following

  1. A valid licence key. You can receive the licence from the Avast homepage. They send it via email to you.

  2. The Avast program. It's available at http://www.avast.com/eng/download-avast-for-linux-edition.html. Please download the tar.gz version.

  3. The antivirus database file.

Create the following file in the Plop Linux ploplinux/opt/ directory.

Filename: avastrc
[licence]
key=your key

Copy the Avast file avast4workstation-1.0.8.tar.gz in the ploplinux/opt/ directory.

To use avast you need the latest antivirus database file from avast. There are different solutions to get the latest file.

1. Update the antivirus database with Linux
1.1. From the command line
1.2. With a graphical user interface
2. Update the antivirus database with Windows

1. Update the antivirus database with Linux

1.1 From the command line

1.2 With a graphical user interface

2. Update the antivirus database with Windows

When you got the latest 400.vps, then copy this file to the ploplinux/opt/ directory from Plop Linux.

When Plop Linux has started, then run setupavast. Now the Avast files will be extracted and you can run avast.


AVG Antivirus for Linux


AVG is free for personal use. Download the latest version from http://free.avg.com/us-en/download.prd-alf.

Install AVG to your prefered linux distribution with sh avg85flx-r855-a3656.i386.sh
This installs AVG to /opt/avg/avg8/

Then run the commands

cd /opt/avg
tar cfz avg.tgz avg8

This creates the file /opt/avg/avg.tgz. Copy this file to the ploplinux/opt/ directory.

When Plop Linux has started, then run setupavg. Now the AVG files will be extracted and you can run avg.


Backup/restore Windows with Partimage


This example shows you how to backup/restore a NTFS partition. The Imagefile will be saved on a NTFS formatted USB Harddisk. Make a backup of your data on a CD/DVD or anything else. If you make a mistake, you can loose your data.

Basic conditions:

Use dmesg to determine what device nodes linux is using for your devices. You can find an example at 2.1 Make an USB device bootable step-by-step. USB-, SCSI- and SATA-devices are using /dev/sdX. IDE-devices are using /dev/hdX. X should be replaced with a to z.

Preparations:

  1. Boot with Plop Linux.

  2. Login as user root, there is no password, simply press ENTER

  3. Mount the USB harddisk.
    mount /dev/sdb1 /mnt -t ntfs-3g

  4. Change to the USB harddisk.
    cd /mnt

With the following instructions, you are able to create/restore partitions

1. Create a Partimage image
1.1. Batch mode
1.2. User interface
2. Restore a partition
2.1. Batch mode
2.2. User interface

1. Create a Partimage image

1.1. Batch mode

1.2. User interface

  1. Start Partimage.
    partimage

  2. Select the partition you want to backup.
    /dev/sda1

  3. Change with tabulator into the next field.
    Enter a filename. ex.
    windowsXP_20070425

  4. Change with F5 to the next screen.
    You can select some options. gzip compression is good and fast.

  5. Change with F5 to the next screen.
    You can enter a description for the image.

  6. Change with 2x enter to the next screen.

  7. You can see an overview about the partition. NTFS is experimental supported, but till now I never had problems. If Partimage has troubles with the partition, then the backup process will be aborted.

2. Restore a partition

2.1. Batch mode

2.2. User interface

  1. Start Partimage.
    partimage

  2. Select the partition you want to restore.
    /dev/sda1

  3. Change with Tabulator into the next field.
    Enter the image filename. ex.
    windowsXP_20070425.000

  4. Change with F5 to the next screen.
    If you are sure then answer the question with OK.
    Now your partition will be restored.


Backup/Restore Windows with fsarchiver


Backup: fsarchiver savefs windows.fsa /dev/sda1

Restore: fsarchiver restfs windows.fsa /dev/sda1


Boot from network (PXE, DHCP, TFTP, NFS, Samba/Windows network share) - Linux Server


The software requirements to boot from network are

Basic conditions for this example setup:

It works with other IP addresses too!

Here are configfiles for a linux test system in an archive: pxeconfs.tgz

1. Extract the Plop Linux files
2. Setup the DHCP server
3. Setup the TFTP server
4. Boot with NFS
5. Boot with Samba/Windows network share

1. Extract the Plop Linux files

2. Setup the DHCP server

3. Setup the TFTP server

4. Boot with NFS

5. Boot with Samba/Windows network share


Boot from network (PXE, DHCP, TFTP, Windows network share) - Windows Server


The software requirements to boot from network are

Basic conditions for this example setup:

It works with other IP addresses too!

1. Extract the Plop Linux files
2. Setup the DHCP and TFTP server
3. Boot with Windows network share

1. Extract the Plop Linux files

2. Setup the DHCP and TFTP server

3. Boot with Windows network share


Xorg, Gnome, Fluxbox, gparted and more


I created a opt.sqfs with Xorg, Gnome, Fluxbox, gparted, a picture viewer, firefox, mplayer and other programs. You simply have to download opt.sqfs and copy it to the ploplinux/opt/ directory. You can start Gnome with startx. The opt.sqfs will be optimized in the future. You can run Gnome and Fluxbox from the network.

ploplinux-4.1.2-X.iso is a LiveCD with Gnome. Program list

Screenshot:
Gnome

Zoom
     Fluxbox

Zoom

Run Gnome at startup: Remove the # in front of autostartx in the file ploplinux/bin/rc.local.


Flashplayer


Download the latest Adobe Flash Player from Adobe. Choose the tar.gz version. Extract the file and copy libflashplayer.so to the Plop Linux directory ploplinux/opt/.


LibreOffice and OpenOffice


You can add LibreOffice and / or OpenOffice to opt.sqfs. Use the addoffice.sh script.

Parameters

First parameter:
  the office install-rpm-tar.gz file

second parameter (required for LibreOffice, recommended for OpenOffice):
  the JRE install bin file

To create the new opt.sqfs you need

How to use addoffice.sh

Create in your home directory a new directory. For this example we use ploplinux_newopt.

Copy the following files to ploplinux_newopt:

When you have all required programs then open a terminal, change to ploplinux_newopt and run for LibreOffice

sh addoffice.sh LibO_3.4.2_Linux_x86_install-rpm_en-US.tar.gz jre-6u25-linux-i586-rpm.bin

for OpenOffice

sh addoffice.sh OOo_3.3.0_Linux_x86_install-rpm-wJRE_en-US.tar.gz jre-6u25-linux-i586-rpm.bin

The script creates the file opt_new.sqfs. Replace it with the old opt.sqfs of Plop Linux.

Use addoffice.sh with Plop Linux

We assume you copied all required files to ploplinux_newopt.


x64 (64bit) version


ploplinux-4.1.2-x64.iso is the 64bit version of Plop Linux. The kernel has 32bit emulation activated. This means, you are able to run all programs from the 32bit Plop Linux. This 64bit version can be used to chroot to a 64bit linux and run programs there.


Locale settings


Add locale-archive.gz to the ploplinux/opt/ directory. Extract it with gunzip locale-archive.gz

Example to setup german locale in rc.local:
                                                                                
setfont lat0-16 -m 8859-1                                                       
loadkeys de-latin1                                                              
echo export LANG=de_DE.UTF8 >> /etc/profile 


Perl modules


Add perl5.tar.gz to the ploplinux/opt/ directory. Extract it with tar xfz perl5.tar.gz


Welcome text


Edit the file ploplinux/bin/welcome.txt to change the text.


C compiler


ploplinux-development-20100215.fsa is a fsarchiver image with gcc.


Ext2/3 instead of FAT


If you want to use Ext2/3 on your USB drive then use extlinux instead of syslinux. The file syslinux.cfg must be renamed to extlinux.conf.


Splash screen


Replace the file syslinux/splash.png with your own image.

Background image  
Zoom
 
Screenshot with menu  
Zoom

You find detailed infos with commands and colors and so on at the syslinux menu.c32 page.

If you want a textmode menu then use menu.c32 instead of vesamenu.c32.


Special commands


eth-quick setup ip address for eth0
dhclient-get ip address from dhcp server
pciprobe-load device modules
ntfs mount-mount -t ntfs-3g devicename mountpoint
setupfprot-extract fprot to use it
setupavast-extract avast to use it
setupavg-extract avg to use it


Boot parameter


copy2ram-copy the linux files to the ram
busybox-start Busybox
root=-required to force a boot device, ex. root=/dev/hda4
vga=-set screen resolution / framebuffer
force_hd-do not scan cdrom drives
force_usb-do not scan ide harddisks
media_reverse_scan-scan drive from i to a
nfsmount=-network boot parameter, see boot from network
smbmount=-network boot parameter, see boot from network
dir=-search Plop Linux in another directory than /ploplinux
Example: dir=/test/ploplinux2


FAQ's - Frequently asked questions


  1. I want to run my scripts at start of Plop Linux without login

  2. I modified rc.local and now i got the error message ": command not found"

  3. I want to use dhcp

  4. How can i restart Samba

  5. I want to use my own smb.conf and other config files

  6. Whats the samba password

  7. Howto change the samba password

  8. I don't want to set my samba password every time again

  9. Whats the ssh password

  10. I don't want to set my password every time again

  11. I can't write to my NTFS Partition

  12. ntfs-3g mount: Windows is hibernated. refused to mount

  13. Change keyboard layout/map

  14. I do not see files with 'umlauten' on a device mounted with ntfs-3g

  15. I dont want autologin on terminal one

  16. I want to use startx at startup

  17. How to disable monitor turn off

  18. How to disable kernel messages

 

  1. I want to run my scripts at start of Plop Linux without login

    The file ploplinux/bin/rc.local starts before login. Add your scripts in this file.

  2. I modified rc.local and now i got the error message ": command not found"

    Mostly rc.local was edited with an editor in Microsoft Windows. Use another editor (ex. vim), or convert rc.local in linux with the command dos2unix.

  3. I want to use dhcp

    Run dhclient to receive the IP from a DHCP server. You can add it to ploplinux/bin/rc.local.

  4. How can i restart Samba

    Use the following command: killall -9 smbd nmbd; smbd; nmbd

  5. I want to use my own smb.conf and other config files

    Create your config files and store it in ploplinux/bin. Let update your files with ploplinux/bin/rc.local at every Plop Linux start.

    Example rc.local for Samba
    #!/bin/sh
    # modify this script as you wish, it will be executed after
    # the plop linux init. path is already set here (/media/ploplinux/bin)
    
    killall -9 smbd nmbd
    cp /media/ploplinux/bin/smb.conf /etc/samba/smb.conf
    smbd
    nmbd
    

  6. Whats the samba password

    The samba root password is "rescue".

  7. Howto change the samba password

    Use smbpasswd to change the password.

  8. I don't want to set my samba password every time again

    Change you password in Plop Linux with smbpasswd. Copy /etc/samba/private/smbpasswd away form Plop Linux. Create a new ISO image with the saved smbpasswd file in ploplinux/bin/ and modify rc.local.

    rc.local

    #!/bin/sh
    # modify this script as you wish, it will be executed after
    # the plop linux init. path is already set here (/media/ploplinux/bin)
    
    cp /media/ploplinux/opt/smbpasswd /etc/samba/private/smbpasswd
    
    

  9. Whats the ssh password

    The ssh password is the same as the login password. There is no login password for root, so you have to set a password before the first ssh login.

    As root: passwd

  10. I don't want to set my password every time again

    Change you password in Plop Linux with passwd. Copy /etc/shadow away form Plop Linux. Create a new ISO image with the saved shadow file in ploplinux/opt/ and modify rc.local.

    rc.local

    #!/bin/sh
    # modify this script as you wish, it will be executed after 
    # the plop linux init. path is already set here (/media/ploplinux/bin)
    
    cp /media/ploplinux/opt/shadow /etc/shadow
    
    

  11. I can't write to my NTFS Partition

    In the most cases you forgot the mount parameter -t ntfs-3g.

    Correct mount for a NTFS Partitions: mount -t ntfs-3g <device> <mountpoint>

  12. ntfs-3g mount: Windows is hibernated. refused to mount

    Writing to this partition is not allowed. Mount the partition with -t ntfs-3g -o ro. The partition will be mounted as read-only.

  13. Change keyboard layout/map

    Ex. german keyboard map

    loadkeys de-latin1

    You can add this to ploplinux/bin/rc.local

  14. I do not see files with 'umlauten' on a device mounted with ntfs-3g

    You have to add locale settings

    mount -t ntfs-3g -o locale=de_DE.UTF-8 <device> <mountpoint>

  15. I dont want autologin on terminal one

    Remove the file ploplinux/bin/autologin

  16. I want to use startx at startup

    Uncomment in rc.local autostartx.

  17. How to disable monitor turn off

    For the console use setterm -blank 0 add it to the rc.local.

    For the X-Server (with gnome and fluxbox) use xset -dpms s off add it to the top of /root/.xinitrc

  18. How to disable kernel messages

    To disable the bootup kernel messages add to the append line in the isolinux.cfg (and similar) the parameter quiet

    To disable the kernel messages on the console use setterm -msg off add it to the rc.local