/[clonezilla-sysresccd]/trunk/www/working/partitions.html
ViewVC logotype

Diff of /trunk/www/working/partitions.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 81 by jyrki, Wed Jul 14 07:58:30 2010 UTC revision 82 by jyrki, Wed Jul 14 16:34:26 2010 UTC
# Line 490  Disk identifier: 0x00058a4a<br> Line 490  Disk identifier: 0x00058a4a<br>
490  <img src="images/gparted-04.png">  <img src="images/gparted-04.png">
491  <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>
492  <img src="images/gparted-05.png">  <img src="images/gparted-05.png">
493  <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>
494  <img src="images/gparted-06.png">  <img src="images/gparted-06.png">
495  <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>
496  <img src="images/gparted-07.png">  <img src="images/gparted-07.png">
497  <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>
498  <img src="images/gparted-08.png">  <img src="images/gparted-08.png">
499  <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>
500  <img src="images/gparted-09.png">  <img src="images/gparted-09.png">
501  <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>
502  <img src="images/gparted-10.png">  <img src="images/gparted-10.png">
503  <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>
504  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.
# Line 527  mkdir /mnt/sda6</p> Line 527  mkdir /mnt/sda6</p>
527  <p class="newcode">mount /dev/sda1 /mnt/sda1<br>  <p class="newcode">mount /dev/sda1 /mnt/sda1<br>
528  mount /dev/sda6 /mnt/sda6</p>  mount /dev/sda6 /mnt/sda6</p>
529    
530  <p>I move the directory:</p>  <p>I copy the directory to the new partition:</p>
531    
532  <p class="newcode">mv /mnt/sda1/home/* /mnt/sda6/</p>  <p class="newcode">cd /mnt/sda1<br>
533    rsync -aAPSX home/ /mnt/sda6</p>
534    
535    <p>I move the original directory out of my way and create a new directory in place of it:</p>
536    
537    <p class="newcode">mv home home-old<br>
538    mkdir home</p>
539    
540  <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>
541    
542  <p class="newcode">sync<br>  <p class="newcode">umount /dev/sda6</p>
 umount /dev/sda6</p>  
543  <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>  
   
544  <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>
545  <img src="images/geany-00.png">  <img src="images/geany-00.png">
546  <p>I select <b>File</b> -> <b>Open</b>.</p>  <p>I select <b>File</b> -> <b>Open</b>.</p>
# Line 552  umount /dev/sda6</p> Line 555  umount /dev/sda6</p>
555    
556  <p>Finally, I select <b>File</b> -> <b>Save</b>.</p>  <p>Finally, I select <b>File</b> -> <b>Save</b>.</p>
557  <img src="images/geany-04.png">  <img src="images/geany-04.png">
558  <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>
559    
560    
561  </div>  </div>

Legend:
Removed from v.81  
changed lines
  Added in v.82

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26