Good cloning software

Hi everyone. I installed opensuse 11.2 64-bit edition. I installed all of the software I wanted. I now want to clone the installation to 6 other workstations that are 100% identical to the first.

I used clonezilla to create the image, but all of the new workstations will not boot. This is due to the fact of the fstab being 100% cloned and other boot volume problems.

Does anyone know of a good, easy way to clone opensuse 11.2 that will work?

thanks

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Do you try YaST autoinstallation module?


VampirD
No in elenath hîlar nan hâd gîn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkt8eqkACgkQJQ+0ABWtaVnBPwCg82VkgZddbOfXxJri698R4zFZ
lp8AoJz82k+kyvkAnkkbMFpZsnKT+Nzy
=SipX
-----END PGP SIGNATURE-----

Hi VampirD, thanks for the reply.

I didn’t realize that yast had the autoinstall feature. This would be good to use but unfortunately, I have allot of proprietary software that needs to be installed too.

Also I may want to do a dual boot environment with windows. I should have mentioned that in my first post.

So a clone software I think would be the best bet.

Clonezilla is perfect but it only works if you clone a workstation and then restore the clone to the exact same workstation.

It seems like opensuse creates a boot configuration that contains a hardware ID. So even if I restore the image to a computer that is 100% identical the hardware ID’s aren’t the same and thus the computer will not boot.

thanks

The fstab is easy to fix. So are any such entries in the /boot/grub/menu.lst file. Before cloning, just make your fstab entries and your menu.lst entries generic.

If the PC is 100% identical, you should be able to sort any issues if it uses disk-by-id identification in the /etc/fstab and the /boot/grub/menu.lst files.

What other boot problems did you encounter?

I cloned a hard drive on an older PC to a new (larger) hard drive for same PC, and wrote a guide based on that, and also based on discussion/review with other users. I used “dd” but clonezilla that you used should be more flexible.
Cloning an old drive to a new drive - openSUSE Forums

Some of the precautions that I noted in the above link should be applicable.

Hi oldcpu, is this what you mean?

My old fstab looks like this…


/dev/disk/by-id/ata-MAXTOR_STM3250820A_5QE59H47-part1 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-MAXTOR_STM3250820A_5QE59H47-part2 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-MAXTOR_STM3250820A_5QE59H47-part3 /home                ext4       acl,user_xattr        1 2
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0


if I change the fstab too…


/dev/sda1 swap                 swap       defaults              0 0
/dev/sda2 /                    ext4       acl,user_xattr        1 1
/dev/sda3 /home                ext4       acl,user_xattr        1 2
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0


Here is what the symbolic links look like.


server@server:/dev/disk/by-id> ls -lash
total 0
0 drwxr-xr-x 2 root root 220 2010-02-14 04:04 .
0 drwxr-xr-x 5 root root 100 2010-02-13 21:03 ..
0 lrwxrwxrwx 1 root root   9 2010-02-13 21:03 ata-MAXTOR_STM3250820A_5QE59H47 -> ../../sda
0 lrwxrwxrwx 1 root root  10 2010-02-13 21:03 ata-MAXTOR_STM3250820A_5QE59H47-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root  10 2010-02-13 21:03 ata-MAXTOR_STM3250820A_5QE59H47-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root  10 2010-02-13 21:03 ata-MAXTOR_STM3250820A_5QE59H47-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root   9 2010-02-14 04:04 edd-int13_dev80 -> ../../sda
0 lrwxrwxrwx 1 root root   9 2010-02-13 21:03 scsi-SATA_MAXTOR_STM32508_5QE59H47 -> ../../sda
0 lrwxrwxrwx 1 root root  10 2010-02-13 21:03 scsi-SATA_MAXTOR_STM32508_5QE59H47-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root  10 2010-02-13 21:03 scsi-SATA_MAXTOR_STM32508_5QE59H47-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root  10 2010-02-13 21:03 scsi-SATA_MAXTOR_STM32508_5QE59H47-part3 -> ../../sda3
server@server:/dev/disk/by-id>


Is this correct. If I change my fstab to the above, then run clonezilla to create a new image. This should work.

Is that right? Sorry I am kinda a noob to linux.

I typically never mess with symbolic links.

Check your /boot/grub/menu.lst file. You likely need to edit that also.

karozans wrote:

> If I change my fstab

if you go YaST > (give root password) > System > Partitioner > (click
on a partition > Edit > Fstab Options > then change Fstab options from
“Device ID” to “Device name”

you can get rid of all of that device id stuff in fstab

NOTE: you can also kill your machine with that Partitioner dialog, so
be careful out there…


palladium

You guys are awesome. I changed the fstab and the menu.lst to have direct paths and not symbolic links and it works like a charm.

Whatever they are paying you it’s not enough.

thanks

We will send you a bill. >:)

karozans wrote:
> Whatever they are paying you it’s not enough.

they don’t pay us anything! (or, were you just teasing?)

this is a community of enthusiast/users who “pay for” our ‘free
software’ through giving back to the community some time here…

how do you pay for and/or pay back?
[a question maybe we should ask all who enter herein with a Q…]


palladium

karozans glad to read it worked. Just your jubilation on succeeding is payment enough. Its a boost to one’s ego/internal gratification when one is successful in providing help to other users.

yep, I can see the top of your head on the horizon :wink: