--- trunk/www/2doc/doc/restore-burn.html 2010/06/17 22:25:06 77 +++ trunk/www/2doc/doc/restore-burn.html 2010/09/15 13:20:07 112 @@ -77,8 +77,8 @@

Clonezilla-SysRescCD

Offline Documentation: Creating a Restore DVD - Part 2

-

25/05/2010 - v 3.1.0

-

Last update: 18/06/2010

+

15/09/2010 - v 3.1.0

+

Last update: 15/09/2010

@@ -86,7 +86,7 @@ Offline Documentation - + Download @@ -119,9 +119,7 @@

Burning the disc [^]

-

If the ISO file contains the disk image [^]

- -

Using ImgBurn [^]

+

Using ImgBurn [^]

ImgBurn is a lightweight but very feature-rich disc burning program. It only requires about two megabytes disk space and contains a lot of settings. ImgBurn is closed-source freeware and - unfortunately - Windows-only software. I (Jyrki) personally use ImgBurn when burning discs within Windows.

@@ -135,7 +133,7 @@ That's it. You own now an automated recovery disc.

-

Using K3b [^]

+

Using K3b [^]

K3b (KDE Burn Baby Burn) is the disc burning program included in KDE Software Compilation. It comes with most, if not all, KDE-based GNU/Linux distributions. It can also be installed on other distributions, but I recommend against doing so - K3b requires KDE base packages to be installed, and it doesn't make much sense to install KDE base only for K3b.

@@ -159,53 +157,8 @@
The burning attempt succeeded.

-

If the ISO file contains no image [^]

- -

If you have enabled the workaround to create a ISO file that contains no disk image (required if the size of the image is over 4,4 gigabytes), things become much more problematic. The ISO file and the image can't be burned to the disc simultaneously, they must be written one-by-one. That requires two burning sessions: the first for writing the ISO file to the disc and the second for adding the disk image. Many burning programs don't even support multisession burning at all. About the programs I've mentioned in this page: K3b supports multisession burning, ImgBurn doesn't.

- -I didn't find any instructions for adding an additional file to a spesific directory by using K3b. Actually, I don't even know if that's possible at all. Thus, I recommend using growisofs for burning the disc if the workaround has been enabled, because growisofs allows adding any file to any directory. However, there's one more limitation: growisofs doesn't support multisession burning on dual layer DVD-R discs, so you must use dual layer DVD+R or Blu-ray disc. (source)

- -Growisofs is a command-line program and a part of dvd+rw-tools that is installed on most GNU/Linux distributions. Dvd+rw-tools is Linux-only software, so if you use a competing operating system, you must boot into SystemRescueCD (graphical mode is not needed) in order to burn the disc.

- -Open terminal and mount the partition that contains the image. The commands below must be run as root.

- -

mkdir /media/usb
-mount /dev/sdc1 /media/usb

- -

Note: How a command can be run as root depends on the GNU/Linux distribution you use. If it's Ubuntu or a distro based on it, simply put "sudo" above the command. For example, the latter of the above commands can be executed by typing "sudo mount /dev/sdc1 /media/usb". If you're using SystemRescueCD, all commands are run as root, so you don't need to add any prefix to the commands.

- -

Note: In the command replace /dev/sdc1 with the partition where the disk image resides. It's the same partition you mounted as /home/partimag when creating the image.

- -

Go to root of the partition:

- -

cd /media/usb

- -

Burn the ISO file to the disc:

- -

growisofs -Z /dev/dvd=clonezilla-live-Backup_5-2010_hdb.iso

- -

Note: In the last command I have assumed your ISO file is clonezilla-live-Backup_5-2010_hdb.iso. You will have to replace this with the actual name of the file.

- -

Note: If your computer has multiple DVD drives, replace /dev/dvd with the name of your DVD writer.

- -

The disc must be ejected because it's the only known way to force the drive to reread the disc. Do it:

- -

eject /dev/dvd

- -

Note: If your drive can't reload the disc, insert the disc back right after ejecting it.

- -

Finally, add the image file to the disc:

- -

growisofs -M /dev/dvd -R -J -V "Backup_5-2010_hdb" \
---publisher "Your Name" -graft-points \
-/Backup_5-2010_hdb/=/media/usb/Backup_5-2010_hdb

- -

Note: In the command replace Your Name with anything you want to be the publisher ID of the disc. If you don't want the disc to have any publisher ID, run this command instead:

- -

growisofs -M /dev/dvd -R -J -V "Backup_5-2010_hdb" \
--graft-points /Backup_5-2010_hdb/=/media/usb/Backup_5-2010_hdb

- -


Here we can see the boot menu of the disc.

+
+Here we can see the boot menu of the disc.

@@ -226,12 +179,9 @@

After creating the disk image and booting into GNU/Linux, make sure that the filesystem of the partition where you plan to put the disk image is FAT32. If you don't know the filesystem, open terminal and run this command as root:

-

fdisk -l /dev/sdc

- -

Note: How a command can be run as root depends on the GNU/Linux distribution you use. If it's Ubuntu or a distro based on it, simply put "sudo" above the command. For example, the above command can be executed by typing "sudo fdisk -l /dev/sdc"

- -

Note: In the command replace /dev/sdc with the name of your USB disk.

+

parted -l

+

Note: How a command can be run as root depends on the GNU/Linux distribution you use. If it's Ubuntu or a distro based on it, simply put "sudo" above the command. For example, the above command can be executed by typing "sudo parted -l"

Note: The l in parameter -l is lowercase L, not number 1.

If your disk doesn't contain any FAT32 partition, but it contains a partition which is big enough and doesn't contain any important data, format the partition as FAT32. The command below needs root access too.

@@ -242,6 +192,8 @@

mkfs.vfat -F 32 /dev/sdc1

+

Note: In the command replace /dev/sdc1 with the partition you wish to format.

+

After formatting the partition or noticing that it was already FAT32, extract the ZIP archive to the root of the partition. Also these commands need root rights.

mount /dev/sdc1 /media/usb
@@ -266,8 +218,6 @@

If you don't have admin rights at all, boot into SystemRescueCD (you don't need graphical mode this time) and follow the instructions for GNU/Linux. In SystemRescueCD all commands are run as root, so you don't need to add any prefix to the commands.

-

If you normally use Windows, you maybe don't know the name of your USB disk in GNU/Linux. If that's the case, don't specify any disk in the first command. It causes fdisk to tell about all disks in the computer and you should be able to identify both the right disk and the right partition.

-

After creating the disk image and booting into Windows, make sure that the filesystem of the partition where you plan to put the disk image is FAT32. If you don't know the filesystem, open My Computer, right-click the partition and select Properties. Then read the "File system" column. If there reads anything but FAT32, check other partitions of the disk too, if the disk contains multiple partitions. If you have a suitable FAT32 partition, continue from this step.

If your disk doesn't contain any FAT32 partition, but it contains a partition which is big enough and doesn't contain any important data, format the partition as FAT32.