Results 1 to 5 of 5

Thread: Booting Knoppix from a USB Flash drive

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Posts
    5

    Booting Knoppix from a USB Flash drive

    Any ideas about booting Knoppix from a 1 GB/512 MB USB flash drive?
    My BIOS supports chossing USB-FDD as first boot device. I guess just need to configure the boot sequence in such a way that it looks for system files on second partition of the USB drive.
    What else may need to me done ?

  2. #2
    Junior Member
    Join Date
    Feb 2003
    Location
    Ann Arbor, Michigan, U.S.A.
    Posts
    1
    This idea is one I have been working on. Being new to Linux, I am slow because I have so much to learn, I can hardly keep up with the forums let alone contribute innovations of my own.

    Some thoughts so far:

    Compact Flash much cheaper than USB Key.

    CF USB2.0 Adaptor and 30X flash, best prices from http://www.insidecomputer.com

    Don't use older 1.1 version of USB, or older slower Flash cards.

    So far I have received flash formatted with FAT for Windows, and not tried re-partitioning to new file system(s). Complex subject, that.

    Recommend for first method, put /Knoppix directory in FAT already on flash. Boot from floppy, or CD which is made to have no /knoppix directory.

    Recommend for second method, boot up into text mode Windows, using boot image from a Windows rescue disk. Use loadlin to start Knoppix.
    See instructions elsewhere on this forum. This should allow very fast boot without modifying flash partitioning or file format.

    Anything better you can figure out, please let me know, as I am just a newbie!

  3. #3
    Member registered user
    Join Date
    Feb 2003
    Posts
    43
    I have both CompactFlash and SecureDigital. I have a pocket memory device called a Cruzer (from SanDisk) which uses removable SD cards - very nice, that.

    I have cables so I can hook this up on demand, as well as multi-card readers that will read both my SD and CF cards (using USB).

    I created a floppy disk knoppix.sh that would 1) make /usr/local part of the writable /ramdisk volume, and 2) search for knoppix.sh, knoppix.rb, knoppix.pl, or knoppix.py and run whichever it found. In my case, it is knoppix.rb (a Ruby script) located on the 128M Cruzer device.

    This script mounts a couple of ext2 images (located on a FAT volume) and copies the data onto the system - including most of the important user settings, various system settings - and then starts swap automatically (including windows swap files) - then it starts selected servers automatically.

    There's no reason that the 128M card has to be FAT formatted; my other 128M card is ext3 formatted - though I had to format it myself.

    Only problem so far is that Knoppix won't support the multicard readers because they need the "Scan for all connected LUNs on a SCSI device" option set in the kernel (and it isn't).

  4. #4
    Member registered user
    Join Date
    Feb 2003
    Location
    Aachen, Europe
    Posts
    85
    Salve!

    Sounds what you guys try to run.
    Please write about your projects here:
    http://www.knoppix.net/docs/index.php/HdBasedHowTo

    >5. boot from smartdisk, usb-stick, ROM....
    >
    >Please write here about your experiances to boot from your >MP3-Player, or what ever....

    rob

  5. #5
    Member registered user
    Join Date
    Feb 2003
    Location
    Aachen, Europe
    Posts
    85
    To boot from USB stick you must use the same trick as booting
    from hd, extrating from boot.img two files:
    "miniroot.gz" & "vmlinuz"
    and create lilo on USB stick.
    Does a USB stick has an MBR?

    Please play with the small Knoppix kix (195 MB) for the first
    trys. Or if you have only > 128 MB play with small Linuxes
    fd-projects and write about your experiances - success here.
    rob

Similar Threads

  1. Permanent home onto Sandisk USB flash drive ruined drive
    By mjman in forum Hardware & Booting
    Replies: 9
    Last Post: 10-25-2004, 09:46 PM
  2. booting knoppix off compact flash card?
    By drews in forum Customising & Remastering
    Replies: 3
    Last Post: 08-30-2004, 05:20 PM
  3. USB flash drive locks/freezes knoppix dead!
    By stukennedyuk in forum Hardware & Booting
    Replies: 8
    Last Post: 03-19-2004, 02:55 PM
  4. Knoppix on 512MB USB flash drive
    By nd_z in forum Ideas
    Replies: 0
    Last Post: 10-06-2003, 09:40 AM
  5. Booting Knoppix from USB Flash drive
    By KnoppIXuser in forum Ideas
    Replies: 0
    Last Post: 02-19-2003, 07:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture

ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard

$84.99



Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$23.99



Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th) picture

Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)

$59.99



Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture

Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard

$54.99



ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield picture

ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield

$39.00



MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield  picture

MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield

$32.99



MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard picture

MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard

$67.99



MSI MAG Z590 TOMAHAWK WIFI Intel LGA1200 PCIE 4.0 WiFi 6E ATX Motherboard picture

MSI MAG Z590 TOMAHAWK WIFI Intel LGA1200 PCIE 4.0 WiFi 6E ATX Motherboard

$129.99



Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM picture

Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM

$84.00



MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard picture

MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard

$107.30