-
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 ?
-
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!
-
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).
-
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....
![Wink](images/smilies/icon_wink.gif)
rob
-
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
-
By mjman in forum Hardware & Booting
Replies: 9
Last Post: 10-25-2004, 09:46 PM
-
By drews in forum Customising & Remastering
Replies: 3
Last Post: 08-30-2004, 05:20 PM
-
By stukennedyuk in forum Hardware & Booting
Replies: 8
Last Post: 03-19-2004, 02:55 PM
-
Replies: 0
Last Post: 10-06-2003, 09:40 AM
-
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
-
Forum Rules
![ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture](/store/img/g/oXIAAOSwCn1k30lD/s-l225/ASRock-B550M-Pro-SE-AM4-DDR4-SATA-6Gb-s-1-PCIe-4-0.jpg)
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](/store/img/g/CZ4AAOSwg8pmYirU/s-l225/Asus-H81M-C-Intel-LGA1150-DDR3-Desktop-Motherboard.jpg)
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](/store/img/g/QrkAAOSwMGNmLxf0/s-l225/Gigabyte-Z370P-D3-ATX-Z370-LGA1151-Motherboard-Sup.jpg)
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](/store/img/g/ld0AAOSw7q5mV2ql/s-l225/Asus-Prime-H310M-A-R2-0-Intel-LGA-1151-DDR4-Deskto.jpg)
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](/store/img/g/HvEAAOSwhsBmbMOj/s-l225/ASUS-H87I-PLUS-LGA-1150-Intel-Motherboard-w-IO-Shi.jpg)
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](/store/img/g/TGIAAOSwpzNiJ8-i/s-l225/MSI-H81I-LGA1150-MINI-ITX-DDR3-Desktop-Motherboard.jpg)
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](/store/img/g/6G8AAOSwCwFf0Vli/s-l225/MSI-B450M-PRO-VDH-MAX-AM4-AMD-B450-USB3-2-Micro-AT.jpg)
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](/store/img/g/adIAAOSwj4dkifBB/s-l225/MSI-MAG-Z590-TOMAHAWK-WIFI-Intel-LGA1200-PCIE-4-0-.jpg)
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](/store/img/g/CCsAAOSw9mtkQuoe/s-l225/Gigabyte-M-ATX-motherboard-with-Intel-Core-i3-8100.jpg)
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](/store/img/g/egYAAOSw1q5mPOza/s-l225/MSI-PRO-B650-P-WiFi-AMD-AM5-DDR5-WiFi-6E-ProSeries.jpg)
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$107.30