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
  •  


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



HP ProLiant Xeon E3-1220L V2 2.30 GHz 16 GB RAM MicroServer Gen8 NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 2.30 GHz 16 GB RAM MicroServer Gen8 NO DRIVES

$199.99



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



Supermicro 5018A-FTN4 Rack Server - Black picture

Supermicro 5018A-FTN4 Rack Server - Black

$125.00



SuperMicro RACK SERVER 502-2 5015A-H picture

SuperMicro RACK SERVER 502-2 5015A-H

$125.00



SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00



1U Supermicro Server X10DRU-i+ 2x Xeon E5-2690 V4 28 Cores 64GB 4x 10GBE-T 2PS picture

1U Supermicro Server X10DRU-i+ 2x Xeon E5-2690 V4 28 Cores 64GB 4x 10GBE-T 2PS

$324.00