-
Customizing Knoppix on a LiveUSB formatted with non-vfat Filesystems
Hi folks. I have experimented to use knoppix as LiveUSB, but preparing it manually using proper linux filesystems instead of vfat. I tested with ext4, btrfs and reiserfs some time before; now recently i tested with JFS and XFS filesystem.
To describe more about these choices.
The knoppix kernel image has jfs and xfs built as a module, causing it to drop on a debugging shell. I ve put manually xfs.ko (for example) in a smaller partition on same usbstick, mounting that at /mnt-user:
# mount /dev/sdb2 /mt-user ==> ext2 partition containing the module file
# insmod /mnt-user/xfs.ko
# mount /dev/sdb1 /mnt-system ==> xfs partition
# <Pressed Ctrl+D>
And it continues booting, but in this case being an xfs partition, it boots faster than other native filesystems (less than 10 seconds on "System Setup" before X)
To avoid debugging shell i ve taken the own knoppix kernel config file located at boot, and recompiled the entire kernel with jfs / xfs filesystem kernel options as built-in modules. After Copy the bzImage replacing the original one, it boots automatically.
These are the detailed steps for this kind of remaster.
1. boot your knoppix DVD
2. format the USB Stick as xfs filesystem and mount it
3. copy the knoppix DVD content to the USB stick mount point
4. take the knoppix kernel compile config file located at /boot to use it on another linux installation.
5. Run make menuconfig with that config file
6. Enable as a built-in, the xfs kernel option
7. Run make to compile the new kernel
8. copy the file located on arch/i386/boot/bzImage to your USB Stick, replacing the original one located on /media/usbstick/boot/isolinux/linux
9. on the live dvd media, copy the /boot/grub directory on the /media/usbstick/boot
10. execute # grub --no-floppy and install grub to that mbr [ie. root (hd0,0) -- setup (hd0) -- and quit]
11. Modify your menu.lst using the isolinux.cfg as kernel arguments.
12. And done
You must reboot your computer and boot knoppix with xfs formatted Usb stick
i hope to share this thread as a contribution to knoppix community
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

Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit NEW
$13.89

Mini Computer Vacuum Cleaner & Compressed Air Duster 14500Pa, 110000RPM, Cordles
$53.99

Cordless Air Duster & Vacuum Cleaner for Keyboard & PC Cleaning - 110000RPM Powe
$53.99

LEVOIT Cordless Vacuum Cleaner, Stick Vac with Tangle-Resistant Design, Up to...
$162.04

2-in-1 Compressed Air Duster & Vacuum, Brushless Motor, 320000RPM
$37.99

US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits
$13.89

2 in 1 Compressed Air Duster Air Blower & Vacuum Cleaner Cordless Duster Blower
$16.99

Car Vacuum Portable Cordless, 50000Pa High Power Brushless Motor, Rechargeable H
$104.98

Cordless Handheld Vacuum Cleaner Compatible with DeWalt 20V Battery
$107.67

Electric Air Duster Blower High Power Cordless Cleaner for PC Laptop Keyboard
$17.99