Results 1 to 6 of 6

Thread: Advice Needed...

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    5

    Advice Needed...

    Is there a way to install Knoppix 6.7.1 from the Live DVD to a specific partition on a USB drive (/dev/sdb7)? The "Install to HardDrive" menu option lets me select a USB partition & swap via Gparted to install to, but will only try to install to the hard drive. Ok, that's understandable. The "Install to Flash Drive" menu option won't allow a specific partition to install to, only the whole USB drive, as far as I can tell. Maybe I am missing some small detail?

    Is there a way to get the 6.7.1 Live DVD to install to a specific USB partition? A command line in a Terminal or create/modify a script?

    Thanks

    P.S. -- I posted this thread 12 hours ago after I registered and it never showed up. Mod approval?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    If you boot off the DVD and use the boot option tohd=/dev/sdb7 the system copies the whole KNOPPIX directory to the partition /dev/sdb7 and asks you for a size of the persistent image. Next time you boot off the DVD and use the boot option fromhd=/dev/sdb7 the system will find the KNOPPIX directory and use the persistent store you created.

    This solution is based on a KNOPPIX boot CD or DVD of the same version as you used before. If you need to create a bootable USB HDD with KNOPPIX V6.7.1 then you have to install a boot loader like syslinux or grub on your external drive. You must copy the 'boot' directory of the Knoppix V6.7.1 CD or DVD to a partition that is accessible to the bootloader. Your boot loader needs a configuration file. If you use syslinux you can copy the file isolinux.cfg to syslinux.cfg and place that file in the proper place so that syslinux can read it. If your boot loader is grub then you have to translate the commands found in isolinux.cfg to grub's syntax.

    Do not forget to mark the partition with the boot loader as bootable. You can use the program fdisk to do so.

    If your drive is already bootable and equipped with a boot loader then you only have to add some lines to its configuration file. You should not alter the bootable flag in the partiton table of the external HDD and you do not need to install a second boot loader unless you want to use a chain-loader ability that your first boot loader might have.

    I hope this helps.

  3. #3
    Junior Member
    Join Date
    Dec 2011
    Posts
    5
    Thanks for the response.

    If I use the boot options and copy /KNOPPIX, "asking me for the size of the persistent image" sounds like I am copying the ISO files and not replicating a regular install. Is this correct? I am trying to at least simulate a regular install to sdb7 and use sdb8 as the swap. This way I can keep it updated.

    Maybe this will help explain my situation. I can always take three live dvd disks with me (2 live dvds, 1 live cd -- 3 different distributions), or because of ease of use I have an 8gb USB with the same distro ISOs on it. I would like the 3 distros on this high speed USB (30mb/s - 32gb) as regular installations so that I can keep it updated and add certain packages to certain distros, because each one does certain things better than the others. It is the custom ISO image format installs that I am inexperienced with.

    I may be trying to do something that is not possible with the given software and setup without serious modification. But if this is workable, could you post the Grub section for the Knoppix boot commands and parameters, and then I should be able to use and edit that since I currently do not have a running multi-boot installation with Knoppix.

    Thanks for your help.

  4. #4
    Junior Member
    Join Date
    Dec 2011
    Posts
    5
    Update:
    "tohd" doesn't work from the boot prompt. It only gives a "Kernel not found on <device>" and boots from the DVD. Using it in Terminal only jumps into the "Knoppix HD Install" 0wn script with the same problems. You can select the sdb partitions for install with Gparted and then "Auto Partition" and it fails and exits the install routine. It doesn't appear to be workable until the 0wn script is corrected or re-written. I didn't check to see if the "Flash Drive Install" script was the same or could be fixed or defined better.

    Oh well I can live without it. I'll check for 6.7.2 and see if things get better. Thanks for the help anyhow.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Quote Originally Posted by nep2n View Post
    Update:
    "tohd" doesn't work from the boot prompt.
    Did you issue
    Code:
    knoppix tohd=/dev/sdb7
    at the boot prompt?

  6. #6
    Junior Member
    Join Date
    Dec 2011
    Posts
    5
    Yes, I used the tohd grub boot option at first like you described, that's when I got the kernel not found on <device> error. Same thing with the fromhd just in case you typo'd. Then tried it from a shell prompt just in case again. Nothing worked.

    The install to hard drive (0wn script) lets me select the partition to install to, and select sdb (default) to install grub to, then I get an error saying "there was an error" "the system may not be bootable", which of course it isn't, then the 0wn script fails.

    I might be able repartition and reinstall everything, installing Knoppix first, so it will actually install grub new, but I am not about to waste my time doing that.

    My suggestion is for Knoppix to use the Ubuntu installer. It sees the USB as another HD in which you can install to any partition and install grub to sda/b/c/etc, or the partition you installed to, and never skips a beat.

Posting Permissions

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


Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



CSE-118 Supermicro 1U 3x GPU Server  2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails picture

CSE-118 Supermicro 1U 3x GPU Server 2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails

$454.03



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$269.99



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$39.99



Intel Xeon E5-2680 v4 SR1N7 2.4GHz 14-Core 3.5MB 35MB Socket 2011-3 Server CPU picture

Intel Xeon E5-2680 v4 SR1N7 2.4GHz 14-Core 3.5MB 35MB Socket 2011-3 Server CPU

$11.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia picture

Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia

$279.56