Flash disk cloning

From Rsewiki
Revision as of 10:30, 29 August 2012 by Jca (talk | contribs)

SMR Flash Disk Cloning

2012 version with Xubuntu 12.04

NB! not finished yet, but there is clone scrips (from image to new bootable disk) on smr24 in room 011:

Make new boot image

Update image on one of the 4GB sticks, then make new imagefile

  • put 4GB stick on another linux (with GRUP installed)
  • mount the disk on a local directory as root, e.g.:
sudo bash
mkdir -p disk
mount /dev/sdb1 disk
  • copy everything on disk to an image file (it takes several minutes):
cd disk
tar -czf ../image/smrXubuntu20120715.tar.gz *
cd ..
umount disk

Clone image to (new) disk

Make a new bootable disk from existing image:

Use clone-xubuntu and clone-databar on smr24 as root in /root, where available images are in the images subdirectory.

Old description

old disk cloning procedure