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

Plop Linux

page update: 22/Apr/2010
Introduction
System requirements
Features
Directory structure
!! 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
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
ChangeLog
Download

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.

Current stable: v4.0.6

If you need help, post it to the forum or send me a message with the contact form.

Linux USB Installer: MultiBoot LiveUSB

Windows USB Installer: universal-usb-installer-easy-as-1-2-3, Linux Live USB Creator


System requirements



Features



Directory structure


This is an overview about required and not required files for Plop Linux.

Directory / File Description
isolinux/

Here is the boot file (isolinux.bin) for cd booting in "no emulation mode". This directory is required to boot from CD.

ploplinux/

Here are the Plop Linux system files. This directory is required to boot Plop Linux. (55MB)

ploplinux/myscripts/

Place your own scripts there
runme.sh is running after the boot process. it's like an "autoexec.bat" under DOS.
This directory is in your path.

pluspacks/

Files in pluspacks are not required to run Plop Linux. This directory is for add ons like the anti virus database file.

pluspacks/windows/

A place for windows tools.
A free ftp server and some other free tools are coming with Plop Linux. (2MB)

pluspacks/avastrc and 400.vps

Here are the antivirus files.
More details Avast Antivirus



Create bootable Plop Linux CD/USB device with Linux


Plop Linux can boot from CD/DVD or an USB device. Booting from floppy is no longer supported. Last version with boot from floppy was v3.2.1. and it's still available for download.

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


Plop Linux can boot from CD/DVD or an USB device. Booting from floppy is no longer supported. Last version with boot from floppy was v3.2.1. and it's still available for download.

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 installplop. 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 pluspacks/ directory.

Download Home: see here
Download Corporate: see here

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

Place your antivir.def into the pluspacks/ 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 pluspacks/ directory.

Filename: avastrc
[licence]
key=your key

Copy the Avast file avast4workstation-1.0.8.tar.gz in the pluspacks/ 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 pluspacks/ directory from Plop Linux.

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


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 pluspacks 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-v4.0.6-X.iso is a LiveCD with Gnome. Program list

Screenshot:
GNOME

Zoom
     Fluxbox

Zoom


x64 (64bit) version


ploplinux-v4.0.6-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.

Replace the files from ploplinux-v4.0.6-x64-diff.tgz or ploplinux-v4.0.6-x64-diff.zip with the files in your 32bit Plop Linux to enable the 64bit mode.


Locale settings


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

Example to setup german locale in runme.sh:
                                                                                
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 pluspacks/ directory. Extract it with tar xfz perl5.tar.gz


Welcome text


Edit the file myscripts/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


You can place your own image at the boot menu. Use a JPG or PNG with the image size 640x480. Copy the image file and vesamenu.c32 in the same directory where the file bzimage is. Then edit the syslinux/isolinux/pxelinux/extlinux config file. You can download the examples splash.tgz.

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
usefprot-extract fprot to use it
useavast-extract avast to use it


Boot parameter


copy2ram-copy the linux files to the ram
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


FAQ's - Frequently asked questions


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

  2. I modified runme.sh 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/myscripts/runme.sh starts before login. Add your scripts in this file.

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

    Mostly runme.sh was edited with an editor in Microsoft Windows. Use another editor (ex. vim), or convert runme.sh 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/myscripts/runme.sh.

  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/myscripts. Let update your files with ploplinux/myscripts/runme.sh at every Plop Linux start.

    Example runme.sh 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/myscripts)
    
    killall -9 smbd nmbd
    cp /media/ploplinux/myscripts/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/myscripts/ and modify runme.sh.

    runme.sh

    #!/bin/sh
    # modify this script as you wish, it will be executed after
    # the plop linux init. path is already set here (/media/ploplinux/myscripts)
    
    cp /media/ploplinux/myscripts/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/myscripts/ and modify runme.sh.

    runme.sh

    #!/bin/sh
    # modify this script as you wish, it will be executed after 
    # the plop linux init. path is already set here (/media/ploplinux/myscripts)
    
    cp /media/ploplinux/myscripts/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 myscripts/runme.sh

  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 myscripts/autologin

  16. I want to use startx at startup

    Uncomment in runme.sh autostartx.

  17. How to disable monitor turn off

    For the console use setterm -blank 0 add it to the runme.sh.

    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 runme.sh


ChangeLog


Download: ChangeLog


Download


You can download all files here.