-
Senior Member
registered user

Originally Posted by
fmateo
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
I think you may be able to achieve this without recompiling the kernel, and it is not hard to add support for extra file systems in minirt init. One of the last additions from Klaus K in this respect was ext4 support, which we implemented with pathced init scripts and extra modules before he added it in.
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

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$334.99

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1469.00

LENOVO THINKPAD T14 GEN 2i CORE I7-11165G7 2.8GHZ 16GB 256 SSD WCAM WI1 CORD
$245.00

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99

Lenovo ThinkPad X13 Gen 1 i5-10310U 16GB 512GB SSD Touch Win 11 Pro Good
$222.99

Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro
$249.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50