Re: Transfer F7 partition to a new hard disk



On 10/20/07, Jonathan Dieter <jdieter@xxxxxxxxx> wrote:
Just want to clarify: you want to clone a partition or a hard drive?
Will you leave the original hard drive in the computer or remove it
after you're done cloning it?

Thanks, Jonathan. I want to remove the old hard disk after it is
copied into a partition of the new hard disk.

Okay, here's what I would do (assuming that the new hard drive has
*nothing* on it and is the same size or larger than the old drive):

1. While the computer is off, plug the new hard drive in
2. Boot from the Rescue CD
3. Work out which drive is the new one (the target) and which is the old
one (the source). For the purpose of this example, the source will
be /dev/sda and the target will be /dev/sdb.
4. Run "dd if=/dev/sda of=/dev/sdb bs=1M".
IMPORTANT: Make sure that /dev/sda really is the *source* and that
/dev/sdb really is the target. If you get them backwards, you will
erase *all* of your data.
5. Shutdown system.
6. Remove old hard drive and plug new hard drive into IDE (or SATA) port
old hard drive was in.
7. Reboot.

Just a heads up that the partitions on the new drive will be the same
size that they were on the old drive. If you want to make them larger
(because your new drive is larger) you need to use something like
system-config-lvm (assuming you're using LVM).

The point is that the rescue disk does not boot here, as the original
F7 kernel is buggy; the working F7 kernel is recent. Any ideas how to
overcome this problem?

Paul

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • CEPC kernel installation
    ... Using platform builder, I've successfully built & downloaded CEPC OS ... To run CE on the target PC, I boot via floppy diskette (created by ... Platform Builder) & the kernel is transferred via ethernet. ... Will I need to reformat the hard disk (or probably just pop in another ...
    (microsoft.public.windowsce.platbuilder)
  • Re: disk crash
    ... The hard disk seems to have crashed over the weekend. ... after I choose which kernel to boot from. ... boot partition, the latter, /dev/sda2, being the rest of my OS. ... I can't mount the other. ...
    (RedHat)
  • disk crash
    ... The hard disk seems to have crashed over the weekend. ... after I choose which kernel to boot from. ... boot partition, the latter, /dev/sda2, being the rest of my OS. ... I can't mount the other. ...
    (RedHat)
  • FC8/FC9 : 1To hard disk doesnt work
    ... I use an added card to provide sata connexions. ... On this card, I connected a 500Go hard disk sata II with no problem: the disk is recognize, no errors in the messages log file. ... kernel: ata3.00: ... (ATA bus error) ...
    (Fedora)
  • Re: [patch] IBM HDAPS accelerometer driver.
    ... >> park and disable hard disk instead. ... I think writing it as kernel thread would be easir than all this. ... the timeout drop it). ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)