Good Morning. I read your response and clicked reply with quote and I am now typing below your answer. I hope this is the proper way. OK. Yesterday the message was can not find KNOPPIX dir in ISO and it kept cycling through the available areas. This morning I used the 8GB after seeing it has only 1 area, sdd1. Same message and kept cycling. But now I will try again and I will WAIT... to see what it does if it does continue... Thank you. Siddhartha can wait. So can I.
Hurrah Hurrah Hurrah! It worked! knoppix fromhd=/dev/sdd1 Thanks people, - you're the best.
Flash devices onto which ttop had written Knoppix 7.0.5 (both using the experimental installer "flash-knoppix2" and the "traditional" installer) were directly bootable (as USB block storage devices) on some PCs, but not on the main PC of ttop. He could not resolve this via BIOS setup changes.
I had suggested to him (as a Test) to try to boot from a Knoppix CD or DVD; And at the kernel prompt to enter a cheat code in order to mount the compressed read-only file system image in file KNOPPIX/KNOPPIX from the flash device (instead of the copy on the optical medium). The cheat code "knoppix fromhd=/dev/sdX1" does this (not "bootfrom=", as I had wrongly suggested before). ttop replied that this had solved his Knoppix booting problems, which was a suprise for me:
Then it occured to me to try this scenario myself, in order to learn what had happened on the PC of ttop. My PC can boot from USB, but I tried to boot from a DVD with Knoppix 7.0.5, while a SDHC memory card with Knoppix 7.0.5 was already inserted/connected. At the kernel/boot prompt I entered the cheat code: knoppix fromhd=/dev/sdb1 . To my suprise, not only did Knoppix continue loading from my SDHC card, but it also had the persistent overlay reiserfs filesystem from the SDHC card mounted. This means one can work with a read-write Knoppix system started from a flash storage device even on PCs which are unable to boot from USB devices! (Provided the PC has a DVD drive and one brings a Knoppix DVD, too.)
To further my (at this point clearly broken) understanding of the Knoppix boot process, I decided to investigate: Like most Linux systems nowadays, the Knoppix kernel first passes control to configuration software (which for example might supplement the kernel with kernel modules for support of the present hardware) before initialising the system services (by using SysV init scripts or upstart or...). The kernel modules and configuration software can be found in a special compressed archieve/file system image file, which gets loaded and used directly after the kernel has finished loading. I have unpacked this file system using these commands:
The cpio command will try to unpack even the special files in the /dev directory of this file system, but this will fail and cause error messages because user knoppix does not have the needed permissions to invoke mknod to create the special files.Code:cd mkdir minirt cd minirt gzip -dc /mnt-system/boot/syslinux/minirt.gz | cpio -idv 2>minirt_cpio_errors.log
Anyway, after this I could read the system configuration script using this:
This shell script implements the support for most of the Knoppix cheat codes. The version on the Knoppix 7.0.5 DVD images not only identifies a storage device from which the file system image in file KNOPPIX/KNOPPIX can be mounted, it also looks for a second partition on the same device from which an overlay file system can be mounted (as /KNOPPIX-DATA) for persistent storage (among many other measures). It will not find such a partition on a DVD or CD (No partitioning, therefore no second partition), but if directed to another storage medium using the "fromhd=" cheat code, then the script does find it there and mounts it. This behavior is flexible and very useful!Code:less init
.
I use a LiveUSB made from Knoppix 7.0.5 LiveCD.
I note that when either the LiveCD or the LiveUSB is booted, that
there is a file '/init' in the root directory '/'
which is root:root ownership, dated 20 Dec 2012, and 38932 bytes.
Is this the same or different than the 'init' one finds using the cpio route?
Thanks.
Hello utu;
I think it is indeed the same init file: While playing with the bootfrom= cheat code (to learn what I had wrought upon poor ttop with my "shot from the hip" test suggestion), I was able to interrupt the repeating search across devices for a KNOPPIX image files by pressing the Ctrl+C keys. I was then left in a shell, from which I could access a root file system containig some scripts and kernel modules (.ko suffix).
I remembered the initrd boot file system approach then. The "cpio route" for unpacking minirt.gz is just something I made up to make the init boot script accessible in a more complete Linux environment (and without interrupting the boot process in such a drastic way).
Hello ttopp;
Well, I still don't know why Your PC can boot Spinrite from flash storage but seemingly nothing else. Therefore I don't yet have an answer.
Sorry, I can't help you there either. The only PC (Laptop) with a floppy drive I still have does not have usable USB ports. But I remember to be able to write boot floppies for/from a Linux Installation on the internal hard disk of that laptop. That was a nice way to preserve boot loaders of other OS on the HDD of the laptop.
Knoppix still comes with the needed tools, I think: fdformat and grub-mkrescue (or grub-mkimage) might be the ticket for that. Perhaps other forum members can help you to find and test a procedure for making a Knoppix 7.0.5 boot floppy?
This old thread about Knoppix boot floppies might have suggestions:
http://knoppix.net/forum/threads/222...r-Boot-Floppy!
(Sorry for the seperate post, I found this only after my posting edit period expired.)
SGIN 17.3" Laptop 4GB RAM 128GB SSD Notebook with IPS Full HD 2.5GHz Windows 11
$239.00
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$21.50
Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM
$22.76
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel
$33.99
Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand
$60.00
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins
$72.93
A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$287.96