Would you mind posting the steps you did to get knoppix to work on the 1gb usb drive with the 2.4 kernel. I'd like to do the same thing.
Thanks
robert
I have have installed a standard knoppix 3.7 on a 1GB usb pendrive,
and it works and boots fine with the linux24 kernel.
It finds the knoppix image on /dev/sda1
However I can't get it to boot successfully from usb
with linux26 (kernel 2.6.9).
The boot process stops with the message:
Can't find KNOPPIX image
I have debugged what happens in the linuxrc script
in the initrd-image (minirt26.gz), and the problem is that
it fails to mount anything on /cdrom,
and it does try /dev/sda1 among numerous other devices.
All the correct usb-modules seems to be loaded when i do lsmod.
I have tried booting with a home-built 2.6 kernel too, but get the same result.
Has anyone managed to boot knoppix 3.7 with the 2.6 kernel from usb?
Would you mind posting the steps you did to get knoppix to work on the 1gb usb drive with the 2.4 kernel. I'd like to do the same thing.
Thanks
robert
The problem is similar to a problem I just had trying to make a persistent home directory on a pen drive with 2.6 Starting in 2.6, USb devices are now /dev/ub* as opposed to using SCSI emulation (/dev/sd*). So in 2.6, your pen drive is now /dev/uba1 instead of /dev/sda1, and the boot process doesn't automatically look for images in /dev/uba1. If you are using the 'fromhd' cheat code, instead of 'fromhd' or 'fromhd=scan' try 'fromhd=/dev/uba1'. (With my home directory on a pen drive, I have to use the cheat code 'home=/dev/uba1/knoppix.img' instead of just 'home=scan'.)
So try that cheat code on boot.
Thanks for the suggestions, however my problem is not solved.
Neither the option "fromhd=/dev/uba1" or "fromhd=/dev/sda1" works any better.
I am sure the linuxrc script tries both devices by default, but fails to mount them.
from linuxrc (in minirt26.gz):
# New: also check HD partitions for a KNOPPIX/KNOPPIX image
test -n "$FOUND_SCSI" -a -z "$NOSCSI" && DEVICES="$DEVICES /dev/sd?[1-9] /dev/sd?[1-9][0-9]"
DEVICES="$DEVICES /dev/ub?[1-9] /dev/ub?[1-9][0-9] /dev/hd?[1-9] /dev/hd?[1-9][0-9]"
case "$CMDLINE" in *fromhd=/dev/*) DEVICES="$fromhd"; ;; esac
for i in $DEVICES
do
echo -n "${CRE}${BLUE}Looking for CDROM in: ${MAGENTA}$i${NORMAL} "
if mountit $i /cdrom "-o ro" >/dev/null 2>&1
then
if test -f /cdrom/$KNOPPIX_DIR/$KNOPPIX_NAME
To ztws01: Look at http://www.knoppix.net/wiki/USB_Based_FAQ, it explains the methods i used
to get as far as I have done. Unforunately i have to run some applications that require kernel 2.6.
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
Corsair Vengeance LPX 64GB (4X16GB) PC4-25600 (DDR4-3200) Memory
$90.00
G.SKILL Trident Z Neo 32GB (2x16GB) 4000MHz 288-pin DIMM DDR4 RAM Memory Kit...
$54.95
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$23.95
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$13.99
Samsung 16GB (4x4GB) 1Rx8 PC3-12800U 1600Mhz DDR3 RAM Memory M378B5273DH0-CK0
$14.00
Lot Of 10 Mixed Samsung 16GB 2Rx4 PC4-2133P RDIMM DDR4-17000 ECC Server Memory
$149.99
[ Lot of 50 ] MIXED BRANDS 4GB DDR3 DDR3-12800 Desktop Memory
$84.99