Iris: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 22: Line 22:
bit is backed up.
bit is backed up.


  dd if=/dev/sda1 | ssh -l root bread zip /home/backups/iris_sda1 -
  dd if=/dev/sda1 | zip | ssh -l root bread 'cat /home/backups/iris_sda1.zip'
  dd if=/dev/sda3 | ssh -l root bread zip /home/backups/iris_sda3 -
  ...repeat for /dev/sda3


Clumsy but should make it possible to bring the machine back to its
This puts the compression work on the laptop (which has more CPU power than the server!) and this reduces the volume of network traffic so in theory it should speed things up.
original state. I should be able to safely remove the recovery partition.
 
Using 'dd' is clumsy but should make it possible to bring the machine back to its original state. I should be able to safely remove the recovery partition.
To be on the safe side I will also burn the recovery partition to a CD.
To be on the safe side I will also burn the recovery partition to a CD.


I will also backup the MBR just in case it has weird stuff in it.
I will also backup the MBR just in case it has weird stuff in it.
I suspect it puts the "Press F10 to Recover" message on the screen.
I suspect it puts the "Press F10 to Recover" message on the screen.
To test each image, I should be able to unzip the image and boot a VMWare machine from it using a grub entry similar to this
unhide (hdX,Y)
rootnoverify (hdX,Y)
chainloader+1
I will try this with the recovery partition but I am unwilling to go quite this far with the full C: image... I think... maybe I am. It would be an interesting experiment...

Revision as of 05:44, 3 August 2006

Iris is a Sharp PC-M4000 laptop

She came with XP Pro installed. I spent a few evenings playing with it, updating it and installing Firefox and ArcMap and so on. Now I want to start serious work so I need to install Linux on the machine. I want the system to be dual boot.

Right now I am using Linux to create a backup image before installing Ubuntu. I booted from the Ubuntu 6.06 cdrom and will use the dd command to create images of the drive partitions.

It has 4 partitions.

1    1 7649 07  NTFS            61 GB  Drive C:
2 7650 9091 0f  W95             11 GB  Drive D:
3 9092 9729 de  "Dell Utility"  1/2 GB
-
5 7650 9091 07  NTFS            Drive D: by another name

I presume that the third partition is the recovery partition... No need to back up sda2 as it is completely empty. This creates compressed images of the complete partition. Every bit is backed up.

dd if=/dev/sda1 | zip | ssh -l root bread 'cat /home/backups/iris_sda1.zip' 
...repeat for /dev/sda3

This puts the compression work on the laptop (which has more CPU power than the server!) and this reduces the volume of network traffic so in theory it should speed things up.

Using 'dd' is clumsy but should make it possible to bring the machine back to its original state. I should be able to safely remove the recovery partition. To be on the safe side I will also burn the recovery partition to a CD.

I will also backup the MBR just in case it has weird stuff in it. I suspect it puts the "Press F10 to Recover" message on the screen.

To test each image, I should be able to unzip the image and boot a VMWare machine from it using a grub entry similar to this

unhide (hdX,Y)
rootnoverify (hdX,Y)
chainloader+1

I will try this with the recovery partition but I am unwilling to go quite this far with the full C: image... I think... maybe I am. It would be an interesting experiment...