Install Pendrive Linux V1 from CD
The following tutorial will enable a user to install USB Pen Drive Linux to a flash pen drive or other USB device via a customized basic Debian Linux Live CD. This installation method is especially convenient for those who may currently be running Windows on their computer and or do not have easy access to a Linux PC to otherwise perform the installation to USB via Linux.
This version is obsolete and no longer supported.
- 1GB or larger USB flash drive (512MB will work but is not recommended)
- PC with a CD Burner
Installing pendrivelinux to USB via CD:
- Download the ISO file and burn it to a CD
- Insert a 1GB or larger USB flash pen drive
- Restart your PC (booting from the CD)
- (Note there is no GUI) Once booted you will be presented with a blinking curser, type sudo su
- Type fdisk -l and note which device is your USB device. Example:/dev/sdX (X represents your USB drive letter. Through the rest of this tutorial, replace X with your actual drive letter)
- Type dd if=pendrivelinux.img of=/dev/sdX
Creating a second partition for saving changes:
- Type fdisk /dev/sdX
- Type n (makes a new partition)
- Type p (makes the new partition a primary partition)
- Type 2 (makes this the 2nd primary partition)
- Hit enter to accept the default first cylinder
- Hit enter again to accept the default last cylinder
- Type w (writes the new partition information to the USB drive)
- Type mkfs.ext2 -b 4096 -L live-rw /dev/sdX2
- Type reboot to restart your PC. (remove the CD and press ENTER when prompted)
- Now set your system BIOS or boot priority to boot from the USB stick, boot and enjoy!
Notes: Type live persistent at the boot prompt to access the second partition and save or restore changes. Otherwise the system will boot in LIVE mode.
There is no root password by default. To set a root password simply open a terminal and type sudo passwd root and then set the password you would like to use for root access.
The default pendrivelinux username is user. Default user password is live