Results 1 to 4 of 4

Thread: Copy recovery partition

  1. #1
    Junior Member
    Join Date
    Nov 2010
    Posts
    2

    Copy recovery partition

    Hi all, and thanks for taking the time to read my thread.

    I have been trying to figure out how to copy my recovery partition from my old hard drive, on to another hard drive. I have Knoppix 6.2 on a dvd and both hard drives installed. I can see the hard drives, but when I go to erase one, it says that I can not write to the drive. I can't figure out how to make the drive read/write in 6.2.

    Also, if it wouldn't be too much to ask, could I get some step by step instructions. I believe that I need to delete one drive, set up a partition to be the exact same size as the recovery partition, and copy.

    Any help would be appreciated.

  2. #2
    Quote Originally Posted by manitislate View Post
    Hi all, and thanks for taking the time to read my thread.

    I have been trying to figure out how to copy my recovery partition from my old hard drive, on to another hard drive. I have Knoppix 6.2 on a dvd and both hard drives installed. I can see the hard drives, but when I go to erase one, it says that I can not write to the drive. I can't figure out how to make the drive read/write in 6.2.

    Also, if it wouldn't be too much to ask, could I get some step by step instructions. I believe that I need to delete one drive, set up a partition to be the exact same size as the recovery partition, and copy.

    Any help would be appreciated.
    Try Parted Magics Live CD.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    you may also try using dd to copy the partition.
    dd is a POWERFULL tool, be careful when you use it, andthe other tool i will give is equaly powerful sudo.

    sudo is often said to mean "super user do". the superuser is called root in Linux (actually most unix like OS, Linux BSD, minix...), he is administrator with almost godlike powers, he can do stuff not possible in windows without special programs, like making image of a partition with dd, just make CERTAIN it is the right partition and that you write the resulting image to correct place.

    if you want image of first Sata partition on first drive to be stored om /home/knoppix you type

    Code:
    sudo dd if=/dev/sdb1 of=/home/knoppix/partitionimage.img
    that will store an image in /home/knoppix with the name partitionimage.img
    to put that in another partition you first create a partition of exact same size and type (for now let us say /dev/sda1 and hidden FAT32) using gparted or fdisk whatever you prefer.
    that is then overwritten using dd with command
    Code:
    sudo dd if=/home/knoppix/partitionimage.img of=/dev/sda1
    you should now have same data on both partitions. how to make it bootable and such i do not know as it is an unknown system to me.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    just so you know "if=" refers to input file and "of=" output file, in linux and other unixlike systems everything is a file even hardware like disks and even their partitions are files within files...

    also please take care if you mix up I "if="and "of=" bad things happen, also if you write wrong path, say /dev/sda1 instead of /dev/sdb1 wrong partition is overwritten, uhm, rather correct partition but on wrong disk.
    in Linux /dev is where all "hardware" is represented and hd is Pata (IDE drives) and sd is SCSI or Sata drives. the letter after like in sda and sdb is merely what number the disk has in the chain and the number after that what partition.
    if you want to know more ask.

    oh, you can get much information on command-line linux on link below.
    http://floppix.com/index.html
    especially the labs, some information is slightly outdated, mainly paths and filenames and some device names, oh, and filesystem used, EXT2 is not much used for workstations or servers now.
    commands as such are correct (and if not they show how to get help in a linux console).
    command-line is about same as dos-prompt in windows just more powerfull and you can actually go surfing from it or send/recieve mail, I even do ICQ, Yahoo and Google messaging from CLI.

Posting Permissions

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


KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$12.00



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.97



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Vintage Linux DVD - Knoppix 5.2 - c't Magazine - 7 / 2007 - Software Collection 2 picture

Vintage Linux DVD - Knoppix 5.2 - c't Magazine - 7 / 2007 - Software Collection 2

$8.03



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$34.42