How to make an image(backup) of a disk/partition to a remote PardusPC

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(Gparted)
(Gparted)
Line 100: Line 100:
  
 
On the Desktop in System unmount the 131M Removable Media.
 
On the Desktop in System unmount the 131M Removable Media.
===Gparted===
+
===Clonezilla -> Gparted===
 
Download the latest gparted-live-???.zip file to the above created clonezilla directory from URL: http://gparted.sourceforge.net/download.php.
 
Download the latest gparted-live-???.zip file to the above created clonezilla directory from URL: http://gparted.sourceforge.net/download.php.
 
At this moment gparted-live-0.4.1-2.zip
 
At this moment gparted-live-0.4.1-2.zip

Revision as of 11:52, 30 December 2008

Contents

How to make an image(backup) of a disk/partition to a remote PardusPC

Introduction

When you want to do a new installation(dual boot) of Pardus on a computer (WinPC) which already has another OS (Windows), it is highly recommended to make an image(backup) of the disk/partition.

The problem is where to put this image?

This is a manual about making and writing the image to a remote computer with an active Pardus 2008.1 (PardusPC).

Hardware and software requirements

To make the image use a Live CD with clonezilla-live-1.2.1-xx.iso which can be downloaded from http://www.clonezilla.org/download/sourceforge/

A second computer with an active Pardus 2008 OS is used to store the image.

The two computers are connected with a (Sitecom WL-535) router.

The PardusPC must have an active samba setup as described in http://en.pardus-wiki.org/HOWTO:SambaNetwork

"Making /home/samba (share) writable" is important.

The administrator password and IP address of the remote PardusPC must be available.

To show the IP address select the Network-applet in the system tray.

Menu item activation in Clonezilla.

To activate a menu item in Clonezilla do:

Menu items with [ ]:go to the item with the arrow keys, hit the spacebar ([ ]>[*]) and activate with the [Enter] key.

Menu items without [ ]:go to the item with the arrow keys and activate with the [Enter] key.

Making the backup to the remote PardusPC

Boot the WinPC with the Clonezilla liveCD.

Here is a list of the menu items with my input/selection between ().

  1. Select your language.
  2. Configuring console-data ... (Don't touch keymap).
  3. Start_Clonezilla
  4. Choose the mode: ... (device-image)
  5. Mount image directory ... (samba_server)
  6. Mode to setup the network ... (dhcp)
  7. IP address ... (modify = IP address of the PardusPC)
  8. Domain in the samba server ... (leave empty)
  9. Account in server ... (accept default=administrator)
  10. The directory where.... (modify = /share)
  11. Now you have to enter the password for ... (modify = administrator password of the PardusPC)
  12. Choose the mode: ... (saveparts)
  13. Input a name to save the image ... (modify = whatever you want, this will be the name of the directory of the image)
  14. Choose the source partition ... (select the partition you want to image)
  15. Which clone program(s) ... (accept default)
  16. Set advanced parameters ... (accept default)
  17. Choose the compression ... (accept default=-z1)
  18. The size (MB) to split ... (accept default=2000)
  19. The action when client ... (accept default)
  20. Are you sure you want ... (y)

Wait .......and at the end select your Start over/Poweroff option.

Making a USB version of Clonezilla/Gparted in order to install Pardus on a Netbook

Introduction

For this we need a USB stick with a mimimum of 2GB.

Actions

Clonezilla

Open GParted and remove all existing partitions from the USB stick.

Create a new FAT16 125MB partition on the USB stick.

Set the Boot flag of the FAT16 125MB partition (don't forget this one).

Make a note of the /dev/sd?1 USB drive letter value. In this case it is "b" (/dev/sdb1)

Create on the remaining free space of the USB stick a FAT32 partition.

Close GParted.

On the Desktop in System mount the 131M Removable Media and note the mounting point /media/sd?1. In this case "/media/sdb1"

Open a terminal and make a new directory:

mkdir clonezilla

Cd into clonezilla:

cd clonezilla

To be able to boot from the LiveUSB, a boot loader for Linux operating from a FAT filesystem is required. The Open Source project SYSLINUX will do this job.

Download the latest syslinux-??.zip file to the above created clonezilla directory from URL: http://www.kernel.org/pub/linux/utils/boot/syslinux/. At this moment syslinux-3.72.zip (4.4MB)

Unpack syslinux:

unzip syslinux-3.72.zip

Download the latest "Clonezilla live zip file for USB flash drive or USB hard drive > Stable branch from http://www.clonezilla.org/download/sourceforge/ to the above created clonezilla directory. At this moment clonezilla-live-1.2.1-23.zip (91.9MB)

Unpack this file to the FAT16 125MB patition:

unzip clonezilla-live-1.2.1-23.zip -d /media/sd?1  (replace ? with your USB drive letter)

Write the MBR of the USB:

cat /usr/lib/syslinux/mbr.bin > /dev/sd?  (replace ? with your USB drive letter)

Write the boot file to the FAT16 125MB partition:

sudo ./linux/syslinux -s /dev/sd?1  (replace ? with your USB drive letter)

Close the terminal.

On the Desktop in System unmount the 131M Removable Media.

Clonezilla -> Gparted

Download the latest gparted-live-???.zip file to the above created clonezilla directory from URL: http://gparted.sourceforge.net/download.php. At this moment gparted-live-0.4.1-2.zip

Unpack this file to the FAT16 125MB patition:

unzip gparted-live-0.4.1-2.zip -d /media/sd?1  (replace ? with your USB drive letter)

Close the terminal.

On the Desktop in System unmount the 131M Removable Media.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox