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
  •  


G.SKILL Trident Z5 RGB Series 64GB (2 x 32GB) 288-Pin PC RAM DDR5 6400 (PC5 5120 picture

G.SKILL Trident Z5 RGB Series 64GB (2 x 32GB) 288-Pin PC RAM DDR5 6400 (PC5 5120

$190.00



Crucial 8GB 1x8GB PC RAM PC3L 12800U DDR3 1600MHz Desktop Memory DIMM picture

Crucial 8GB 1x8GB PC RAM PC3L 12800U DDR3 1600MHz Desktop Memory DIMM

$8.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2 picture

Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2

$10.00



[ BULK LOT OF 20 ] UNITS of 8GB DDR4 Laptop RAM SAMSUNG, HYNIX etc. picture

[ BULK LOT OF 20 ] UNITS of 8GB DDR4 Laptop RAM SAMSUNG, HYNIX etc.

$179.99



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$22.45



Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture

Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory

$54.99



RAMAXEL 16 GB ( 4 GB x 4 sticks ) DDR3L-1600 PC3L-12800U 12800 Desktop RAM - HVD picture

RAMAXEL 16 GB ( 4 GB x 4 sticks ) DDR3L-1600 PC3L-12800U 12800 Desktop RAM - HVD

$11.42



128GB Kit 4x 32GB PC4-17000 LRDIMM DELL POWEREDGE R730xd R730 R630 Memory RAM picture

128GB Kit 4x 32GB PC4-17000 LRDIMM DELL POWEREDGE R730xd R730 R630 Memory RAM

$127.96



HYNIX HMT31GR7BFR4C-H9 8GB PC3-10600R DDR3-1333MHZ 2Rx4 (LOT OF 8) DRAT-3 picture

HYNIX HMT31GR7BFR4C-H9 8GB PC3-10600R DDR3-1333MHZ 2Rx4 (LOT OF 8) DRAT-3

$999.00