This is an excellent option, I figured of late!
Partitioned a new Flash-drive into two ext4 partitions. Kept some extra space of 2 MB, as directed by grub2 manual and from grub-help forum, between the MBR and the first partition. Copied the boot and the KNOPPIX folder from Knoppix image.
From a running Debian system I installed grub and tools and wrote the MBR with the code
Code:
(replace x with appropriate values)Code:# grub-install --root-directory=/media/sdcX /dev/sdc
This could also have been accomplished by installing grub2 for PC in Knoppix.
Used Knoppix's syslinux folder and grub.cfg file to Boot the Knoppix image .
With knoppix-data.inf file in the KNOPPIX directory to use the ext4 2nd partition as persistent drive.
Installed nvidia driver and I am now using the system from the pen-drive. Cool and smooth!
Thanks for the support. I will use the recombine script some time in future to see the effect of a customised system.
Since raiserFS is not fully supported in Linux may be the script flash-knoppix2 could be changed to install Knoppix in ext4 partition in pen drive, complete with a persistent ext4 partition?
This is an excellent option, I figured of late!
I have used the direction in this thread for Knoppix v8.2, but ran into some problems. There seems to be an issue with the ISO. I used the terminal, with a two-partitioned PenDrive, at the command prompt as follows:Output:Code:sudo grub-install --root-directory=/media/sdb1 /dev/sdbThe file stage1 appears to have some problems. Is installation stalling because of this problem?The file /media/sdb1/boot/grub/stage1 not read correctly.
I am attaching the binary coding of stage1 file:
Code:0000:0000 | 11101011 01001000 10010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | ëH.............. 0000:0010 | 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | ................ 0000:0020 | 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | ................ 0000:0030 | 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000011 00000010 | ................ 0000:0040 | 11111111 00000000 00000000 10000000 00000001 00000000 00000000 00000000 00000000 00001000 11111010 11101011 00000111 11110110 11000010 10000000 | ÿ.........úë.öÂ. 0000:0050 | 01110101 00000010 10110010 10000000 11101010 01011001 01111100 00000000 00000000 00110001 11000000 10001110 11011000 10001110 11010000 10111100 | u.².êY|..1À.Ø.м 0000:0060 | 00000000 00100000 11111011 10100000 01000000 01111100 00111100 11111111 01110100 00000010 10001000 11000010 01010010 10111110 01111111 01111101 | . û @|<ÿt..ÂR¾.} 0000:0070 | 11101000 00110100 00000001 11110110 11000010 10000000 01110100 01010100 10110100 01000001 10111011 10101010 01010101 11001101 00010011 01011010 | è4.öÂ.tT´A»ªUÍ.Z 0000:0080 | 01010010 01110010 01001001 10000001 11111011 01010101 10101010 01110101 01000011 10100000 01000001 01111100 10000100 11000000 01110101 00000101 | RrI.ûUªuC A|.Àu. 0000:0090 | 10000011 11100001 00000001 01110100 00110111 01100110 10001011 01001100 00010000 10111110 00000101 01111100 11000110 01000100 11111111 00000001 | .á.t7f.L.¾.|ÆDÿ. 0000:00A0 | 01100110 10001011 00011110 01000100 01111100 11000111 00000100 00010000 00000000 11000111 01000100 00000010 00000001 00000000 01100110 10001001 | f..D|Ç...ÇD...f. 0000:00B0 | 01011100 00001000 11000111 01000100 00000110 00000000 01110000 01100110 00110001 11000000 10001001 01000100 00000100 01100110 10001001 01000100 | \.ÇD..pf1À.D.f.D 0000:00C0 | 00001100 10110100 01000010 11001101 00010011 01110010 00000101 10111011 00000000 01110000 11101011 01111101 10110100 00001000 11001101 00010011 | .´BÍ.r.».pë}´.Í. 0000:00D0 | 01110011 00001010 11110110 11000010 10000000 00001111 10000100 11101010 00000000 11101001 10001101 00000000 10111110 00000101 01111100 11000110 | s.öÂ...ê.é..¾.|Æ 0000:00E0 | 01000100 11111111 00000000 01100110 00110001 11000000 10001000 11110000 01000000 01100110 10001001 01000100 00000100 00110001 11010010 10001000 | Dÿ.f1À.ð@f.D.1Ò. 0000:00F0 | 11001010 11000001 11100010 00000010 10001000 11101000 10001000 11110100 01000000 10001001 01000100 00001000 00110001 11000000 10001000 11010000 | ÊÁâ..è.ô@.D.1À.Ð 0000:0100 | 11000000 11101000 00000010 01100110 10001001 00000100 01100110 10100001 01000100 01111100 01100110 00110001 11010010 01100110 11110111 00110100 | Àè.f..f¡D|f1Òf÷4 0000:0110 | 10001000 01010100 00001010 01100110 00110001 11010010 01100110 11110111 01110100 00000100 10001000 01010100 00001011 10001001 01000100 00001100 | .T.f1Òf÷t..T..D. 0000:0120 | 00111011 01000100 00001000 01111101 00111100 10001010 01010100 00001101 11000000 11100010 00000110 10001010 01001100 00001010 11111110 11000001 | ;D.}<.T.Àâ..L.þÁ 0000:0130 | 00001000 11010001 10001010 01101100 00001100 01011010 10001010 01110100 00001011 10111011 00000000 01110000 10001110 11000011 00110001 11011011 | .Ñ.l.Z.t.».p.Ã1Û 0000:0140 | 10111000 00000001 00000010 11001101 00010011 01110010 00101010 10001100 11000011 10001110 00000110 01001000 01111100 01100000 00011110 10111001 | ¸..Í.r*.Ã..H|`.¹ 0000:0150 | 00000000 00000001 10001110 11011011 00110001 11110110 00110001 11111111 11111100 11110011 10100101 00011111 01100001 11111111 00100110 01000010 | ...Û1ö1ÿüó¥.aÿ&B 0000:0160 | 01111100 10111110 10000101 01111101 11101000 01000000 00000000 11101011 00001110 10111110 10001010 01111101 11101000 00111000 00000000 11101011 | |¾.}è@.ë.¾.}è8.ë 0000:0170 | 00000110 10111110 10010100 01111101 11101000 00110000 00000000 10111110 10011001 01111101 11101000 00101010 00000000 11101011 11111110 01000111 | .¾.}è0.¾.}è*.ëþG 0000:0180 | 01010010 01010101 01000010 00100000 00000000 01000111 01100101 01101111 01101101 00000000 01001000 01100001 01110010 01100100 00100000 01000100 | RUB .Geom.Hard D 0000:0190 | 01101001 01110011 01101011 00000000 01010010 01100101 01100001 01100100 00000000 00100000 01000101 01110010 01110010 01101111 01110010 00000000 | isk.Read. Error. 0000:01A0 | 10111011 00000001 00000000 10110100 00001110 11001101 00010000 10101100 00111100 00000000 01110101 11110100 11000011 00000000 00000000 00000000 | »..´.Í.¬<.uôÃ... 0000:01B0 | 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00100100 00010010 | ..............$. 0000:01C0 | 00001111 00001001 00000000 10111110 10111101 01111101 00110001 11000000 11001101 00010011 01000110 10001010 00001100 10000000 11111001 00000000 | ...¾½}1ÀÍ.F...ù. 0000:01D0 | 01110101 00001111 10111110 11011010 01111101 11101000 11001111 11111111 11101011 10011101 01000110 01101100 01101111 01110000 01110000 01111001 | u.¾Ú}èÏÿë.Floppy 0000:01E0 | 00000000 10111011 00000000 01110000 10111000 00000001 00000010 10110101 00000000 10110110 00000000 11001101 00010011 01110010 11010111 10110110 | .».p¸..µ.¶.Í.r׶ 0000:01F0 | 00000001 10110101 01001111 11101001 11100110 11111110 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 01010101 10101010 | .µOéæþ........Uª
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$33.99
Mac OS Sequoia 15 Bootable USB Flash Drive Installer - With Guide
$16.99
LOT 1GB,2GB,4GB, 8GB, 32GB, 64GB 128GB USB Flash Drive Memory Stick Thumb Drives
$189.99
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$65.99
4 in 1 USB3.0 TF Flash Drive OTG Photo Stick For iPhone,iPad Android Card Reader
$7.99
Windows 10 installation USB Flash Drive Media (8GB) FAST SHIP
$9.99
2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage
$9.48
SanDisk iXpand Flash Drive Go for iPhone & iPad 64GB NEW
$18.99
USB3.0 SD Card Reader for PC Micro SD Card to USB Adapter for Camera MemoryC lot
$4.99
Mac OS High Sierra 10.13 Bootable USB Flash Drive Installer - With Guide
$16.99