Results 1 to 10 of 10

Thread: How can I migrate Knoppix 6.2 between HD's from internal HD to external USB one?

Hybrid View

  1. #1
    Member registered user
    Join Date
    Apr 2010
    Posts
    35

    Red face How can I migrate Knoppix 6.2 between HD's from internal HD to external USB one?

    Hi again,

    I have Knoppix 6.2 since 2 month on a laptop named bravely Armada 500

    I'd like to switch Knoppix data from my internal HD to the external USB HD (around 250GB) to boot it up but this time from the new USB HD.

    Is it easy possible?

    Take into consideration, that I'm just the starter (newbie, n00b) as some of us (perhaps, cause maybe I'm the only one).

    Legend:
    HD - hard drive, not movie HD off course.

    The reason I want to load system from external HD without installing from the beginning is, that my internal laptop HD makes noise sporadically (the "pyk" noise) so I think it is perhaps broken or I could be preemtive wrong, so that would make me happy (additional expenses make me dizzy)

    Thanks
    Last edited by Cuddles; 05-25-2010 at 04:39 PM.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I think GParted should be able to copy the partition to the external drive. The best way I think is to boot Knoppix from CD. There is a manual http://gparted.sourceforge.net/docs/...tition-actions with a section Copying and Pasting a Partition. Don't forget to install GRUB in the MBR of your external drive. See also http://gparted.sourceforge.net/docs/...-boot-problems

    There is an old documentation with many pictures http://gparted.sourceforge.net/larry...es/gparted.htm

  3. #3
    Member registered user
    Join Date
    Apr 2010
    Posts
    35
    Quote Originally Posted by klaus2008 View Post
    I think GParted should be able to copy the partition to the external drive. The best way I think is to boot Knoppix from CD. There is a manual http://gparted.sourceforge.net/docs/...tition-actions with a section Copying and Pasting a Partition. Don't forget to install GRUB in the MBR of your external drive. See also http://gparted.sourceforge.net/docs/...-boot-problems

    There is an old documentation with many pictures http://gparted.sourceforge.net/larry...es/gparted.htm
    Nice but if I think well enough, this isn't the safest way of copying partition on an external USB HD. Is there no other, manual way of doing it like: copy system files on the DVD, then on the USB HD and change the path?
    Last edited by GizmoPlushie; 05-26-2010 at 09:58 AM. Reason: spell corection

  4. #4
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    I am also interested in this topic. Is it possible to move the entire partition from one 4 gb USB drive to a bigger one like 16 gb, then convert it to ext2 and resize it to fit the entire drive and then resize knoppix-data.img above the FAT32's 4gb limit ?

  5. #5
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by mecho View Post
    I am also interested in this topic. Is it possible to move the entire partition from one 4 gb USB drive to a bigger one like 16 gb, then convert it to ext2 and resize it to fit the entire drive and then resize knoppix-data.img above the FAT32's 4gb limit ?
    It wasn't clear to me that the previous posts were talking about harddisk installation or flash installation, as the migration procedures will be totally different. Flash installation migration is a lot easier. You consider one of the following strategies :-

    First method: On your 16 GB flash, cut it into two partitions, first partition is a much smaller FAT32 ( 1 G is more than enough ), and it will still keeping your syslinux and kernel there. The second partition is ext2, and you copy the entire existing /mnt-system/KNOPPIX ( including knoppix-data.img ) over there.

    Knoppix autodetects KNOPPIX directory and perform all the work accordingly.

    To get two partitions out of the original single partition 16GB flash, you can use fdisk or equivalent. There are some details need to make it bootable, install boot loader and so on.

    Second Method: You need to install alternative bootloader into your 16GB flash, say using grub or extlinux. These will require you to know how to use grub or extlinux.

    Last but not least, you can yet consider migrating the entire /mnt-system/KNOPPIX directory to your internal harddisk ( together with your existing file system on the internal harddisk). I do that. I use the flash for booting only. After booting, I can remove the flash.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Thank you - that was very thorough explanation. I thought that the procedure would be somewhat similar to the subject of this thread that's why I did not open another one and posted here. I didn't want to mess it up

  7. #7
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I thought GizmoPlushie wanted to copy an HD install of Knoppix 6.2 to a new drive.

    I already copied a flash device install of Knoppix 6.1 to a 16 GB USB stick with the ext2 filesystem. I use extlinux as bootloader instead of syslinux. As far as I remember I did the following:

    1. I used fdisk to create a linux partition on the 16 GB flash device. On the new partition I created an ext2 filesystem.

    2. As user root I mounted the two USB devices and copied the files from the old USB device to the new one while preserving the directory structure.

    3. I marked the partition of the 16 GB USB device as bootable using sfdisk.

    4. In a root terminal I changed to the directory on the 16 GB USB device which contains the file syslinux.cfg. I renamed that file to extlinux.conf and installed extlinux to the current directory. In the documentation of extlinux http://syslinux.zytor.com/wiki/index.php/EXTLINUX is described that the USB device needs an mbr.

    There is a thread about resizing knoppix-data.img http://www.knoppix.net/forum/threads...oppix-data.img in the forum Customising and Remastering.

  8. #8
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    When you add more volumes of persistent storage, it's really first and foremost for your own use, not for Knoppix. It may be possible to join volumes too, but I use them separately. I have Java, Eclipse and other development tools, server-related things together with my own projects, on the extra volumes. Having so much space available, there is not really much need to manage it, in my situation. Currently, I have 1.8 + 2.3 + 3.4 GB free, I will not be able to use it all in a long time, I think, as long as I use hard disks (external+internal) for the voluminous things.
    I would have increased the basic volume to 4GB if I were you. There are a few ways to do this.
    I'm not so sure that you need to be so strict about cache use. You could run du --max-depth=2 (or 3-5) routinely on your persistent storage, to see how it is used and how it changes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Seagate ST500DM009 BarraCuda 500 GB 3.5

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive

$14.99



Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k picture

Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k

$189.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$49.00



3tb Hdd 8 Lot Mixed Sas/sata picture

3tb Hdd 8 Lot Mixed Sas/sata

$300.00



Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD

$299.00



Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5

Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$669.99



Seagate ST1000VM002 1TB 5900RPM 3.5

Seagate ST1000VM002 1TB 5900RPM 3.5" SATA 6GB/s HDD Video Hard Drive PC DVR

$24.99



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$329.99



Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS picture

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS

$184.99



Seagate BarraCuda ST3000DM008 3TB Internal SATA 6Gb 3.5

Seagate BarraCuda ST3000DM008 3TB Internal SATA 6Gb 3.5" Hard Drive 7200RPM 64MB

$91.99