USB Linux Howto: Ttylinux 12 November, 2008Posted by aronzak in Linux, Live Linux, Live Usb, Syslinux.
Tags: Linux, Live Usb, liveusb, syslinux, syslinux usb, ttylinux
add a comment
I’ve found ttylinux to be quite useful. For a while it was not actively maintained, but now Douglas Jerome has stepped up as the new maintainer. It’s a small, fast text based Linux distribution that is an invaluble part of my usb toolkit. It can mount a usb drive, giving quick access to be able to modify important files.
Nicely, while ttylinux is only ~10 megabytes, it has bash, the most used shell, rather than a smaller alternative. I’ve added in nano, an editor that I prefer to vi.
The default login is “root” password “root” or “guest” “guest”. Ttylinux loads its entire filesystem as an initial ram disk (initrd). The filesystem is easily modified (It’s a loopfile), but the bundled applications are fairly good. You can munt (and then modify) the entire system in an existing Linux install:
mkdir mount mount -o loop filesys mount
NB. To start up properly, edit etc/rc.d/rc/sysinit and comment out these lines:
echo "Starting fsck for root filesystem." fsck -T -C / if [ "$?" -gt 2 ]; then echo "WARNING: Errors found while checking root filesystem." echo "You can login as root now, the system will reboot after logout." sulogin reboot elif [ "$?" = "2" ]; then echo "NOTICE: System needs to be rebooted now." sleep 1 reboot else echo -n "Checking root filesystem: " check_status
Or else fsck will fail on every boot (modified filesystem) and make you reboot.
The new version 8.0 is maturing. More final versions should be coming out fairly soon.
Using Unetbootin to install Linux to a USB stick 28 September, 2008Posted by aronzak in Linux, Live Linux, Live Usb, Syslinux.
Tags: Live Usb, syslinux, syslinux usb, unetbootin, USB Linux
A new program, Universal Network Bootloader Installer (unetbootin) can be used to set up a USB drive to boot. It can be run on Windows 2000 and above and Linux. It’s very simple to use. First, download and install unetbootin. Then:
- Make sure you have a USB stick with free space. You shouldn’t need to backup your files, but it’s always a good idea.
- Download a disk image (.iso) of the Linux you want to put on the stick.
- Run unetbootin
- Select ‘diskimage’ and select the .iso file
- Make sure you have the right USB device and press ‘OK’
Or, if it is listed in the program, you can just run that.
That should then set up your USB device to boot up.
You can then go on to add more versions of Linux or other tools to the stick.
Back to USB Linux Howto.