I'm running Ubuntu on my laptop. To keep my data safe and easy disaster recovery as well I bought similar HDD to one installed in my laptop with higher capacity and using USB box I'm doing disk clone to it. So at any time I can replace disk and carry on with my work as before.
I'm trying to simplify this, automate it. My goal is:
1. plug external USB disk and boot from it
2. "one click" action to execute cloning, let it work.
3. when done, unplug disk and reboot as normal.
I don't want to look for live CDs or use USB key linux installations to do this job everytime, I just want something that will reside on the same external disk, will boot up and do its job.
I tried something like this on virtual machine:
disk A: 300 MB disk, one primary partition, linux installation (DSL) (grub)
disk B: 1GB, actuall back up disk (USB)
I have created primary partition 4 on disk B of size 300MB at the end of the drive. Installed GRML linux on it and Grub as a boot manager. This is suppose to be backu up performing OS.
I've created shell script which does this:
1. backup MBR of disk B
2. backup MBR of disk A
3. clone disk A to disk B from possition 0
4. restore disk B MBR so it can be used to backup next time again
when I wanted to use disk B as regular disk I copied back MBR of disk A.
and it shoudl boot up from disk B as it would from disk A, disk B should be regular clone of disk A.
I didn't get expected results.
In first case when disk B should have its original MBR, after cloning it does hang at boot time with black screen and GRUB written on top.
If I copy MBR of disk A to disk B and try to boot from disk B, boot manager seem to be ok but I get kernel panic message from DSL linux with no more info.
I'm not an expert in this field I just wanted to confirm with more experienced users whether I'm just missing something or going completely wrong route. So I won't spend ages of trying to fix something that can't work this way.
Is there anyone who can direct me or give me some clues?
Hello everybody,
:confused:
I have to change the system disk on an old PC running SCO 5.0.5.
The disk is up and running, this is a preventive action.
My experience on UNIX is very limited and I look for the easyest solution to clone this unit.
Is it possible with commands or through a clone... (2 Replies)
Good day all.
So, here's the situation. I have (7x) B180L VISUALIZE WORKSTATION's with Transtec 5100 RAID (RAID 5, 9.1 GB HDD's) towers running of UNIX HP10.20. It's time to replace the RAID's with new ones, them being Fibrenetix FX606 5 bay SATA RAID, 5 bay SATA-SCSI desktop RAID including 80Gb... (1 Reply)
I am using ufsdump and ufsrestore to clone the root disk on one of my servers. I would like to automate this as much as possible, but have run into a problem where it prompts for changing the owner/mode when it is complete.
Any ideas for running this in the background and not being prompted?
... (4 Replies)
Hello guys!
I use the Solaris 10 x86 machine.
I need to clone the boot disk.
Why, when I copy slice 1 - there is a following:
# ufsdump 0f - /dev/rdsk/c0d0s1 | (cd /mnt && ufsrestore rf - )
DUMP: Warning - super-block on device `/dev/rdsk/c0d01` is corrupt - run fsck
Dump: The Entire... (6 Replies)
Hi,
I have to write a shell script for disk space recovery - We have been facing disk space shortage issues very often.
d=`df -k |awk '{print $5}' | egrep "" | cut -c-2`
if
then
echo "DISK SPACE STATUS :NOT OK" >> /backup/stats/healthcheck/SCP1_BLU_HCsummary_$dt.txt
else
echo "DISK... (3 Replies)
Hello Friends,
Am in requirement to clone a Live HP-UX server here's details
OS: HpUX B-11.11 with mirrored LVM disks .
S/ws: Remedy, XML engine, Annoysystem, Oracle
All Oracle, XMl and Remedy data is on SAM LUN which is used for clustering .
My requirement to create a clone server and... (10 Replies)
I am using 'dd' to clone an entire hard drive which only has Ubuntu 11.10 and some data with no special options. The disks are both 1Tb, However, I did re-partition the target disk with gparted successfully. The new partions are not the same size as the source disk. When starting 'dd' no partitions... (24 Replies)
Dear All
I needed to clone my disk to another hard drive . I did it as the following :
#dd if=/dev/sdb of=/dev/sdc
But after a while, the procedure ended with the "writing to /dev/sdc
input/output error" message.
Can you please let me know how can I overcome this as the fdisk now returns as "... (1 Reply)