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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



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

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

$389.99



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$246.67



DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY picture

DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY

$329.00



Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU picture

Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU

$161.99



Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU picture

Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU

$419.99



Dell PowerEdge R620 Server 2x E5-2650 V2 = 16 Cores H710P 128GB RAM 2x 600GB SAS picture

Dell PowerEdge R620 Server 2x E5-2650 V2 = 16 Cores H710P 128GB RAM 2x 600GB SAS

$274.99



PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB picture

PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB

$200.00