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
  •  


IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS picture

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS

$80.00



IBM 46K7505 Power 740 Server Dual Processor System Backplane - Fully Tested picture

IBM 46K7505 Power 740 Server Dual Processor System Backplane - Fully Tested

$200.00



IBM Server Cabinet Cable Management Arm P40K6441 Tidy Bracket - Fully Tested picture

IBM Server Cabinet Cable Management Arm P40K6441 Tidy Bracket - Fully Tested

$50.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$149.99



IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD. picture

IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD.

$629.99



IBM Power S922 9009-22A Power9 DDR4 10GbE 6X SFF Barebone Server picture

IBM Power S922 9009-22A Power9 DDR4 10GbE 6X SFF Barebone Server

$999.95



IBM POWER8 8286-42A S824 16-Core 128GB RAM 4.8TB SAS Fedora Linux Server PowerVM picture

IBM POWER8 8286-42A S824 16-Core 128GB RAM 4.8TB SAS Fedora Linux Server PowerVM

$750.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$107.56



IBM System x3755 M3 2U Rackmount Server – No Drives or Trays picture

IBM System x3755 M3 2U Rackmount Server – No Drives or Trays

$150.00



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$200.00