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
  •  


Lot 10x SanDisk Cruzer ULTRA USB 3.0 16GB USB flash thumb drive SDCZ48-016G 16 picture

Lot 10x SanDisk Cruzer ULTRA USB 3.0 16GB USB flash thumb drive SDCZ48-016G 16

$34.99



SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46 picture

SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46

$12.99



SanDisk 512GB Ultra Drive Dual Go USB Type-C Flash Drive Green SDDDC3-512G-G46G picture

SanDisk 512GB Ultra Drive Dual Go USB Type-C Flash Drive Green SDDDC3-512G-G46G

$49.99



SanDisk 256GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-256G-G46 picture

SanDisk 256GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-256G-G46

$21.99



New TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam & Sentry Mode 128GB picture

New TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam & Sentry Mode 128GB

$18.99



Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof  picture

Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof

$8.39



2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1 picture

2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1

$13.98



64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive picture

64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive

$6.99



USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture

USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT

$249.37



SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot picture

SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot

$276.48