Re: Duplicate a hard-drive wont boot kernel panic

From: Earl Eiland (eee_at_nmt.edu)
Date: 11/01/03

  • Next message: Jason Staudenmayer: "RE: CUPS prints lighter than Windows?"
    To: redhat-list@redhat.com
    Date: Sat, 01 Nov 2003 07:12:22 -0700
    
    

    something I've done is to use dd if=source HD of=targetHD
    dd if=/dev/hda of=/dev/hdb for example. This makes an exact copy. The
    problem is that as far as the OS is concerned, it's still the smaller
    device. If you dd'd a 10 Gb HD onto a 40Gb Hd, for instance, the
    machine won't see the additional 30 Gb. You can fix this by resizing
    the partitions. I've used parted successfully. Read the manual first.
    It's on-line at
    http://www.gnu.org/manual/parted-1.6.1/html_mono/parted.html

    Earl

    On Fri, 2003-10-31 at 22:06, Jesse Millan wrote:
    > I just bought a new larger hard drive. I want to replace my existing
    > drive with the new one. I am not interested in re-installing. I wanted
    > to copy all of the data from the old disk over to the new disk and
    > remove the old one.
    >
    > I installed the new disk, created the partitions (the same only larger)
    > and copied all the data on to the new disk. I powered down, removed the
    > old drive tried to reboot and I am getting nothing but kernel panics.
    >
    >
    > Pivitroot:pivit_root (/Sysroot,/sysroot/initrd) failed:20
    >
    >
    > Any help would be great. I would really appreciate some things to double
    > check.
    >
    > --
    > Jesse Millan
    > CNS Server Team
    > Portland State University
    > Phone: (503) 725-3285
    > Fax: (503) 725-6487
    > GPG key: www.system-calls.com/gpg.php
    >
    > Innovate, don't suffocate. -Ken Fisher
    >

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jason Staudenmayer: "RE: CUPS prints lighter than Windows?"

    Relevant Pages

    • LVM on SW RAID for sarge - success
      ... I've just had success migrating Debian Sarge to root on LVM on RAID. ... First make sure the SCSI BIOS boots from the first disk. ... I made reiserfs on all the filesystem partitions and completed the ... The remaining two disks were partitioned and used to create RAID arrays ...
      (Debian-User)
    • Re: Replace SCSI Drive
      ... from there you can manipulate other hard drives attached to the machine. ... It should 'just work' but watch out that you keep disk devices ... vi-a) Write a BSD partition table into the slice, then set up your required FreeBSD partitions: ... items under the 'Custom Install' to achieve the desired result. ...
      (freebsd-questions)
    • Re: RAMDisk and HardDisk strikes back!
      ... One disk with only one partition as large as FBA setup; ... Two disk with one or more partitions for each. ... @ 20:32:55.252 #W059 Selecting best compatible driver failed. ... @ 20:53:51.166 #T211 Install Device: Changing registry settings as specified ...
      (microsoft.public.windowsxp.embedded)
    • Re: backups & cloning
      ... dump unmounted file systems to the system's tape drive. ... The restore program, on the other side of the | pipe, does ... Here's an example (ad1 is source disk, ... Use dump only on unmounted partitions. ...
      (freebsd-questions)
    • Software RAID partitions not detected at boot time with linux 2.6.25.1.
      ... In my previous bug repor, I was using raid1; now, I am using raid5, as ... device sdc2 operational as raid disk 2 ... The last line shows my raid partitions are detected. ...
      (Linux-Kernel)