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
  •  


Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



Lenovo ThinkStation P520c Xeon W-2133 3.60GHz 16GB Quadro P2000 Desktop Wi-Fi 6 picture

Lenovo ThinkStation P520c Xeon W-2133 3.60GHz 16GB Quadro P2000 Desktop Wi-Fi 6

$180.00



HPE DL360 G10 CTO Server W/ 2x800W  1x LP PCIE RISER 1xFLEXROM  2XHIGH PERF FANS picture

HPE DL360 G10 CTO Server W/ 2x800W 1x LP PCIE RISER 1xFLEXROM 2XHIGH PERF FANS

$200.00



Dell Precision 5820 Workstation w/ Xeon W-2123 3.6GHz 8GB RAM 750GB SSD WIN 11 picture

Dell Precision 5820 Workstation w/ Xeon W-2123 3.6GHz 8GB RAM 750GB SSD WIN 11

$349.95



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA

$354.48



HP Z2 Mini G5 Workstation Xeon W-1270P 3.8GHz/16GB/1TB SSD/ NVIDIA T1000/W11 Pro picture

HP Z2 Mini G5 Workstation Xeon W-1270P 3.8GHz/16GB/1TB SSD/ NVIDIA T1000/W11 Pro

$349.00



NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11 picture

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11

$450.00



HP Z420 Tower Workstation Xeon E5-1620 3.60GHz, 4GB Ram, NO HDD, NO OS picture

HP Z420 Tower Workstation Xeon E5-1620 3.60GHz, 4GB Ram, NO HDD, NO OS

$140.00