AB9IL.net: Installing Knoppix 5.3 or 6.0 on a Flash Memory Device

Written and curated by Philip Collier / AB9IL
HOME Software Defined Radio WiFi Antennas Air and Space Radio Linux or Windows Digital Audio Liberation Tech Video Gallery Photo Gallery

Live Internet SDR List Radio Caroline BBC Radio 4 LW


Advertisement
Airband Radio on the RTL-SDR
How to maximize RTL-SDR performance for aeronautical comms.

We earn a commission if you make a purchase, at no additional cost to you.

This project is an extension of the bootable USB Linux installation, with an emphasis on the Knoppix 5.3.1 or 6.0.1 CDs. The Knoppix CDs are stripped down version of the official DVD releases, and run much faster when installed to a flash memory device. Part 2 continues installation to create a working bootable flashdrive system.

At this point during the bootable flashdrive Knoppix installation, the flash drive is formatted and ready to receive knoppix files from the live disc (or ISO image). The GRUB bootloader will also be installed.

  1. Using your ISO editor, copy the entire contents of your Knoppix ISO image onto the flashdrive. When finished there should be two folders on the flash drive: "boot" and "KNOPPIX." Also, the root directory should contain "cdrom.ico" and a few other files from the disc.
  2. Copy the "grub" folder (from step 2, unziped) from your hard drive into the flashdrive\'s "boot" folder.
  3. Open a console and enter "sudo grub" on the command line.
  4. Within grub, enter the command "find /boot/grub/menu.lst" and note the location of the flashdrive boot directory as seen by the operating system for example: sd1,0.
    grub>  find /boot/grub/menu.lst
     (sd0,0)
     (sd1,0)
    Note: In Linux, drive numbers start at zero, not one.
  5. Next, type "root" followed by a space and the drive within parenthesis, for example: "root (sd1,0)" and note no error messages.
    grub>  root (sd1,0)
     Filesystem is fat, partition type is 0xC

    Now we have specified the flash drive (sd1), so GRUB will be installed to the first sector of that device.

  6. Finally, type "setup" followed by a space and the drive within parenthesis, for example: "setup (sd0)" and note no error messages.
    grub>  setup (sd1)

     

    And GRUB is installed to the flash memory device...

     Checking if "/boot/grub/stage1" exists...yes
     Checking if "/boot/grub/stage2" exists...yes
     Checking if "/boot/grub/e2fs_stage1_5" exists...yes
     Running "embed /boot/grub/e2fs_stage1_5 (sd1)"... 16 sectors are embedded...succeeded
     Running "install /boot/grub/stage1 (sd1) (sd1)1+16 p (sd1,0)/boot/grub/stage2 /boot/grub/menu.list"... succeeded
     Running "install /boot/grub/stage1 d (sd1,0) /boot/grub/stage2 p /boot/grub/menu.lst"... succeeded
     Done.
  7. Type "quit" to exit GRUB, then close the console window.
  8. If using a Knoppix CD or DVD, remove it from the computer.
  9. Reboot the computer into your newly installed "Knoppix on a flash drive".

Next, see the customization and troubleshooting pages to fine-tune your USB Knoppix installation.




© 2005 - 2024 AB9IL.net, All Rights Reserved.
About Philip Collier / AB9IL, Commentaries and Op-Eds, Contact, Privacy Policy and Affiliate Disclosure, XML Sitemap.

This website is reader-supported. As an Amazon affiliate, I earn from qualifying purchases.