Results 1 to 4 of 4

Thread: Can't boot knoppix 3.7 from usb pendrive with kernel 2.6

  1. #1
    Junior Member
    Join Date
    Jan 2005
    Posts
    2

    Can't boot knoppix 3.7 from usb pendrive with kernel 2.6

    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?

  2. #2
    Junior Member
    Join Date
    Jan 2005
    Posts
    1

    1gb usb pen drive

    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

  3. #3
    Junior Member
    Join Date
    Jan 2005
    Posts
    3
    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.

  4. #4
    Junior Member
    Join Date
    Jan 2005
    Posts
    2
    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.

Similar Threads

  1. USB Pendrive
    By rspiteri in forum Hardware & Booting
    Replies: 0
    Last Post: 09-28-2006, 06:00 PM
  2. cant modify files on pendrive
    By fevel in forum General Support
    Replies: 1
    Last Post: 03-26-2005, 11:26 PM
  3. Cant Find KNOPPIX filesystem - Booting from USB PenDrive
    By piper in forum Customising & Remastering
    Replies: 2
    Last Post: 11-16-2004, 04:23 PM
  4. usb pendrive
    By Massimo in forum General Support
    Replies: 10
    Last Post: 08-19-2004, 03:06 PM
  5. usd pendrive, does it works?
    By Brite in forum Hardware & Booting
    Replies: 18
    Last Post: 04-05-2003, 01:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY picture

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY

$10.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



Micron 16GB (2x8GB) 2Rx8 DDR3 1600MHz PC3-12800U Desktop RAM picture

Micron 16GB (2x8GB) 2Rx8 DDR3 1600MHz PC3-12800U Desktop RAM

$19.99



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix picture

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix

$66.00



Crucial 32GB(4 x 8GB) CT8G4DFS824A.C8FDD1 DDR4-2400 UDIMM Desktop RAM - CR352A picture

Crucial 32GB(4 x 8GB) CT8G4DFS824A.C8FDD1 DDR4-2400 UDIMM Desktop RAM - CR352A

$89.95



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G) picture

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)

$89.99



Samsung 32GB DDR4-2666 PC4-21300 288-Pin DIMM RAM M393A4K40CB1CRC0Q picture

Samsung 32GB DDR4-2666 PC4-21300 288-Pin DIMM RAM M393A4K40CB1CRC0Q

$185.00