Results 1 to 6 of 6

Thread: Booting Knoppix HD install on USB hd with no floppy?

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    3

    Booting Knoppix HD install on USB hd with no floppy?

    I know a lot of people have asked about this topic. But no one seems to have an answer. I am trying to get a knoppix hd install to boot from a USB external HD. I'm using a laptop that supports booting from USB but has no floppy. Everything installs fine. I then try to boot up and LILO runs from the MBR of the external drive. It starts the kernel but cannot finish booting because it can't find a file system. The kernel then panics saying it can't find init. I've had the same problem trying to install Mandrake. I'm fairly new to linux. Is there any way I can get it to start? Others have suggested RUNT or Flonnix, but I have no floppy to boot from. Any suggestions?

  2. #2
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Paris, France
    Posts
    203

    Oops

    I think I double posted since this is essentially the same error I get
    http://www.knoppix.net/forum/viewtopic.php?t=7545

    However, just to clarify, the problem (for me) was installing onto an IDE disk not a USB with the USB disks plugged in.

    One is a flash memory and the other an archos MM drive.

    I have seen similar problems with fdisk before when it can't read a partition table (infact I trashed a drive doing it in MDK once)

  3. #3
    Junior Member
    Join Date
    Apr 2003
    Location
    PacNW
    Posts
    3
    I had similar problems trying to boot off a HD greater than /dev/hdh.
    Knoppix does not come with any /dev/ files beyond hdh.

    1. Boot knoppix off CD and mount the USB HD with the knoppix installation on it.
    2. Check to see of /dev/hdX exists - where X represents the USB hard drive.
    3. If not you must create the hdX dev file using the MAKEDEV script in the dev dir.
    4. You must insure that lilo.conf on the hard drive installed system has your usb drive dev file configured correctly. If not config it and then chroot to your installed system and run lilo to commit changes.
    5. You must insure that /etc/fstab on your hard drive installed knoppix has your usb drive dev file specified correctly.

  4. #4
    Junior Member
    Join Date
    Jan 2004
    Posts
    3
    I'm not having any problem installing to the usb hard drive. It's just trying to get it to boot. Everything installs fine to /dev/sda1. LILO runs fine and starts the kernel properly. It's just when I try to boot the kernel doesn't seem to be able to see the usb drive it's running off of.

  5. #5
    Junior Member
    Join Date
    Jan 2004
    Posts
    2
    You are having a simple problem.... all the drivers the kernel needs to access a USB Storage device are not compiled into the kernel. Whatever drivers are needed (including the USB Storage driver) are configurged in the Knoppix kernel to be modules. SOooooo, you have a situation in which the bootloader gets the kernel loaded in (using its code and the BIOS) and then the kernel attempts to access the device, but does not have the code in memory to access the drive (and the modules it needs are sitting on that drive).

    I can't give you all the details, but you have one of 2 choices:

    1) reconfig and recompile the kernel with the config on all drivers necessary for USB Storage devices set to "Y" (not "M").

    2) setup a boot floppy (maybe not possible on your system???) that loads a kernel and an initrd image containing the necessary drivers which then attaches the USB drive and mounts the partitions and moves the system root there... (given your lack of floppy drive, this could theoretically also be done on an extremely small partition of your main hardrive that is then used to boot into the USB drive...)

    Hope that helps...

  6. #6
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Paris, France
    Posts
    203
    Quote Originally Posted by visage
    I'm not having any problem installing to the usb hard drive. It's just trying to get it to boot. Everything installs fine to /dev/sda1. LILO runs fine and starts the kernel properly. It's just when I try to boot the kernel doesn't seem to be able to see the usb drive it's running off of.
    If you are running knoppix-installer from a root shell then check the shell output.
    Error messages go here, not a dialog box.

    The USB module chicken and egg is true but why do I get the same problem installing onto an IDE drive with the USB drive plugged in???
    Ill delete my seperate thread.

Similar Threads

  1. Booting from floppy...
    By Robinhood in forum Hardware & Booting
    Replies: 3
    Last Post: 03-30-2005, 12:05 AM
  2. Booting from USB Device Using Floppy?
    By victorhooi in forum Hardware & Booting
    Replies: 2
    Last Post: 02-13-2005, 07:40 AM
  3. Booting from floppy after Hdd install
    By Loque in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-04-2003, 06:45 PM
  4. booting from a laptop with NO cd but it does have a floppy
    By MikeyMustang in forum General Support
    Replies: 5
    Last Post: 05-03-2003, 03:47 PM
  5. hdinstalled booting off floppy
    By hickorynut in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 01-27-2003, 05:37 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
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99