Results 1 to 10 of 10

Thread: questions on install to usb disk

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    9

    questions on install to usb disk

    All,

    I'd like to install knoppix onto an usb disk so that I can boot from the usb disk on any PC box.
    Now my method is to copy /boot directory and KNOPPIX/KNOPPIX onto the disk, and then boot it with GRUB.
    But I think it is better to install knoppix into usb disk, so I could add more packages, save my configuration and other customization. I have not hd-install knoppix before.
    I want to Can hd-install knoppix automatically check hardware and config as the CD version?
    Any suggestions?

    Regards,

  2. #2
    Member registered user
    Join Date
    Jan 2003
    Posts
    37
    I have not done trhis myself, but it should worlk fine, as long as there are no scsi devices pluged to the computer. Also the computer that you want it to run on, has to support boot from usb device.

    The reason that scsi devices might be a problem is that usb storage devices registers as scsi device.

    An example.
    You install knoppix on your usb device (sda)
    You now move the usb device to another computer useing scsi harddisks.
    You boot up and gets a kernel panic. Cant find rootfs
    Dhis is because the scsi harddisks gets sda and your usb harddisk is now sdb

    However i have never tryed so i'm guessing here.

    To install knoppix with hardware detection just run:
    sudo knoppix-installer
    and select knoppix in the installetion options.

  3. #3
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    692
    I recently asked this question (within the last month) and got some great replies that I have not yet had an opportunity to try out. I will try to find the thread and edit this post to include the link, but if you're impatient or if I forget, you can do a search. I know that eco2geek and a kind fellow named Gilles helped me out, and it was within the last month or so.

    Ah, yes, here it is: http://www.knoppix.net/forum/viewtop...?p=53163#53163

    jd

  4. #4
    Junior Member
    Join Date
    Jul 2004
    Posts
    9
    Quote Originally Posted by Gozar
    The reason that scsi devices might be a problem is that usb storage devices registers as scsi device.

    An example.
    You install knoppix on your usb device (sda)
    You now move the usb device to another computer useing scsi harddisks.
    You boot up and gets a kernel panic. Cant find rootfs
    Dhis is because the scsi harddisks gets sda and your usb harddisk is now sdb
    I think that's not a big problem if using grub. Because grub could specify the device at boot time.

  5. #5
    Junior Member
    Join Date
    Jul 2004
    Posts
    9
    Quote Originally Posted by j.drake
    I recently asked this question (within the last month) and got some great replies that I have not yet had an opportunity to try out. I will try to find the thread and edit this post to include the link, but if you're impatient or if I forget, you can do a search. I know that eco2geek and a kind fellow named Gilles helped me out, and it was within the last month or so.

    Ah, yes, here it is: http://www.knoppix.net/forum/viewtop...?p=53163#53163

    jd
    thanks,

    I guess my idea is somewhat different with yours. What I want is to boot from USB disk in which a real linux (knoppix) is installed. not from the ISO image or the KNOPPIX loopback file.
    Currently I have successfully booted from loopback file in USB disk with GRUB.
    Anyway, I will try to do "sudo knoppix-installer" as Gazar suggested to install a real knoppix into the USB disk, and see if it can fulfil my requirements.

  6. #6
    Junior Member
    Join Date
    Jul 2004
    Posts
    9
    I had done hdd-install with 'knoppix' as option. However, I can't boot it from usb disk while the kernel tell me can't find root fs.
    I have installed it onto /dev/sda1. Any my grub.conf is like:
    root (hd0,0)
    kernel /boot/vmlinuz root=/dev/sda1 lang=en
    initrd /boot/initrd.img

    In the boot process, the kernel complained that the root fs can't be found. then kernel panic.

    I guess it is because the usb device has not been detected before kernel want to mount root fs.

    Any solutions?

    Regards,

  7. #7
    Junior Member
    Join Date
    Jul 2004
    Posts
    9
    After using modified minirt24.gz in knoppix CD as the initrd, I could boot the hdd-install from a USB disk successfully.
    The point is to load usb-related module into kernel during the initrd stage.

  8. #8
    Junior Member
    Join Date
    Sep 2003
    Posts
    4
    After using modified minirt24.gz in knoppix CD as the initrd, I could boot the hdd-install from a USB disk successfully.
    The point is to load usb-related module into kernel during the initrd stage.
    Halo,

    Could you please clearly explain how to install Knoppix to a USB disk?

  9. #9
    Junior Member
    Join Date
    Jul 2004
    Posts
    9
    Quote Originally Posted by johnqgalt
    Halo,

    Could you please clearly explain how to install Knoppix to a USB disk?
    1. First, your computer can boot from usb driver
    2. The knoppix I used is 3.4.
    3. Install grub into your usb driver, please refer http://www-106.ibm.com/developerwork...lnxw09FireBoot or http://www.freewebs.com/tsj/bootingUSB_ldp_v0.1.htm
    4. Install knoppix into USB driver with options "knoppix", I didn't try other options, may work also.
    5. Copy minird24.gz in knoppix cd and uncompress to a temprory dir, then mount to a loop directory.
    For example, mount -oloop minird24 /minird,
    Then modify /minird/linuxrc to remove some unnecessary tasks. Dont remove those lines load usb related kernel modules.
    Umount /minird and then copy minird24 to /boot directory
    I didn't try 2.6 kernel, maybe work too.
    6. Modify grub menu to point to kernel images and initrd.
    For example,
    root (hd0,0)
    kernel /boot/vmlinuz-2.4.26 root=/dev/hda1 vga=0x317 lang=en
    initrd /boot/minird24
    Note:
    There is one minor problem for me, each time when I boot, the XFree86 config file doesn't update automatically. I have to remove it manual and reboot.

  10. #10
    Junior Member
    Join Date
    Sep 2003
    Posts
    4

    Thanks, Halo!

    Thank you for the reply, Halo. This guide also proved helpful:

    Boot KNOPPIX from an USB Memory Stick
    http://rz-obrian.rz.uni-karlsruhe.de/knoppix-usb/

Similar Threads

  1. More questions after HDD install. Please help.
    By rniles in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 12-20-2004, 04:21 AM
  2. Post install questions (firewire hdd install)
    By c123 in forum Hdd Install / Debian / Apt
    Replies: 10
    Last Post: 04-20-2004, 09:31 AM
  3. HD install questions
    By binarybum in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 04-10-2004, 04:10 PM
  4. a few hdd install questions
    By bigjohn in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 09-27-2003, 12:33 PM
  5. HD install questions
    By Slo in forum General Support
    Replies: 9
    Last Post: 08-15-2003, 06:31 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
  •  


Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



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



Intel Xeon E5-2697 V2 LGA2011 Server CPU Processor 2.7GHz 12 Core SR19H 130W picture

Intel Xeon E5-2697 V2 LGA2011 Server CPU Processor 2.7GHz 12 Core SR19H 130W

$35.00



Dell Precision 7820 Win 11 Gaming Computer Xeon Silver 4112 16GB GTX 1080 picture

Dell Precision 7820 Win 11 Gaming Computer Xeon Silver 4112 16GB GTX 1080

$320.00



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km picture

Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km

$11.99



Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor picture

Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor

$199.99



Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W picture

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W

$29.00



Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS

$144.98



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98