Ubuntu Backup and System Recovery

Aus Wiki

Backup Dell Latitude E6510

Done with System Rescue CD V. 2.5.1

  1. put 'System Rescue CD' in CD-drive (CD is placed in CD-ROM cabinet), restart PC (it is not possible to backup the root partition ('/') since it is not possible to unmount it while Linux is running.
  2. when the PC boots from CD, press:
    1. <F12> (several times until message at the top right corner appears)
    2. select 'CD/DVD' to start from
    3. select 1) 'start default system rescue CD'
    4. 33 (sg)
  3. cd /mnt (or 'media')
  4. mkdir N3200Backup
  5. mount -t cifs //N3200/nfsshare /mnt/N3200Backup -o user=pfu (enter pw when requested)
  6. cd N3200Backup/PartitionImages
  7. run backup-script saved on Thecus N3200 with:
    ./backupLatitudePartitions (runs Partimage-tool in command line mode)
    This script asks which partitions (including MBR) shall be backed up. The backups are saved to N3200Backup/PartitionImages/<year><month><day>

On SystemRescueCD you can start the X-server with startx where an Internet browser and other tools are available (e.g. gparted, Midnight Commander and elemFM2.).

Start X on System Rescue CD

Select 'A' (instead of '1'), then select 'VESA-based...'. To mount default Linux drive:

cd /media
mkdir linuxDrive
mount /dev/sda6 /media/linuxDrive
cd linuxDrive

Backup Dell Inspiron 510m

  1. put 'System Recovery CD' in CD-drive (CD is placed in file folder in cupboard), restart PC (it is not possible to backup the root partition ('/') since it is not possible to unmount it while Linux is running.
  2. when the PC boots from CD, press:
    1. <Enter>
    2. 33 sg
    3. net-setup eth0
  3. cd /mnt
  4. mkdir N3200Backup
  5. mount -t cifs N3200:/raid/NfsShare /mnt/N3200Backup -o user=pfu (then enter pw)
  6. cd N3200Backup/PartitionImages
  7. run backup-script saved on Thecus N3200 with: ./backup510mPartitions (runs Partimage-tool in command line mode)
This script asks which partitions (and MBR) shall be backed up. The backups are saved to N3200Backup/PartitionImages/<year><month><day>
Partitions:
partition in partimage partition in Ubuntu filesystem size (+-) remark
? hda1 fat16 47 MB Windows XP legacy
? hda4 extended ?
sda5 hda5 ntfs 10 GB
sda6 hda6 ext3 >10 GB home
sda7 hda7 ext3 >19 GB /
hda8 swap 1 GB

Repartition hard disk drive

  1. startup System recovery CD (see #Backup Dell Inspiron 510m)
  2. startx
  3. open gparted (icon is shown in top right corner)
  4. repartition hard disk in GUI, execute changes (may take hours)