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.)
ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs
$239.99
Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller
$84.99
OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire
$36.99
36TB SanDisk G-RAID 2 Thunderbolt 3 External Hard Drive - Excellent Condition
$700.00
Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile
$15.99
LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault
$39.00
9207-8i PCIE3.0 6Gbps HBA LSI FW:P20 IT Mode ZFS FreeNAS unRAID 2* SFF-8087 US
$32.88
Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT
$15.98
Yottamaster 2 Bay RAID Hard Drive Enclosure USB 3.1 For 2.5" SATA HDD SSD UASP
$56.25
Yottamaster 5 Bay RAID Hard Drive Enclosure Type-C B For 2.5" 3.5" SATA HDD SSDs
$131.59