Results 1 to 5 of 5

Thread: Installing persistent USB install to particular HDD partition

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    2

    Installing persistent USB install to particular HDD partition

    So I've recently set up the newest Knoppix 7 Live CD on a USB flash drive, and have to say I am very impressed with its performance and stability vs other distributions I have tried recently. On my hard disk at the moment, I currently have Windows XP installed to one partition, Fedora 17 to an ext4 partition (along with a swap partition set to it) and an ntfs partition for cross-compatible storage space.

    When going through the "Knoppix HD Install" option under the "Knoppix" category on my app menu, it seems it wants to completely repartition my hard disk without allowing me to simply tell it to overwrite the Fedora install (hopefully installing GRUB to detect the windows install as well?), having never used 0wn before though I'm not sure.

    So my question is, how do I go about simply installing what I have set up on my flash drive to the linux partition I have Fedora already set up on without messing any of the other partitions up? Or at least install a fresh copy of Knoppix to said partition (if saving what I have on the flash drive isn't possible)?

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    When going through the "Knoppix HD Install" option under the "Knoppix" category ..
    Why not read the "Help" of this tool?

    For HD install you need a 1GB swap Partition and a ReiserFS partition.

  3. #3
    Junior Member
    Join Date
    Oct 2012
    Posts
    2
    Quote Originally Posted by Werner P. Schulz View Post
    Why not read the "Help" of this tool?

    For HD install you need a 1GB swap Partition and a ReiserFS partition.
    Yep, I did notice this. What tripped me up was not knowing if it was going to try and "automate" the process, or if it were going to give me any sort of dialog confirming which partition I wanted to use, or perhaps a gparted-type dialog like most live distributions do when attempting to install them.

    Basically I'm just wondering what to expect exactly going through the HD Install dialogs, and if I need to have said ReiserFS partition set up in advance.

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    You need a ReiserFS partition (size depends of HD install from Knoppix CD or DVD).

    If "0wn" finds a swap and a ReiserFS partiton, it will use this; if not, you have the ability to create this partitons with gparted. You allways get a question, if you want to go on or not.

  5. #5
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802

    This could be an indication for a Poor Man's Install

    Quote Originally Posted by maslowk View Post
    So I've recently set up the newest Knoppix 7 Live CD on a USB flash drive, and have to say I am very impressed with its performance and stability vs other distributions I have tried recently. On my hard disk at the moment, I currently have Windows XP installed to one partition, Fedora 17 to an ext4 partition (along with a swap partition set to it) and an ntfs partition for cross-compatible storage space.

    When going through the "Knoppix HD Install" option under the "Knoppix" category on my app menu, it seems it wants to completely repartition my hard disk without allowing me to simply tell it to overwrite the Fedora install (hopefully installing GRUB to detect the windows install as well?), having never used 0wn before though I'm not sure.

    So my question is, how do I go about simply installing what I have set up on my flash drive to the linux partition I have Fedora already set up on without messing any of the other partitions up? Or at least install a fresh copy of Knoppix to said partition (if saving what I have on the flash drive isn't possible)?
    Because this is older question is a frequently asked one, I provide an alternative answer here.

    First, saving what you have on the flash drive is possible. In your case, it's IMHO by far the best option for you if you have no specific needs for an ordinary HD install of Knoppix, but just want the benefits of running it from a hard drive.

    Second, you don't really need to touch you partition setup, the only thing you might want to do, is adding a Knoppix stance on the bootloader menu, with provisions for the Knopix kernel and initrd images.

    Third, in your case, the NTFS system partition might in fact be the best place for a Poor Man's Install of Knoppix. I'll explain why.

    Fourth, if you don't know ReiserFS and don't have any special motivation for using it, there is not much of a reason to go into it. Surely I'm ReiserFS-incompetent myself, but it is, in fact, the only Unix/Linux file system that has ever given me trouble.

    Simple approach: In Knoppix running from the flash drive, mount the NTFS system partition, then copy the KNOPPIX directory over to it using something like (sda1 might be sda2 or something similar, you can check it out by issuing fdisk -l.)

    Code:
    mount /media/sda1 
    sudo rsync -ax /mnt-system/KNOPPIX /media/sda1 &
    You might get some complaints about ownership preservation, but that's not important here. Then try to reboot, starting flash drive Knoppix as usual. You might be astonished, for unless you use the fromhd=/dev/sdb1 cheatcode, chances are that Knoppix will now run from the copy on the hard disk. And if you use the fromhd=/dev/sda1 cheatcode, Knoppix should now be run from the copy on the NTFS partition. Everything will work just as usual, disk accesses could be a bit faster. And you can always back up your Knoppix version by copying the KNOPPIX directory back to the flash drive (or somewhere else).

    If you have a Linux bootloader on the PC, you can set it up to boot the KNOPPIX image, you then need the linux or linux64 and minirt.gz files from the boot/isolinux (or syslinux) directory on the flash drive. Looking at the .cfg file used for booting the drive, you can get a good suggestion for kernel parameters.

    In a Poor Man's Install, the partition with KNOPPIX is mounted as /mnt-system, and there are some reasons not to use it much for general data handling, but rather, with the exception of the single file knoppix-data.img, use it as a read-only drive. Therefore, the Windows system partition (pre Windows 8 ) is actually a good place for Knoppix. And you can then use both the ext4 and the data exchange NTFS partitions for data.

    You might also want to take this to the next level of sophistication and rename the KNOPPIX directory to, say, KNOPPIX704_1. Then you tell Knoppix to use it by using the cheat code knoppix_dir=KNOPPIX704_1. If you want to upgrade to Knoppix 7.0.5, you can just set that up on another flash drive (or the same), and then copy it over as, say, KNOPPIX705_1. You get the idea, and with just about 8 GB per version, most Windows drives have room for quite a lot of them. If you use separate booting subdirectories for each version of kernel and minirt (initrd), there is not much extra administrative work handling several versions.
    Last edited by Capricorny; 02-08-2013 at 01:27 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
  •  


VINTAGE IBM OEM 810MB 2.5

VINTAGE IBM OEM 810MB 2.5" Laptop Hard Drive HHD DVAA-2810 P/N: 84G3012

$37.88



OEM IBM 46X2476 3TB LTO-5 FIBRE CHANNEL INTERNAL TAPE DRIVE * TESTED / PASS * picture

OEM IBM 46X2476 3TB LTO-5 FIBRE CHANNEL INTERNAL TAPE DRIVE * TESTED / PASS *

$408.49



Genuine OEM IBM Model M2 Keycaps for Missing

Genuine OEM IBM Model M2 Keycaps for Missing "Clicky" Keyboard-Keys and springs.

$3.00



OEM IBM Thinkpad Keyboard 46H3846 picture

OEM IBM Thinkpad Keyboard 46H3846

$10.00



IBM Lenovo Thinkpad T400s T410s T410i T430 T530 90W OEM AC Power Adapter Charger picture

IBM Lenovo Thinkpad T400s T410s T410i T430 T530 90W OEM AC Power Adapter Charger

$9.19



Genuine IBM AC/DC Power Adapter Charger 45W for Thinkpad 310 Laptop OEM w/PC picture

Genuine IBM AC/DC Power Adapter Charger 45W for Thinkpad 310 Laptop OEM w/PC

$19.05



OEM 81Y9670 IBM SYSTEM X 300GB 15K RPM SAS 6Gbps 2.5

OEM 81Y9670 IBM SYSTEM X 300GB 15K RPM SAS 6Gbps 2.5" HARD DRIVE 81Y9671 81Y3812

$26.99



OEM IBM SYSTEM X 200GB SSD 2.5

OEM IBM SYSTEM X 200GB SSD 2.5" SAS 6Gb/s 49Y6130 49Y6133 49Y6129 *FORMATTED*

$39.99



IBM OEM DBOA-2720 720MB 2.5

IBM OEM DBOA-2720 720MB 2.5" IDE 44-Pin LAPTOP HARD DRIVE HDD Vintage TESTED

$79.88



NEW OEM IBM Infoprint 2000 Toner, Version 2 69G7382 Box picture

NEW OEM IBM Infoprint 2000 Toner, Version 2 69G7382 Box

$80.00