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
  •  


WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN picture

WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN

$59.99



N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY) picture

N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY)

$389.95



SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26 picture

SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26

$149.99



Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A picture

Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A

$89.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Micron 2300 256GB M.2 GEN 3x4 PCIe NVMe Solid State Drive 2280 SSD 00C2G4 picture

Micron 2300 256GB M.2 GEN 3x4 PCIe NVMe Solid State Drive 2280 SSD 00C2G4

$14.99



Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$13.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$188.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT

$188.99