-
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

Lot of 12 Vintage 1960's Military Logic Cards PCB Set Germanium Transistors
$299.00

Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1
$250.00

Vintage HP Hewlett Packard 2112A 21MX 1000 M-Series 16-Bit Minicomputer
$419.99

Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New
$75.00

Vintage S-100 California Computer Systems cards Z80 cpu + ADS PromBlaster
$895.00

Vintage Microsoft Computer/Briefcase Bag Great Condition No Strap
$25.00

Vintage Novell Netware 3.12 Books/Manuals + BorderManager Software Kit -See Pics
$48.88

4 Rare Vintage S-100 Video Boards
$595.00

Sanyo DM 5012CM Solid State Data Display Monitor Working Vintage 1980s 80s
$169.99

Vintage Sonic Solutions Macintosh Power Mac 3.5" Floppy Disks + Manuals RARE
$99.90