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
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed picture

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed

$49.99



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00