AB9IL.net

SLAX Linux on a Bootable USB Flash Drive

Disclosure: AB9IL.net is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program such that this site earns advertising fees by linking to Amazon.com. If you make a qualifying purchase after clicking a link on this website, the associate affiliated with this site may earn a comission at no cost to you.


#Advert: Muscle up your project on an MSI Mobile Workstation

New Features: Global Quick Tune Internet SDR List Improve Your Radio Knowledge at "YouTube SDR School"

SLAX is a lightweight version of Slackware Linux. It is fast, customizable, and quite functional when installed on a bootable USB flash drive. This section covers steps for preparing the flash memory device and copying system files to the device. Though illustrating a SLAX install, the procedure works with any live Linux distro.

Here are step-by-step instructions for manually installing Linux on a USB drive and booting with GRUB.

Supplies needed are:

#Advert: Great scenes deserve a great LG monitor.


Important: Make sure your computer\'s boot sequence (in BIOS Settings) lists CD/DVD devices prior to USB devices, and then your hard drive.


  1. Download the live Linux ISO file onto your hard drive.
  2. Download grubfolder.zip, unzip it, and open "menu.lst" in a text editor. Scroll to the bottom of the file and remove (or comment out) the title, kernel, and boot lines for systems you don\'t have. For example, if you are going to use only SLAX, delete the Knoppix, Backtrack, and Bluewhite64 entries. Save and close the edited file. The "grub" folder will be used in step 5.
    title     SLAX 6.0.8
    root     (hd0,0)
    kernel     /boot/slaxboot/vmlinuz vga=791 ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4
    initrd     /boot/slaxboot/initrd.gz
    boot

  3. For SLAX installations, obtain also the "GRUB" and either the "GParted" or "QTParted" modules. Knoppix and Ubuntu come with GRUB and QTParted pre-installed :-)
  4. For SLAX installations, use your ISO editor to place the modules into the /slax/modules folder.
  5. Using your ISO editor, place the "grub" folder (unziped) from your hard drive into the flashdrive\'s "boot" folder.
  6. Save the edited ISO with a unique name (don\'t alter the original).
  7. Burn the ISO onto a blank CD or DVD.
  8. Reboot into the newly burned live Linux disc.
  9. When the system is up, insert the flashdrive.

    fdisk output listing drives and partitions, usb slax,flash memory slax, flash drive,bootable flash drive, slax on usb, slax flash drive


  10. Open a console ("Konsole" if you are using the KDE desktop), and type "fdisk -l" and read the list of drives and partitions. CAREFULLY IDENTIFY THE FLASH DRIVE! In this example, it is "sdb."
  11. Use Gparted (or QTParted) to reformat the flashdrive, and make it bootable. Select the FAT32 filesystem as the first or only partition if you want compatability with computers running Windows. If you want a separate partition for encryption, invisibility from Windows, or other features, set it up as a second partition after the FAT filesystem.

Please continue to the SLAX Installation page for steps making your bootable Linux flash drive ready to run.

#Advert: Go parabolic with a fabulous Prostar laptop.



Tags: slax linux on a flashdrive, flashdrive linux, pendrive linux, pendrive backtrack linux

©2005 - 2020 AB9IL, All Rights Reserved.
About, Contact, Privacy Policy and Affiliate Disclosure, XML Sitemap.