-
USB thumbdrive boot with EXTLINUX
I have been (mostly) successful in getting my USB thumbdrive to boot with EXTLINUX.
Earlier, I followed the instructions here, to get it to boot with GRUB:
http://www.knoppix.net/wiki/USB_Based_FAQ
Was moderately successful... until I went to a different PC that had an additional SATA drive installed, and realized that GRUB was rather strict about exact device number and placement. My GRUB (hd0,0) was now a different hard drive with other data, not my USB thumbdrive! GRUB would no longer boot, and crashed out with "Error 17". Couldn't even make it to the GRUB command line to change the root device.
SYSLINUX, on the other hand, is well-known for being very independent and self-contained, not really caring where it's booted from, as long as the BIOS can see it.
Has anyone else tried this?
It seems simpler than GRUB, plus you get to take full advantage of all the SYSLINUX-based preboot features (help screens, etc.) that you get with CD/DVD. Since the CD already uses ISOLINUX, there's no problem "porting" to EXTLINUX.
I had already partitioned the USB thumbdrive into several ext3 partitions, and copied the KNOPPIX data to it, so installing EXTLINUX was straightforward:
1) Get the latest SYSLINUX:
http://syslinux.zytor.com/
http://www.kernel.org/pub/linux/utils/boot/syslinux/
2) Read the EXTLINUX instructions:
http://syslinux.zytor.com/extlinux.php
Pay attention to the part about mbr.bin: you need to copy the MBR to your thumbdrive.
3) Go into the extlinux directory, wherever you installed SYSLINUX, and install EXTLINUX:
./extlinux /mnt/sdz1/boot/isolinux
Replace sdz1 with your USB thumbdrive partition's actual device, of course. Have it mounted.
This installs EXTLINUX right side-by-side with the existing ISOLINUX directory! The filenames are different, so there will be no conflicts.
EXTLINUX modifies the PBR of whatever device holds that directory. So, it had better be one of the partitions on your USB thumbdrive. It creates the extlinux.bin file, and points the PBR to it.
4) Go into that directory, and copy the config file:
cd /mnt/sdz1/boot/isolinux
cp isolinux.cfg extlinux.conf
EXTLINUX and ISOLINUX share the same file format for their options, so you'll get all the nice help screens and other features from the CD, even when booting from the thumbdrive!
5) Unmount it, sync, reboot, and pray....
Anyone else have luck with this?
BTW, my partition structure on my USB thumbdrive (1GB SanDisk Cruzer Micro):
750MB ext3 = for 700MB of Knoppix CD, plus overhead/padding
150MB ext3 = Encrypted home directory will go here
100MB FAT16 = So I still have something to use with Windows 
Josh
Similar Threads
-
By fossiili in forum Hardware & Booting
Replies: 0
Last Post: 03-03-2008, 03:39 PM
-
By dvryknopper in forum General Support
Replies: 2
Last Post: 03-27-2006, 01:42 AM
-
By fidofido in forum MS Windows & New to Linux
Replies: 1
Last Post: 05-27-2005, 08:09 PM
-
By gdog in forum Hardware & Booting
Replies: 1
Last Post: 12-13-2004, 05:18 AM
-
By semreh in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 09-15-2004, 10:07 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

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$225.00

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00

1 X IBM 720 POWER SERVER WITH 32 GB RAM
$344.97

IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012
$109.99

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99