Re: cloning hard disk

From: RituRaj (ritu_turu_at_yahoo.com)
Date: 02/14/05

  • Next message: Blake Swadling: "Re: cloning hard disk"
    Date: Sun, 13 Feb 2005 21:13:43 -0800 (PST)
    To: Blake Swadling <blake@swadling.com>, Debian User <debian-user@lists.debian.org>
    
    

    Hi;

    I have some problem regarding installing Redhat
    ES(3.0) on prolient server DL380 it is not detecting
    scsi controller. In that case can i install Linux on
    IDE and then upgrade the kernel(which will detect the
    scsi) and then copy the data from IDE to SCSI?

    Will the procedure of copy (script descibed below)
    work for IDE to SCSI ? or any additional steps
    needed?

    I am really sorry for posting this here but i am a
    Debian user ..only due to customer insistence i have
    to install RHL and i know i will get more sensible
    answers to my technical questions here than on
    Redhat.

    Thanks and Regards;
    Rituraj

    --- Blake Swadling <blake@swadling.com> wrote:

    > On Sun, 2005-02-13 at 21:12 -0700, Allasso Travesser
    > wrote:
    > > Hello,
    > >
    > > I would like to clone my Debian Woody system onto
    > a second larger hard disk.
    > > It seems to me that it would just be a matter of
    > cleaning off the second
    > > disk, partioning using fdisk, and then running:
    > >
    > > dd if=/dev/hdc of=/dev/hda
    > >
    > > where hdc is the drive from which I am copying my
    > current system, and hda is
    > > the drive I want to put this system on.
    > >
    > > current hdc partition table (2 Gb disk):
    > >
    > > Device Boot Start End Blocks Id System
    > > /dev/hdc1 1 13 52384+ 83 Linux
    > > /dev/hdc2 14 449
    > 1757952 83 Linux
    > > /dev/hdc3 450 523
    > 298368 82 Linux swap
    > >
    > > How I plan to partition hda (30 Gb disk):
    > >
    > > Device Boot Start End Blocks Id System
    > > /dev/hda1 1 13 52384 83 Linux
    > > /dev/hda2 14 3704
    > 29647957+ 83 Linux
    > > /dev/hda3 3705 523
    > 298368 82 Linux swap
    > >
    > > Can anyone see anything wrong with this, or would
    > you tell me anything I
    > > should watch out for? Anything I should find out
    > about my current system
    > > first? It seems that this could be fatal if it is
    > not done right.
    > >
    > > Thank you, Allasso
    >
    > We routinely clone hard drives by doing a simple cp.
    >
    > make the filesystem, cp the files, then reinstall
    > the bootloader
    >
    > I have attached an older script that has lilo stuff
    > in it (I can't post
    > the newer ones). We tend to do the chroot and lilo
    > bit manually as we
    > feel safer that way.
    >
    > works very nicely every time
    >
    > Cheers
    > Blake
    >
    > ----------------------------- clone.sh
    > --------------------------------
    > !/bin/bash
    > mke2fs -j -L /boot /dev/hdc1
    > mke2fs -j -L / /dev/hdc2
    > mke2fs -j -L /home /dev/hdc4
    > mkswap -f /dev/hdc3
    > mount -t ext3 /dev/hdc2 /mnt/clone
    > cp -axv / /mnt/clone
    > mount -t ext3 /dev/hdc1 /mnt/clone/boot
    > cp -axv /boot /mnt/clone
    > mount -t ext3 /dev/hdc4 /mnt/clone/home
    > cp -axv /home /mnt/clone
    > cd /mnt/clone
    > #chroot .
    > #sbin/lilo -C /etc/lilo.conf.hdc
    > #exit
    >
    -----------------------------------------------------------------------
    >
    > --
    > Blake Swadling <blake@swadling.com>
    > Swadling.com
    >
    >
    > --
    > To UNSUBSCRIBE, email to
    > debian-user-REQUEST@lists.debian.org
    > with a subject of "unsubscribe". Trouble? Contact
    > listmaster@lists.debian.org
    >
    >

                    
    __________________________________
    Do you Yahoo!?
    Yahoo! Mail - Easier than ever with enhanced search. Learn more.
    http://info.mail.yahoo.com/mail_250

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Blake Swadling: "Re: cloning hard disk"

    Relevant Pages

    • Re: Strange PEER error with Danis 506 1.81 generic question
      ... In the case of everything so far up until the Intel 915GAVL/GEVL and still in research 945 series motherboards, there have been two IDE controllers on the boards. ... Thus the primary hard disk controller from which the finished box will normally boot would be the Master on IDE controller #1. ... if there were, for example, two IDE hard drives, one would be the normal boot device as the Master on the primary IDE controller. ... to generate a report of scsi and "fake scsi" devices on a mixed scsi hard drives/ide dvd burner and dvd-rom system but I seem to recall that all scsi devices got listed before any ide devices - including the scsi scanner I had. ...
      (comp.os.os2.bugs)
    • Re: Strange PEER error with Danis 506 1.81 generic question
      ... First, a really large number of the systems around me are still SCSI systems which use not only SCSI hard drives, but also SCSI DAT drive tape backup systems, additional SCSI hard drives which can be plugged in, but are not normally there, in mobile drive trays; as well as, in some cases actual SCSI CD-RW units. ... The only use there for the IDE interface is another CD or DVD device for read purposes. ...
      (comp.os.os2.bugs)
    • Re: Strange PEER error with Danis 506 1.81 generic question
      ... First, a really large number of the systems around me are still SCSI systems which use not only SCSI hard drives, but also SCSI DAT drive tape backup systems, additional SCSI hard drives which can be plugged in, but are not normally there, in mobile drive trays; as well as, in some cases actual SCSI CD-RW units. ... The only use there for the IDE interface is another CD or DVD device for read purposes. ... But that flies in the face about data I/O speeds, as well as the requirement, as I understand things, that the CD device has to be a MASTER to be used for boot purposes if you are using, for example, the IBM install CD-ROM disks, or a modified version of this technique for custom boot CD-ROM operations. ...
      (comp.os.os2.bugs)
    • System Management/Information isses re CD-DVD and SCSI
      ... subheading Drives a state of "Not Present" ... SCSI controller are correctly listed and in all cases ... Platinum card ... install PlexTools Pro. ...
      (microsoft.public.win2000.hardware)
    • Re: Looking for SBS migration tool
      ... >> we have a SBS2003 install on her. ... SBS is on the SCSI, ... >> So now I have an SBS which also recognises the 1200a drives. ... She BSOD'd on restart. ...
      (microsoft.public.windows.server.sbs)