72 |
<H2>Clonezilla-SysRescCD</H2> |
<H2>Clonezilla-SysRescCD</H2> |
73 |
<H3>Wellcome</H3> |
<H3>Wellcome</H3> |
74 |
<div style="margin:0; padding: 3px; width: 980; position relative;"> |
<div style="margin:0; padding: 3px; width: 980; position relative;"> |
75 |
<div style="position: absolute; left: 0px;"><H4>26/03/2010 - v 3.1.0</H4></div> |
<div style="position: absolute; left: 0px;"><H4>15/09/2010 - v 3.1.0</H4></div> |
76 |
<div style="position: absolute; right: 0px;"><H4>Last update: 18/05/2010</H4></div> |
<div style="position: absolute; right: 0px;"><H4>Last update: 15/09/10</H4></div> |
77 |
</div> |
</div> |
78 |
</div> |
</div> |
79 |
<div id="linkline"> |
<div id="linkline"> |
80 |
<a class="here" href="index.html">Home</a> |
<a class="here" href="index.html">Home</a> |
81 |
<a href="news.php">News</a> |
<a href="news.php">News</a> |
82 |
<a href="doc.html">Documentation</a> |
<a href="doc.html">Documentation</a> |
83 |
<a href="index.html#download">Download</a> |
<a href="download.html">Download</a> |
84 |
<a href="screenshots.html">Screenshots</a> |
<a href="screenshots.html">Screenshots</a> |
85 |
<a href="index.html#credits">Credits</a> |
<a href="index.html#credits">Credits</a> |
86 |
<a href="help.html">Help</a> |
<a href="help.html">Help</a> |
131 |
<tr><td class="bordertable" colspan="4"><b>Release table</b></td></tr> |
<tr><td class="bordertable" colspan="4"><b>Release table</b></td></tr> |
132 |
<tr><td class="bordertable" valign="top"><b>Date</b></td><td class="bordertable" valign="top"><b>Version</b></td> |
<tr><td class="bordertable" valign="top"><b>Date</b></td><td class="bordertable" valign="top"><b>Version</b></td> |
133 |
<td class="bordertable" valign="top"><b>Clonezilla Live Version</b></td><td class="bordertable" valign="top"><b>SystemRescueCD Version</b></td></tr> |
<td class="bordertable" valign="top"><b>Clonezilla Live Version</b></td><td class="bordertable" valign="top"><b>SystemRescueCD Version</b></td></tr> |
134 |
<tr><td class="bordertable" >25/02/10</td><td class="bordertable" >3.1.0</td><td class="bordertable" >1.2.3-27 (mod)</td><td class="bordertable" >1.4.0 (mod)</td> |
<tr><td class="bordertable" >15/09/10</td><td class="bordertable" >3.1.0</td><td class="bordertable" >1.2.5-35 (mod)</td><td class="bordertable" >1.5.8</td> |
135 |
</tr> |
</tr> |
136 |
<tr><td class="bordertable" >02/07/08</td><td class="bordertable" >2.6.0</td><td class="bordertable" >1.1.0-8 (mod)</td><td class="bordertable" >1.0.4 (mod)</td> |
<tr><td class="bordertable" >02/07/08</td><td class="bordertable" >2.6.0</td><td class="bordertable" >1.1.0-8 (mod)</td><td class="bordertable" >1.0.4 (mod)</td> |
137 |
</tr> |
</tr> |
162 |
<table class="bordertable" cellpadding="5"> |
<table class="bordertable" cellpadding="5"> |
163 |
<tr><td class="bordertable" width="10"><b>Version</b></td><td class="bordertable" width="10"><b>Package/CD</b></td><td class="bordertable"><b>Comments</b></td></tr> |
<tr><td class="bordertable" width="10"><b>Version</b></td><td class="bordertable" width="10"><b>Package/CD</b></td><td class="bordertable"><b>Comments</b></td></tr> |
164 |
<tr><td class="bordertable" width="10" valign="top"><a name="3.1.0"></a>3.1.0</td><td class="bordertable" width="10" valign="top">CD</td><td class="bordertable"> |
<tr><td class="bordertable" width="10" valign="top"><a name="3.1.0"></a>3.1.0</td><td class="bordertable" width="10" valign="top">CD</td><td class="bordertable"> |
165 |
- <b>Clonezilla Live</b> updated to version 1.2.4-28-686<br> |
- <b>Clonezilla Live</b> updated to version 1.2.5-35<br> |
166 |
- <b>SystemRescueCD</b> updated to version 1.4.0<br> |
- <b>SystemRescueCD</b> updated to version 1.5.8<br> |
167 |
|
- Three <b>Clonezilla-SysRescCD</b> flavours are now available,<br> |
168 |
|
one for each architecture (i486,i686,amd64)<br> |
169 |
- <b>Super Grub Disk</b> updated to version 0.9799<br> |
- <b>Super Grub Disk</b> updated to version 0.9799<br> |
170 |
- Added <b>Super Grub Disk 2</b> version 1.30<br> |
- Added <b>Super Grub Disk 2</b> version 1.98s<br> |
171 |
|
- <b>Smart Boot Manager</b> was added to the Tools section<br> |
172 |
|
- Added restorecd/ and docs/ to the squashfs file of Clonezilla distro.<br> |
173 |
|
This way all items are always available (even when booting to RAM)<br> |
174 |
- Most operations are now executed through the TUI (Text User Interface)<br> |
- Most operations are now executed through the TUI (Text User Interface)<br> |
175 |
- Major site / documentation update (thanks to Jyrki Vesterinen) |
- Major site and documentation update (thanks to Jyrki Vesterinen) |
176 |
|
</td></tr> |
177 |
|
<tr><td class="bordertable" width="10" valign="top"></td><td class="bordertable" width="10" valign="top">Package</td><td class="bordertable"> |
178 |
|
- Added auto mode (parameter -a) to script create-clonezilla-sysresccd |
179 |
</td></tr> |
</td></tr> |
180 |
<tr><td class="bordertable" width="10" valign="top"><a name="2.6.0"></a>2.6.0</td><td class="bordertable" width="10" valign="top">CD</td><td class="bordertable"> |
<tr><td class="bordertable" width="10" valign="top"><a name="2.6.0"></a>2.6.0</td><td class="bordertable" width="10" valign="top">CD</td><td class="bordertable"> |
181 |
- <b>Clonezilla Live</b> updated to version 1.1.0-8<br> |
- <b>Clonezilla Live</b> updated to version 1.1.0-8<br> |
306 |
</td></tr> |
</td></tr> |
307 |
<tr><td class="bordertable" width="10">0.1</td><td class="bordertable" width="10"></td><td class="bordertable">- Initial release</td></tr> |
<tr><td class="bordertable" width="10">0.1</td><td class="bordertable" width="10"></td><td class="bordertable">- Initial release</td></tr> |
308 |
</table> |
</table> |
309 |
|
<!-- |
310 |
<H2><a name="download"></a>Download <span class="hideprint">[<a href="#index-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="download"></a>Download <span class="hideprint">[<a href="#index-top" title="go to top of the page">^</a>]</span></H2> |
311 |
<p> |
<p> |
312 |
Installation package: <a href="http://clonezilla-sysresccd.hellug.gr/create-clonezilla-sysresccd-3.1.0".tar.gz" target="_blank">create-clonezilla-sysresccd-3.1.0.tar.gz</a> [~ 1.7 MB]<br> |
<!--Whenever possible I will provide a link to the CD created using profile 0 (full CD)<br><br> |
313 |
ISO file: <a href="http://clonezilla-sysresccd.hellug.gr/clonezilla-sysresccd-full-mod-3.1.0.iso" target="_blank">clonezilla-sysresccd-full-mod-3.1.0.iso</a> [~ 370 MB]<br> |
Installation package: <a href="http://clonezilla-sysresccd.hellug.gr/create-clonezilla-sysresccd-3.1.0".tar.gz" target="_blank">create-clonezilla-sysresccd-3.1.0.tar.gz</a> [~ 6.2 MB]<br> |
314 |
|
<!--Torrent: <a href="http://thepiratebay.org/tor/4272742" target="_blank">The Pirate Bay</a> | <a href="http://linuxtracker.org/index.php?page=torrent-details&id=4b0f13a25440e3d34fb700cc0ff884c28a73fadf" target="_blank">Linux Tracker</a><br> |
315 |
|
ISO file: <a href="http://clonezilla-sysresccd.hellug.gr/clonezilla-sysresccd-full-mod-3.1.0.iso" target="_blank">clonezilla-sysresccd-full-mod-3.1.0.iso</a> [~ ISO_SIZEB]<br> |
316 |
md5sum file: <a href="http://clonezilla-sysresccd.hellug.gr/md5sum.txt" target="_blank">md5sum.txt</a><br><br> |
md5sum file: <a href="http://clonezilla-sysresccd.hellug.gr/md5sum.txt" target="_blank">md5sum.txt</a><br><br> |
317 |
ISO file md5sum: <b><i></i></b></p> |
ISO file md5sum: <b><i>"MD5SUM"</i></b></p> |
318 |
|
--> |
319 |
<H2><a name="user-help"></a>Can I help? <span class="hideprint">[<a href="#index-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="user-help"></a>Can I help? <span class="hideprint">[<a href="#index-top" title="go to top of the page">^</a>]</span></H2> |
320 |
<p>Yes, of course you can. If you have:</p> |
<p>Yes, of course you can. If you have:</p> |
321 |
<ul style="margin-right: 30pt;"> |
<ul style="margin-right: 30pt;"> |
362 |
Incorrect use of any raw disk writing tool could cause your<br> operating system (GNU/Linux / Windows) <b>not to boot</b>.<br><br> Confirm the command before you run it.<br></td></tr></table></div> |
Incorrect use of any raw disk writing tool could cause your<br> operating system (GNU/Linux / Windows) <b>not to boot</b>.<br><br> Confirm the command before you run it.<br></td></tr></table></div> |
363 |
<p>So, from any linux box, assuming <b>Clonezilla-SysRescCD</b> iso file is in your home directory, and your USB device name is <b><font color="Green">sdc4</font></b>, you just execute the commands:</p> |
<p>So, from any linux box, assuming <b>Clonezilla-SysRescCD</b> iso file is in your home directory, and your USB device name is <b><font color="Green">sdc4</font></b>, you just execute the commands:</p> |
364 |
<p class="newcode">umount /dev/<font color="Green">sdc4</font><br> |
<p class="newcode">umount /dev/<font color="Green">sdc4</font><br> |
365 |
dd if=~/clonezilla-sysresccd-full-mod-3.1.0.iso of=/dev/<font color="Green">sdc4</font> bs=512</p> |
dd if=~/clonezilla-sysresccd-full-mod-3.1.0.iso of=/dev/<font color="Green">sdc</font> bs=512</p> |
366 |
<p>And that's it. Your usb device is ready to boot!!!</p> |
<p>And that's it. Your usb device is ready to boot!!!</p> |
367 |
|
<H3><a name="usb-free-space"></a>Using the extra space <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3> |
368 |
|
<p> |
369 |
|
If your usb device is more than 400MB in size, the above command will leave the remaining space unused. To verify it, execute the command: |
370 |
|
</p> |
371 |
|
<p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p> |
372 |
|
<p style="margin-left: 0;">You should get something similar to this:</p> |
373 |
|
<p class="newcode"> |
374 |
|
Disk /dev/sdc: 1048 MB, 1048576000 bytes<br> |
375 |
|
64 heads, 32 sectors/track, 1000 cylinders, total 2048000 sectors<br> |
376 |
|
Units = sectors of 1 * 512 = 512 bytes<br> |
377 |
|
Sector size (logical/physical): 512 bytes / 512 bytes<br> |
378 |
|
I/O size (minimum/optimal): 512 bytes / 512 bytes<br> |
379 |
|
Disk identifier: 0x77a5188f<br> |
380 |
|
<br> |
381 |
|
Device Boot Start End Blocks Id System |
382 |
|
/dev/sdc1 * 1 384 393216 17 Hidden HPFS/NTFS |
383 |
|
</p> |
384 |
|
<p> |
385 |
|
As you can see, we are currently using 348 out of 1000 cylinders of the disk. The remaining disk space (~600MB) can still be used, executing the following commands: |
386 |
|
</p> |
387 |
|
<p class="newcode"> |
388 |
|
fdisk /dev/<font color="green">sdc</font><br> |
389 |
|
command (m for help): <font color="magenta">n</font> <font color="#990000">(create new partition)</font><br> |
390 |
|
command action<br> |
391 |
|
e extended<br> |
392 |
|
p primary partition (1-4)<br> |
393 |
|
<font color="magenta">p</font><br> |
394 |
|
partition number (1-4): <font color="magenta">4</font> <font color="#990000">(create partition sdc4)</font><br> |
395 |
|
first cylinder (385-1000, default 385): <br> |
396 |
|
using default value 385<br> |
397 |
|
last cylinder, +cylinders or +size{k,m,g} (385-1000, default 1000): <br> |
398 |
|
using default value 1000<br> |
399 |
|
<br> |
400 |
|
command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br> |
401 |
|
<br> |
402 |
|
disk /dev/sdc: 1048 mb, 1048576000 bytes<br> |
403 |
|
64 heads, 32 sectors/track, 1000 cylinders<br> |
404 |
|
units = cylinders of 2048 * 512 = 1048576 bytes<br> |
405 |
|
sector size (logical/physical): 512 bytes / 512 bytes<br> |
406 |
|
i/o size (minimum/optimal): 512 bytes / 512 bytes<br> |
407 |
|
disk identifier: 0x77a5188f<br> |
408 |
|
<br> |
409 |
|
device boot start end blocks id system<br> |
410 |
|
/dev/sdc1 * 1 384 393216 17 hidden hpfs/ntfs<br> |
411 |
|
/dev/sdc4 385 1000 630784 83 linux<br> |
412 |
|
<br> |
413 |
|
<br> |
414 |
|
command (m for help): <font color="magenta">t</font> <font color="#990000">(change partition type)</font><br> |
415 |
|
partition number (1-4): <font color="magenta">4</font><br> |
416 |
|
hex code (type l to list codes): <font color="magenta">b</font><br> |
417 |
|
changed system type of partition 4 to b (w95 fat32)<br> |
418 |
|
<br> |
419 |
|
command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br> |
420 |
|
<br> |
421 |
|
disk /dev/sdc: 1048 mb, 1048576000 bytes<br> |
422 |
|
64 heads, 32 sectors/track, 1000 cylinders<br> |
423 |
|
units = cylinders of 2048 * 512 = 1048576 bytes<br> |
424 |
|
sector size (logical/physical): 512 bytes / 512 bytes<br> |
425 |
|
i/o size (minimum/optimal): 512 bytes / 512 bytes<br> |
426 |
|
disk identifier: 0x77a5188f<br> |
427 |
|
<br> |
428 |
|
device boot start end blocks id system<br> |
429 |
|
/dev/sdc1 * 1 384 393216 17 hidden hpfs/ntfs<br> |
430 |
|
/dev/sdc4 385 1000 630784 b w95 fat32<br> |
431 |
|
<br> |
432 |
|
command (m for help): <font color="magenta">w</font> <font color="#990000">(write partition table to disk and exit)</font><br> |
433 |
|
The partition table has been altered!<br> |
434 |
|
<br> |
435 |
|
Calling ioctl() to re-read partition table.<br> |
436 |
|
<br> |
437 |
|
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br> |
438 |
|
The kernel still uses the old table. The new table will be used at<br> |
439 |
|
the next reboot or after you run partprobe(8) or kpartx(8)<br> |
440 |
|
Syncing disks. |
441 |
|
</p> |
442 |
|
<p> |
443 |
|
At this point you should disconnect and reconnect your usb device. When it's recognised, you can format the partition you've just created |
444 |
|
</p> |
445 |
|
<p class="newcode"> |
446 |
|
mkdosfs -F 32 /dev/<font color="Green">sdc4</font> |
447 |
|
</p> |
448 |
|
<p> |
449 |
|
The partition is now ready for use!!! |
450 |
|
</p> |
451 |
<H2><a name="usb-hard"></a>Installing the "hard" way <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="usb-hard"></a>Installing the "hard" way <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H2> |
452 |
<p>If the "easy" way does not work there is an alternative; you will use the <b>Clonezilla-SysRescCD</b> ISO file (or CD) to copy and modify a couple of files on the USB disk, and finally make it bootable, using <a href="http://syslinux.zytor.com" target="_blank">syslinux</a> and its configuration file <b>syslinux.cfg</b>.</p> |
<p>If the "easy" way does not work there is an alternative; you will use the <b>Clonezilla-SysRescCD</b> ISO file (or CD) to copy and modify a couple of files on the USB disk, and finally make it bootable, using <a href="http://syslinux.zytor.com" target="_blank">syslinux</a> and its configuration file <b>syslinux.cfg</b>.</p> |
453 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
529 |
If you are on linux, check that the partition on the USB disk is active (bootable), executing:</p> |
If you are on linux, check that the partition on the USB disk is active (bootable), executing:</p> |
530 |
<p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p> |
<p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p> |
531 |
<p style="margin-left: 0;">You should get something similar to this:</p> |
<p style="margin-left: 0;">You should get something similar to this:</p> |
532 |
<table class="newcode" style="margin-left: 0pt;" border="0" width="100%"> |
<p class="newcode"> |
533 |
<tr><td colspan="7">Disk /dev/<font color="Green">sdc</font>: 1031 MB, 1031798272 bytes</td></tr> |
Disk /dev/<font color="Green">sdc</font>: 1031 MB, 1031798272 bytes<br> |
534 |
<tr><td colspan="7">64 heads, 32 sectors/track, 983 cylinders</td></tr> |
64 heads, 32 sectors/track, 983 cylinders<br> |
535 |
<tr><td colspan="7">Units = cylinders of 2048 * 512 = 1048576 bytes</td></tr> |
Units = cylinders of 2048 * 512 = 1048576 bytes<br> |
536 |
<tr><td> </td></tr> |
<br> |
537 |
<tr> |
Device <font color="Red">Boot</font> Start End Blocks Id System<br> |
538 |
<td align="right">Device </td><td align="right"><font color="Red">Boot</font> </td><td align="right">Start </td><td align="right">End </td><td align="right">Blocks </td><td align="right">Id </td><td align="right">System </td><td width="99%"></td></tr> |
/dev/<font color="Green">sdc4</font> <font color="Red">*</font> 1 983 1006576 6 FAT16<br> |
539 |
<tr><td align="right">/dev/<font color="Green">sdc4</font> </td><td align="right"><font color="Red">*</font> </td><td align="right">1 </td><td align="right">983 </td><td align="right">1006576 </td><td align="right">6 </td><td align="right">FAT16 </td><td width="99%"></td> |
</p> |
|
</tr> |
|
|
</table> |
|
540 |
<p style="margin-left: 0;"><br>If the partition is not active (no astrisk), execute:</p> |
<p style="margin-left: 0;"><br>If the partition is not active (no astrisk), execute:</p> |
541 |
<p class="newcode" style="margin-left: 0;">fdisk /dev/<font color="Green">sdc</font></p> |
<p class="newcode" style="margin-left: 0;">fdisk /dev/<font color="Green">sdc</font></p> |
542 |
<p style="margin-left: 0;">and issue "Command: " <b>a</b> (toggle a bootable flag) and "Partition number:" <b><font color="Green">4</font></b> (for <b>/dev/<font color="Green">sdc4</font></b>).<br><br> |
<p style="margin-left: 0;">and issue "Command: " <b>a</b> (toggle a bootable flag) and "Partition number:" <b><font color="Green">4</font></b> (for <b>/dev/<font color="Green">sdc4</font></b>).<br><br> |
620 |
</p> |
</p> |
621 |
<H2><a name="sysresccd"></a>SystemRescueCD boot parameters <span class="hideprint">[<a href="#boot-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="sysresccd"></a>SystemRescueCD boot parameters <span class="hideprint">[<a href="#boot-top" title="go to top of the page">^</a>]</span></H2> |
622 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td> |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td> |
623 |
The following info applies to <b>SystemRescueCD v. 1.3.5</b>. In case<br> |
The following info applies to <b>SystemRescueCD v. 1.5.5</b>. In case<br> |
624 |
you need to get info for a more recent version of <b>SystemRescueCD</b><br> |
you need to get info for a more recent version of <b>SystemRescueCD</b><br> |
625 |
please see the page "<a href="http://www.sysresccd.org/Sysresccd-manual-en_Booting_the_CD-ROM" target="_blank">Sysresccd-manual-en Booting the CD-ROM</a>" |
please see the page "<a href="http://www.sysresccd.org/Sysresccd-manual-en_Booting_the_CD-ROM" target="_blank">Sysresccd-manual-en Booting the CD-ROM</a>" |
626 |
</td></tr></table></div> |
</td></tr></table></div> |
630 |
<p>The kernel used is <b>rescuecd</b>, and anything after the word <b>append</b> is a boot parameter.<br><br> |
<p>The kernel used is <b>rescuecd</b>, and anything after the word <b>append</b> is a boot parameter.<br><br> |
631 |
Available kernels (boot images):</p> |
Available kernels (boot images):</p> |
632 |
<ul class="otherpage" style="padding: 0px 10px 20px 40px"> |
<ul class="otherpage" style="padding: 0px 10px 20px 40px"> |
633 |
<li><b>rescuecd</b> This is the default choice for 32bits systems, with Framebuffer disabled, best choice.</li> |
<li><b>rescuecd</b> Default for 32bit systems, with Framebuffer disabled, best choice. |
634 |
<li><b>altker32</b> This is an alternative kernel for 32bits systems. Boot with this kernel in case you have problems with rescuecd. altker32 was named vmlinuz2 in versions prior to SystemRescueCd-1.0.0.</li> |
</li><li><b>rescue64</b> Default 64 bit kernel. Use it if you want to chroot to a 64bit linux system installed on your hard disk, or if you have to run 64 bits programs. This kernel is able to boot with 32bit programs, and it requires a processor with 64bit instructions (amd64 / em64t). |
635 |
<li><b>rescue64</b> This is the default 64 bits kernel. Use it if you want to chroot to a 64bits linux system installed on your hard disk, or if you have to run 64 bits programs. This kernel is able to boot SystemRescueCd from the cdrom with 32bits programs, and it required a processor with 64bits instructions (amd64 / em64t).</li> |
</li><li><b>altker32</b> an alternative kernel for 32bit systems. Boot with this kernel if you have problems with <b>rescuecd</b> |
636 |
<li><b>altker64</b> This is an alternative kernel for 64bits systems. Boot with this kernel in case you have problems with rescue64. Only available from SystemRescueCd-1.0.0 and newer.</li> |
</li><li><b>altker64</b> an alternative kernel for 64bit systems. Boot with this kernel in case you have problems with <b>rescue64</b>. |
637 |
|
</li> |
638 |
</ul> |
</ul> |
639 |
<p><br>The boot parameters you can use are:</p> |
<p><br>The boot parameters you can use are:</p> |
640 |
<div class="otherpage"> |
<div class="otherpage"> |
641 |
<a name="General_boot_options" id="General_boot_options"></a><p><b> <span class="mw-headline">General boot options</span></b></p> |
<a name="General_boot_options" id="General_boot_options"></a><p><b> General boot options</b></p> |
642 |
<p>Press <TAB> to add additional options. |
<p>Press <TAB> to add additional options (in SystemRescueCd-1.5 and more recent) |
643 |
</p> |
</p> |
644 |
<ul><li><b>docache</b>: causes the CD-ROM will be fully loaded into memory. A slower start but once complete, programs start faster and the CD drive will be released allowing normal access to other CDs. This requires 400MB of memory to cache everything (including the <code>bootdisks</code> and <code>isolinux</code> directories). Add <code>lowmem</code> if you have less that 400MB of memory of to prevent these directories to be copied. |
<ul><li><b>docache</b>: causes the CD-ROM will be fully loaded into memory. A slower start but once complete, programs start faster and the CD drive will be released allowing normal access to other CDs. This requires 400MB of memory to cache everything (including the <code>bootdisks</code> and <code>isolinux</code> directories). Add <code>lowmem</code> if you have less that 400MB of memory of to prevent these directories to be copied. |
645 |
</li></ul> |
</li><li><b>setkmap=kk</b>: which defines the keymap to load where <code>kk</code> (example: <code>setkmap=de</code> for German keyboards). This way you won't be prompted for the keyboard configuration during the boot. |
646 |
<p>During boot you will be prompted for the keyboard configuration, avoid this by using |
</li><li><b>root=/dev/xdnp</b>: the <a target="_blank" href="http://www.sysresccd.org/news/2008/06/05/use-systemrescuecd-to-boot-a-linux-os-from-the-hard-disk/" class="external text" title="http://www.sysresccd.org/news/2008/06/05/use-systemrescuecd-to-boot-a-linux-os-from-the-hard-disk/" rel="nofollow">root=<device> option</a> boots an existing linux system. For example, if you have linux Gentoo installed on <code>/dev/sda6</code>, use <code>rescuecd root=/dev/sda6</code> to start it. Keep in mind that you must use a 64bit kernel if your system is made of 64bit programs. This option works with LVM volumes. Use <code>rescuecd root=/dev/VolGroup00/LogVol00</code>. Support is also provided for <code>root=auto</code>, which scans all the block devices tfor a linux system. The first linux system found will be started. So with <code>root=auto</code> let you start the system installed from the CD-ROM in case you have problem with your boot loader or kernel. It's also possible to specify a partition using its <code>filesystem label</code> or <code>filesystem uuid</code>. If the label of the partition where linux is installed is <code>mylinux</code>, then boot it using <code>rescuecd root=LABEL=mylinux</code>. Similarly <code>root=UUID=b3d3bec5-997a-413e-8449-0d0ec41ccba7</code>. See <a target="_blank" href="http://www.sysresccd.org/news/2008/06/05/use-systemrescuecd-to-boot-a-linux-os-from-the-hard-disk/" class="external text" title="http://www.sysresccd.org/news/2008/06/05/use-systemrescuecd-to-boot-a-linux-os-from-the-hard-disk/" rel="nofollow">more details</a>. |
|
</p> |
|
|
<ul><li><b>setkmap=kk</b>: which defines the keymap to load where <code>kk</code> (example: <code>setkmap=de</code> for German keyboards) |
|
|
</li><li><b>root=/dev/xdnp</b>: the <a href="http://www.sysresccd.org/news/2008/06/05/use-systemrescuecd-to-boot-a-linux-os-from-the-hard-disk/" class="external text" title="http://www.sysresccd.org/news/2008/06/05/use-systemrescuecd-to-boot-a-linux-os-from-the-hard-disk/" rel="nofollow">root=<device> option</a> boots an existing linux system. For example, if you have linux Gentoo installed on <code>/dev/sda6</code>, use <code>rescuecd root=/dev/sda6</code> to start it. Keep in mind that you must use a 64bit kernel if your system is made of 64bit programs. This option works with LVM volumes. Use <code>rescuecd root=/dev/VolGroup00/LogVol00</code>. Support is also provided for <code>root=auto</code>, which scans all the block devices tfor a linux system. The first linux system found will be started. So with <code>root=auto</code> let you start the system installed from the CD-ROM in case you have problem with your boot loader or kernel. It's also possible to specify a partition using its <code>filesystem label</code> or <code>filesystem uuid</code>. If the label of the partition where linux is installed is <code>mylinux</code>, then boot it using <code>rescuecd root=LABEL=mylinux</code>. Similarly <code>root=UUID=b3d3bec5-997a-413e-8449-0d0ec41ccba7</code>. See <a href="http://www.sysresccd.org/news/2008/06/05/use-systemrescuecd-to-boot-a-linux-os-from-the-hard-disk/" class="external text" title="http://www.sysresccd.org/news/2008/06/05/use-systemrescuecd-to-boot-a-linux-os-from-the-hard-disk/" rel="nofollow">more details</a>. |
|
647 |
</li><li><b>initscript=service:action</b>: This options allows start/stop a service at boot time. For instance if you need the samba service to be started, you can boot with: <code>initscript=samba:start</code>. This does the same thing as <code>/etc/init.d/samba start</code>. Use this option multiple times for different services. All the actions that are supported by an initscript can be used. |
</li><li><b>initscript=service:action</b>: This options allows start/stop a service at boot time. For instance if you need the samba service to be started, you can boot with: <code>initscript=samba:start</code>. This does the same thing as <code>/etc/init.d/samba start</code>. Use this option multiple times for different services. All the actions that are supported by an initscript can be used. |
648 |
</li><li><b>backstore=xxx</b>: SystemRescueCd comes with support for the <a href="http://www.sysresccd.org/news/2008/06/29/creating-a-backing-store-to-keep-your-modifications-in-sysresccd/" class="external text" title="http://www.sysresccd.org/news/2008/06/29/creating-a-backing-store-to-keep-your-modifications-in-sysresccd/" rel="nofollow">backing-stores</a>. A backing-store saves all the changes you can make. so that you keep these changes the next time you boot it. By default, sysresccd automatically scan removable devices (eg: USB sticks) at boot time and uses the first backing-store it finds. A backing-store is not mandatory and it the scan fails it will store the files which change in memory. To disable the disks scan at boot time specify <code>backstore=off</code> on the boot command line. If you want to save your backing-store file on an harddisk, boot with <code>backstore=alldev</code> to scan all devices (not just removable devices). The default location for backing-stores file is any file named <code>sysrcd.bs</code> located at the root of a disk which is often an USB stick. Change the path by using <code>backstore=/sysrcd/mybackstore.bs</code>. See <a href="http://www.sysresccd.org/news/2008/06/29/creating-a-backing-store-to-keep-your-modifications-in-sysresccd/" class="external text" title="http://www.sysresccd.org/news/2008/06/29/creating-a-backing-store-to-keep-your-modifications-in-sysresccd/" rel="nofollow">backing-stores</a>. |
</li><li><b>backstore=xxx</b>: SystemRescueCd comes with support for the <a target="_blank" href="http://www.sysresccd.org/news/2008/06/29/creating-a-backing-store-to-keep-your-modifications-in-sysresccd/" class="external text" title="http://www.sysresccd.org/news/2008/06/29/creating-a-backing-store-to-keep-your-modifications-in-sysresccd/" rel="nofollow">backing-stores</a>. A backing-store saves all the changes you can make. so that you keep these changes the next time you boot it. By default, sysresccd automatically scan removable devices (eg: USB sticks) at boot time and uses the first backing-store it finds. A backing-store is not mandatory and it the scan fails it will store the files which change in memory. To disable the disks scan at boot time specify <code>backstore=off</code> on the boot command line. If you want to save your backing-store file on an harddisk, boot with <code>backstore=alldev</code> to scan all devices (not just removable devices). The default location for backing-stores file is any file named <code>sysrcd.bs</code> located at the root of a disk which is often an USB stick. Change the path by using <code>backstore=/sysrcd/mybackstore.bs</code>. See <a target="_blank" href="http://www.sysresccd.org/news/2008/06/29/creating-a-backing-store-to-keep-your-modifications-in-sysresccd/" class="external text" title="http://www.sysresccd.org/news/2008/06/29/creating-a-backing-store-to-keep-your-modifications-in-sysresccd/" rel="nofollow">backing-stores</a>. |
649 |
</li><li><b>isoloop=xxx</b>: Grub2 (currently in development: grub-1.98) provides a new feature to boot from an ISO image which is stored from the hard disk. If you put a copy of <code>systemrescuecd-x86-x.y.z.iso</code> on a partition that Grub2 can read then you can boot SystemRescueCd directly from the ISO image stored on your hard drive. This is very convenient if you frequently update SystemRescueCd and you want to boot it directly from Grub2. Grub2 knows what an ISO image is and it will load the kernel image (rescuecd/rescue64) and the initramfs (initram.igz) from the ISO into memory. It will then do its normal job and execute the kernel. The SystemRescueCd init script must then be aware that its <code>sysrcd.dat</code> file is in an ISO and not directly on the partition. For that reason, this <code>isoloop=xxx</code> boot option is required so you must use it in your <code>grub.cfg</code>. This option is only supported in SystemRescueCd-1.4.0 and more recent. This option specifies the path of the ISO image in the partition that grub considers as its root partition. It's important to understand that the path of the ISO image may be different from the path on your linux system. If you have a separate boot partition mounted on <code>/boot</code> and if you copy this ISO image to <code>/boot/sysrcd/systemrescuecd-x86-x.y.z.iso</code> then the option has to be <code>isoloop=/sysrcd/systemrescuecd-x86-x.y.z.iso</code>. This is because the boot partition is what Grub2 will consider as its root partition during the boot process. Please read <a href="http://www.sysresccd.org/Sysresccd-manual-en_Easy_install_SystemRescueCd_on_harddisk#Boot_the_ISO_image_from_the_disk_using_Grub2" title="Sysresccd-manual-en Easy install SystemRescueCd on harddisk">the section about isoloop</a> for more details. |
</li><li><b>isoloop=xxx</b>: Grub2 (currently in development: grub-1.98) provides a new feature to boot from an ISO image which is stored from the hard disk. If you put a copy of <code>systemrescuecd-x86-x.y.z.iso</code> on a partition that Grub2 can read then you can boot SystemRescueCd directly from the ISO image stored on your hard drive. This is very convenient if you frequently update SystemRescueCd and you want to boot it directly from Grub2. Grub2 knows what an ISO image is and it will load the kernel image (rescuecd/rescue64) and the initramfs (initram.igz) from the ISO into memory. It will then do its normal job and execute the kernel. The SystemRescueCd init script must then be aware that its <code>sysrcd.dat</code> file is in an ISO and not directly on the partition. For that reason, this <code>isoloop=xxx</code> boot option is required so you must use it in your <code>grub.cfg</code>. This option is only supported in SystemRescueCd-1.4.0 and more recent. This option specifies the path of the ISO image in the partition that grub considers as its root partition. It's important to understand that the path of the ISO image may be different from the path on your linux system. If you have a separate boot partition mounted on <code>/boot</code> and if you copy this ISO image to <code>/boot/sysrcd/systemrescuecd-x86-x.y.z.iso</code> then the option has to be <code>isoloop=/sysrcd/systemrescuecd-x86-x.y.z.iso</code>. This is because the boot partition is what Grub2 will consider as its root partition during the boot process. Please read <a target="_blank" href="http://www.sysresccd.org/Sysresccd-manual-en_Easy_install_SystemRescueCd_on_harddisk#Boot_the_ISO_image_from_the_disk_using_Grub2" title="Sysresccd-manual-en Easy install SystemRescueCd on harddisk">the section about isoloop</a> for more details. |
650 |
</li></ul> |
</li></ul> |
651 |
<a name="Hardware.2C_drivers_and_troubleshooting_options" id="Hardware.2C_drivers_and_troubleshooting_options"></a><p><b><br> <span class="mw-headline">Hardware, drivers and troubleshooting options</span></b></p> |
<a name="Hardware.2C_drivers_and_troubleshooting_options" id="Hardware.2C_drivers_and_troubleshooting_options"></a><p><b><br> Hardware, drivers and troubleshooting options</b></p> |
652 |
<ul><li><b>dodebug</b>: Enables verbose messages in linuxrc |
<ul><li><b>dodebug</b>: Enables verbose messages in linuxrc |
653 |
</li></ul> |
</li></ul> |
654 |
<ul><li><b>doload=xxx</b>: loads needed modules, multiple occurrences are permitted (example: <code>doload=3c59x</code>) |
<ul><li><b>doload=xxx</b>: loads needed kernel modules, multiple comma separated occurrences are permitted (example: <code>doload=3c59x,e1000</code>) |
655 |
</li><li><b>noload=xxx</b>: prevents loading modules, multiple occurrences are permitted (example: <code>noload=3c59x</code>). Use this option if you have a problem when the system loads a particular module. |
</li><li><b>noload=xxx</b>: prevents loading kernel modules, multiple comma separated occurrences are permitted (example: <code>noload=3c59x,e1000</code>). Use this option if you have a problem when the system loads a particular module. |
656 |
</li><li><b>nonet</b>: this will disable the network auto detection at startup |
</li><li><b>nonet</b>: this will disable the network auto detection at startup |
657 |
</li></ul> |
</li></ul> |
658 |
<ul><li><b>scandelay=x</b>: pauses x seconds during the startup to allow slow devices to initialize. This is required when you boot an USB device. A delay of only few seconds should be enough. |
<ul><li><b>scandelay=x</b>: pauses x seconds during the startup to allow slow devices to initialize. This is required when you boot an USB device. A delay of only few seconds should be enough. |
674 |
</li></ul> |
</li></ul> |
675 |
<ul><li><b>skipmount=/dev/xxx</b>: The system mounts all the storage devices at boot time to find the sysrcd.dat file. If your hard disk is broken it should be mounted. Boot with <code>skipmount=/dev/sda1 skipmount=/dev/sda2</code> to ignore these two partitions. |
<ul><li><b>skipmount=/dev/xxx</b>: The system mounts all the storage devices at boot time to find the sysrcd.dat file. If your hard disk is broken it should be mounted. Boot with <code>skipmount=/dev/sda1 skipmount=/dev/sda2</code> to ignore these two partitions. |
676 |
</li></ul> |
</li></ul> |
677 |
<a name="Network_configuration_and_remote_access" id="Network_configuration_and_remote_access"></a><p><b><br> <span class="mw-headline">Network configuration and remote access</span></b></p> |
<a name="Network_configuration_and_remote_access" id="Network_configuration_and_remote_access"></a><p><b><br> Network configuration and remote access</b></p> |
678 |
<ul><li><b>dodhcp</b>: to request a DHCP server provide network attributes including an IP address, gateway... . otherwise, |
<ul><li><b>nonm</b>: to disable the Network-Manager service that conflicts with the standard network command line tools such as <code>ifconfig</code> and <code>ip</code>. You can use this option if you want to configure the network using these commands. This option is not necessary when SystemRescueCd is booting from the network since the service is automatically stopped in that case. This option requires SystemRescueCd-1.5.5 or more recent. |
679 |
|
</li><li><b>dodhcp</b>: to request a DHCP server provide network attributes including an IP address, gateway... |
680 |
|
</li><li><b>nodhcp</b>: never run the dhcp client in the initramfs boot script. May be useful if you use PXE boot on a computer with several ethernet interfaces. Support for this option is available in SystemRescueCd-1.5.5-beta2 and more recent |
681 |
</li><li><b>ethx=ipaddr/cidr</b>: Sets the static IP address of all the ethernet interfaces on the system. The <code>/cidr</code> extension is optional. For instance, if you use option <code>ethx=192.168.0.1</code> on a machine with two ethernet adapters, both <code>eth0</code> and <code>eth1</code> will be configured with <code>192.168.0.1</code>. You can use the format <code>ethx=10.0.0.1/24</code> (using the cidr notation) if you don't use the default netmask. |
</li><li><b>ethx=ipaddr/cidr</b>: Sets the static IP address of all the ethernet interfaces on the system. The <code>/cidr</code> extension is optional. For instance, if you use option <code>ethx=192.168.0.1</code> on a machine with two ethernet adapters, both <code>eth0</code> and <code>eth1</code> will be configured with <code>192.168.0.1</code>. You can use the format <code>ethx=10.0.0.1/24</code> (using the cidr notation) if you don't use the default netmask. |
682 |
</li><li><b>eth0=ipaddr/cidr</b>: This option is similar to <code>ethx=ipaddr/cidr</code> but it configures only one interface at a time. To configure the network on a server that has two interfaces, use: <code>eth0=192.168.10.1/24 eth1=192.168.20.1</code>. |
</li><li><b>eth0=ipaddr/cidr</b>: This option is similar to <code>ethx=ipaddr/cidr</code> but it configures only one interface at a time. To configure the network on a server that has two interfaces, use: <code>eth0=192.168.10.1/24 eth1=192.168.20.1</code>. |
683 |
</li><li><b>dns=ipaddr</b>: Sets the static IP address of the DNS nameserver you want to use to resolve the names. For instance <code>dns=192.168.0.254</code> means that you want to use <code>192.168.0.254</code> as the DNS server. |
</li><li><b>dns=ipaddr</b>: Sets the static IP address of the DNS nameserver you want to use to resolve the names. For instance <code>dns=192.168.0.254</code> means that you want to use <code>192.168.0.254</code> as the DNS server. |
684 |
</li><li><b>gateway=ipaddr</b>: Sets the static IP address of the default route on your network. For instance <code>gateway=192.168.0.254</code> means that the computer can connect to a computer outside of the local network via <code>192.168.0.254</code>. |
</li><li><b>gateway=ipaddr</b>: Sets the static IP address of the default route on your network. For instance <code>gateway=192.168.0.254</code> means that the computer can connect to a computer outside of the local network via <code>192.168.0.254</code>. |
685 |
</li><li><b>dhcphostname=myhost</b>: Sets the hostname that the DHCP client will send to the DHCP server. This may be required if the default hostname cannot be used with your DHCP configuration. This option has been introduced in SystemRescueCd-1.3.5. |
</li><li><b>dhcphostname=myhost</b>: Sets the hostname that the DHCP client will send to the DHCP server. This may be required if the default hostname cannot be used with your DHCP configuration. This option has been introduced in SystemRescueCd-1.3.5. |
686 |
</li><li><b>rootpass=123456</b>: Sets the root password of the system running on the livecd to <code>1234</code>. That way you can connect from the network and ssh on the livecd and give <code>123456</code> password as the root password. |
</li><li><b>rootpass=123456</b>: Sets the root password of the system running on the livecd to <code>1234</code>. That way you can connect from the network and ssh on the livecd and give <code>123456</code> password as the root password. |
687 |
</li><li><b>vncserver=x:123456</b>: The <a href="http://www.sysresccd.org/news/2008/04/12/use-systemrescuecd-remotely-with-vnc-server/" class="external text" title="http://www.sysresccd.org/news/2008/04/12/use-systemrescuecd-remotely-with-vnc-server/" rel="nofollow">vncserver boot option</a> has been introduced in SystemRescueCd-1.0.2. This options forces the system to configure the VNC-server and to start it automatically at boot time. You have to replace <code>x</code> with the number of displays you want, and <code>123456</code> with your password The password must be between 5 and 8 characters, else the boot option will be ignored. In other words the <code>vncserver=2:MyPaSsWd</code> option will give you access to two displays (display=1 on tcp/5901 and display=2 on tcp/5902). Display 0 is reserved for X.Org since SystemRescueCd-1.1.0. |
</li><li><b>vncserver=x:123456</b>: The <a target="_blank" href="http://www.sysresccd.org/news/2008/04/12/use-systemrescuecd-remotely-with-vnc-server/" class="external text" title="http://www.sysresccd.org/news/2008/04/12/use-systemrescuecd-remotely-with-vnc-server/" rel="nofollow">vncserver boot option</a> has been introduced in SystemRescueCd-1.0.2. This options forces the system to configure the VNC-server and to start it automatically at boot time. You have to replace <code>x</code> with the number of displays you want, and <code>123456</code> with your password The password must be between 5 and 8 characters, else the boot option will be ignored. In other words the <code>vncserver=2:MyPaSsWd</code> option will give you access to two displays (display=1 on tcp/5901 and display=2 on tcp/5902). Display 0 is reserved for X.Org since SystemRescueCd-1.1.0. |
688 |
</li><li><b>nameif=xxx</b>: You can can <a href="http://www.sysresccd.org/news/2008/06/28/option-to-define-the-name-of-a-network-interface-using-the-mac-address/" class="external text" title="http://www.sysresccd.org/news/2008/06/28/option-to-define-the-name-of-a-network-interface-using-the-mac-address/" rel="nofollow">specify what interface name to give</a> to a particular interface using the mac address. You need SystemRescueCd-1.1.0 or newer to do that. Here is how you can specify which interface is using which mac address on a machine with two network interfaces: <code>nameif=eth0!00:0C:29:57:D0:6E,eth1!00:0C:29:57:D0:64</code>. Be careful, you have to respect the separator (comma between the interfaces and exclamation marks between the name and the mac address). |
</li><li><b>nameif=xxx</b>: You can can <a target="_blank" href="http://www.sysresccd.org/news/2008/06/28/option-to-define-the-name-of-a-network-interface-using-the-mac-address/" class="external text" title="http://www.sysresccd.org/news/2008/06/28/option-to-define-the-name-of-a-network-interface-using-the-mac-address/" rel="nofollow">specify what interface name to give</a> to a particular interface using the mac address. You need SystemRescueCd-1.1.0 or newer to do that. Here is how you can specify which interface is using which mac address on a machine with two network interfaces: <code>nameif=eth0!00:0C:29:57:D0:6E,eth1!00:0C:29:57:D0:64</code>. Be careful, you have to respect the separator (comma between the interfaces and exclamation marks between the name and the mac address). You can also use the magic keyword <a target="_blank" href="http://www.sysresccd.org/forums/viewtopic.php?f=7&t=2538&start=0" class="external text" title="http://www.sysresccd.org/forums/viewtopic.php?f=7&t=2538&start=0" rel="nofollow">BOOTIF</a> with SystemRescueCd-1.5.4 and more recent when you boot from pxelinux. The pxeboot loader will set BOOTIF to the name of the interface used to boot. You can then use something like <code>nameif=eth0!BOOTIF</code> if you want the boot interface to be called <code>eth0</code> on a computer with several Ethernet interfaces. |
689 |
</li></ul> |
</li></ul> |
690 |
<a name="Network_boot_using_PXE" id="Network_boot_using_PXE"></a><p><b><br> <span class="mw-headline">Network boot using PXE</span></b></p> |
<a name="Network_boot_using_PXE" id="Network_boot_using_PXE"></a><p><b><br> Network boot using PXE</b></p> |
691 |
<p>SystemRescueCd provides several options for booting from the network using PXE. |
<p>SystemRescueCd provides several options for booting from the network using PXE. |
692 |
These options can be combined with other network boot options such as <code>ethx</code> (cf previous section). See <a href="http://www.sysresccd.org/Sysresccd-manual-en_PXE_network_booting" class="external text" title="http://www.sysresccd.org/Sysresccd-manual-en_PXE_network_booting" rel="nofollow">PXE network booting</a> to get a global overview of SystemRescueCd and PXE and <a href="http://www.sysresccd.org/Sysresccd-manual-en_Manage_remote_windows_linux_servers_using_SystemRescueCd" class="external text" title="http://www.sysresccd.org/Sysresccd-manual-en_Manage_remote_windows_linux_servers_using_SystemRescueCd" rel="nofollow">Manage remote servers using PXE</a>. |
These options can be combined with other network boot options such as <code>ethx</code> (cf previous section). See <a target="_blank" href="http://www.sysresccd.org/Sysresccd-manual-en_PXE_network_booting" class="external text" title="http://www.sysresccd.org/Sysresccd-manual-en_PXE_network_booting" rel="nofollow">PXE network booting</a> to get a global overview of SystemRescueCd and PXE and <a target="_blank" href="http://www.sysresccd.org/Sysresccd-manual-en_Manage_remote_windows_linux_servers_using_SystemRescueCd" class="external text" title="http://www.sysresccd.org/Sysresccd-manual-en_Manage_remote_windows_linux_servers_using_SystemRescueCd" rel="nofollow">Manage remote servers using PXE</a>. |
693 |
</p><p>The second stage downloads the kernel + initramfs using DHCP/TFTP. |
</p><p>The second stage downloads the kernel + initramfs using DHCP/TFTP. |
694 |
</p><p>The third stage of the PXE boot process acquires the root files system. |
</p><p>The third stage of the PXE boot process acquires the root files system. |
695 |
</p><p>Several protocols are available. |
</p><p>Several protocols are available. |
699 |
</li><li><b>netboot=</b>nfs<b>://ip:/path</b>: mount an NFSv3 directory. The NFS url must be the path of the directory that contains <code>sysrcd.dat</code>. Only NFSv3 can be used, NFSv4 is not supported. NFS it allows computers with smaller memory to boot SystemRescueCd from the network. After the boot process, the connection is required or you will loose the access to the root file system. |
</li><li><b>netboot=</b>nfs<b>://ip:/path</b>: mount an NFSv3 directory. The NFS url must be the path of the directory that contains <code>sysrcd.dat</code>. Only NFSv3 can be used, NFSv4 is not supported. NFS it allows computers with smaller memory to boot SystemRescueCd from the network. After the boot process, the connection is required or you will loose the access to the root file system. |
700 |
</li><li><b>netboot=</b>nbd<b>://ip:port</b>: connect to an NBD server configured with <code>sysrcd.dat</code> on ip:port. NBD is easier to configure than NFS (only one TCP port involved) and it allows computers with smaller memort to boot SystemRescueCd from the network. After the boot process, the connection is required the access to the root system. |
</li><li><b>netboot=</b>nbd<b>://ip:port</b>: connect to an NBD server configured with <code>sysrcd.dat</code> on ip:port. NBD is easier to configure than NFS (only one TCP port involved) and it allows computers with smaller memort to boot SystemRescueCd from the network. After the boot process, the connection is required the access to the root system. |
701 |
</li></ul> |
</li></ul> |
702 |
<p>For information on activating <b>speakup</b>, see the <a href="http://www.sysresccd.org/Speakup-info" title="Speakup-info">speakup info page</a>. |
<p>For information on activating <b>speakup</b>, see the <a target="_blank" href="http://www.sysresccd.org/Speakup-info" title="Speakup-info">speakup info page</a>. |
703 |
</p> |
</p> |
704 |
<a name="Options_provided_for_autorun" id="Options_provided_for_autorun"></a><p><b><br> <span class="mw-headline">Options provided for autorun</span></b></p> |
<a name="Options_provided_for_autorun" id="Options_provided_for_autorun"></a><p><b><br> Options provided for autorun</b></p> |
705 |
<ul><li><b>ar_source=xxx</b>: place where the autorun are stored. It may be the root directory of a partition (<code>/dev/sda1</code>), an nfs share (<code>nfs://192.168.1.1:/path/to/scripts</code>), a samba share (<code>smb://192.168.1.1/path/to/scripts</code>), or an http directory (<code><a href="http://192.168.1.1/path/to/scripts" class="external free" title="http://192.168.1.1/path/to/scripts" rel="nofollow">http://192.168.1.1/path/to/scripts</a></code>). |
<ul><li><b>ar_source=xxx</b>: place where the autorun are stored. It may be the root directory of a partition (<code>/dev/sda1</code>), an nfs share (<code>nfs://192.168.1.1:/path/to/scripts</code>), a samba share (<code>smb://192.168.1.1/path/to/scripts</code>), or an http directory (<code><a target="_blank" href="http://192.168.1.1/path/to/scripts" class="external free" title="http://192.168.1.1/path/to/scripts" rel="nofollow">http://192.168.1.1/path/to/scripts</a></code>). |
706 |
</li><li><b>autoruns=[0-9]</b>: comma separated list of the autorun scrip to be run. For example <code>autoruns=0,2,7</code> the autorun sc <code>autorun0</code>, <code>autorun2</code>, <code>autorun7</code> are run. Use <code>autoruns=no</code> to disable all the autorun scripts with a number. |
</li><li><b>autoruns=[0-9]</b>: comma separated list of the autorun scrip to be run. For example <code>autoruns=0,2,7</code> the autorun sc <code>autorun0</code>, <code>autorun2</code>, <code>autorun7</code> are run. Use <code>autoruns=no</code> to disable all the autorun scripts with a number. |
707 |
</li><li><b>ar_ignorefail</b>: continue to execute the scripts chain even if a script failed (returned a non-zero status) |
</li><li><b>ar_ignorefail</b>: continue to execute the scripts chain even if a script failed (returned a non-zero status) |
708 |
</li><li><b>ar_nodel</b>: do not delete the temporary copy of the autorun scripts located in <code>/var/autorun/tmp</code> after execution |
</li><li><b>ar_nodel</b>: do not delete the temporary copy of the autorun scripts located in <code>/var/autorun/tmp</code> after execution |
713 |
</div> |
</div> |
714 |
<H2><a name="clonezilla"></a>Clonezilla Live boot parameters <span class="hideprint">[<a href="#boot-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="clonezilla"></a>Clonezilla Live boot parameters <span class="hideprint">[<a href="#boot-top" title="go to top of the page">^</a>]</span></H2> |
715 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr valign="top"><td><img src="images/info.png"></td><td> |
<div align="center"><table class="note" border="0" cellpadding="20"><tr valign="top"><td><img src="images/info.png"></td><td> |
716 |
The following info applies to <b>Clonezilla Live v. 1.2.3-27</b><br> |
The following info applies to <b>Clonezilla Live v. 1.2.5-17</b><br> |
717 |
In case you need to get info for a more recent version of <b>Clonezilla Live</b><br> |
In case you need to get info for a more recent version of <b>Clonezilla Live</b><br> |
718 |
please see the page "<a href="http://www.clonezilla.org/clonezilla-live/doc/fine-print.php?path=./99_Misc/00_live-initramfs-manual.doc#00_live-initramfs-manual.doc" target="_blank">The boot parameters for Clonezilla live</a>" |
please see the page "<a href="http://www.clonezilla.org/clonezilla-live/doc/fine-print.php?path=./99_Misc/00_live-initramfs-manual.doc#00_live-initramfs-manual.doc" target="_blank">The boot parameters for Clonezilla live</a>" |
719 |
</td></tr></table></div> |
</td></tr></table></div> |
723 |
ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=791 nolocales</p> |
ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=791 nolocales</p> |
724 |
<p>The kernel used is <b>vmlinuz</b>, and anything after the word <b>append</b> is a boot parameter.</p> |
<p>The kernel used is <b>vmlinuz</b>, and anything after the word <b>append</b> is a boot parameter.</p> |
725 |
<p>The following info comes from the page titled <a href="http://www.clonezilla.org/clonezilla-live/doc/fine-print.php?path=./99_Misc/00_live-initramfs-manual.doc#00_live-initramfs-manual.doc" target="_blank">The boot parameters for Clonezilla live</a>.</p> |
<p>The following info comes from the page titled <a href="http://www.clonezilla.org/clonezilla-live/doc/fine-print.php?path=./99_Misc/00_live-initramfs-manual.doc#00_live-initramfs-manual.doc" target="_blank">The boot parameters for Clonezilla live</a>.</p> |
726 |
<div class="otherpage">Clonezilla live is based on <a href="http://wiki.debian.org/DebianLive/" target=_blank>Debian live</a> with clonezilla installed. Therefore there are 2 kinds of boot parameters: |
<div class="otherpage">Clonezilla live is based on <a target="_blank" href="http://wiki.debian.org/DebianLive/" >Debian live</a> with clonezilla installed. Therefore there are 2 kinds of boot parameters: |
727 |
<ol> |
<ol> |
728 |
<li>Boot parameters from live-initramfs. You can refer to this <a href="#live-initramfs">manual of live-initramfs</a>. |
<li>Boot parameters from live-initramfs. You can refer to this <a href="#live-initramfs">manual of live-initramfs</a>. |
729 |
<li>Boot parameters specially for Clonezilla. All of them are named as "ocs_*", e.g. ocs_live_run, ocs_live_extra_param, ocs_live_batch, ocs_lang. |
<li>Boot parameters specially for Clonezilla. All of them are named as "ocs_*", e.g. ocs_live_run, ocs_live_extra_param, ocs_live_batch, ocs_lang. |
840 |
<p>This is the manual of <a href="http://www.clonezilla.org/clonezilla-live/live-initramfs-param.php" target=_blank>live-initramfs</a> |
<p>This is the manual of <a href="http://www.clonezilla.org/clonezilla-live/live-initramfs-param.php" target=_blank>live-initramfs</a> |
841 |
<BR> |
<BR> |
842 |
</p> |
</p> |
843 |
<div class="otherpage"><pre> |
<a name="live-initramfs"></a><div class="otherpage" style="overflow: auto;"><pre> |
844 |
live-initramfs(7) |
live-initramfs(7) |
845 |
================= |
================= |
846 |
Name |
Name |
861 |
aufs, for Debian like systems to boot from. |
aufs, for Debian like systems to boot from. |
862 |
You probably do not want to install this package onto a non-live system, |
You probably do not want to install this package onto a non-live system, |
863 |
although it will do no harm. |
although it will do no harm. |
864 |
live-initramfs is a fork of link:http://packages.ubuntu.com/casper/[casper]. |
live-initramfs is a fork of <a href="http://packages.ubuntu.com/casper/" target="_blank">casper</a>. |
865 |
casper was originally written by Tollef Fog Heen <tfheen@canonical.com> |
casper was originally written by Tollef Fog Heen &lt;tfheen@canonical.com&gt; |
866 |
and Matt Zimmerman <mdz@canonical.com>. |
and Matt Zimmerman &lt;mdz@canonical.com&gt;. |
867 |
Boot options |
Boot options |
868 |
------------ |
------------ |
869 |
Here is the complete list of recognized boot parameters by live-initramfs. |
Here is the complete list of recognized boot parameters by live-initramfs. |
870 |
access=*ACCESS*:: |
access=*ACCESS*:: |
871 |
Set the accessibility level for physically or visually impared users. ACCESS |
Set the accessibility level for physically or visually impared users. ACCESS |
872 |
must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, v2=moderate |
must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, v2=moderate |
873 |
visual impairment, v3=blindness, m1=minor motor difficulties, m2=moderate motor |
visual impairment, v3=blindness, m1=minor motor difficulties, m2=moderate motor |
874 |
difficulties. |
difficulties. |
875 |
console=*TTY,SPEED*:: |
console=*TTY,SPEED*:: |
876 |
Set the default console to be used with the "live-getty" option. Example: |
Set the default console to be used with the "live-getty" option. Example: |
877 |
"console=ttyS0,115200" |
"console=ttyS0,115200" |
878 |
debug:: |
debug:: |
879 |
Makes initramfs boot process more verbose. |
Makes initramfs boot process more verbose. |
880 |
fetch=*URL*:: |
fetch=*URL*:: |
881 |
Another form of netboot by downloading a squashfs image from a given url, |
Another form of netboot by downloading a squashfs image from a given url, |
882 |
copying to ram and booting it. |
copying to ram and booting it. |
883 |
hostname=*HOSTNAME*, username=*USER*, userfullname=*USERFULLNAME*:: |
hostname=*HOSTNAME*, username=*USER*, userfullname=*USERFULLNAME*:: |
884 |
Those parameters lets you override values read from the config file. |
Those parameters lets you override values read from the config file. |
885 |
ignore_uuid |
ignore_uuid |
886 |
Do not check that any UUID embedded in the initramfs matches the discovered |
Do not check that any UUID embedded in the initramfs matches the discovered |
887 |
medium. live-initramfs may be told to generate a UUID by setting |
medium. live-initramfs may be told to generate a UUID by setting |
888 |
LIVE_GENERATE_UUID=1 when building the initramfs. |
LIVE_GENERATE_UUID=1 when building the initramfs. |
889 |
integrity-check:: |
integrity-check:: |
890 |
If specified, an MD5 sum is calculated on the live media during boot and |
If specified, an MD5 sum is calculated on the live media during boot and |
891 |
compared to the value found in md5sum.txt found in the root directory of the |
compared to the value found in md5sum.txt found in the root directory of the |
892 |
live media. |
live media. |
893 |
ip=**[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF] |
ip=**[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]: |
894 |
[,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]]***:: |
[DEVICE]:[AUTOCONF] [,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]: |
895 |
|
[DEVICE]:[AUTOCONF]]***:: |
896 |
Let you specify the name(s) and the options of the interface(s) that should be |
Let you specify the name(s) and the options of the interface(s) that should be |
897 |
configured at boot time. Do not specify this if you want to use dhcp (default). |
configured at boot time. Do not specify this if you want to use dhcp (default). |
898 |
It will be changed in a future release to mimick official kernel boot param |
It will be changed in a future release to mimick official kernel boot param |
899 |
specification (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp). |
specification (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp). |
900 |
ip[=**frommedia**]:: |
ip[=**frommedia**]:: |
901 |
If this variable is set, dhcp and static configuration are just skipped and the |
If this variable is set, dhcp and static configuration are just skipped and the |
902 |
system will use the (must be) media-preconfigured /etc/network/interfaces |
system will use the (must be) media-preconfigured /etc/network/interfaces |
903 |
instead. |
instead. |
904 |
{keyb|kbd-chooser/method}=**KEYBOARD**, {klayout|console-setup/layoutcode}=**LAYOUT**, |
{keyb|kbd-chooser/method}=**KEYBOARD**, {klayout|console-setup/layoutcode}=**LAYOUT**, |
905 |
{kvariant|console-setup/variantcode}=**VARIANT**, |
{kvariant|console-setup/variantcode}=**VARIANT**, {kmodel|console-setup/modelcode}= |
906 |
{kmodel|console-setup/modelcode}=**CODE**, koptions=**OPTIONS**:: |
**CODE**, koptions=**OPTIONS**:: |
907 |
Configure the running keyboard as specified, if this one misses live-initramfs |
Configure the running keyboard as specified, if this one misses live-initramfs |
908 |
behaves as if "keyb=us" was specified. It will be interfered from "locale=" if |
behaves as if "keyb=us" was specified. It will be interfered from "locale=" if |
909 |
locale is only 2 lowecase letters as a special case. You could also specify |
locale is only 2 lowecase letters as a special case. You could also specify |
910 |
console layout, variant, code, and options (no defaults). |
console layout, variant, code, and options (no defaults). |
911 |
live-getty:: |
live-getty:: |
912 |
This changes the auto-login on virtual terminals to use the (experimental) |
This changes the auto-login on virtual terminals to use the (experimental) |
913 |
live-getty code. With this option set the standard kernel argument "console=" is |
live-getty code. With this option set the standard kernel argument "console=" is |
914 |
parsed and if a serial console is specified then live-getty is used to autologin |
parsed and if a serial console is specified then live-getty is used to autologin |
915 |
on the serial console. |
on the serial console. |
916 |
{live-media|bootfrom}=**DEVICE**:: |
{live-media|bootfrom}=**DEVICE**:: |
917 |
If you specify one of this two equivalent forms, live-initramfs will first try |
If you specify one of this two equivalent forms, live-initramfs will first try |
918 |
to find this device for the "/live" directory where the read-only root |
to find this device for the "/live" directory where the read-only root |
919 |
filesystem should reside. If it did not find something usable, the normal scan |
filesystem should reside. If it did not find something usable, the normal scan |
920 |
for block devices is performed. |
for block devices is performed. |
921 |
{live-media-encryption|encryption}=**TYPE**:: |
{live-media-encryption|encryption}=**TYPE**:: |
922 |
live-initramfs will mount the encrypted rootfs TYPE, asking the passphrase, |
live-initramfs will mount the encrypted rootfs TYPE, asking the passphrase, |
923 |
useful to build paranoid live systems :-). TYPE supported so far are "aes" for |
useful to build paranoid live systems :-). TYPE supported so far are "aes" for |
924 |
loop-aes encryption type. |
loop-aes encryption type. |
925 |
live-media-offset=**BYTES**:: |
live-media-offset=**BYTES**:: |
926 |
This way you could tell live-initramfs that your image starts at offset BYTES in |
This way you could tell live-initramfs that your image starts at offset BYTES in |
927 |
the above specified or autodiscovered device, this could be useful to hide the |
the above specified or autodiscovered device, this could be useful to hide the |
928 |
Debian Live iso or image inside another iso or image, to create "clean" images. |
Debian Live iso or image inside another iso or image, to create "clean" images. |
929 |
live-media-path=**PATH**:: |
live-media-path=**PATH**:: |
930 |
Sets the path to the live filesystem on the medium. By default, it is set to |
Sets the path to the live filesystem on the medium. By default, it is set to |
931 |
'/live' and you should not change that unless you have customized your media |
'/live' and you should not change that unless you have customized your media |
932 |
accordingly. |
accordingly. |
933 |
live-media-timeout=**SECONDS**:: |
live-media-timeout=**SECONDS**:: |
934 |
Set the timeout in seconds for the device specified by "live-media=" to become |
Set the timeout in seconds for the device specified by "live-media=" to become |
935 |
ready before giving up. |
ready before giving up. |
936 |
{locale|debian-installer/locale}=**LOCALE**:: |
{locale|debian-installer/locale}=**LOCALE**:: |
937 |
Configure the running locale as specified, if not present the live-media rootfs |
Configure the running locale as specified, if not present the live-media rootfs |
938 |
configured locale will be used and if also this one misses live-initramfs behave |
configured locale will be used and if also this one misses live-initramfs behave |
939 |
as "locale=en_US.UTF-8" was specified. If only 2 lowercase letter are specified |
as "locale=en_US.UTF-8" was specified. If only 2 lowercase letter are specified |
941 |
case if also "keyb=" is unspecified is set with those 2 lowercase letters |
case if also "keyb=" is unspecified is set with those 2 lowercase letters |
942 |
(keyb=us). Beside that facility, only UTF8 locales are supported by |
(keyb=us). Beside that facility, only UTF8 locales are supported by |
943 |
live-initramfs. |
live-initramfs. |
944 |
module=**NAME**:: |
module=**NAME**:: |
945 |
Instead of using the default optional file "filesystem.module" (see below) |
Instead of using the default optional file "filesystem.module" (see below) |
946 |
another file could be specified without the extension ".module"; it should be |
another file could be specified without the extension ".module"; it should be |
947 |
placed on "/live" directory of the live medium. |
placed on "/live" directory of the live medium. |
948 |
netboot[=**nfs**|**cifs**]:: |
netboot[=**nfs**|**cifs**]:: |
949 |
This tells live-initramfs to perform a network mount. The parameter "nfsroot=" |
This tells live-initramfs to perform a network mount. The parameter "nfsroot=" |
950 |
(with optional "nfsopts="), should specify where is the location of the root |
(with optional "nfsopts="), should specify where is the location of the root |
951 |
filesystem. With no args, will try cifs first, and if it fails nfs. |
filesystem. With no args, will try cifs first, and if it fails nfs. |
952 |
nfsopts=:: |
nfsopts=:: |
953 |
This lets you specify custom nfs options. |
This lets you specify custom nfs options. |
954 |
noautologin:: |
noautologin:: |
955 |
This parameter disables the automatic terminal login only, not touching gdk/kdm. |
This parameter disables the automatic terminal login only, not touching gdk/kdm. |
956 |
noxautologin:: |
noxautologin:: |
957 |
This parameter disables the automatic login of gdm/kdm only, not touching |
This parameter disables the automatic login of gdm/kdm only, not touching |
958 |
terminals. |
terminals. |
959 |
nofastboot:: |
nofastboot:: |
960 |
This parameter disables the default disabling of filesystem checks in |
This parameter disables the default disabling of filesystem checks in |
961 |
/etc/fstab. If you have static filesystems on your harddisk and you want them to |
/etc/fstab. If you have static filesystems on your harddisk and you want them to |
962 |
be checked at boot time, use this parameter, otherwise they are skipped. |
be checked at boot time, use this parameter, otherwise they are skipped. |
963 |
nopersistent:: |
nopersistent:: |
964 |
disables the "persistent" feature, useful if the bootloader (like syslinux) has |
disables the "persistent" feature, useful if the bootloader (like syslinux) has |
965 |
been installed with persistent enabled. |
been installed with persistent enabled. |
966 |
noprompt |
noprompt |
967 |
Do not prompt to eject the CD on reboot. |
Do not prompt to eject the CD on reboot. |
968 |
nosudo:: |
nosudo:: |
969 |
This parameter disables the automatic configuration of sudo. |
This parameter disables the automatic configuration of sudo. |
970 |
swapon:: |
swapon:: |
971 |
This parameter enables usage of local swap partitions. |
This parameter enables usage of local swap partitions. |
972 |
nouser:: |
nouser:: |
973 |
This parameter disables the creation of the default user completely. |
This parameter disables the creation of the default user completely. |
974 |
noxautoconfig:: |
noxautoconfig:: |
975 |
This parameter disables Xorg auto-reconfiguration at boot time. This is valuable |
This parameter disables Xorg auto-reconfiguration at boot time. This is valuable |
976 |
if you either do the detection on your own, or, if you want to ship a custom, |
if you either do the detection on your own, or, if you want to ship a custom, |
977 |
premade xorg.conf in your live system. |
premade xorg.conf in your live system. |
978 |
persistent[=nofiles]:: |
persistent[=nofiles]:: |
979 |
live-initramfs will look for persistent and snapshot partitions or files labeled |
live-initramfs will look for persistent and snapshot partitions or files labeled |
980 |
"live-rw", "home-rw", and files called "live-sn*", "home-sn*" and will try to, |
"live-rw", "home-rw", and files called "live-sn*", "home-sn*" and will try to, |
981 |
in order: mount as /cow the first, mount the second in /home, and just copy the |
in order: mount as /cow the first, mount the second in /home, and just copy the |
984 |
informations. If "nofiles" is specified, only filesystems with matching labels |
informations. If "nofiles" is specified, only filesystems with matching labels |
985 |
will be searched; no filesystems will be traversed looking for archives or image |
will be searched; no filesystems will be traversed looking for archives or image |
986 |
files. This results in shorter boot times. |
files. This results in shorter boot times. |
987 |
{preseed/file|file}=**FILE**:: |
{preseed/file|file}=**FILE**:: |
988 |
A path to a file present on the rootfs could be used to preseed debconf |
A path to a file present on the rootfs could be used to preseed debconf |
989 |
database. |
database. |
990 |
package/question=**VALUE**:: |
package/question=**VALUE**:: |
991 |
All debian installed packages could be preseeded from command-line that way, |
All debian installed packages could be preseeded from command-line that way, |
992 |
beware of blanks spaces, they will interfere with parsing, use a preseed file in |
beware of blanks spaces, they will interfere with parsing, use a preseed file in |
993 |
this case. |
this case. |
994 |
quickreboot:: |
quickreboot:: |
995 |
This option causes live-initramfs to reboot without attempting to eject the |
This option causes live-initramfs to reboot without attempting to eject the |
996 |
media and without asking the user to remove the boot media. |
media and without asking the user to remove the boot media. |
997 |
showmounts:: |
showmounts:: |
998 |
This parameter will make live-initramfs to show on "/" the ro filesystems |
This parameter will make live-initramfs to show on "/" the ro filesystems |
999 |
(mostly compressed) on "/live". This is not enabled by default because could |
(mostly compressed) on "/live". This is not enabled by default because could |
1000 |
lead to problems by applications like "mono" which store binary paths on |
lead to problems by applications like "mono" which store binary paths on |
1001 |
installation. |
installation. |
1002 |
textonly |
textonly |
1003 |
Start up to text-mode shell prompts, disabling the graphical user interface. |
Start up to text-mode shell prompts, disabling the graphical user interface. |
1004 |
timezone=**TIMEZONE**:: |
timezone=**TIMEZONE**:: |
1005 |
By default, timezone is set to UTC. Using the timezone parameter, you can set it |
By default, timezone is set to UTC. Using the timezone parameter, you can set it |
1006 |
to your local zone, e.g. Europe/Zurich. |
to your local zone, e.g. Europe/Zurich. |
1007 |
todisk=**DEVICE**:: |
todisk=**DEVICE**:: |
1008 |
Adding this parameter, live-initramfs will try to copy the entire read-only |
Adding this parameter, live-initramfs will try to copy the entire read-only |
1009 |
media to the specified device before mounting the root filesystem. It probably |
media to the specified device before mounting the root filesystem. It probably |
1010 |
needs a lot of free space. Subsequent boots should then skip this step and just |
needs a lot of free space. Subsequent boots should then skip this step and just |
1011 |
specify the "live-media=DEVICE" boot parameter with the same DEVICE used this |
specify the "live-media=DEVICE" boot parameter with the same DEVICE used this |
1012 |
time. |
time. |
1013 |
toram:: |
toram:: |
1014 |
Adding this parameter, live-initramfs will try to copy the whole read-only media |
Adding this parameter, live-initramfs will try to copy the whole read-only media |
1015 |
to the computer's RAM before mounting the root filesystem. This could need a lot |
to the computer's RAM before mounting the root filesystem. This could need a lot |
1016 |
of ram, according to the space used by the read-only media. |
of ram, according to the space used by the read-only media. |
1017 |
union=**aufs**|**unionfs**:: |
union=**aufs**|**unionfs**:: |
1018 |
By default, live-initramfs uses aufs. With this parameter, you can switch to |
By default, live-initramfs uses aufs. With this parameter, you can switch to |
1019 |
unionfs. |
unionfs. |
1020 |
utc=**yes**|**no**:: |
utc=**yes**|**no**:: |
1021 |
By default, Debian systems do assume that the hardware clock is set to UTC. You |
By default, Debian systems do assume that the hardware clock is set to UTC. You |
1022 |
can change or explicitly set it with this parameter. |
can change or explicitly set it with this parameter. |
1023 |
xdebconf:: |
xdebconf:: |
1024 |
Uses xdebconfigurator, if present on the rootfs, to configure X instead of the |
Uses xdebconfigurator, if present on the rootfs, to configure X instead of the |
1025 |
standard procedure (experimental). |
standard procedure (experimental). |
1026 |
xvideomode=**RESOLUTION**:: |
xvideomode=**RESOLUTION**:: |
1027 |
Doesn't do xorg autodetection, but enforces a given resolution. |
Doesn't do xorg autodetection, but enforces a given resolution. |
1028 |
Files |
Files |
1029 |
----- |
----- |
1030 |
/etc/live.conf |
/etc/live.conf |
1031 |
Some variables can be configured via this config file (inside the live system). |
Some variables can be configured via this config file (inside the live system). |
1032 |
/live/filesystem.module |
/live/filesystem.module |
1033 |
This optional file (inside the live media) contains a list of white-space or |
This optional file (inside the live media) contains a list of white-space or |
1034 |
carriage-return-separated file names corresponding to disk images in the "/live" |
carriage-return-separated file names corresponding to disk images in the "/live" |
1035 |
directory. If this file exists, only images listed here will be merged into the |
directory. If this file exists, only images listed here will be merged into the |
1037 |
in this file will be the "lowest" point in the aufs, and the last file in |
in this file will be the "lowest" point in the aufs, and the last file in |
1038 |
this list will be on the "top" of the aufs, directly below /cow. Without |
this list will be on the "top" of the aufs, directly below /cow. Without |
1039 |
this file, any images in the "/live" directory are loaded in alphanumeric order. |
this file, any images in the "/live" directory are loaded in alphanumeric order. |
1040 |
/etc/live-persistence.binds |
/etc/live-persistence.binds |
1041 |
This optional file (which resides in the rootfs system, not in the live media) |
This optional file (which resides in the rootfs system, not in the live media) |
1042 |
is used as a list of directories which not need be persistent: ie. their |
is used as a list of directories which not need be persistent: ie. their |
1043 |
content does not need to survive reboots when using the persistence features. |
content does not need to survive reboots when using the persistence features. |
1052 |
Bugs |
Bugs |
1053 |
---- |
---- |
1054 |
Report bugs against live-initramfs |
Report bugs against live-initramfs |
1055 |
link:http://packages.qa.debian.org/live-initramfs[http://packages.qa.debian.org/live-initramfs]. |
<a href="http://packages.qa.debian.org/live-initramfs" target="_blank">http://packages.qa.debian.org/live-initramfs</a>. |
1056 |
Homepage |
Homepage |
1057 |
-------- |
-------- |
1058 |
More information about the Debian Live project can be found at |
More information about the Debian Live project can be found at |
1059 |
link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] and |
<a href="http://debian-live.alioth.debian.org/" target="_blank">http://debian-live.alioth.debian.org/</a> and |
1060 |
link:http://wiki.debian.org/DebianLive/[http://wiki.debian.org/DebianLive/]. |
<a href="http://wiki.debian.org/DebianLive/" target="_blank">http://wiki.debian.org/DebianLive/</a>. |
1061 |
Authors |
Authors |
1062 |
------- |
------- |
1063 |
live-initramfs is maintained by Daniel Baumann <daniel@debian.org> |
live-initramfs is maintained by Daniel Baumann &lt;daniel@debian.org&gt; |
1064 |
for the Debian project. |
for the Debian project. |
1065 |
live-initramfs is a fork of link:http://packages.ubuntu.com/casper/[casper]. |
live-initramfs is a fork of <a href="http://packages.ubuntu.com/casper/" target="_blank">casper</a>. |
1066 |
casper was originally written by Tollef Fog Heen <tfheen@canonical.com> |
casper was originally written by Tollef Fog Heen &lt;tfheen@canonical.com&gt; |
1067 |
and Matt Zimmerman <mdz@canonical.com>.</pre> |
and Matt Zimmerman &lt;mdz@canonical.com&gt;. |
1068 |
|
</pre> |
1069 |
</div> |
</div> |
1070 |
<a name="clonezilla-top"></a> |
<a name="clonezilla-top"></a> |
1071 |
<H2 style="font-size: 2em;"><a name="clonezilla-intro"></a>About Clonezilla Live <span class="hideprint">[<a href="#clonezilla-top" title="go to top of the page">^</a>]</span></H2> |
<H2 style="font-size: 2em;"><a name="clonezilla-intro"></a>About Clonezilla Live <span class="hideprint">[<a href="#clonezilla-top" title="go to top of the page">^</a>]</span></H2> |
1110 |
<p class="newcode">ocs-live</p> |
<p class="newcode">ocs-live</p> |
1111 |
<H2><a name="about"></a>About the Image file <span class="hideprint">[<a href="#clonezilla-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="about"></a>About the Image file <span class="hideprint">[<a href="#clonezilla-top" title="go to top of the page">^</a>]</span></H2> |
1112 |
<p>One thing should be made clear about the image file: it is not a file, it is a <b>folder</b>, containing the actual image file and some data about the disk/partition it is associated with. So when you insert the image file name, you actually insert the folder name where the image will be saved/restored.<br><br> |
<p>One thing should be made clear about the image file: it is not a file, it is a <b>folder</b>, containing the actual image file and some data about the disk/partition it is associated with. So when you insert the image file name, you actually insert the folder name where the image will be saved/restored.<br><br> |
1113 |
Before you are able to insert the image file name, a list of partitions will be presented to you, so that you can choose where it should be saved/found. When you select one of them, it will be mounted under <b>/home/partimag</b>.<br><br> |
Before you are able to insert the image file name, a list of partitions will be presented to you, so that you can choose where it should be saved/found. When you select one of them, it will be mounted and a list of folders will be presented to you, so you can select the base image directory (first level directory within the partition), which will then be mounted under <b>/home/partimag</b>. This way you can, for example, create a folder called <b>all_my_images</b> in one of your disk partitions, and move all your image files in there; <b>Clonezilla Live</b> will be able to find them!!!<br><br> |
|
This folder is very important for <b>Clonezilla Live</b>; the image file <b>must</b> be located under this directory, which means that the image file <b>must</b> be on the root directory of the mounted partition. So you can not, for example, create a folder called <b>all_my_images</b> and move all your image files in there; <b>Clonezilla Live</b> will not be able to find them!!!<br><br> |
|
1114 |
Another thing that should be pointed out is that <b>only unmounted</b> partitions will be included in the above list. This means that if you have stopped the program at some point after specifying the partition where the image file resides, and it has been mounted, it will not be present in the list the next time it is presented to you, and you will not be able to use it.<br><br> |
Another thing that should be pointed out is that <b>only unmounted</b> partitions will be included in the above list. This means that if you have stopped the program at some point after specifying the partition where the image file resides, and it has been mounted, it will not be present in the list the next time it is presented to you, and you will not be able to use it.<br><br> |
1115 |
There are two things you can do in this case; either unmount the partition, as stated <a href="#umount">above</a>, or select</p> |
There are two things you can do in this case; either unmount the partition, as stated <a href="#umount">above</a>, or select</p> |
1116 |
<p class="newcode"><font color="Red">skip Use existing /home/partimag</font></p> |
<p class="newcode"><font color="Red">skip Use existing /home/partimag</font></p> |
1140 |
<p>This option prevents <b>Clonezilla Live</b> from cloning your page file if you are cloning a partition containing Windows. Often the page file is big and unneeded, and skipping it may speed cloning up without causing any harm. Mind you, this option is disabled by default because sometimes the page file may be necessary.</p> |
<p>This option prevents <b>Clonezilla Live</b> from cloning your page file if you are cloning a partition containing Windows. Often the page file is big and unneeded, and skipping it may speed cloning up without causing any harm. Mind you, this option is disabled by default because sometimes the page file may be necessary.</p> |
1141 |
<p class="newcode"><a name="ntfs-ok"></a><font color="Red">-ntfs-ok Skip checking NTFS integrity, even bad sectors (ntfsclone only)</font></p> |
<p class="newcode"><a name="ntfs-ok"></a><font color="Red">-ntfs-ok Skip checking NTFS integrity, even bad sectors (ntfsclone only)</font></p> |
1142 |
<p>This option works only if you selected the <font color="Red"><b>-q</b></font> option and you're cloning a NTFS partition. It prevents the integrity check of NTFS partitions and speeds the cloning process up a little. However, if the check is disabled, there is a risk that the filesystem is damaged and the image created from it is useless.</p> |
<p>This option works only if you selected the <font color="Red"><b>-q</b></font> option and you're cloning a NTFS partition. It prevents the integrity check of NTFS partitions and speeds the cloning process up a little. However, if the check is disabled, there is a risk that the filesystem is damaged and the image created from it is useless.</p> |
1143 |
|
<p class="newcode"><a name="rescue"></a><font color="Red">-rescue Continue reading next one when disk blocks read errors</font></p> |
1144 |
|
<p>If this option is set, <b>Clonezilla Live</b> continues cloning even if a read error occurs. If there is one, the disk image will be corrupted, but failing hard drives can only be cloned with this option enabled.</p> |
1145 |
|
<p class="newcode"><a name="fsck-src-part"></a><font color="Red">-fsck-src-part Check and repair source file system before saving</font></p> |
1146 |
|
<p>This option causes <b>Clonezilla Live</b> to check the integrity of the partition(s) to be cloned. If the filesystem of the partition is damaged, <b>Clonezilla Live</b> also attempts to repair it automatically. Enabling this option reduces the risk that the image contains a damaged filesystem. However, the option is disabled by default because the automatic filesystem repair attempt may cause data loss.</p> |
1147 |
<p class="newcode"><a name="gen-md5"></a><font color="Red">-gm Generate image MD5 checksums</font></p> |
<p class="newcode"><a name="gen-md5"></a><font color="Red">-gm Generate image MD5 checksums</font></p> |
1148 |
<p>Causes <b>Clonezilla Live</b> to calculate MD5 checksum(s) of image(s) created. If the image cets corrupted afterwards, the checksum allows to notice the corruption before the image is restored. Mind you, calculating the checksum takes some time and slows the process down a little.</p> |
<p>Causes <b>Clonezilla Live</b> to calculate MD5 checksum(s) of image(s) created. If the image gets corrupted afterwards, the checksum allows to notice the corruption before the image is restored. Mind you, calculating the checksum takes some time and slows the process down a little.</p> |
1149 |
<p class="newcode"><a name="gen-sha1"></a><font color="Red">-gs Generate image SHA1 checksums</font></p> |
<p class="newcode"><a name="gen-sha1"></a><font color="Red">-gs Generate image SHA1 checksums</font></p> |
1150 |
<p>This option is identical to the above, but creates SHA1 checksum(s) instead of MD5. SHA1 is considered to be more accurate checksum algorithm than MD5, but MD5 is more popular.</p> |
<p>This option is identical to the above, but creates SHA1 checksum(s) instead of MD5. SHA1 is considered to be more accurate checksum algorithm than MD5, but MD5 is more popular.</p> |
1151 |
<H4><a name="compression-method"></a>Compression method [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4> |
<H4><a name="compression-method"></a>Compression method [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4> |
1152 |
<p class="newcode"><a name="z_option"></a><font color="Red">-z1 gzip compression (fast with a smaller image)<br> |
<p class="newcode"><a name="z_option"></a><font color="Red">-z1p Use parallel gzip compression (testing), for multicore/CPU<br> |
1153 |
|
-z1 gzip compression (fast with a smaller image)<br> |
1154 |
|
-z2p Use parallel bzip2 compression (testing), for multicore/CPU<br> |
1155 |
-z2 bzip2 compression (slowest but smallest image)<br> |
-z2 bzip2 compression (slowest but smallest image)<br> |
1156 |
-z3 lzo compression (faster with image size approx. to that of gzip)(NOTE!!)<br> |
-z3 lzo compression (faster with image size approx. to that of gzip)(NOTE!!)<br> |
1157 |
-z4 lzma compression (slowest but also small image, faster decompression than bzip2)<br> |
-z4 lzma_compression_(slowest_but_also_small_image,_faster_decompression_than_bzip2)<br> |
1158 |
|
-z5p Use_parallel_xz_compression_(testing),_for_multicore/CPU<br> |
1159 |
|
-z5 xz_compression_(slowest_but_also_small_image,_faster_decompression_than_bzip2)<br> |
1160 |
|
-z6p Use_parallel_lzip_compression_(testing),_for_multicore/CPU<br> |
1161 |
|
-z6 lzip_compression_(slowest_but_also_small_image,_faster_decompression_than_bzip2)<br> |
1162 |
-z0 No compression (fastest but largest image size)</font></p> |
-z0 No compression (fastest but largest image size)</font></p> |
1163 |
<p>This option chooses the method which is used to compress the image while creating it.</p> |
<p>This option chooses the method which is used to compress the image while creating it.</p> |
1164 |
<p>If no compression is used at all, there won't be any negative speed impact caused by compression. However, the image file size is the size of all the data backed up - for example, if you clone a 160 GB hard drive containing 60 gigabytes of data, the resulting disk image will be 60 gigabytes in size.</p> |
<p>If no compression is used at all, there won't be any negative speed impact caused by compression. However, the image file size is the size of all the data backed up - for example, if you clone a 160 GB hard drive containing 60 gigabytes of data, the resulting disk image will be 60 gigabytes in size.</p> |
1165 |
<p><b>Gzip</b> and <b>lzop</b> are fast compression methods. <b>Lzop</b> is many times faster than <b>gzip</b>, but creates slightly larger images. <b>Clonezilla Live</b> warns that <b>lzop</b> requires good-quality RAM, but I (the contributor who wrote this chapter) think other compression methods require good RAM too.</p> |
<p><b>Gzip</b> and <b>lzop</b> are fast compression methods. <b>Lzop</b> is many times faster than <b>gzip</b>, but creates slightly larger images. <b>Clonezilla Live</b> warns that <b>lzop</b> requires good-quality RAM, but I (the contributor who wrote this chapter) think other compression methods require good RAM too.</p> |
1166 |
<p><b>Bzip2</b> and <b>lzma</b> are powerful compression methods. <b>Lzma</b> creates a little smaller images than <b>bzip2</b>, and decompressing lzma-compressed images is faster than decompressing <b>bzip2</b> images. But there is no free lunch: <b>lzma</b> compression method is very slow compared even to <b>bzip2</b>, which isn't fast method either.</p> |
<p><b>Bzip2</b>, <b>lzma</b>, <b>xz</b> and <b>lzip</b> are powerful compression methods. <b>Lzma</b> creates a little smaller images than <b>bzip2</b>, and decompressing lzma-compressed images is faster than decompressing <b>bzip2</b> images. But there is no free lunch: <b>lzma</b> compression method is very slow compared even to <b>bzip2</b>, which isn't fast method either.</p> |
1167 |
|
<p><b>Lzma</b> method is becoming obsolete, and both <b>xz</b> and <b>lzip</b> are attempting to become its successor. They are a bit less powerful compression methods than <b>lzma</b>, but much faster. The differences between <b>xz</b> and <b>lzip</b> are virtually non-existent.</p> |
1168 |
|
<p>If you don't use the i486 version of <b>Clonezilla-SysRescCD</b> and your processor contains multiple cores and/or supports Hyper-Threading, parallel <b>gzip</b>, <b>bzip2</b>, <b>xz</b> and <b>lzip</b> compression methods are also available. Parallel compression means that each processor core compresses a different part of the image at a time. Without parallel compression one core compresses everything.</p> |
1169 |
|
<p>The speed impact caused by parallel compression depends on the number of processor cores available. In addition, Hyper-Threading increases the speed by about 30 % if parallel compression is used. For example, if your processor contains four cores and supports Hyper-Threading, speed with parallel compression is nearly 5,2 times as high as without. However, parallel compression is currently an experimental feature.</p> |
1170 |
<H4><a name="splitting"></a>Splitting [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4> |
<H4><a name="splitting"></a>Splitting [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4> |
1171 |
<p>This option (command line: <b>-i <font color="Red">[number]</font></b>) decides if the created image files are splitted into smaller pieces, and if yes, how large the pieces are. This setting doesn't usually matter, but some filesystems (most importantly FAT32) don't allow files larger than four gigabytes. If you're saving the disk image to a FAT32 partition, enter 4000 or less. (Value 0 disables splitting, so don't use it in that case.) If the filesystem allows files big enough, enter any value which isn't too small (you don't want to split the image into too many pieces, do you?)</p> |
<p>This option (command line: <b>-i <font color="Red">[number]</font></b>) decides if the created image files are splitted into smaller pieces, and if yes, how large the pieces are. This setting doesn't usually matter, but some filesystems (most importantly FAT32) don't allow files larger than four gigabytes. If you're saving the disk image to a FAT32 partition, enter 4000 or less. (Value 0 disables splitting, so don't use it in that case.) If the filesystem allows files big enough, enter any value which isn't too small (you don't want to split the image into too many pieces, do you?)</p> |
1172 |
|
<p><b>Clonezilla Live</b> warns that it is no longer safe to disable splitting because value 0 can confuse init. I (the contributor) don't know what the warning exactly means and haven't been able to reproduce the problem. Anyway, entering a very big value, for example 999999999999, is a safe way to keep the image in one piece.</p> |
1173 |
<H4><a name="backup-postaction"></a>Postaction [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4> |
<H4><a name="backup-postaction"></a>Postaction [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4> |
1174 |
<p class="newcode"><a name="backup_p_option"></a><font color="Red">-p true Do nothing when the clone finishes<br> |
<p class="newcode"><a name="backup_p_option"></a><font color="Red">-p true Do nothing when the clone finishes<br> |
1175 |
-p reboot Reboot client when the clone finishes<br> |
-p reboot Reboot client when the clone finishes<br> |
1205 |
<p>This option is useful if you are cloning a small disk to larger one. It tries to resize the restored filesystem to the size of the partition where it was restored to. It allows you to use the whole size of your new disk without resizing the partition afterwards. The option requires that the disk where the image is copied already contains a partition where the image is restored or that the option <font color="Red"><b>-k1</b></font> is enabled.</p> |
<p>This option is useful if you are cloning a small disk to larger one. It tries to resize the restored filesystem to the size of the partition where it was restored to. It allows you to use the whole size of your new disk without resizing the partition afterwards. The option requires that the disk where the image is copied already contains a partition where the image is restored or that the option <font color="Red"><b>-k1</b></font> is enabled.</p> |
1206 |
<p class="newcode"><a name="load-geometry"></a><font color="Red">-e sfdisk uses the CHS value of hard drive from the saved image</font></p> |
<p class="newcode"><a name="load-geometry"></a><font color="Red">-e sfdisk uses the CHS value of hard drive from the saved image</font></p> |
1207 |
<p>Force to use the saved CHS (cylinders, heads, sectors) when using sfdisk. Of cource, there is no use of it when using any of <b><font color="Red">-j0</font></b>, <b><font color="Red">-k</font></b> or <b><font color="Red">-k2</font></b> options.</p> |
<p>Force to use the saved CHS (cylinders, heads, sectors) when using sfdisk. Of cource, there is no use of it when using any of <b><font color="Red">-j0</font></b>, <b><font color="Red">-k</font></b> or <b><font color="Red">-k2</font></b> options.</p> |
1208 |
|
<p class="newcode"><a name="ignore-crc"></a><font color="Red">-icrc Ignore CRC checking of partclone</font></p> |
1209 |
|
<p>This option causes <b>partclone</b> to skip checking the CRC32 checksums of the image. Enabling this option speeds the restore process up. However, if this option is enabled and the <b><font color="Red">-cm</font></b> and <b><font color="Red">-cs</font></b> options are disabled, there is no way to notice if the image has corrupted.</p> |
1210 |
<p class="newcode"><a name="mbr-again"></a><font color="Red">-j1 Write MBR (512 B) again after image is restored. Not OK for partition table diffe</font></p> |
<p class="newcode"><a name="mbr-again"></a><font color="Red">-j1 Write MBR (512 B) again after image is restored. Not OK for partition table diffe</font></p> |
1211 |
<p>When a disk image is restored, the partition table must be updated to reflect the actual partitions in the disk. If you don't want it to happen, enable this option. Then the Master Boot Record (including the partition table) is restored again after restoring the image. Note that using this option can destroy all the data in the target drive.</p> |
<p>When a disk image is restored, the partition table must be updated to reflect the actual partitions in the disk. If you don't want it to happen, enable this option. Then the Master Boot Record (including the partition table) is restored again after restoring the image. Note that using this option can destroy all the data in the target drive.</p> |
1212 |
<p class="newcode"><a name="restore-hidden-data"></a><font color="Red">-j2 Clone the hidden data between MBR and 1st partition</font></p> |
<p class="newcode"><a name="restore-hidden-data"></a><font color="Red">-j2 Clone the hidden data between MBR and 1st partition</font></p> |
1236 |
<p class="newcode"><a name="dd"></a><font color="Red">-j0 Use dd to create partition (NOT OK if logical drives exist)</font></p> |
<p class="newcode"><a name="dd"></a><font color="Red">-j0 Use dd to create partition (NOT OK if logical drives exist)</font></p> |
1237 |
<p>Use dd to dump the partition table from saved image instead of sfdisk.<br><br> |
<p>Use dd to dump the partition table from saved image instead of sfdisk.<br><br> |
1238 |
We read in <a href="http://drbl.sourceforge.net/faq/fine-print.php?path=./2_System/23_Missing_OS.faq#23_Missing_OS.faq" target="_blank">DRBL FAQ/Q&A</a>:</p> |
We read in <a href="http://drbl.sourceforge.net/faq/fine-print.php?path=./2_System/23_Missing_OS.faq#23_Missing_OS.faq" target="_blank">DRBL FAQ/Q&A</a>:</p> |
1239 |
<p style="margin-left: 40pt; margin-right: 40pt;">When I use clonezilla to clone M$ windows, there is no any problem when saving an image from template machine. However, after the image is restored to another machine, it fails to boot, the error message is "<b>Missing Operating System</b>". What's going on ?<br><br> |
<p class="otherpage">When I use clonezilla to clone M$ windows, there is no any problem when saving an image from template machine. However, after the image is restored to another machine, it fails to boot, the error message is "<b>Missing Operating System</b>". What's going on ?<br><br> |
1240 |
Usually this is because GNU/Linux and M$ windows interpret the CHS (cylinder, head, sector) value of harddrive differently. Some possible solutions:<br> |
Usually this is because GNU/Linux and M$ windows interpret the CHS (cylinder, head, sector) value of harddrive differently. Some possible solutions:<br> |
1241 |
1. Maybe you can change the IDE harddrive setting in BIOS, try to use LBA instead of auto mode.<br> |
1. Maybe you can change the IDE harddrive setting in BIOS, try to use LBA instead of auto mode.<br> |
1242 |
2. Try to choose<br> |
2. Try to choose<br> |
1266 |
prompt, execute the command:</p> |
prompt, execute the command:</p> |
1267 |
<p class="newcode" style="margin-left: 0pt;"><font color="Red">chkdsk /f X:</font></p> |
<p class="newcode" style="margin-left: 0pt;"><font color="Red">chkdsk /f X:</font></p> |
1268 |
<p style="margin-left: 0pt;">where <font color="Red"><b>X:</b></font> is the drive letter of the disk. When done, boot back into <b>Clonezilla Live</b> and repeat the backup procedure.</p> |
<p style="margin-left: 0pt;">where <font color="Red"><b>X:</b></font> is the drive letter of the disk. When done, boot back into <b>Clonezilla Live</b> and repeat the backup procedure.</p> |
1269 |
If the Windows version you use is not XP, boot into <b>SystemRescueCD</b> (graphical mode is not needed) and run the following command: |
<p style="margin-left: 0pt;">If the disk/partition you are trying to backup is not the Windows System disk (usually <b>C:</b>), you can boot Windows, and execute the command in a DOS window. To open a DOS window click <b>Start / Run... </b> and at the prompt <b>Open:</b> type <b><font color="Red">cmd</font>.</b></li></p> |
1270 |
|
<p style="margin-left: 0pt;">If the Windows version you use is not XP and you're trying to backup the Windows System drive, boot into <b>SystemRescueCD</b> (graphical mode is not needed) and run the following command:</p> |
1271 |
<p class="newcode" style="margin-left: 0pt;"><font color="Red">ntfsfix /dev/hda1</font></p> |
<p class="newcode" style="margin-left: 0pt;"><font color="Red">ntfsfix /dev/hda1</font></p> |
1272 |
<p style="margin-left: 0pt;">where <b>/dev/<font color="Red">hda1</font></b> is the partition name in GNU/Linux. When done, boot back into <b>Clonezilla Live</b> and repeat the backup procedure.</p> |
<p style="margin-left: 0pt;">where <b>/dev/<font color="Red">hda1</font></b> is the partition name in GNU/Linux. When done, boot back into <b>Clonezilla Live</b> and repeat the backup procedure.</p> |
|
If the disk/partition you are trying to backup is not the Windows System disk (usually <b>C:</b>), you can boot Windows, and execute the command in a DOS window. To open a DOS window click <b>Start / Run... </b> and at the prompt <b>Open:</b> type <b><font color="Red">cmd</font>.</b></li> |
|
1273 |
<li><p style="margin-left: 0pt;">If <b>Windows XP Recovery Console</b> is not available, you don't have the time to execute the procedure described above, or even if you have executed it but you still get the same message, and you are <b><u>absolutely sure</u></b> that you get this message because the NTFS partition is really scheduled for check, and it's not because Windows crushed or have become corrupt, you can mount the patririon by hand and tell <b>Clonezilla Live</b> to use it. Assuming the partition is <b>/dev/<font color="Red">hda1</font></b>, exit the program and execute the commands:</p> |
<li><p style="margin-left: 0pt;">If <b>Windows XP Recovery Console</b> is not available, you don't have the time to execute the procedure described above, or even if you have executed it but you still get the same message, and you are <b><u>absolutely sure</u></b> that you get this message because the NTFS partition is really scheduled for check, and it's not because Windows crushed or have become corrupt, you can mount the patririon by hand and tell <b>Clonezilla Live</b> to use it. Assuming the partition is <b>/dev/<font color="Red">hda1</font></b>, exit the program and execute the commands:</p> |
1274 |
<p class="newcode" style="margin-left: 0pt;">sudo su -<br> |
<p class="newcode" style="margin-left: 0pt;">sudo su -<br> |
1275 |
ntfs-3g -o force /dev/<font color="Red">hda1</font> /home/partimag<br> |
ntfs-3g -o force /dev/<font color="Red">hda1</font> /home/partimag<br> |
1280 |
</ul> |
</ul> |
1281 |
<a name="backup-top"></a> |
<a name="backup-top"></a> |
1282 |
<H2 style="font-size: 2em;"><a name="backup-intro"></a>Getting backups <span class="hideprint">[<a href="#backup-top" title="go to top of the page">^</a>]</span></H2> |
<H2 style="font-size: 2em;"><a name="backup-intro"></a>Getting backups <span class="hideprint">[<a href="#backup-top" title="go to top of the page">^</a>]</span></H2> |
1283 |
<p>In this page I will demonstrate the creation of an image file by getting a backup of a virtual partition (<b>/dev/<font color="Red">hdb1</font></b>). The image file will be saved in another virtual partition (<b>/dev/<font color="Red">hda1</font></b>).<br></p> |
<p>In this page I will demonstrate the creation of an image file by getting a backup of a virtual partition (<b>/dev/<font color="Red">sdb1</font></b>). The image file will be saved in another virtual partition (<b>/dev/<font color="Red">sda1</font></b>).<br></p> |
1284 |
<p> |
<p> |
1285 |
The first thing you do when you want to get a backup of a disk/partition, is make sure both the souce (to be backed up) and target (to hold the image file) partitions are in excellent condition (error free). This is the logical thing to do, cause I wouldn't want to backup a corrupt partition, or end up with a corrupt image file.<br> |
The first thing you do when you want to get a backup of a disk/partition, is make sure both the souce (to be backed up) and target (to hold the image file) partitions are in excellent condition (error free). This is the logical thing to do, cause I wouldn't want to backup a corrupt partition, or end up with a corrupt image file.<br> |
1286 |
<br> |
<br> |
1290 |
<br> |
<br> |
1291 |
</p> |
</p> |
1292 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td> |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td> |
1293 |
The following pressentation has been made using<br><b>Clonezilla Live v 1.2.3-27</b> |
The following pressentation has been made using<br><b>Clonezilla Live v 1.2.5-35</b> |
1294 |
</td></tr></table></div> |
</td></tr></table></div> |
1295 |
<H2><a name="backup"></a>Getting the backup <span class="hideprint">[<a href="#backup-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="backup"></a>Getting the backup <span class="hideprint">[<a href="#backup-top" title="go to top of the page">^</a>]</span></H2> |
1296 |
<H3><a name="bck-0"></a>Clonezilla-SysRescCD starting screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-0"></a>Clonezilla-SysRescCD starting screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
1334 |
<H3><a name="bck-7"></a>Next screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-7"></a>Next screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
1335 |
<p>This is where I choose the location of the image file. It will be saved at the root directory of the selected partition.<br><br> |
<p>This is where I choose the location of the image file. It will be saved at the root directory of the selected partition.<br><br> |
1336 |
<img src="images/backup-06.png"><br> |
<img src="images/backup-06.png"><br> |
1337 |
I select partition <font color="Red"><b>hda1</b></font> and press ENTER.<br> |
I select partition <font color="Red"><b>sda1</b></font> and press ENTER.<br> |
1338 |
<br> |
<br> |
1339 |
<img src="images/backup-07.png"><br> |
<img src="images/backup-07.png"><br> |
1340 |
and then ENTER again.</p> |
and then ENTER again.</p> |
1341 |
<p><img src="images/backup-08.png"><br> |
<p><img src="images/backup-08.png"><br> |
1342 |
This screen displays the mounting result.<br> |
This screen displays the mounting result.<br> |
1343 |
As we can see, <font color="Red"><b>/dev/hda1</b></font> has been successfully mounted under <b>/tmp/local-dev</b>.</p> |
As we can see, <font color="Red"><b>/dev/sda1</b></font> has been successfully mounted under <b>/tmp/local-dev</b>.</p> |
1344 |
<H3><a name="bck-7a"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-7a"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
1345 |
<p><img src="images/backup-09.png"> |
<p><img src="images/backup-09.png"> |
1346 |
<br>I select <font color="Red"><b>Beginer mode</b></font> to accept the default backup options. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#backup-options" target="_blank">here</a>.</p> |
<br>I select <font color="Red"><b>Beginer mode</b></font> to accept the default backup options. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#backup-options" target="_blank">here</a>.</p> |
1352 |
<H3><a name="bck-9"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-9"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
1353 |
<p><img src="images/backup-11.png"><br> |
<p><img src="images/backup-11.png"><br> |
1354 |
In this screen I select the image name.<br> |
In this screen I select the image name.<br> |
1355 |
I type "Backup_5-2010_hdb", which in my opinion is more informative name than the default. |
I type "Backup_32-2010_sdb", which in my opinion is more informative name than the default. |
1356 |
</p> |
</p> |
1357 |
<H3><a name="bck-10"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-10"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
1358 |
<p><img src="images/backup-12.png"><br> |
<p><img src="images/backup-12.png"><br> |
1368 |
After that, the backup begins<br> |
After that, the backup begins<br> |
1369 |
<br> |
<br> |
1370 |
<img src="images/backup-15.png"><br> |
<img src="images/backup-15.png"><br> |
1371 |
and when it's successfully completed, I will be able to reboot the system by pressing <font color="Red"><b>1</b></font> and ENTER. |
and when it's successfully completed, I press ENTER to get to the shell. Then, I execute the commands:</p> |
1372 |
</p> |
<p class="newcode">sudo su -<br> |
1373 |
|
cd<br> |
1374 |
|
umount -a<br> |
1375 |
|
reboot<br><br></p> |
1376 |
|
<p>to reboot the system.</p> |
1377 |
<a name="backup-smb-top"></a> |
<a name="backup-smb-top"></a> |
1378 |
<H2 style="font-size: 2em;"><a name="backup-smb-intro"></a>Getting backups on Samba <span class="hideprint">[<a href="#backup-smb-top" title="go to top of the page">^</a>]</span></H2> |
<H2 style="font-size: 2em;"><a name="backup-smb-intro"></a>Getting backups on Samba <span class="hideprint">[<a href="#backup-smb-top" title="go to top of the page">^</a>]</span></H2> |
1379 |
<p>What if you don't have a spare local disk or partition or a USB disk? How will you be able to get a backup of your system? Well, if your PC is on the same LAN with another PC running Windows (or linux), you can use <b>Samba</b> to save your image file on that remote PC (which we will call <b>Samba server</b> from now on).<br><br> |
<p>What if you don't have a spare local disk or partition or a USB disk? How will you be able to get a backup of your system? Well, if your PC is on the same LAN with another PC running Windows (or linux), you can use <b>Samba</b> to save your image file on that remote PC (which we will call <b>Samba server</b> from now on).<br><br> |
1380 |
Using <b>Samba</b> you will be able to mount a Windows share resource (or Samba share resource), from within <b>Clonezilla Live</b>, and save the image file there. Then you can boot that PC using <b>SystemRescueCD</b> and create a restore DVD.<br><br> |
Using <b>Samba</b> you will be able to mount a Windows share resource (or Samba share resource), from within <b>Clonezilla Live</b>, and save the image file there. Then you can boot that PC using <b>SystemRescueCD</b> and create a restore DVD.<br><br> |
1381 |
In this page I will demonstrate the creation of an image file by getting a backup of my Windows partition (<b>/dev/<font color="Red">hda1</font></b>). The image file will be save in my Samba server which is my laptop (ip: <b><font color="Red">10.0.0.2</font></b>, Windows share resource name: <b><font color="Red">data</font></b>). |
In this page I will demonstrate the creation of an image file by getting a backup of my second disk (<b>/dev/<font color="Red">sdb</font></b>). The image file will be save in my Samba server which is my laptop (ip: <b><font color="Red">10.0.0.3</font></b>, Windows share resource name: <b><font color="Red">all_my_images</font></b>). |
1382 |
</p> |
</p> |
1383 |
<H3><a name="what-is"></a>What is Samba? [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="what-is"></a>What is Samba? [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
1384 |
<p>We read at <a href="http://us1.samba.org/samba/" target="_blank">http://us1.samba.org/samba/</a>:</p> |
<p>We read at <a href="http://us1.samba.org/samba/" target="_blank">http://us1.samba.org/samba/</a>:</p> |
1402 |
</p> |
</p> |
1403 |
<p>If you need to change these settings, go to the <a href="backup.html#bck-0" target="_blank">Getting backups</a> page for instructions .</p> |
<p>If you need to change these settings, go to the <a href="backup.html#bck-0" target="_blank">Getting backups</a> page for instructions .</p> |
1404 |
<H3><a name="bck-smb-1"></a>Screen "Start Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-smb-1"></a>Screen "Start Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
1405 |
<p>I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER.</p> |
<p><img src="images/backup-03.png"><br> |
1406 |
|
I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER. |
1407 |
|
</p> |
1408 |
<H3><a name="bck-smb-2"></a>Screen "Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-smb-2"></a>Screen "Clonezilla" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
1409 |
<p>I select "<font color="Red"><b>device-image</b></font>" and press ENTER.</p> |
<p><img src="images/backup-04.png"><br> |
1410 |
<H3><a name="bck-smb-3"></a>Screen "Mount clonezilla image directory" [<a href="#backup-smb-top" title="go to top of the page">^</a></H3> |
I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br> |
1411 |
|
</p> |
1412 |
|
<H3><a name="bck-smb-3"></a>Screen "Mount clonezilla image directory" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
1413 |
<p>In this screen I can select the way the image file directory will be saved. |
<p>In this screen I can select the way the image file directory will be saved. |
1414 |
Available options are local directory, remote directory through <b>ssh</b>, <b>samba</b> or <b>nfs</b> and skip, to use the previously used directory. More info about the image file can be found at section "<a href="clonezilla.html#about">About the Image file</a>".<br> |
Available options are local directory, remote directory through <b>ssh</b>, <b>samba</b> or <b>nfs</b> and skip, to use the previously used directory. More info about the image file can be found at section "<a href="clonezilla.html#about">About the Image file</a>".<br> |
1415 |
<br> |
<br> |
1416 |
|
<img src="images/backup-smb-05.png"><br> |
1417 |
I select "<font color="Red"><b>samba server</b></font>" and press ENTER.</p> |
I select "<font color="Red"><b>samba server</b></font>" and press ENTER.</p> |
1418 |
<H3><a name="bck-smb-4"></a>Screen "Mount Samba Server" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-smb-4"></a>Screen "Mount Samba Server" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
1419 |
<p>This is where I have to enter the IP address of my Samba server.<br><br> I type "<font color="Red"><b>10.0.0.2</b></font>" and press ENTER.</p> |
<p>This is where I have to enter the IP address of my Samba server.<br><br> |
1420 |
|
<img src="images/backup-smb-06.png"><br> |
1421 |
|
I type "<font color="Red"><b>10.0.0.3</b></font>" and press ENTER.</p> |
1422 |
<H3><a name="bck-smb-5"></a>Screen "Mount Samba Server" (second time) [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-smb-5"></a>Screen "Mount Samba Server" (second time) [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
1423 |
<p>This is where I have to enter the account (user) name on my Samba server.<br><br> I type "<font color="Red"><b>spiros</b></font>" and press ENTER.</p> |
<p>This is where I have to enter the domain name on my Samba server.<br><br> |
1424 |
|
<img src="images/backup-smb-07.png"><br> |
1425 |
|
I just press ENTER, as there is no domain in my LAN. If there is a domain in your network, you have to type its name (something like <b>my_company.com</b>) and press ENTER.</p> |
1426 |
<H3><a name="bck-smb-6"></a>Screen "Mount Samba Server" (third time) [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-smb-6"></a>Screen "Mount Samba Server" (third time) [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
1427 |
<p>This is where I have to enter the domain name on my Samba server.<br><br> I select "<font color="Red"><b>Cancel</b></font>" and press ENTER, as there is no domain in my LAN. If there is a domain in your network, you have to type its name (something like <b>my_company.com</b>) and press ENTER.</p> |
<p>This is where I have to enter the account (user) name on my Samba server.<br><br> |
1428 |
|
<img src="images/backup-smb-08.png"><br> |
1429 |
|
I type "<font color="Red"><b>spiros</b></font>" and press ENTER.</p> |
1430 |
<H3><a name="bck-smb-7"></a>Screen "Mount Samba Server" (fourth time) [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-smb-7"></a>Screen "Mount Samba Server" (fourth time) [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
1431 |
<p>This is where I have to enter the directory name on my Samba server, in which the image file will be saved.<br><br> I type "/<font color="Red"><b>data</b></font>" and press ENTER.<br><br> |
<p>This is where I have to enter the directory name on my Samba server, in which the image file will be saved.<br><br> I type "<font color="Red"><b>/all_my_images</b></font>" and press ENTER.<br><br> |
1432 |
At this point I will be asked for the password for user <b><font color="Red"><b>spiros</b></font></b>. I will be able to continue only after entering it correctly.</p> |
<img src="images/backup-smb-09.png"><br> |
1433 |
|
At this point I'm informed I'm going to be asked for the password for user <b><font color="Red"><b>spiros</b></font></b>.<br><br> |
1434 |
|
<img src="images/backup-smb-10.png"><br> |
1435 |
|
I will be able to continue only after entering it correctly.<br><br> |
1436 |
|
<img src="images/backup-smb-11.png"></p> |
1437 |
<H3><a name="bck-smb-7a"></a>Screen "Clonezilla - Opensource Clone System (OCS)" [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="bck-smb-7a"></a>Screen "Clonezilla - Opensource Clone System (OCS)" [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
1438 |
<p>I select <font color="Red"><b>Beginner mode</b></font> to accept the default backup options. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#backup-options" target="_blank">here</a>.</p> |
<p><img src="images/backup-09.png"> |
1439 |
<H3><a name="bck-smb-8"></a>Screen "Clonezilla: Select mode" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
<br>I select <font color="Red"><b>Beginer mode</b></font> to accept the default backup options. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#backup-options" target="_blank">here</a>.</p> |
1440 |
<p>Here I can select the desired operation. Available options are:</p> |
<H3><a name="bck-smb-8"></a>Screen "Select mode" [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
1441 |
<p>savedisk<br> |
<p>Here I can select the desired operation.<br> |
1442 |
Save entire disk to image<br> |
<br> |
1443 |
<br> |
<img src="images/backup-10.png"><br> |
1444 |
restoredisk<br> |
I select "<font color="Red"><b>savedisk</b></font>" and press ENTER.<br> <br></p> |
1445 |
Restore entire disk from image<br> |
<H3><a name="bck-smb-9"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
1446 |
<br> |
<p><img src="images/backup-11.png"><br> |
1447 |
saveparts<br> |
In this screen I select the image name.<br> |
1448 |
Save partition to image<br> |
I type "Backup_32-2010_sdb", which in my opinion is more informative name than the default. |
1449 |
<br> |
</p> |
1450 |
restoreparts<br> |
<H3><a name="bck-smb-10"></a>Next Screen [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
1451 |
Restore partition from image<br> |
<p><img src="images/backup-12.png"><br> |
1452 |
<br> |
Finally I am asked to select the partition to save.<br> |
1453 |
recovery-iso-zip<br> |
I just press ENTER again. |
1454 |
Create an automated restore CD/DVD/USB drive</p> |
</p> |
1455 |
<p>I select "<font color="Red"><b>saveparts</b></font>" and press ENTER.<br> <br></p> |
<H3><a name="bck-smb-11"></a>Starting the backup [<a href="#backup-top" title="go to top of the page">^</a>]</H3> |
1456 |
<H3><a name="bck-smb-11"></a>Screen "Clonezilla - Opensource Clone System (OCS) | Mode: saveparts" [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
<p><img src="images/backup-13.png"><br> |
1457 |
<p>This is the name of the image file. You can insert anything you like, as long as it makes sence to you, so that you can distinguish the image file afterwards.<br> |
Then the program will display the command that will be executed and will ask me to press ENTER. <br> |
1458 |
<br> |
Then I will be asked to confirm the operation by pressing <font color="Red"><b>y</b></font> and ENTER. |
1459 |
I insert "<font color="Red"><b>win_img</b></font>" and press ENTER.</p> |
<br> |
1460 |
<H3><a name="bck-smb-12"></a>Next screen [<a href="#backup-smb-top" title="go to top of the page">^</a>]</H3> |
<br><img src="images/backup-14.png"><br> |
1461 |
<p>Here I can select the partition that will be backed up. <br><br> I select "<font color="Red"><b>( ) hda1 ntfs</b></font>" by pressing SPACE and press ENTER, and ENTER again.<br> |
After that, the backup begins<br> |
1462 |
<br> |
<br> |
1463 |
Then a message is displayed asking for confirmation in order to continue. I just press <b>y</b>, and the backup procedure begins.</p> |
<img src="images/backup-15.png"><br> |
1464 |
<H2><a name="reboot"></a>Rebooting the system <span class="hideprint">[<a href="#backup-smb-top" title="go to top of the page">^</a>]</span></H2> |
and when it's successfully completed, I press ENTER to get to the shell. Then, I execute the commands:</p> |
|
<p>When the backup is done, I get the following:</p> |
|
|
<p class="newcode">(0) Poweroff<br> |
|
|
(1) Reboot<br> |
|
|
(2) Enter command line prompt<br> |
|
|
(3) Start over<br> |
|
|
[2]</p> |
|
|
<p>Then I press ENTER and get to the shell. I execute the commands:</p> |
|
1465 |
<p class="newcode">sudo su -<br> |
<p class="newcode">sudo su -<br> |
1466 |
cd<br> |
cd<br> |
1467 |
umount -a<br> |
umount -a<br> |
1468 |
reboot<br><br></p> |
reboot<br><br></p> |
1469 |
<a name="restore-top"></a> |
<p>to reboot the system.</p> |
1470 |
|
<a name="restore-top"></a> |
1471 |
|
<H2 style="font-size: 2em;"><a name="restore-intro"></a>Restoring data <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2> |
1472 |
|
<p>Image files are always created for one purpose: restoring the data they contain. Images can be, for example, a backup solution: as long as hardware works, the computer can be restored to the state it was when creating the image. Another usage scenario is changing the hard drive: files can be copy-pasted from the old drive to the new, but that method doesn't make the new drive bootable. Disk images do.</p> |
1473 |
<H2 style="font-size: 2em;"><a name="restore-intro"></a>Restoring data <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2> |
<p>This page contains a demonstration of the latter case. On the <a href="backup.html">Getting backups</a> page, a 500 MB virtual disk containing 160 megabytes of data was copied to a 2 GB virtual disk which was empty. Now the 500 MB disk is changed to an empty 2 GB disk (still virtual) and I'll restore the data to that disk.</p> |
1474 |
|
<p>When creating a disk image, one needs to check that both the source and target partitions are error free. That's not required when the image is restored, because restoration process can't damage the disk image. Note, however, that restoring an image erases all the data in the target disk/partition.</p> |
1475 |
<p>Image files are always created for one purpose: restoring the data they contain. Images can be, for example, a backup solution: as long as hardware works, the computer can be restored to the state it was when creating the image. Another usage scenario is changing the hard drive: files can be copy-pasted from the old drive to the new, but that method doesn't make the new drive bootable. Disk images do.</p> |
<p>You also need to check the BIOS settings to be able to boot from <b>Clonezilla-SysRescCD</b>. Some BIOSes contain a boot menu, others require editing settings pernamently. Details can be found on the manual of the motherboard or laptop.</p> |
1476 |
|
<p>Now let's boot.</p> |
1477 |
<p>This page contains a demonstration of the latter case. On the <a href="backup.html">Getting backups</a> page, a 500 MB virtual disk containing 160 megabytes of data was copied to a 2 GB virtual disk which was empty. Now the 500 MB disk is changed to an empty 2 GB disk (still virtual) and I'll restore the data to that disk.</p> |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
1478 |
|
Restore process erases all the data on the target disk/partition.<br><br>Before restoring make sure you have backup of all the data<br> on the target disk/partition, even if the filesystem is corrupted. |
1479 |
<p>When creating a disk image, one needs to check that both the source and target partitions are error free. That's not required when the image is restored, because restoration process can't damage the disk image. Note, however, that restoring an image erases all the data in the target disk/partition.</p> |
</td></tr></table></div> |
1480 |
|
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td> |
1481 |
<p>You also need to check the BIOS settings to be able to boot from <b>Clonezilla-SysRescCD</b>. Some BIOSes contain a boot menu, others require editing settings pernamently. Details can be found on the manual of the motherboard or laptop.</p> |
The following pressentation has been made using<br><b>Clonezilla Live v 1.2.5-35</b> |
1482 |
|
</td></tr></table></div> |
1483 |
<p>Now let's boot.</p> |
<H2><a name="restore"></a>Restoring data <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2> |
1484 |
|
<H3><a name="res-0"></a>Clonezilla-SysRescCD starting screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
1485 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
<p>If you're fine with US keymap and English language (available languages are English, Spanish, French, Italian, Japanese and Chinese [both simplified and traditional]) or don't mind editing the boot parameters, just select <b>Clonezilla Live</b> at the starting screen and press ENTER. When the system comes up, it will load the program that will preform the backup. After that continue from <a href="#res-4">this step</a>.</p> |
1486 |
Restore process erases all the data on the target disk/partition.<br><br>Before restoring make sure you have backup of all the data<br> on the target disk/partition, even if the filesystem is corrupted. |
<p>If you need to change these settings, select one of the available <b>Clonezilla Live</b> menu entries, and press <font color="Green"><b>TAB</b></font>. The current boot parameters will be displayed.</p> |
1487 |
</td></tr></table></div> |
<p>The default parameters for booting <b>Clonezilla Live</b> on a 1024x768 screen, are the following:</p> |
1488 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td> |
<p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br> |
1489 |
The following pressentation has been made using<br><b>Clonezilla Live v 1.2.3-27</b> |
ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br> |
1490 |
</td></tr></table></div> |
ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br> |
1491 |
|
ocs_lang="<font color="Red">en_US.UTF-8</font>" ocs_live_keymap="<font color="Red">NONE</font>" vga=791 nolocales</p> |
1492 |
|
<p>By deleting the words in red, you instruct <b>Clonezilla Live</b> to ask you the values of these parameters. When the appropriate changes have been done (as shown bellow), just press <font color="Green"><b>ENTER</b></font> to boot.</p> |
1493 |
<H2><a name="restore"></a>Restoring data <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2> |
<p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br> |
1494 |
|
ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br> |
1495 |
<H3><a name="res-0"></a>Clonezilla-SysRescCD starting screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br> |
1496 |
|
ocs_lang="" ocs_live_keymap="" vga=791 nolocales</p> |
1497 |
<p>If you're fine with US keymap and English language (available languages are English, Spanish, French, Italian, Japanese and Chinese [both simplified and traditional]) or don't mind editing the boot parameters, just select <b>Clonezilla Live</b> at the starting screen and press ENTER. When the system comes up, it will load the program that will preform the backup. After that continue from <a href="#res-4">this step</a>.</p> |
</p> |
1498 |
|
<H3><a name="res-1"></a>Screen "Choose Language" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<p>If you need to change these settings, select one of the available <b>Clonezilla Live</b> menu entries, and press <font color="Green"><b>TAB</b></font>. The current boot parameters will be displayed.</p> |
|
|
|
|
|
<p>The default parameters for booting <b>Clonezilla Live</b> on a 1024x768 screen, are the following:</p> |
|
|
|
|
|
<p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br> |
|
|
ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br> |
|
|
ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br> |
|
|
ocs_lang="<font color="Red">en_US.UTF-8</font>" ocs_live_keymap="<font color="Red">NONE</font>" vga=791 nolocales</p> |
|
|
|
|
|
<p>By deleting the words in red, you instruct <b>Clonezilla Live</b> to ask you the values of these parameters. When the appropriate changes have been done (as shown bellow), just press <font color="Green"><b>ENTER</b></font> to boot.</p> |
|
|
|
|
|
<p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br> |
|
|
ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br> |
|
|
ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br> |
|
|
ocs_lang="" ocs_live_keymap="" vga=791 nolocales</p> |
|
|
</p> |
|
|
|
|
|
<H3><a name="res-1"></a>Screen "Choose Language" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1499 |
<p><img src="images/backup-00.png"><br> |
<p><img src="images/backup-00.png"><br> |
1500 |
I select "<font color="Red"><b>en_US.UTF-8 English</b></font>" and press ENTER.</p> |
I select "<font color="Red"><b>en_US.UTF-8 English</b></font>" and press ENTER.</p> |
1501 |
|
<H3><a name="res-2"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="res-2"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1502 |
<p><img src="images/backup-01.png"><br> |
<p><img src="images/backup-01.png"><br> |
1503 |
I select "<font color="Red"><b>Select keymap from full list</b></font>" and press ENTER. If you're using US keymap, the default option "<font color="Red"><b>Don't touch keymap</b></font>" is a better choice.</p> |
I select "<font color="Red"><b>Select keymap from full list</b></font>" and press ENTER. If you're using US keymap, the default option "<font color="Red"><b>Don't touch keymap</b></font>" is a better choice.</p> |
1504 |
|
<H3><a name="res-3"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="res-3"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1505 |
<p><img src="images/backup-02.png"><br> |
<p><img src="images/backup-02.png"><br> |
1506 |
Because I haven't changed my keyboard, I select "<font color="Red"><b>pc / qwerty / Finnish / Standard / Standard</b></font>". Because you most likely use a different keyboard, choose the one you use.</p> |
Because I haven't changed my keyboard, I select "<font color="Red"><b>pc / qwerty / Finnish / Standard / Standard</b></font>". Because you most likely use a different keyboard, choose the one you use.</p> |
1507 |
|
<H3><a name="res-4"></a>Screen "Start Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="res-4"></a>Screen "Start Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1508 |
<p><img src="images/backup-03.png"><br> |
<p><img src="images/backup-03.png"><br> |
1509 |
I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER. |
I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER. |
1510 |
</p> |
</p> |
1511 |
|
<H3><a name="res-5"></a>Screen "Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="res-5"></a>Screen "Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1512 |
<p><img src="images/backup-04.png"><br> |
<p><img src="images/backup-04.png"><br> |
1513 |
I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br> |
I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br> |
1514 |
</p> |
</p> |
1515 |
|
<H3><a name="res-6"></a>Screen "Mount clonezilla image directory" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
1516 |
<H3><a name="res-6"></a>Screen "Mount clonezilla image directory" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
<p>In this screen I can select the way the image file directory has been saved. |
1517 |
|
Available options are local directory, remote directory through <b>ssh</b>, <b>samba</b> or <b>nfs</b> and <b>skip</b>, to use the previously used directory. More info about the image file can be found at section "<a href="clonezilla.html#about">About the Image file</a>".<br> |
1518 |
<p>In this screen I can select the way the image file directory has been saved. |
<br> |
|
Available options are local directory, remote directory through <b>ssh</b>, <b>samba</b> or <b>nfs</b> and <b>skip</b>, to use the previously used directory. More info about the image file can be found at section "<a href="clonezilla.html#about">About the Image file</a>".<br> |
|
|
<br> |
|
1519 |
<img src="images/backup-05.png"><br> |
<img src="images/backup-05.png"><br> |
1520 |
I select "<font color="Red"><b>local_dev</b></font>" and press ENTER. |
I select "<font color="Red"><b>local_dev</b></font>" and press ENTER. |
1521 |
</p> |
</p> |
1522 |
|
<H3><a name="res-7"></a>Next screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
1523 |
<H3><a name="res-7"></a>Next screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
<p>This is where I choose the location of the image file.<br><br> |
|
|
|
|
<p>This is where I choose the location of the image file.<br><br> |
|
1524 |
<img src="images/restoration-06.png"><br> |
<img src="images/restoration-06.png"><br> |
1525 |
I select partition <font color="Red"><b>hda1</b></font> and press ENTER.<br> |
I select partition <font color="Red"><b>sda1</b></font> and press ENTER.<br> |
1526 |
<br> |
<br> |
1527 |
<img src="images/backup-07.png"><br>and then ENTER again.</p> |
<img src="images/backup-07.png"><br>and then ENTER again.</p> |
|
|
|
1528 |
<p><img src="images/restoration-08.png"><br> |
<p><img src="images/restoration-08.png"><br> |
1529 |
This screen displays the mounting result.<br> |
This screen displays the mounting result.<br> |
1530 |
As we can see, <font color="Red"><b>/dev/hda1</b></font> has been successfully mounted under <b>/tmp/local-dev</b>.</p> |
As we can see, <font color="Red"><b>/dev/sda1</b></font> has been successfully mounted under <b>/tmp/local-dev</b>.</p> |
1531 |
|
<H3><a name="res-7a"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="res-7a"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1532 |
<p><img src="images/backup-09.png"><br> |
<p><img src="images/backup-09.png"><br> |
1533 |
I select <font color="Red"><b>Beginer mode</b></font> to accept the default restore options. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#restore-options" target="_blank">here</a>.</p> |
I select <font color="Red"><b>Beginer mode</b></font> to accept the default restore options. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#restore-options" target="_blank">here</a>.</p> |
1534 |
|
<H3><a name="res-8"></a>Screen "Select mode" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
1535 |
<H3><a name="res-8"></a>Screen "Select mode" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
<p>Here I can select the desired operation.<br> |
1536 |
|
<br> |
|
<p>Here I can select the desired operation.<br> |
|
|
<br> |
|
1537 |
<img src="images/restoration-10.png"><br> |
<img src="images/restoration-10.png"><br> |
1538 |
I select "<font color="Red"><b>restoredisk</b></font>" and press ENTER.<br> <br></p> |
I select "<font color="Red"><b>restoredisk</b></font>" and press ENTER.<br> <br></p> |
1539 |
|
<H3><a name="res-9"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="res-9"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1540 |
<p><img src="images/restoration-11.png"><br> |
<p><img src="images/restoration-11.png"><br> |
1541 |
In this screen I select the image folder. This partition contains only one image.</p> |
In this screen I select the image folder. This partition contains only one image.</p> |
1542 |
|
<H3><a name="res-10"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="res-10"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1543 |
<p><img src="images/restoration-12.png"><br> |
<p><img src="images/restoration-12.png"><br> |
1544 |
Finally I am asked to select which partition the image will be restored to. After double-checking the disk doesn't contain anything important, I press ENTER.</p> |
Finally I am asked to select which partition the image will be restored to. After double-checking the disk doesn't contain anything important, I press ENTER.</p> |
1545 |
|
<H3><a name="res-11"></a>Starting the restoration [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="res-11"></a>Starting the restoration [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1546 |
<p><img src="images/restoration-13.png"><br> |
<p><img src="images/restoration-13.png"><br> |
1547 |
Then the program will display the command that will be executed and will ask me to press ENTER. <br> |
Then the program will display the command that will be executed and will ask me to press ENTER. <br> |
1548 |
Then I will be asked to confirm the operation by pressing <font color="Red"><b>y</b></font> and ENTER.<br> |
Then I will be asked to confirm the operation by pressing <font color="Red"><b>y</b></font> and ENTER.<br> |
1549 |
<img src="images/restoration-14.png"><br> |
<img src="images/restoration-14.png"><br> |
1550 |
|
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
1551 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
<b>This is the last confirmation Clonezilla Live asks.<br>After this step there is no coming back.</b><br></td></tr></table></div> |
1552 |
<b>This is the last confirmation Clonezilla Live asks.<br>After this step there is no coming back.</b><br></td></tr></table></div> |
Then my confirmation is asked one last time. After checking one more time the disk doesn't contain any important data, I press <font color="Red"><b>y</b></font> and ENTER.<br> |
1553 |
Then my confirmation is asked one last time. After checking one more time the disk doesn't contain any important data, I press <font color="Red"><b>y</b></font> and ENTER.<br> |
<br> |
|
<br> |
|
1554 |
<img src="images/restoration-15.png"><br> |
<img src="images/restoration-15.png"><br> |
1555 |
After that, the restore process begins |
After that, the restore process begins |
1556 |
<br> |
<br> |
1557 |
<br> |
<br> |
1558 |
<img src="images/restoration-16.png"><br> |
<img src="images/restoration-16.png"><br> |
1559 |
and when it's successfully completed, I will be able to reboot the system by pressing <font color="Red"><b>1</b></font> and ENTER. |
and when it's successfully completed, I press ENTER to get to the shell. Then, I execute the commands:</p> |
1560 |
</p> |
<p class="newcode">sudo su -<br> |
1561 |
|
cd<br> |
1562 |
|
umount -a<br> |
1563 |
<a name="restore-top"></a> |
reboot<br><br></p> |
1564 |
|
<p>to reboot the system.</p> |
1565 |
<H2 style="font-size: 2em;"><a name="restore-intro"></a>Creating a Restore DVD - Part 1
<span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2> |
<a name="restore-top"></a> |
1566 |
<p>Assuming you have used <b>Clonezilla Live</b> to make a backup of your Windows XP system (partition <b>/dev/<font color="Red">hda1</font></b>), which you have saved as <font color="Green"><b>win_img</b></font>, you will probably be wondering what to do with it now. Well, one option would be to keep it to the disk you used to save it in, store the disk, and use it whenever you need it. Another option would be to create a DVD you can use to restore this image.<br><br> |
<H2 style="font-size: 2em;"><a name="restore-intro"></a>Creating a Restore DVD - Part 1 <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2> |
1567 |
|
<p>Assuming you have used <b>Clonezilla Live</b> to make a backup of your Windows XP system (partition <b>/dev/<font color="Red">sda1</font></b>), you will probably be wondering what to do with it now. Well, one option would be to keep it to the disk you used to save it in, store the disk, and use it whenever you need it. Another option would be to create a DVD you can use to restore this image.<br><br> |
1568 |
Before, up to <b>Clonezilla-SysRescCD 2.6.0</b>, the process to create an automated restore DVD required entering command line prompt and writing some commands, that can be uncomfortable or even difficult for many people.<br><br> |
Before, up to <b>Clonezilla-SysRescCD 2.6.0</b>, the process to create an automated restore DVD required entering command line prompt and writing some commands, that can be uncomfortable or even difficult for many people.<br><br> |
1569 |
|
Later, a TUI option to create an automated recovery disc was added to <b>Clonezilla Live</b>, and <b>ocs-iso</b> script included in <b>Clonezilla-SysRescCD 3.1.0</b> and newer has a TUI too. Old command-line options are no longer supported. This page walks you through the creation of an automated restore DVD via TUI.<br><br> |
1570 |
Later, a TUI option to create an automated recovery disc was added to <b>Clonezilla Live</b>, and <b>ocs-iso</b> script included in <b>Clonezilla-SysRescCD 3.1.0</b> and newer has a TUI too. Old command-line options are no longer supported. This page walks you through the creation of an automated restore DVD via TUI.<br><br> |
You have to boot <b>Clonezilla Live</b>, using <b>Clonezilla-SysRescCD</b>.</p> |
1571 |
|
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td> |
1572 |
Assuming you have saved your image file <font color="Green"><b>win_img</b></font> in partition <font color="Green"><b>hdb4</b></font>, you have to boot <b>Clonezilla Live</b>, using <b>Clonezilla-SysRescCD</b>.</p> |
The following pressentation has been made using<br><b>Clonezilla Live v 1.2.5-17</b> |
1573 |
|
</td></tr></table></div> |
1574 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td> |
<H2><a name="dvd"></a>Creating the disk image <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2> |
1575 |
The following pressentation has been made using<br><b>Clonezilla Live v 1.2.3-27</b> |
<H3><a name="rui-0"></a>Clonezilla-SysRescCD starting screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
1576 |
</td></tr></table></div> |
<p>If you're fine with US keymap and English language (available languages are English, Spanish, French, Italian, Japanese and Chinese [both simplified and traditional]) or don't mind editing the boot parameters, just select <b>Clonezilla Live</b> at the starting screen and press ENTER. When the system comes up, it will load the program that will preform the backup. After that continue from <a href="#rui-4">this step</a>.</p> |
1577 |
|
<p>If you need to change these settings, select one of the available <b>Clonezilla Live</b> menu entries, and press <font color="Green"><b>TAB</b></font>. The current boot parameters will be displayed.</p> |
1578 |
|
<p>The default parameters for booting <b>Clonezilla Live</b> on a 1024x768 screen, are the following:</p> |
1579 |
|
<p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br> |
1580 |
|
ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br> |
1581 |
|
ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br> |
1582 |
<H2><a name="dvd"></a>Creating the disk image <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2> |
ocs_lang="<font color="Red">en_US.UTF-8</font>" ocs_live_keymap="<font color="Red">NONE</font>" vga=791 nolocales</p> |
1583 |
|
<p>By deleting the words in red, you instruct <b>Clonezilla Live</b> to ask you the values of these parameters. When the appropriate changes have been done (as shown bellow), just press <font color="Green"><b>ENTER</b></font> to boot.</p> |
1584 |
<H3><a name="rui-0"></a>Clonezilla-SysRescCD starting screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
<p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br> |
1585 |
|
ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br> |
1586 |
<p>If you're fine with US keymap and English language (available languages are English, Spanish, French, Italian, Japanese and Chinese [both simplified and traditional]) or don't mind editing the boot parameters, just select <b>Clonezilla Live</b> at the starting screen and press ENTER. When the system comes up, it will load the program that will preform the backup. After that continue from <a href="#rui-4">this step</a>.</p> |
ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br> |
1587 |
|
ocs_lang="" ocs_live_keymap="" vga=791 nolocales</p> |
1588 |
<p>If you need to change these settings, select one of the available <b>Clonezilla Live</b> menu entries, and press <font color="Green"><b>TAB</b></font>. The current boot parameters will be displayed.</p> |
</p> |
1589 |
|
<H3><a name="rui-1"></a>Screen "Choose Language" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<p>The default parameters for booting <b>Clonezilla Live</b> on a 1024x768 screen, are the following:</p> |
|
|
|
|
|
<p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br> |
|
|
ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br> |
|
|
ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br> |
|
|
ocs_lang="<font color="Red">en_US.UTF-8</font>" ocs_live_keymap="<font color="Red">NONE</font>" vga=791 nolocales</p> |
|
|
|
|
|
<p>By deleting the words in red, you instruct <b>Clonezilla Live</b> to ask you the values of these parameters. When the appropriate changes have been done (as shown bellow), just press <font color="Green"><b>ENTER</b></font> to boot.</p> |
|
|
|
|
|
<p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br> |
|
|
ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br> |
|
|
ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br> |
|
|
ocs_lang="" ocs_live_keymap="" vga=791 nolocales</p> |
|
|
</p> |
|
|
|
|
|
<H3><a name="rui-1"></a>Screen "Choose Language" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1590 |
<p><img src="images/backup-00.png"><br> |
<p><img src="images/backup-00.png"><br> |
1591 |
I select "<font color="Red"><b>en_US.UTF-8 English</b></font>" and press ENTER.</p> |
I select "<font color="Red"><b>en_US.UTF-8 English</b></font>" and press ENTER.</p> |
1592 |
|
<H3><a name="rui-2"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-2"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1593 |
<p><img src="images/backup-01.png"><br> |
<p><img src="images/backup-01.png"><br> |
1594 |
I select "<font color="Red"><b>Select keymap from full list</b></font>" and press ENTER. If you're using US keymap, the default option "<font color="Red"><b>Don't touch keymap</b></font>" is a better choice.</p> |
I select "<font color="Red"><b>Select keymap from full list</b></font>" and press ENTER. If you're using US keymap, the default option "<font color="Red"><b>Don't touch keymap</b></font>" is a better choice.</p> |
1595 |
|
<H3><a name="rui-3"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-3"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1596 |
<p><img src="images/backup-02.png"><br> |
<p><img src="images/backup-02.png"><br> |
1597 |
Because I haven't changed my keyboard, I select "<font color="Red"><b>pc / qwerty / Finnish / Standard / Standard</b></font>". Because you most likely use a different keyboard, choose the one you use.</p> |
Because I haven't changed my keyboard, I select "<font color="Red"><b>pc / qwerty / Finnish / Standard / Standard</b></font>". Because you most likely use a different keyboard, choose the one you use.</p> |
1598 |
|
<H3><a name="rui-4"></a>Screen "Start Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-4"></a>Screen "Start Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1599 |
<p><img src="images/backup-03.png"><br> |
<p><img src="images/backup-03.png"><br> |
1600 |
I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER. |
I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER. |
1601 |
</p> |
</p> |
1602 |
|
<H3><a name="rui-5"></a>Screen "Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-5"></a>Screen "Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1603 |
<p><img src="images/backup-04.png"><br> |
<p><img src="images/backup-04.png"><br> |
1604 |
I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br> |
I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br> |
1605 |
</p> |
</p> |
1606 |
|
<H3><a name="rui-6"></a>Screen "Mount clonezilla image directory" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
1607 |
<H3><a name="rui-6"></a>Screen "Mount clonezilla image directory" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
<p>In this screen I can select the way the image file directory has been saved. |
1608 |
|
Available options are local directory, remote directory through <b>ssh</b>, <b>samba</b> or <b>nfs</b> and <b>skip</b>, to use the previously used directory. More info about the image file can be found at section "<a href="clonezilla.html#about">About the Image file</a>".<br> |
1609 |
<p>In this screen I can select the way the image file directory has been saved. |
<br> |
|
Available options are local directory, remote directory through <b>ssh</b>, <b>samba</b> or <b>nfs</b> and <b>skip</b>, to use the previously used directory. More info about the image file can be found at section "<a href="clonezilla.html#about">About the Image file</a>".<br> |
|
|
<br> |
|
1610 |
<img src="images/backup-05.png"><br> |
<img src="images/backup-05.png"><br> |
1611 |
I select "<font color="Red"><b>local_dev</b></font>" and press ENTER. |
I select "<font color="Red"><b>local_dev</b></font>" and press ENTER. |
1612 |
</p> |
</p> |
1613 |
|
<H3><a name="rui-7"></a>Next screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
1614 |
<H3><a name="rui-7"></a>Next screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
<p>This is where I choose the location of the image file.<br><br> |
|
|
|
|
<p>This is where I choose the location of the image file.<br><br> |
|
1615 |
<img src="images/restore-06.png"><br> |
<img src="images/restore-06.png"><br> |
1616 |
I select partition <font color="Red"><b>hda1</b></font> and press ENTER.<br> |
I select partition <font color="Red"><b>sda1</b></font> and press ENTER.<br> |
1617 |
<br> |
<br> |
1618 |
<img src="images/backup-07.png"><br> |
<img src="images/backup-07.png"><br> |
1619 |
and then ENTER again.</p> |
and then ENTER again.</p> |
|
|
|
1620 |
<p><img src="images/restore-08.png"><br> |
<p><img src="images/restore-08.png"><br> |
1621 |
This screen displays the mounting result.<br> |
This screen displays the mounting result.<br> |
1622 |
As we can see, <font color="Red"><b>/dev/hda1</b></font> has been successfully mounted under <b>/tmp/local-dev</b>.</p> |
As we can see, <font color="Red"><b>/dev/sda1</b></font> has been successfully mounted under <b>/tmp/local-dev</b>.</p> |
1623 |
|
<H3><a name="rui-7a"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-7a"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1624 |
<p><img src="images/backup-09.png"><br> |
<p><img src="images/backup-09.png"><br> |
1625 |
I select <font color="Red"><b>Beginer mode</b></font> to accept the default restore options, which are used if the recovery disk is ever used. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#restore-options" target="_blank">here</a>.</p> |
I select <font color="Red"><b>Beginer mode</b></font> to accept the default restore options, which are used if the recovery disk is ever used. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#restore-options" target="_blank">here</a>.</p> |
1626 |
|
<H3><a name="rui-8"></a>Screen "Clonezilla: Select mode" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
1627 |
<H3><a name="rui-8"></a>Screen "Clonezilla: Select mode" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
<p>Here I can select the desired operation.<br> |
1628 |
|
<br> |
|
<p>Here I can select the desired operation.<br> |
|
|
<br> |
|
1629 |
<img src="images/restore-10.png"><br> |
<img src="images/restore-10.png"><br> |
1630 |
I select "<font color="Red"><b>recovery-iso-zip</b></font>" and press ENTER.<br> <br></p> |
I select "<font color="Red"><b>recovery-iso-zip</b></font>" and press ENTER.<br> <br></p> |
1631 |
|
<H3><a name="rui-9"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-9"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1632 |
<p><img src="images/restore-11.png"><br> |
<p><img src="images/restore-11.png"><br> |
1633 |
In this screen I select the image folder. This partition contains only one image.</p> |
In this screen I select the image folder. This partition contains only one image.</p> |
1634 |
|
<H3><a name="rui-10"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-10"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1635 |
<p><img src="images/restore-12.png"><br> |
<p><img src="images/restore-12.png"><br> |
1636 |
Now I am asked to select which disk the image will be restored to, if the recovery disc is used. Because this image is a backup, I choose the same disk where the original data resides. If you're upgrading your hard drive, choose the new drive.</p> |
Now I am asked to select which disk the image will be restored to, if the recovery disc is used. Because this image is a backup, I choose the same disk where the original data resides. If you're upgrading your hard drive, choose the new drive.</p> |
1637 |
|
<H3><a name="rui-11"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-11"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1638 |
<p><img src="images/restore-13.png"><br> |
<p><img src="images/restore-13.png"><br> |
1639 |
In this screen I can select the language that the recovery disc uses. I choose "<font color="Red"><b>en_US.UTF-8</b></font>".</p> |
In this screen I can select the language that the recovery disc uses. I choose "<font color="Red"><b>en_US.UTF-8</b></font>".</p> |
1640 |
|
<H3><a name="rui-12"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-12"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1641 |
<p><img src="images/restore-14.png"><br> |
<p><img src="images/restore-14.png"><br> |
1642 |
This screen allows me to select the keymap that the recovery disc uses. Unfortunately, changing the keymap requires knowing where the keymap file resides in Debian GNU/Linux. Because I don't know it, I just press ENTER to accept US keymap.</p> |
This screen allows me to select the keymap that the recovery disc uses. Unfortunately, changing the keymap requires knowing where the keymap file resides in Debian GNU/Linux. Because I don't know it, I just press ENTER to accept US keymap.</p> |
1643 |
|
<H3><a name="rui-13"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-13"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1644 |
<p><img src="images/restore-15.png"><br> |
<p><img src="images/restore-15.png"><br> |
1645 |
I select "<font color="Red"><b>iso</b></font>" to create a CD/DVD disk image which I can burn to a recordable CD/DVD disc. The good thing about recordable discs is that overwriting the backup by accident is impossible. The "<font color="Red"><b>zip</b></font>" option creates a ZIP file which can be used to create a bootable pendrive or external hard drive.</p> |
I select "<font color="Red"><b>iso</b></font>" to create a CD/DVD disk image which I can burn to a recordable CD/DVD disc. The good thing about recordable discs is that overwriting the backup by accident is impossible. The "<font color="Red"><b>zip</b></font>" option creates a ZIP file which can be used to create a bootable pendrive or external hard drive.</p> |
|
|
|
1646 |
<p><img src="images/restore-16.png"><br> |
<p><img src="images/restore-16.png"><br> |
1647 |
Then the program will display the command that will be executed and will ask me to press ENTER.</p> |
Then the program will display the command that will be executed and will ask me to press ENTER.</p> |
1648 |
|
<H3><a name="rui-13a"></a>Screen "Excessive Image Size" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
1649 |
<p><a name="dl-dvd"></a><img src="images/cust-menu-01.png"><br> |
<p><img src="images/restore-16a.png"><br> |
1650 |
Due to limitations of <b>mkisofs</b>, the script can't create a ISO file which is over 4,5 gigabytes in size. It causes problems if the size of your image is over 4,4 gigabytes. <b>Clonezilla-SysRescCD</b> contains a workaround that creates a ISO file that contains no image, so you can add the image manually later. This dialog asks if you want to do so. Note that if you see this dialog, you most likely need a dual layer DVD+R or Blu-ray disc to burn the image. <b>Growisofs</b> doesn't support multisession burning on dual layer DVD-R discs, so such disc can't be used either.</p> |
You will see this screen if the image file you're about to create is larger than a single layer DVD. The screen warns that <b>mkisofs</b> or <b>genisoimage</b> (the programs which actually create the image) might be unable to process a disk image that big. However, even bigger problem is that you need a dual layer DVD or Blu-ray disc to burn the image.</p> |
1651 |
|
<H3><a name="rui-14"></a>Screen "Customization section" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-14"></a>Screen "Customization section" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1652 |
<p><img src="images/cust-menu-02.png"><br> |
<p><img src="images/cust-menu-02.png"><br> |
1653 |
Now I am asked if I want to customize the boot menu of the disc. I answer "<font color="Red"><b>Yes</b></font>". If you don't want to customize the menu, continue from <a href="#rui-22">this step</a>.</p> |
Now I am asked if I want to customize the boot menu of the disc. I answer "<font color="Red"><b>Yes</b></font>". If you don't want to customize the menu, continue from <a href="#rui-22">this step</a>.</p> |
1654 |
|
<H3><a name="rui-15"></a>Screen "DVD Title" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-15"></a>Screen "DVD Title" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1655 |
<p><img src="images/cust-menu-03.png"><br> |
<p><img src="images/cust-menu-03.png"><br> |
1656 |
In this screen I select the title of the boot menu. I type "Home PC Restore DVD".</p> |
In this screen I select the title of the boot menu. I type "Home PC Restore DVD".</p> |
1657 |
|
<H3><a name="rui-16"></a>Screen "Menu Items Caption" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-16"></a>Screen "Menu Items Caption" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1658 |
<p><img src="images/cust-menu-04.png"><br> |
<p><img src="images/cust-menu-04.png"><br> |
1659 |
This screen allows me to select the caption for all menu items. I enter "Restore Win XP".</p> |
This screen allows me to select the caption for all menu items. I enter "Restore Win XP".</p> |
1660 |
|
<H3><a name="rui-17"></a>Screen "Boot delay" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-17"></a>Screen "Boot delay" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1661 |
<p><img src="images/cust-menu-05.png"><br> |
<p><img src="images/cust-menu-05.png"><br> |
1662 |
I press ENTER to accept the default delay of 30 seconds. It means that when a computer is booted from the restore disc, it waits 30 seconds before choosing the default option automatically. You may want to reduce this delay if, for example, your keyboard doesn't work in boot menu and you must wait until the delay ends.</p> |
I press ENTER to accept the default delay of 30 seconds. It means that when a computer is booted from the restore disc, it waits 30 seconds before choosing the default option automatically. You may want to reduce this delay if, for example, your keyboard doesn't work in boot menu and you must wait until the delay ends.</p> |
1663 |
|
<H3><a name="rui-18"></a>Screen "Default Boot Item" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-18"></a>Screen "Default Boot Item" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1664 |
<p><img src="images/cust-menu-06.png"><br> |
<p><img src="images/cust-menu-06.png"><br> |
1665 |
In this screen I can select the default option of the menu. Selecting one of the options that restore the image makes using the disc even easier, but also raises the risk that the image is restored accidentally. Another reason to select such option may be that your keyboard doesn't work in boot menu, preventing you from choosing any non-default option. I select the first option that restores the image using pixel dimensions of 1024*768.</p> |
In this screen I can select the default option of the menu. Selecting one of the options that restore the image makes using the disc even easier, but also raises the risk that the image is restored accidentally. Another reason to select such option may be that your keyboard doesn't work in boot menu, preventing you from choosing any non-default option. I select the first option that restores the image using pixel dimensions of 1024*768.</p> |
1666 |
|
<H3><a name="rui-19"></a>Screen "Boot Screen Image" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-19"></a>Screen "Boot Screen Image" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1667 |
<p><img src="images/cust-menu-07.png"><br> |
<p><img src="images/cust-menu-07.png"><br> |
1668 |
This screen allows me to select the background picture of the menu. Note that the picture must be in the same partition that contains the disk image, if you don't mind entering command line and mounting the right partition manually. I choose picture <b><font color="Green">mysplash.png</font></b> in the root of the partition. Because the partition has been mounted in <b>/home/partimag</b>, the full path of the picture is <b>/home/partimag/<font color="Green">mysplash.png</font></b>.</p> |
This screen allows me to select the background picture of the menu. Note that the picture must be in the same partition that contains the disk image, if you don't mind entering command line and mounting the right partition manually. I choose picture <b><font color="Green">mysplash.png</font></b> in the root of the partition. Because the partition has been mounted in <b>/home/partimag</b>, the full path of the picture is <b>/home/partimag/<font color="Green">mysplash.png</font></b>.</p> |
1669 |
|
<H3><a name="rui-20"></a>Screen "ISO Label" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-20"></a>Screen "ISO Label" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1670 |
<p><img src="images/cust-menu-08.png"><br> |
<p><img src="images/cust-menu-08.png"><br> |
1671 |
In this screen I can select the volume label of the disc. Volume label is the name of the disc you may see in various situations, for example in the notification you see when you insert the disc into your DVD writer. I type "Backup_52-2009_hdb".</p> |
In this screen I can select the volume label of the disc. Volume label is the name of the disc you may see in various situations, for example in the notification you see when you insert the disc into your DVD writer. I type "Backup_52-2009_hdb".</p> |
1672 |
|
<H3><a name="rui-21"></a>Screen "Publisher ID" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-21"></a>Screen "Publisher ID" [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1673 |
<p><img src="images/cust-menu-09.png"><br> |
<p><img src="images/cust-menu-09.png"><br> |
1674 |
This is where I choose the publisher ID of the ISO file and the disc. Publisher ID means the person or company who created the disc. However, at least in GNU/Linux reading the publisher ID is, strictly speaking, a challenge. <a href="http://www.cyberciti.biz/faq/getting-volume-information-from-cds-iso-images/" target="_blank">Here</a> are instructions to read the publisher ID of a ISO file. I didn't find any working instructions to read the ID from the disc.</p> |
This is where I choose the publisher ID of the ISO file and the disc. Publisher ID means the person or company who created the disc. However, at least in GNU/Linux reading the publisher ID is, strictly speaking, a challenge. <a href="http://www.cyberciti.biz/faq/getting-volume-information-from-cds-iso-images/" target="_blank">Here</a> are instructions to read the publisher ID of a ISO file. I didn't find any working instructions to read the ID from the disc.</p> |
1675 |
|
<H3><a name="rui-22"></a>Starting the creation of the disk image [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
<H3><a name="rui-22"></a>Starting the creation of the disk image [<a href="#restore-top" title="go to top of the page">^</a>]</H3> |
|
|
|
|
1676 |
<p><img src="images/restore-17.png"><br> |
<p><img src="images/restore-17.png"><br> |
1677 |
After that, creation of the disk image begins. Note that no confirmation is asked it the disk image is small enough to fit to a CD. |
After that, creation of the disk image begins. Note that no confirmation is asked it the disk image is small enough to fit to a CD. |
1678 |
<br> |
<br> |
1679 |
<br> |
<br> |
1680 |
<img src="images/cust-menu-10.png"> |
<img src="images/restore-18.png"><br> |
1681 |
<br> |
When the disk image is successfully created, I must reboot in order to burn the disc because my DVD burner is still in use. <b>Clonezilla Live</b> can be loaded into computer memory during boot in order to be able to burn disc(s) within it. However, due to a known bug, the disk image can't be created if <b>Clonezilla Live</b> has been loaded into memory. (<a href="http://free.nchc.org.tw/clonezilla-live/stable/Known-issues-Clonezilla-live.txt" target="_blank">source</a>) Thus, I press <font color="Red"><b>1</b></font> and ENTER to reboot to another operating system and burn the image using graphical burning program. Follow <a href="restore-burn.html">this link</a> for instructions. If you've created a ZIP file, follow <a href="restore-burn.html#zip">this one</a> instead.</p> |
|
If you have <a href="#dl-dvd">above</a> enabled the workaround to create a ISO file without any image, you get the info screen, which explains the actions to be taken in order to burn the ISO file and add the iamge file to the DVD. A script file is also saved as <b>/tmp/burnISO</b>.<br> |
|
|
<br> |
|
|
<img src="images/restore-18.png"><br> |
|
|
When the disk image is successfully created, I must reboot in order to burn the disc because my DVD burner is still in use. <b>Clonezilla Live</b> can be loaded into computer memory during boot in order to be able to burn disc(s) within it. However, due to a known bug, the disk image can't be created if <b>Clonezilla Live</b> has been loaded into memory. (<a href="http://free.nchc.org.tw/clonezilla-live/stable/Known-issues-Clonezilla-live.txt" target="_blank">source</a>) Thus, I press <font color="Red"><b>1</b></font> and ENTER to reboot to another operating system and burn the image using graphical burning program. For instructions, follow one of these links:<br> |
|
|
<br> |
|
|
<a href="restore-burn.html">If the ISO file contains the disk image</a><br> |
|
|
<a href="restore-burn.html#dvd-noimage">If the ISO file contains no image</a><br> |
|
|
<a href="restore-burn.html#zip">If you've created a ZIP file</a></p> |
|
|
|
|
|
|
|
|
|
|
1682 |
<a name="restore-burn-top"></a> |
<a name="restore-burn-top"></a> |
1683 |
<H2 style="font-size: 2em;"><a name="restore-burn-intro"></a>What to do with the disk image <span class="hideprint">[<a href="#restore-burn-top" title="go to top of the page">^</a>]</span></H2> |
<H2 style="font-size: 2em;"><a name="restore-burn-intro"></a>What to do with the disk image <span class="hideprint">[<a href="#restore-burn-top" title="go to top of the page">^</a>]</span></H2> |
1684 |
<p>The <a href="restore.html">previous page</a> contains partial instructions to create an automated recovery DVD. They're partial because they only tell how the disk image can be created, not what one should do with the image. Of course, partial instructions are not enough, but don't worry - this page is the other part.<br><br> |
<p>The <a href="restore.html">previous page</a> contains partial instructions to create an automated recovery DVD. They're partial because they only tell how the disk image can be created, not what one should do with the image. Of course, partial instructions are not enough, but don't worry - this page is the other part.<br><br> |
1687 |
In addition to a DVD, bootable pendrive or external hard drive can be created as well. If you want to do so, follow instructions <a href="#zip">below</a>.<br><br> |
In addition to a DVD, bootable pendrive or external hard drive can be created as well. If you want to do so, follow instructions <a href="#zip">below</a>.<br><br> |
1688 |
Before following these instructions, insert a writable DVD or Blu-ray disc to your burner.</p> |
Before following these instructions, insert a writable DVD or Blu-ray disc to your burner.</p> |
1689 |
<H2><a name="dvd"></a>Burning the disc <span class="hideprint">[<a href="#restore-burn-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="dvd"></a>Burning the disc <span class="hideprint">[<a href="#restore-burn-top" title="go to top of the page">^</a>]</span></H2> |
1690 |
<H3><a name="dvd-image"></a>If the ISO file contains the disk image [<a href="#restore-burn-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="dvd-imgburn"></a>Using ImgBurn [<a href="#restore-burn-top" title="go to top of the page">^</a>]</H3> |
|
<H4><a name="dvd-imgburn"></a>Using ImgBurn [<a href="#restore-burn-top" title="go to top of the page">^</a>]</H4> |
|
1691 |
<p><a href="http://www.imgburn.com/" target="_blank">ImgBurn</a> is a lightweight but very feature-rich disc burning program. It only requires about two megabytes disk space and contains <a href="http://cynthia.ownit.nu/ImgBurn/guide_settings/settings01a.png" target="_blank">a lot of settings</a>. <b>ImgBurn</b> is closed-source freeware and - unfortunately - Windows-only software. I (Jyrki) personally use <b>ImgBurn</b> when burning discs within Windows.<br><br> |
<p><a href="http://www.imgburn.com/" target="_blank">ImgBurn</a> is a lightweight but very feature-rich disc burning program. It only requires about two megabytes disk space and contains <a href="http://cynthia.ownit.nu/ImgBurn/guide_settings/settings01a.png" target="_blank">a lot of settings</a>. <b>ImgBurn</b> is closed-source freeware and - unfortunately - Windows-only software. I (Jyrki) personally use <b>ImgBurn</b> when burning discs within Windows.<br><br> |
1692 |
Launch <b>ImgBurn</b> and press <b>Write image file to disc</b>. Select the disk image you just created.<br><br> |
Launch <b>ImgBurn</b> and press <b>Write image file to disc</b>. Select the disk image you just created.<br><br> |
1693 |
At the settings window, keep <b>Test Mode</b> disabled. I also recommend keeping the <b>Verify</b> option enabled. Verifying the integrity of the disc after burning requires time and doesn't prevent the disc from becoming a so-called coaster, but it allows you to know immediately if the burning attempt failed, so you can try burning the disc again.<br><br> |
At the settings window, keep <b>Test Mode</b> disabled. I also recommend keeping the <b>Verify</b> option enabled. Verifying the integrity of the disc after burning requires time and doesn't prevent the disc from becoming a so-called coaster, but it allows you to know immediately if the burning attempt failed, so you can try burning the disc again.<br><br> |
1694 |
Keep the number of copies as 1 (or increase it, if you really want multiple copies of the disc). Use your best judgment while choosing the burning speed: according to <a href="http://club.myce.com/f33/high-speed-vs-low-speed-burning-69698/" target="_blank">this forum thread</a> lowering the burning speed gives very mixed results in quality. I personally use ¾ of the maximum speed of the disc, for example 12x on a disc rated 16x.<br><br> |
Keep the number of copies as 1 (or increase it, if you really want multiple copies of the disc). Use your best judgment while choosing the burning speed: according to <a href="http://club.myce.com/f33/high-speed-vs-low-speed-burning-69698/" target="_blank">this forum thread</a> lowering the burning speed gives very mixed results in quality. I personally use ¾ of the maximum speed of the disc, for example 12x on a disc rated 16x.<br><br> |
1695 |
After choosing the settings, press the big picture at the bottom-left of the window. Don't do anything that requires much computer resources while burning, because doing so increases the likelihood of burning failure.<br><br> |
After choosing the settings, press the big picture at the bottom-left of the window. Don't do anything that requires much computer resources while burning, because doing so increases the likelihood of burning failure.<br><br> |
1696 |
That's it. You own now an automated recovery disc.</p> |
That's it. You own now an automated recovery disc.</p> |
1697 |
<H4><a name="dvd-k3b"></a>Using K3b [<a href="#restore-burn-top" title="go to top of the page">^</a>]</H4> |
<H3><a name="dvd-k3b"></a>Using K3b [<a href="#restore-burn-top" title="go to top of the page">^</a>]</H3> |
1698 |
<p><a href="http://k3b.plainblack.com/" target="_blank">K3b</a> (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 <i>against</i> doing so - <b>K3b</b> requires KDE base packages to be installed, and it doesn't make much sense to install KDE base only for <b>K3b</b>.<br><br> |
<p><a href="http://k3b.plainblack.com/" target="_blank">K3b</a> (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 <i>against</i> doing so - <b>K3b</b> requires KDE base packages to be installed, and it doesn't make much sense to install KDE base only for <b>K3b</b>.<br><br> |
1699 |
<img src="images/k3b-00.png"><br> |
<img src="images/k3b-00.png"><br> |
1700 |
I launch <b>K3b</b> and navigate to the folder where the disk image resides.<br><br> |
I launch <b>K3b</b> and navigate to the folder where the disk image resides.<br><br> |
1709 |
Because I enabled the <b>Verify written data</b> option, <b>K3b</b> starts verifying the integrity of the disc right after burning.<br><br> |
Because I enabled the <b>Verify written data</b> option, <b>K3b</b> starts verifying the integrity of the disc right after burning.<br><br> |
1710 |
<img src="images/k3b-05.png"><br> |
<img src="images/k3b-05.png"><br> |
1711 |
The burning attempt succeeded.<br><br> |
The burning attempt succeeded.<br><br> |
1712 |
<H3><a name="dvd-noimage"></a>If the ISO file contains no image [<a href="#restore-burn-top" title="go to top of the page">^</a>]</H3> |
<img src="images/restore-20.png"><br> |
1713 |
<p>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: <b>K3b</b> supports multisession burning, <b>ImgBurn</b> doesn't.<br><br> |
Here we can see the boot menu of the disc.</p> |
|
I didn't find any instructions for adding an additional file to a spesific directory by using <b>K3b</b>. Actually, I don't even know if that's possible at all. Thus, I recommend using <b>growisofs</b> for burning the disc if the workaround has been enabled, because <b>growisofs</b> allows adding any file to any directory. However, there's one more limitation: <b>growisofs</b> doesn't support multisession burning on dual layer DVD-R discs, so you must use dual layer DVD+R or Blu-ray disc. (<a href="http://fy.chalmers.se/~appro/linux/DVD+RW/-RW/#nomultisess" target="_blank">source</a>)<br><br> |
|
|
<b>Growisofs</b> is a command-line program and a part of <b>dvd+rw-tools</b> that is installed on most GNU/Linux distributions. <b>Dvd+rw-tools</b> is Linux-only software, so if you use a competing operating system, you must boot into <b>SystemRescueCD</b> (graphical mode is not needed) in order to burn the disc.<br><br> |
|
|
Open terminal and mount the partition that contains the image. The commands below must be run as root.</p> |
|
|
<p class="newcode">mkdir /media/usb<br> |
|
|
mount /dev/<font color="Green">sdc1</font> /media/usb</p> |
|
|
<p><b>Note:</b> 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 "<b>sudo</b>" above the command. For example, the latter of the above commands can be executed by typing "<b>sudo mount /dev/<font color="Green">sdc1</font> /media/usb</b>". If you're using <b>SystemRescueCD</b>, all commands are run as root, so you don't need to add any prefix to the commands.</p> |
|
|
<p><b>Note:</b> In the command replace <b>/dev/<font color="Green">sdc1</font></b> with the partition where the disk image resides. It's the same partition you mounted as <b>/home/partimag</b> when creating the image.</p> |
|
|
<p>Go to root of the partition:</p> |
|
|
<p class="newcode">cd /media/usb</p> |
|
|
<p>Burn the ISO file to the disc:</p> |
|
|
<p class="newcode">growisofs -Z /dev/dvd=clonezilla-live-<font color="Green">Backup_5-2010_hdb</font>.iso</p> |
|
|
<p><b>Note:</b> In the last command I have assumed your ISO file is <b>clonezilla-live-<font color="Green">Backup_5-2010_hdb</font>.iso</b>. You will have to replace this with the actual name of the file.</p> |
|
|
<p><b>Note:</b> If your computer has multiple DVD drives, replace <b>/dev/dvd</b> with the name of your DVD writer.</p> |
|
|
<p>The disc must be ejected because it's the only known way to force the drive to reread the disc. Do it:</p> |
|
|
<p class="newcode">eject /dev/dvd</p> |
|
|
<p><b>Note:</b> If your drive can't reload the disc, insert the disc back right after ejecting it.</p> |
|
|
<p>Finally, add the image file to the disc:</p> |
|
|
<p class="newcode">growisofs -M /dev/dvd -R -J -V "<font color="Green">Backup_5-2010_hdb</font>" --publisher "<font color="Green">Your Name</font>" -graft-points /<font color="Green">Backup_5-2010_hdb</font>/=/media/usb/<font color="Green">Backup_5-2010_hdb</font></p> |
|
|
<p><b>Note:</b> In the command replace <b><font color="Green">Your Name</font></b> 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:</p> |
|
|
<p class="newcode">growisofs -M /dev/dvd -R -J -V "<font color="Green">Backup_5-2010_hdb</font>" -graft-points /<font color="Green">Backup_5-2010_hdb</font>/=/media/usb/<font color="Green">Backup_5-2010_hdb</font></p> |
|
|
<p><img src="images/restore-20.png"><br>Here we can see the boot menu of the disc.</p> |
|
1714 |
<H2><a name="zip"></a>ZIP file instructions <span class="hideprint">[<a href="#restore-burn-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="zip"></a>ZIP file instructions <span class="hideprint">[<a href="#restore-burn-top" title="go to top of the page">^</a>]</span></H2> |
1715 |
<p>Often the image file is way too big to fit to even 8 GB DVD. Some people may also want to be able to overwrite the backup when it becomes outdated. In addition, netbooks don't have optical drives at all.</p> |
<p>Often the image file is way too big to fit to even 8 GB DVD. Some people may also want to be able to overwrite the backup when it becomes outdated. In addition, netbooks don't have optical drives at all.</p> |
1716 |
<p>One option is using recovery thumb drive or external hard drive instead of DVD. If the external HD is big enough, the disk image can be even over a terabyte in size. Recovery USB drive can also be used on netbooks and overwritten at will.</p> |
<p>One option is using recovery thumb drive or external hard drive instead of DVD. If the external HD is big enough, the disk image can be even over a terabyte in size. Recovery USB drive can also be used on netbooks and overwritten at will.</p> |
1718 |
<p>Before creating the disk image, make sure it is split to pieces of four gigabytes or less. It is split automatically if you use <font color="Red"><b>Beginner mode</b></font>, and if you use <font color="Red"><b>Expert mode</b></font>, you should already know how the splitting setting can be changed.</p> |
<p>Before creating the disk image, make sure it is split to pieces of four gigabytes or less. It is split automatically if you use <font color="Red"><b>Beginner mode</b></font>, and if you use <font color="Red"><b>Expert mode</b></font>, you should already know how the splitting setting can be changed.</p> |
1719 |
<H3><a name="zip-linux"></a>Using GNU/Linux [<a href="#restore-burn-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="zip-linux"></a>Using GNU/Linux [<a href="#restore-burn-top" title="go to top of the page">^</a>]</H3> |
1720 |
<p>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:</p> |
<p>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:</p> |
1721 |
<p class="newcode">fdisk -l /dev/<font color="Green">sdc</font></p> |
<p class="newcode">parted -l</p> |
1722 |
<p><b>Note:</b> 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 "<b>sudo</b>" above the command. For example, the above command can be executed by typing "<b>sudo fdisk -l /dev/<font color="Green">sdc</font></b>"</p> |
<p><b>Note:</b> 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 "<b>sudo</b>" above the command. For example, the above command can be executed by typing "<b>sudo parted -l</b>"</p> |
|
<p><b>Note:</b> In the command replace <b>/dev/<font color="Green">sdc</font></b> with the name of your USB disk.</p> |
|
1723 |
<p><b>Note:</b> The l in parameter <b>-l</b> is lowercase L, not number 1.</p> |
<p><b>Note:</b> The l in parameter <b>-l</b> is lowercase L, not number 1.</p> |
1724 |
<p>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.</p> |
<p>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.</p> |
1725 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
1726 |
The command below erases all the data on the target partition.<br><br>Make sure you don't format a wrong partition by accident. |
The command below erases all the data on the target partition.<br><br>Make sure you don't format a wrong partition by accident. |
1727 |
</td></tr></table></div> |
</td></tr></table></div> |
1728 |
<p class="newcode">mkfs.vfat -F 32 /dev/<font color="Green">sdc1</font></p> |
<p class="newcode">mkfs.vfat -F 32 /dev/<font color="Green">sdc1</font></p> |
1729 |
|
<p><b>Note:</b> In the command replace <b>/dev/<font color="Green">sdc1</font></b> with the partition you wish to format.</p> |
1730 |
<p>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.</p> |
<p>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.</p> |
1731 |
<p class="newcode">mount /dev/<font color="Green">sdc1</font> /media/usb<br> |
<p class="newcode">mount /dev/<font color="Green">sdc1</font> /media/usb<br> |
1732 |
unzip clonezilla-live-<font color="Green">Backup_5-2010_hdb</font>.zip -d /media/usb/</p> |
unzip clonezilla-live-<font color="Green">Backup_5-2010_hdb</font>.zip -d /media/usb/</p> |
1741 |
<H3><a name="zip-windows"></a>Using Windows [<a href="#restore-burn-top" title="go to top of the page">^</a>]</H3> |
<H3><a name="zip-windows"></a>Using Windows [<a href="#restore-burn-top" title="go to top of the page">^</a>]</H3> |
1742 |
<p>If the Windows version you use is not Vista or 7, you need to be logged in as administrator. If you're not, but you have access to an admin account, log out and then log again in as admin.</p> |
<p>If the Windows version you use is not Vista or 7, you need to be logged in as administrator. If you're not, but you have access to an admin account, log out and then log again in as admin.</p> |
1743 |
<p>If you don't have admin rights at all, boot into <b>SystemRescueCD</b> (you don't need graphical mode this time) and follow <a href="#zip-linux">the instructions for GNU/Linux</a>. In <b>SystemRescueCD</b> all commands are run as root, so you don't need to add any prefix to the commands.</p> |
<p>If you don't have admin rights at all, boot into <b>SystemRescueCD</b> (you don't need graphical mode this time) and follow <a href="#zip-linux">the instructions for GNU/Linux</a>. In <b>SystemRescueCD</b> all commands are run as root, so you don't need to add any prefix to the commands.</p> |
|
<p>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 <b>fdisk</b> to tell about all disks in the computer and you should be able to identify both the right disk and the right partition.</p> |
|
1744 |
<p>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 <b>My Computer</b>, right-click the partition and select <b>Properties</b>. 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 <a href="#extract">this step</a>.</p> |
<p>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 <b>My Computer</b>, right-click the partition and select <b>Properties</b>. 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 <a href="#extract">this step</a>.</p> |
1745 |
<p>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.</p> |
<p>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.</p> |
1746 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
2318 |
<H3><a name="boot-column"></a>Choosing the column <span class="hideprint">[<a href="#sysresccd-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="boot-column"></a>Choosing the column <span class="hideprint">[<a href="#sysresccd-top" title="go to top of the page">^</a>]</span></H3> |
2319 |
<p>If you're accustomed to graphical environment, choose <b>Graphical Environment</b>. In <b>Graphical Environment</b> you're able to use graphical programs, like <b>GParted</b> and <b>Mozilla Firefox</b>. Terminals are also available, so using <b>Graphical Environment</b> doesn't prevent using command line. The only negative thing of <b>Graphical Environment</b> is that it slows booting process down a bit - and it's often just plain unneeded.<br> |
<p>If you're accustomed to graphical environment, choose <b>Graphical Environment</b>. In <b>Graphical Environment</b> you're able to use graphical programs, like <b>GParted</b> and <b>Mozilla Firefox</b>. Terminals are also available, so using <b>Graphical Environment</b> doesn't prevent using command line. The only negative thing of <b>Graphical Environment</b> is that it slows booting process down a bit - and it's often just plain unneeded.<br> |
2320 |
<br> |
<br> |
2321 |
Try <b>VESA</b>, if normal <b>Graphical Environment</b> doesn't work. <b>VESA</b> uses <b>Xvesa</b> graphical environment instead of <b>X.Org</b> that sometimes doesn't work. The drawbacks of <b>Xvesa</b> compared to <b>X.Org</b> are that <b>Xvesa</b> isn't optimized to any hardware (which means poorer performance) and <b>Xvesa</b> requires 32-bit kernel. Thus, if you use this option, do NOT choose 64-bit kernel, the combination leaves you at command line.<br> |
Try <b>VESA</b>, if normal <b>Graphical Environment</b> doesn't work. <b>VESA</b> uses <b>Xvesa</b> graphical environment instead of <b>X.Org</b> that sometimes doesn't work. The drawback of <b>Xvesa</b> compared to <b>X.Org</b> is that <b>Xvesa</b> isn't optimized to any hardware, which means poorer performance.<br> |
2322 |
<br> |
<br> |
2323 |
If you're accustomed to command line and know already that you're not going to use any graphical program, choose one of the normal options (just below "System Rescue CD Menu"). Booting to command line is a bit faster process than booting to graphical environment, and you can start X manually later.<br> |
If you're accustomed to command line and know already that you're not going to use any graphical program, choose one of the normal options (just below "System Rescue CD Menu"). Booting to command line is a bit faster process than booting to graphical environment, and you can start X manually later.<br> |
2324 |
<br> |
<br> |
2328 |
<H3><a name="boot-row"></a>Choosing the row (kernel) <span class="hideprint">[<a href="#sysresccd-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="boot-row"></a>Choosing the row (kernel) <span class="hideprint">[<a href="#sysresccd-top" title="go to top of the page">^</a>]</span></H3> |
2329 |
<p>After having chosen the column of the above table, you still have three options. Now you need to choose the kernel.<br> |
<p>After having chosen the column of the above table, you still have three options. Now you need to choose the kernel.<br> |
2330 |
<br> |
<br> |
2331 |
The optimal kernel depends on the processor of your computer. If it's an IA-32 processor, like Intel Pentium 4 or AMD Athlon XP, you should choose <b>32-bit kernel</b>, because <b>64-bit kernel</b> doesn't work at all. If you have a x86-64 processor, like AMD Athlon 64 or Intel Core 2, you can choose any kernel - the processor can run all of them. <b>64-bit kernel</b> should be preferred, because it allows chrooting on an existing GNU/Linux partition containing 64-bit programs. Note, though, that you can't use <b>64-bit kernel</b> with <b>VESA</b> option.</br> |
The optimal kernel depends on the processor of your computer. If it's an IA-32 processor, like Intel Pentium 4 or AMD Athlon XP, you should choose <b>32-bit kernel</b>, because <b>64-bit kernel</b> doesn't work at all. If you have a x86-64 processor, like AMD Athlon 64 or Intel Core 2, you can choose any kernel - the processor can run all of them. <b>64-bit kernel</b> should be preferred, because it allows chrooting on an existing GNU/Linux partition containing 64-bit programs.</br> |
2332 |
<br> |
<br> |
2333 |
If you don't know your processor architecture, try <b>64-bit kernel</b>. If your processor architecture is IA-32, you'll see the following error message:</p> |
If you don't know your processor architecture, try <b>64-bit kernel</b>. If your processor architecture is IA-32, you'll see the following error message:</p> |
2334 |
<p class="newcode">This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU.</p> |
<p class="newcode">This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU.</p> |
2382 |
While partitioning, an user error or a bug can damage your partitions.<br><br>Creating a disk image of the disk to be<br>partitioned beforehand is highly recommended. |
While partitioning, an user error or a bug can damage your partitions.<br><br>Creating a disk image of the disk to be<br>partitioned beforehand is highly recommended. |
2383 |
</td></tr></table></div> |
</td></tr></table></div> |
2384 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td> |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td> |
2385 |
The following pressentation has been made using<br><b>SystemRescueCD v 1.4.0</b> |
The following pressentation has been made using<br><b>SystemRescueCD v 1.5.8</b> |
2386 |
</td></tr></table></div> |
</td></tr></table></div> |
2387 |
<H2><a name="theory"></a>Some theory <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="theory"></a>Some theory <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H2> |
2388 |
<H3><a name="partitions-partition"></a>What is a partition? <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="partitions-partition"></a>What is a partition? <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
2390 |
<p>In Windows, a one-partition hard disk is labelled the "C:" drive ("A:" and "B:" are typically reserved for diskette drives). A two-partition hard drive would typically contain "C:" and "D:" drives. (CD-ROM drives typically are assigned the last letter in whatever sequence of letters have been used as a result of hard disk formatting, or typically with a two-partition, the "E:" drive.).</p> |
<p>In Windows, a one-partition hard disk is labelled the "C:" drive ("A:" and "B:" are typically reserved for diskette drives). A two-partition hard drive would typically contain "C:" and "D:" drives. (CD-ROM drives typically are assigned the last letter in whatever sequence of letters have been used as a result of hard disk formatting, or typically with a two-partition, the "E:" drive.).</p> |
2391 |
<p>In UNIX-based systems, a partition is used to host the / (root) file system, and optionally the /opt, /usr and /home file systems. There may also be a swap partition, which doesn't host any file system.</p> |
<p>In UNIX-based systems, a partition is used to host the / (root) file system, and optionally the /opt, /usr and /home file systems. There may also be a swap partition, which doesn't host any file system.</p> |
2392 |
<p>Each operatin system provides some kind of tool to create and manage partitions. Examples of such tools are <b>fdisk</b> in DOS/Windows, <b>fdisk</b>, <b>sfdisk</b> and <b>parted</b> in Linux, etc.</p> |
<p>Each operatin system provides some kind of tool to create and manage partitions. Examples of such tools are <b>fdisk</b> in DOS/Windows, <b>fdisk</b>, <b>sfdisk</b> and <b>parted</b> in Linux, etc.</p> |
2393 |
<H3><a name="partitions-extended"></a>What is the difference between primary, extended and logical partitions? <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H2> |
<H3><a name="partitions-extended"></a>What is the difference between primary, extended and logical partitions? <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
2394 |
<p>Information about partitions is saved in so-called partition table in Master Boot Record. MBR itself is only 512 bytes in size, and only 64 bytes are reserved for partition table. That's not enough, and there are many workarounds to bypass limitations caused by the size, for example <a href="http://en.wikipedia.org/wiki/Logical_block_addressing#LBA.2C_ATA_devices_and_Enhanced_BIOS" target="_blank">logical block addressing</a>. Extended partitions are another workaround.</p> |
<p>Information about partitions is saved in so-called partition table in Master Boot Record. MBR itself is only 512 bytes in size, and only 64 bytes are reserved for partition table. That's not enough, and there are many workarounds to bypass limitations caused by the size, for example <a href="http://en.wikipedia.org/wiki/Logical_block_addressing#LBA.2C_ATA_devices_and_Enhanced_BIOS" target="_blank">logical block addressing</a>. Extended partitions are another workaround.</p> |
2395 |
<p>Partition table can only store information about four partitions. If one has, for example, two GNU/Linux distributions on the same disk, both of them having separate root partitions, shared /home and shared swap, the partition number limit has been hit already.</p> |
<p>Partition table can only store information about four partitions. If one has, for example, two GNU/Linux distributions on the same disk, both of them having separate root partitions, shared /home and shared swap, the partition number limit has been hit already.</p> |
2396 |
<p>A partition that is mentioned in the partition table is called primary partition. Because of the limit, one disk can only contain 1-4 primary partitions.</p> |
<p>A partition that is mentioned in the partition table is called primary partition. Because of the limit, one disk can only contain 1-4 primary partitions.</p> |
2397 |
<p>An extended partition fixes the problem simply by containing more boot records, called Extended Boot Records (EBR). Each EBR contains information about one logical partition and, if the extended partition contains multiple logical partitions, link to the next EBR. Thus, an extended partition can contain unlimited amount of logical partitions.</p> |
<p>An extended partition fixes the problem simply by containing more boot records, called Extended Boot Records (EBR). Each EBR contains information about one logical partition and, if the extended partition contains multiple logical partitions, link to the next EBR. Thus, an extended partition can contain unlimited amount of logical partitions.</p> |
2398 |
<p>Extended partition contains only EBRs and logical partitions (and maybe unallocated space). Extended partition doesn't contain any filesystem and files can't be stored in it. Of course, logical partition can contain any filesystem (or be unformatted).</p> |
<p>Extended partition contains only EBRs and logical partitions (and maybe unallocated space). Extended partition doesn't contain any filesystem and files can't be stored in it. Of course, logical partition can contain any filesystem (or be unformatted).</p> |
2399 |
<p>Extended partition itself must be primary partition: an extended partition can't be within another extended partition. In addition, a disk can contain only one extended partition.</p> |
<p>Logical partitions can always be used for storing data: any operating system can see logical partitions. GNU/Linux supports both multiple primary extended partitions and extended partitions within each other, while Windows supports only the latter. GNU/Linux distributions can be installed to logical partitions as well, but Windows requires a lot of tweaking. See <a href="http://www.goodells.net/multiboot/index.htm" target="_blank">this outdated guide</a>.</p> |
|
<p>Logical partitions can always be used for storing data: any operating system can see logical partitions. GNU/Linux distributions can be installed to logical partitions as well, but Windows requires a lot of tweaking. See <a href="http://www.goodells.net/multiboot/index.htm" target="_blank">this outdated guide</a>.</p> |
|
2400 |
<H3><a name="partitions-lvm"></a>What is LVM? <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="partitions-lvm"></a>What is LVM? <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
2401 |
<p>LVM means "Logical Volume Manager". It allows creating volume groups on top of hard drives and logical volumes within volume groups. Logical volumes are NOT the same thing as logical partitions!</p> |
<p>LVM means "Logical Volume Manager". It allows creating volume groups on top of hard drives and logical volumes within volume groups. Logical volumes are NOT the same thing as logical partitions!</p> |
2402 |
<p>Volume groups can be created very flexibly: a volume group can allocate, for example, the first half of the first hard drive and the second half of the third drive. One can even create a massive volume group containing all storage he/she has.</p> |
<p>Volume groups can be created very flexibly: a volume group can allocate, for example, the first half of the first hard drive and the second half of the third drive. One can even create a massive volume group containing all storage he/she has.</p> |
2413 |
<H3><a name="partitions-journaling"></a>What is journaling? <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="partitions-journaling"></a>What is journaling? <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
2414 |
<p>Ideally, data in a partition never corrupts. But, in the real world, there are power failures and operating system freezes. And if a computer is forcefully shut down while something is written to the drive, the write operation can't be finished. That can damage the filesystem and destroy any files in the partition.</p> |
<p>Ideally, data in a partition never corrupts. But, in the real world, there are power failures and operating system freezes. And if a computer is forcefully shut down while something is written to the drive, the write operation can't be finished. That can damage the filesystem and destroy any files in the partition.</p> |
2415 |
<p>Journaling partially fixes that problem by writing most changes to the disk twice: first to a special area called journal and, after that, to the filesystem itself. If power is lost while writing to the journal was in progress, the partial change is just ignored and never committed to the filesystem itself. If power failure or OS freeze happened while writing to filesystem itself, the write operation is finished by using the information in journal.</p> |
<p>Journaling partially fixes that problem by writing most changes to the disk twice: first to a special area called journal and, after that, to the filesystem itself. If power is lost while writing to the journal was in progress, the partial change is just ignored and never committed to the filesystem itself. If power failure or OS freeze happened while writing to filesystem itself, the write operation is finished by using the information in journal.</p> |
2416 |
<p>Journaling helps most of the time when the computer has been forcefully shut down, but not always. Due to performance reasons, only some write operations are written to the journal, mostly the biggest operations. Of course, journaling doesn't help if that particular operation that was in progress while power was lost didn't go through the journal. Journaling also doesn't protect from everything: for example, using ext4 filesystem in conjuction with programs that write a lot of files in a short time can result in <a href="http://www.h-online.com/open/news/item/Possible-data-loss-in-Ext4-740467.html" target="_blank">massive data loss</a>, regardless if journaling is enabled or not.</p> |
<p>Journaling is always a trade-off between reliability and performance. In fact, the ext3 and ext4 filesystems support multiple journaling modes in order to allow the user to choose the optimal compromise. The most popular choices are <b>ordered</b> and <b>writeback</b>.</p> |
2417 |
<p>In addition, journaling reduces performance. It causes more writes to the disk. That's not a big problem on mechanical hard drives, but on SSDs (Solid State Drives) and thumb drives write speed is much slower than read speed. They also have a limited number of writing cycles, so journaling reduces their lifetime. I (Jyrki) actually use ext2 and FAT32 filesystems on my external SSD drive because they do NOT support journaling at all.</p> |
<p>Both modes only write metadata changes to the journal before committing them: data itself is written directly to the main filesystem. The difference between the modes is that <b>ordered</b> mode guarantees that the data is written before the change is marked as committed. The difference may sound small, but in some cases <b>ordered</b> mode causes horrible performance. In Linux 2.6.30, the default journaling mode was changed to <b>writeback</b> - and it was quickly found out that <b>writeback</b> mode may cause massive data loss. See <a href="http://forums.raiden.net/viewtopic.php?p=155912#155912" target="_blank">this forum post</a> for details. Most GNU/Linux distributions are now using <b>ordered</b> mode as the default again.</p> |
2418 |
|
<p>In addition, on SSDs (Solid State Drives) and thumb drives write speed is much slower than read speed. They also have a limited number of writing cycles, so journaling reduces their lifetime. Thus, I (Jyrki) recommend against using journaling fileystems on such drives.</p> |
2419 |
<H3><a name="partitions-filesystems"></a>What are the differences between most popular filesystems? <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="partitions-filesystems"></a>What are the differences between most popular filesystems? <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
2420 |
<p>The following table quickly describes the most important differences between them.</p> |
<p>The following table quickly describes the most important differences between them.</p> |
2421 |
<table border="1"> |
<table border="1"> |
2468 |
</tr> |
</tr> |
2469 |
<tr> |
<tr> |
2470 |
<th>ext4</th> |
<th>ext4</th> |
2471 |
<td style="background-color: rgb(255,0,0)">No</td> |
<td style="background-color: rgb(255,0,0)">No***</td> |
2472 |
<td style="background-color: rgb(0,255,0)">Native</td> |
<td style="background-color: rgb(0,255,0)">Native</td> |
2473 |
<td style="background-color: rgb(255,127,0)">16 GB-16 TB*</td> |
<td style="background-color: rgb(255,127,0)">16 GB-16 TB*</td> |
2474 |
<td style="background-color: rgb(0,255,0)">Yes</td> |
<td style="background-color: rgb(0,255,0)">Yes</td> |
2476 |
</tr> |
</tr> |
2477 |
<tr> |
<tr> |
2478 |
<th>exFAT</th> |
<th>exFAT</th> |
2479 |
<td style="background-color: rgb(127,255,0)">Native (Vista/7)**</td> |
<td style="background-color: rgb(127,255,0)">Built-in (Vista/7)**</td> |
2480 |
<td style="background-color: rgb(255,0,0)">No</td> |
<td style="background-color: rgb(255,127,0)">3rd party driver</td> |
2481 |
<td style="background-color: rgb(0,255,0)">64 ZB</td> |
<td style="background-color: rgb(0,255,0)">64 ZB</td> |
2482 |
<td style="background-color: rgb(255,0,0)">No</td> |
<td style="background-color: rgb(255,0,0)">No</td> |
2483 |
<td style="background-color: rgb(0,255,0)">Yes</td> |
<td style="background-color: rgb(0,255,0)">Yes</td> |
2484 |
</tr> |
</tr> |
2485 |
</table> |
</table> |
2486 |
<p>* Depends on cluster size<br> |
<p>* Depends on cluster size<br> |
2487 |
** <a href="http://support.microsoft.com/kb/955704" target="_blank">This update</a> adds exFAT support to Windows XP</p> |
** <a href="http://support.microsoft.com/kb/955704" target="_blank">This update</a> adds exFAT support to Windows XP<br> |
2488 |
|
*** <a href="http://ext2read.blogspot.com/" target="_blank">Ext2read</a> makes accessing ext4 partitions possible, but it's not a driver and the access is read-only</p> |
2489 |
<p>Operating system support:</p> |
<p>Operating system support:</p> |
2490 |
<ul> |
<ul> |
2491 |
<li>"Native" means that the kernel supports the filesystem and the OS can boot from a partition using that FS.</li> |
<li>"Native" means that the kernel supports the filesystem and the OS can boot from a partition using that FS.</li> |
2492 |
<li>"Built-in" means that the kernel supports the filesystem, but booting from a partition containing such FS is very difficult.</li> |
<li>"Built-in" means that the kernel supports the filesystem, but booting from a partition containing such FS is very difficult.</li> |
2493 |
<li>"Driver included" means that ntfs-3g (the driver that adds NTFS support to Linux) comes with most GNU/Linux distributions.</li> |
<li>"Driver included" means that ntfs-3g (the driver that adds NTFS support to Linux) comes with most GNU/Linux distributions.</li> |
2494 |
<li>"3rd party driver" means that drivers to add filesystem support are available, but must be downloaded and installed separately. The drivers are <a href="http://www.fs-driver.org" target="_blank">Ext2 IFS</a> and <a href="http://www.ext2fsd.com" target="_blank">Ext2fsd</a>.</li> |
<li>"3rd party driver" means that drivers to add filesystem support are available, but must be downloaded and installed separately. The ext2/3 drivers are <a href="http://www.fs-driver.org" target="_blank">Ext2 IFS</a> and <a href="http://www.ext2fsd.com" target="_blank">Ext2fsd</a> and the exFAT driver is <a href="http://code.google.com/p/exfat/" target="_blank">exfat</a>.</li> |
2495 |
<li>"No" means that there is no way to use the filesystem within the operating system.</li> |
<li>"No" means that there is no way to get read-write filesystem support.</li> |
2496 |
</ul> |
</ul> |
2497 |
<H2><a name="filesystems"></a>Filesystems <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="filesystems"></a>Filesystems <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H2> |
2498 |
<p>This section contains more information about most popular filesystems.</p> |
<p>This section contains more information about most popular filesystems.</p> |
2500 |
<p>The initial version of FAT (File Allocation Table), now referred as FAT12, was designed for floppy disks. A FAT12 partition can only be up to 32 megabytes in size. After that, PCs equipped with hard drives were introcuded by IBM and the sizes of hard drives began growing. Microsoft answered the need by developing first initial FAT16 and then final FAT16.</p> |
<p>The initial version of FAT (File Allocation Table), now referred as FAT12, was designed for floppy disks. A FAT12 partition can only be up to 32 megabytes in size. After that, PCs equipped with hard drives were introcuded by IBM and the sizes of hard drives began growing. Microsoft answered the need by developing first initial FAT16 and then final FAT16.</p> |
2501 |
<p>FAT16 partition can be up to two gigabytes in size. In the middle of 1990s, that limit was becoming a problem. Microsoft pushed the limit up by updating FAT again.</p> |
<p>FAT16 partition can be up to two gigabytes in size. In the middle of 1990s, that limit was becoming a problem. Microsoft pushed the limit up by updating FAT again.</p> |
2502 |
<p>FAT32 was first introduced with Windows 95 OSR2. Windows 98, Windows Me, Windows 2000 and newer support FAT32 too. Linux kernel has supported FAT32 almost as long as Windows, but booting GNU/Linux from FAT32 partition is difficult and actually requires DOS to be installed in the partition as well. (<a href="http://en.wikipedia.org/wiki/FAT_filesystem_and_Linux#Installing_Linux_on_and_booting_it_from_FAT_volumes_using_umsdos" target="_blank">more information</a>)</p> |
<p>FAT32 was first introduced with Windows 95 OSR2. Windows 98, Windows Me, Windows 2000 and newer support FAT32 too. Linux kernel has supported FAT32 almost as long as Windows, but booting GNU/Linux from FAT32 partition is difficult and actually requires DOS to be installed in the partition as well. (<a href="http://en.wikipedia.org/wiki/FAT_filesystem_and_Linux#Installing_Linux_on_and_booting_it_from_FAT_volumes_using_umsdos" target="_blank">more information</a>)</p> |
2503 |
<p>FAT32 partition can be up to two terabytes in size. As of now (March 2010), there are hard drives that hit the limit, but don't exceed it. A single file within FAT32 partition can be up to four gigabytes in size.</p> |
<p>FAT32 partition can be up to two terabytes in size. As of now (July 2010), there are hard drives that hit the limit, but don't exceed it. A single file within FAT32 partition can be up to four gigabytes in size.</p> |
2504 |
<p>Because FAT32 is, in the end, based on FAT12, it has very few features. It doesn't support file permissions, hard/symbolic links, encryption, compression, alternative data streams, journaling... It lacks support for nearly anything that defines a modern filesystem. However, due to very few features, FAT32 is very fast filesystem if it's not fragmented or on a Flash-based drive. Mind you, FAT32 fragments very fast.</p> |
<p>Because FAT32 is, in the end, based on FAT12, it has very few features. It doesn't support file permissions, hard/symbolic links, encryption, compression, alternative data streams, journaling... It lacks support for nearly anything that defines a modern filesystem. However, due to very few features, FAT32 is very fast filesystem if it's not fragmented or on a Flash-based drive. Mind you, FAT32 fragments very fast.</p> |
2505 |
<p>Due to excellent operating system support, I recommend FAT32 for storing files which should be accessible in both Windows and GNU/Linux. FAT32 is also a good filesystem on Solid State Drives and thumb drives due to its performance.</p> |
<p>Due to excellent operating system support, I recommend FAT32 for storing files which should be accessible in both Windows and GNU/Linux. FAT32 is also a good filesystem on Solid State Drives and thumb drives due to its performance.</p> |
2506 |
<H3><a name="partitions-ext2"></a>ext2 <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="partitions-ext2"></a>ext2 <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
2510 |
<p>The best property of ext2 is extensibility. The superblock contains information about which version the filesystem is (ext2, ext3 or ext4) and which extensions and features are in use. By using these pieces of information, the operating system or driver can decide whether or not mounting the partition is safe. That's the most important reason why most GNU/Linux distributions still use successors of ext2 as default filesystems.</p> |
<p>The best property of ext2 is extensibility. The superblock contains information about which version the filesystem is (ext2, ext3 or ext4) and which extensions and features are in use. By using these pieces of information, the operating system or driver can decide whether or not mounting the partition is safe. That's the most important reason why most GNU/Linux distributions still use successors of ext2 as default filesystems.</p> |
2511 |
<p>Depending on cluster size, ext2 partition can be up to 2-32 terabytes in size. File size limit is 16 GB-2 TB.</p> |
<p>Depending on cluster size, ext2 partition can be up to 2-32 terabytes in size. File size limit is 16 GB-2 TB.</p> |
2512 |
<p>Ext2 supports file permissions, both hard and symbolic links and extended file attributes. Encryption, compression and journaling are unsupported.</p> |
<p>Ext2 supports file permissions, both hard and symbolic links and extended file attributes. Encryption, compression and journaling are unsupported.</p> |
2513 |
<p>Due to lack of journaling support and existence of Windows drivers, I recommend using ext2 if you're going to install GNU/Linux on a SSD drive and want to be able to access files within Windows too. In fact, that's exactly the setup I have.</p> |
<p>Due to lack of journaling support and existence of Windows drivers, I recommend using ext2 if you're going to install GNU/Linux on a SSD drive and want to be able to access files within Windows too.</p> |
2514 |
<p>However, lack of journaling support is the worst limitation of ext2. And what was done in order to get rid of the limitation?</p> |
<p>However, lack of journaling support is the worst limitation of ext2. And what was done in order to get rid of the limitation?</p> |
2515 |
<H3><a name="partitions-ext3"></a>ext3 <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="partitions-ext3"></a>ext3 <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
2516 |
<p>Ext3, the successor of ext2, was introduced in Linux kernel on November 2001. It supports journaling, can be grown online and indexes large directories.</p> |
<p>Ext3, the successor of ext2, was introduced in Linux kernel on November 2001. It supports journaling, can be grown online and optionally indexes large directories.</p> |
2517 |
<p>Ext2 IFS and Ext2fsd can mount ext3 partition as ext2 if the journal is empty. (If it's not, something is wrong - journal is always emptied when the partition is unmounted or the computer is shut down.) Thus, ext3 support under Windows is just as good/bad as ext2 support.</p> |
<p>Ext2 IFS and Ext2fsd can mount ext3 partition as ext2 if the journal is empty. (If it's not, something is wrong - journal is always emptied when the partition is unmounted or the computer is shut down.) Thus, ext3 support under Windows is just as good/bad as ext2 support.</p> |
2518 |
<p>Partition and file size limits are the same as in ext2: partition size limit is 2-32 TB and file size limit 16 GB-2 TB, depending on cluster size.</p> |
<p>Partition and file size limits are the same as in ext2: partition size limit is 2-32 TB and file size limit 16 GB-2 TB, depending on cluster size.</p> |
2519 |
<p>Due to journaling support and existence of Windows drivers, ext3 is a good choice if you're going to install GNU/Linux on a mechanical hard drive and want to be able to access files within Windows.</p> |
<p>Due to journaling support and existence of Windows drivers, ext3 is a good choice if you're going to install GNU/Linux on a mechanical hard drive and want to be able to access files within Windows.</p> |
2521 |
<p>Linux kernel support for ext4, the successor of ext3, was marked stable code on October 2008. Ext4 contains multiple performance and stability improvements over ext3.</p> |
<p>Linux kernel support for ext4, the successor of ext3, was marked stable code on October 2008. Ext4 contains multiple performance and stability improvements over ext3.</p> |
2522 |
<p>The most important new feature is extents. An extent is a contiguous area of storage that has been reserved for a file. When a process starts to write to a file, the whole extent is allocated even before the write operation begins. The idea is that even if the file is larger than expected, it doesn't fragment if it doesn't exceed the size of the extent.</p> |
<p>The most important new feature is extents. An extent is a contiguous area of storage that has been reserved for a file. When a process starts to write to a file, the whole extent is allocated even before the write operation begins. The idea is that even if the file is larger than expected, it doesn't fragment if it doesn't exceed the size of the extent.</p> |
2523 |
<p>Another important improvement is larger partition size limit: an ext4 partition can be even one exabyte in size. (An exabyte is a million terabytes.) In addition, a directory within an ext4 partition can contain up to 64 000 subdirectories (instead of 32 000, as in ext2/3) and timestamps are much more accurate. The file size limit is 16 GB-16 TB, depending on cluster size.</p> |
<p>Another important improvement is larger partition size limit: an ext4 partition can be even one exabyte in size. (An exabyte is a million terabytes.) In addition, a directory within an ext4 partition can contain up to 64 000 subdirectories (instead of 32 000, as in ext2/3) and timestamps are much more accurate. The file size limit is 16 GB-16 TB, depending on cluster size.</p> |
2524 |
<p>Unfortunately, Ext2 IFS and Ext2Fsd don't support ext4 and are unable to mount ext4 partition if extents are enabled. They can be disabled, but other improvements of ext4 aren't that important for most people - using ext2 or ext3 is just easier.</p> |
<p>Unfortunately, Ext2 IFS and Ext2Fsd don't support ext4 and are unable to mount ext4 partition if extents are enabled. They can be disabled, but other improvements of ext4 aren't that important for most people - using ext2 or ext3 is just easier. It is also possible to keep extents enabled and browse the partition using <a href="http://ext2read.blogspot.com/" target="_blank">Ext2read</a>, but Ext2read doesn't allow the user to write to the partition.</p> |
2525 |
<p>Due to its features, ext4 is a good filesystem on computers that only have GNU/Linux installed. Because journaling can be disabled, it is suitable for Solid State Drives and thumb drives too.</p> |
<p>Due to its features, ext4 is a good filesystem on computers that only have GNU/Linux installed. Because journaling can be disabled, it is suitable for Solid State Drives and thumb drives too.</p> |
2526 |
<H3><a name="partitions-ntfs"></a>NTFS <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="partitions-ntfs"></a>NTFS <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
2527 |
<p>At the end of 1980s, IBM and Microsoft were developing OS/2 operating system. Both companies expected OS/2 1.1, released on 1988, to be the first popular operating system having a GUI, Presentation Manager. Even though it didn't become too popular during its first years, Microsoft didn't complain: Windows 2 didn't sell any better.</p> |
<p>At the end of 1980s, IBM and Microsoft were developing OS/2 operating system. Both companies expected OS/2 1.1, released on 1988, to be the first popular operating system having a GUI, Presentation Manager. Even though it didn't become too popular during its first years, Microsoft didn't complain: Windows 2 didn't sell any better.</p> |
2534 |
<H3><a name="partitions-exfat"></a>exFAT <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="partitions-exfat"></a>exFAT <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H3> |
2535 |
<p>NTFS is a great filesystem, but due to its complexity and journaling, it's not suitable for Flash-based drives. Even Microsoft itself has recommended using FAT32 on removable Flash media.</p> |
<p>NTFS is a great filesystem, but due to its complexity and journaling, it's not suitable for Flash-based drives. Even Microsoft itself has recommended using FAT32 on removable Flash media.</p> |
2536 |
<p>However, FAT32 only allows files up to four gigabytes in size. The limit is already becoming too small, for example a DVD disc image can exceed that limit. In addition, FAT32 lacks file permission support. In order to get rid of these limitations, Microsoft took FAT from its grave and updated it one more time.</p> |
<p>However, FAT32 only allows files up to four gigabytes in size. The limit is already becoming too small, for example a DVD disc image can exceed that limit. In addition, FAT32 lacks file permission support. In order to get rid of these limitations, Microsoft took FAT from its grave and updated it one more time.</p> |
2537 |
<p>ExFAT (extended FAT), also known as FAT64, was introduced with Windows CE 6.0, on November 2006. Windows Vista SP1, Windows 7 and newer support exFAT too, and by installing <a href="http://support.microsoft.com/kb/955704" target="_blank">this update</a> Windows XP can be extended to support exFAT as well. Unfortunately, the only read-write exFAT driver for GNU/Linux (<a href="http://www.tuxera.com/products/exfat-for-embedded-systems/" target="_blank">Tuxera exFAT for Embedded Systems</a>) is payware.</p> |
<p>ExFAT (extended FAT), also known as FAT64, was introduced with Windows CE 6.0, on November 2006. Windows Vista SP1, Windows 7 and newer support exFAT too, and by installing <a href="http://support.microsoft.com/kb/955704" target="_blank">this update</a> Windows XP can be extended to support exFAT as well. GNU/Linux drivers are available too, but currently none of them are both stable and free. The best option seems to be <a href="http://code.google.com/p/exfat/" target="_blank">exfat</a>, an open-source driver in beta stage.</p> |
2538 |
<p>The partition and file size limits of exFAT are the same: 64 zettabytes. Another important improvement is file permission support that, oddly, is lacking in Windows Vista. In addition, a directory within an exFAT partition can contain up to 2 796 202 files (instead of 65 536, as in FAT32) and timestamps have become more accurate.</p> |
<p>The partition and file size limits of exFAT are the same: 64 zettabytes. Another important improvement is file permission support that, oddly, is lacking in Windows Vista. In addition, a directory within an exFAT partition can contain up to 2 796 202 files (instead of 65 536, as in FAT32) and timestamps have become more accurate.</p> |
2539 |
<p>No operating system can be installed to an exFAT partition, so such partitions can only be used for data storage. Due to lack of journaling and support for huge files, exFAT is a good filesystem on Solid State Drives and thumb drives that are only used within Windows Vista and/or 7.</p> |
<p>No operating system can be installed to an exFAT partition, so such partitions can only be used for data storage. Due to lack of journaling and support for huge files, exFAT is a good filesystem on Solid State Drives and thumb drives that are only used within Windows Vista and/or 7.</p> |
2540 |
<H3><a name="annex-b-list"></a>Partition list <span class="hideprint">[<a href="#annex-b-top" title="go to top of the page">^</a>]</span></H3> |
<H3><a name="annex-b-list"></a>Partition list <span class="hideprint">[<a href="#annex-b-top" title="go to top of the page">^</a>]</span></H3> |
2541 |
<p>The following table presents known partition types along with their IDs:</p> |
<p>The following table presents known partition types along with their IDs:</p> |
2542 |
<p class="newcode" style="margin-right: 0;"> 0 Empty 80 Old Minix<br> |
<p class="newcode" style="margin-right: 0;"> 0 Empty 80 Old Minix<br> |
2543 |
1 FAT12 81 Minix / old Linux<br> |
1 FAT12 81 Minix / old Linux<br> |
2544 |
2 XENIX root <font color="Red">82 Linux swap / Solaris</font><br> |
2 XENIX root <font color="Green">82 Linux swap / Solaris</font><br> |
2545 |
3 XENIX usr <font color="Green">83 Linux</font><br> |
3 XENIX usr <font color="Red">83 Linux</font><br> |
2546 |
4 FAT16 <32M 84 OS/2 hidden C: drive<br> |
4 FAT16 <32M 84 OS/2 hidden C: drive<br> |
2547 |
5 Extended 85 Linux extended<br> |
<font color="Red">5 Extended</font> 85 Linux extended<br> |
2548 |
<font color="Red">6 FAT16</font> 86 NTFS volume set<br> |
6 FAT16 86 NTFS volume set<br> |
2549 |
<font color="Green">7 HPFS/NTFS</font> 87 NTFS volume set<br> |
<font color="Green">7 HPFS/NTFS</font> 87 NTFS volume set<br> |
2550 |
8 AIX 88 Linux plaintext<br> |
8 AIX 88 Linux plaintext<br> |
2551 |
9 AIX bootable 8e Linux LVM<br> |
9 AIX bootable 8e Linux LVM<br> |
2589 |
75 PC/IX</p> |
75 PC/IX</p> |
2590 |
<p>The partitions you are most likely to see in use, are:</p> |
<p>The partitions you are most likely to see in use, are:</p> |
2591 |
<ul> |
<ul> |
|
<li><b><font color="Red">FAT16 (ID = 6) </font></b><br> |
|
|
This is the old DOS partition type<br> |
|
|
You may still find it in pure DOS installations, like vendor diagnostics tool partitions, and small USB sticks (128 - 250 MB)</li> |
|
2592 |
<li><b><font color="Green">HPFS/NTFS (ID = 7)</font></b><br> |
<li><b><font color="Green">HPFS/NTFS (ID = 7)</font></b><br> |
2593 |
This is the <b>Windows XP</b> partition, also known as <b>NTFS</b></li> |
This is the <b>Windows XP</b> partition, also known as <b>NTFS</b></li> |
2594 |
<li><b><font color="Red">W95 FAT32 (LBA) (ID = c)</font></b><br> |
<li><b><font color="Red">W95 FAT32 (LBA) (ID = c)</font></b><br> |
2595 |
This is the <b>Windows 95 - 98</b> partition<br> |
This is the <b>Windows 95 - 98</b> partition<br> |
2596 |
It is used in any kind of disk and large USB devices (1 GB and more)</li> |
It is used in any kind of disk and large USB devices (1 GB and more)</li> |
2597 |
<li><b><font color="Green">W95 Ext'd (LBA) (ID = f)</font></b><br> |
<li><b><font color="Green">W95 Ext'd (LBA) (ID = f)</font></b><br> |
2598 |
Extended partition. It acts as a container for other partitions<br> |
Extended partition. It acts as a container for other partitions</li> |
2599 |
There is one more extended partition type (ID = 5), but it does not seem to be in use as much</li> |
<li><b><font color="Red">Extended (ID = 5)</font></b><br> |
2600 |
<li><b><font color="Red">Linux swap / Solaris (ID = 82)</font></b><br> |
Another extended partition type. It acts as a container for other partitions<br> |
2601 |
|
There is one more extended partition type (ID = 85), but Windows doesn't recognise it</li> |
2602 |
|
<li><b><font color="Green">Linux swap / Solaris (ID = 82)</font></b><br> |
2603 |
Swap partition, acting as <b>Virtual Memory</b><br> |
Swap partition, acting as <b>Virtual Memory</b><br> |
2604 |
Modern computers with 1 - 2 GB of memory may not use it at all</li> |
Modern computers with 1 - 2 GB of memory may not use it at all</li> |
2605 |
<li><b><font color="Green">Linux (ID = 83)</font></b><br> |
<li><b><font color="Red">Linux (ID = 83)</font></b><br> |
2606 |
Linux partitions, such as <b>ext2</b>, <b>ext3</b> and <b>reiserfs</b></li> |
Linux partitions, such as <b>ext2</b>, <b>ext3</b> and <b>reiserfs</b></li> |
2607 |
</ul> |
</ul> |
2608 |
<H2><a name="example"></a>Partitioning example <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H2> |
<H2><a name="example"></a>Partitioning example <span class="hideprint">[<a href="#partitions-top" title="go to top of the page">^</a>]</span></H2> |
2637 |
<img src="images/gparted-04.png"> |
<img src="images/gparted-04.png"> |
2638 |
<p>I right-click the unallocated area and select <b>New</b>.</p> |
<p>I right-click the unallocated area and select <b>New</b>.</p> |
2639 |
<img src="images/gparted-05.png"> |
<img src="images/gparted-05.png"> |
2640 |
<p>I select <b>Extended Partition</b> as the partition type. The size was already 998 megabytes (the maximum) and as said, an extended partition doesn't contain any filesystem. I click <b>Add</b>.</p> |
<p>I select <b>Extended Partition</b> as the partition type. The size was already 1000 megabytes (the maximum) and as said, an extended partition doesn't contain any filesystem. I click <b>Add</b>.</p> |
2641 |
<img src="images/gparted-06.png"> |
<img src="images/gparted-06.png"> |
2642 |
<p>I right-click the unallocated area within the extended partition and select <b>New</b>.</p> |
<p>I right-click the unallocated area within the extended partition and select <b>New</b>.</p> |
2643 |
<img src="images/gparted-07.png"> |
<img src="images/gparted-07.png"> |
2644 |
<p>I choose the ext4 filesystem and enter 798 MB as the partition size. After that, I click first the <b>Free Space Following (MiB)</b> combo box and then <b>Add</b>.</p> |
<p>I choose the ext4 filesystem and enter 799 MB as the partition size. After that, I click first the <b>Free Space Following (MiB)</b> combo box and then <b>Add</b>.</p> |
2645 |
<img src="images/gparted-08.png"> |
<img src="images/gparted-08.png"> |
2646 |
<p>I right-click the remaining unallocated space and select <b>New</b> one more time.</p> |
<p>I right-click the remaining unallocated space and select <b>New</b> one more time.</p> |
2647 |
<img src="images/gparted-09.png"> |
<img src="images/gparted-09.png"> |
2648 |
<p>I choose the ext4 filesystem again. The partition size setting was already 201 megabytes (the whole available space), so I just press <b>Add</b>.</p> |
<p>I choose the ext4 filesystem again. The partition size setting was already 200 megabytes (the whole available space), so I just press <b>Add</b>.</p> |
2649 |
<img src="images/gparted-10.png"> |
<img src="images/gparted-10.png"> |
2650 |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
2651 |
The next step is to commit the changes.<br><br>After that some operations, for example<br>partition deletion, can no longer be undone. |
The next step is to commit the changes.<br><br>After that some operations, for example<br>partition deletion, can no longer be undone. |
2667 |
<p>Then I mount the partitions:</p> |
<p>Then I mount the partitions:</p> |
2668 |
<p class="newcode">mount /dev/sda1 /mnt/sda1<br> |
<p class="newcode">mount /dev/sda1 /mnt/sda1<br> |
2669 |
mount /dev/sda6 /mnt/sda6</p> |
mount /dev/sda6 /mnt/sda6</p> |
2670 |
<p>I move the directory:</p> |
<p>I copy the directory to the new partition:</p> |
2671 |
<p class="newcode">mv /mnt/sda1/home/* /mnt/sda6/</p> |
<p class="newcode">cd /mnt/sda1<br> |
2672 |
|
rsync -aAPSX home/ /mnt/sda6</p> |
2673 |
|
<p>I move the original directory out of my way and create a new directory in place of it:</p> |
2674 |
|
<p class="newcode">mv home home-old<br> |
2675 |
|
mkdir home</p> |
2676 |
<p>After that, I unmount /dev/sda6, because it no longer needs to be mounted:</p> |
<p>After that, I unmount /dev/sda6, because it no longer needs to be mounted:</p> |
2677 |
<p class="newcode">sync<br> |
<p class="newcode">umount /dev/sda6</p> |
|
umount /dev/sda6</p> |
|
2678 |
<img src="images/terminal.png"> |
<img src="images/terminal.png"> |
|
<p>As you can see, under Linux it's perfectly normal that the terminal doesn't answer to the commands. Don't worry - they are really executed.</p> |
|
2679 |
<p>Now I close <b>Terminal</b> and launch <b>Geany</b> by pressing the fourth icon in the bottom pane.</p> |
<p>Now I close <b>Terminal</b> and launch <b>Geany</b> by pressing the fourth icon in the bottom pane.</p> |
2680 |
<img src="images/geany-00.png"> |
<img src="images/geany-00.png"> |
2681 |
<p>I select <b>File</b> -> <b>Open</b>.</p> |
<p>I select <b>File</b> -> <b>Open</b>.</p> |
2688 |
<p class="newcode">/dev/sda6 /home ext4 defaults 0 2</p> |
<p class="newcode">/dev/sda6 /home ext4 defaults 0 2</p> |
2689 |
<p>Finally, I select <b>File</b> -> <b>Save</b>.</p> |
<p>Finally, I select <b>File</b> -> <b>Save</b>.</p> |
2690 |
<img src="images/geany-04.png"> |
<img src="images/geany-04.png"> |
2691 |
<p>It's a good idea to reboot the computer now and check if the distribution in <b>/dev/sda1</b> still works. Anyway, the disk should now be ready for the new distro.</p> |
<p>It's a good idea to reboot the computer now and check if the distribution in <b>/dev/sda1</b> still works. If yes, the /home-old directory can be removed and the disk is ready for the new distro.</p> |
2692 |
<a name="recover-top"></a> |
<a name="recover-top"></a> |
2693 |
<H2 style="font-size: 2em;"><a name="recover-intro"></a>Data Recovery <span class="hideprint">[<a href="#help-top" title="go to top of the page">^</a>]</span></H2> |
<H2 style="font-size: 2em;"><a name="recover-intro"></a>Data Recovery <span class="hideprint">[<a href="#help-top" title="go to top of the page">^</a>]</span></H2> |
2694 |
<p>Deleted or "lost" files can be recovered from failed or formatted drives and partitions, cdroms and memory cards using the software available in <b>SystemRescueCD</b>. |
<p>Deleted or "lost" files can be recovered from failed or formatted drives and partitions, cdroms and memory cards using the software available in <b>SystemRescueCD</b>. |
3153 |
* signifies the current active mode<br> |
* signifies the current active mode<br> |
3154 |
<br></p> |
<br></p> |
3155 |
<a name="shots-top"></a> |
<a name="shots-top"></a> |
3156 |
<p align="center"><img src="images/clonezilla-sysresccd-1.png" border="0" alt="The splash screen of v 2.4.0"><br> |
<p align="center"><img src="images/clonezilla-sysresccd-1.png" border="0" alt="The splash screen of v 3.1.0"><br> |
3157 |
The splash screen of v 2.6.0<br><br><img src="images/clonezilla-sysresccd-2.png" border="0" alt="The splash screen of my test Restore DVD (v 2.4.0)"><br> |
The splash screen of v 3.1.0 (Clonezilla i686)<br><br><img src="images/clonezilla-sysresccd-2.png" border="0" alt="The splash screen of my test Restore DVD (v 2.4.0)"><br> |
3158 |
The splash screen of my test Restore DVD (v 2.6.0)<br> |
The splash screen of my test Restore DVD (v 3.1.0)<br> |
3159 |
As you can see, I have used the option <i><b>-I "Restore sda (250MB Stick)"</b></i><br> |
As you can see both the menu entries text and the default item have been altered</p> |
|
to master the DVD</p> |
|
3160 |
<p>You may also want to see:</p> |
<p>You may also want to see:</p> |
3161 |
<p>SystemRescueCD Screenshots - <a href="http://www.sysresccd.org/Screenshots" target="_blank">http://www.sysresccd.org/Screenshots</a><br> |
<p>SystemRescueCD Screenshots - <a href="http://www.sysresccd.org/Screenshots" target="_blank">http://www.sysresccd.org/Screenshots</a><br> |
3162 |
Clonezilla Live - <a href="http://www.clonezilla.org/screenshot/" target="_blank">http://www.clonezilla.org/screenshot/</a><br> |
Clonezilla Live - <a href="http://www.clonezilla.org/screenshot/" target="_blank">http://www.clonezilla.org/screenshot/</a><br> |
3168 |
<ol> |
<ol> |
3169 |
<li><b>In Clonezilla Live</b><br><br> |
<li><b>In Clonezilla Live</b><br><br> |
3170 |
Type |
Type |
3171 |
<p class="newcode">less /live/image/README.txt</p> |
<p class="newcode">less /README.txt</p> |
3172 |
</li> |
</li> |
3173 |
<li><b>In SystemRescueCD</b><br><br> |
<li><b>In SystemRescueCD</b><br><br> |
3174 |
Type |
Type |