86 |
<H3>Welcome</H3> |
<H3>Welcome</H3> |
87 |
<div style="margin:0; padding: 3px; width: 980; position relative;"> |
<div style="margin:0; padding: 3px; width: 980; position relative;"> |
88 |
<div style="position: absolute; left: 0px;"><H4>30/06/2011 - v 3.2.0</H4></div> |
<div style="position: absolute; left: 0px;"><H4>30/06/2011 - v 3.2.0</H4></div> |
89 |
<div style="position: absolute; right: 0px;"><H4>Last update: 06/06/2011</H4></div> |
<div style="position: absolute; right: 0px;"><H4>Last update: 22/06/2011</H4></div> |
90 |
</div> |
</div> |
91 |
</div> |
</div> |
92 |
<div id="linkline"> |
<div id="linkline"> |
393 |
<p class="newcode">umount /dev/<font color="Green">sdc4</font><br> |
<p class="newcode">umount /dev/<font color="Green">sdc4</font><br> |
394 |
dd if=~/clonezilla-sysresccd-full-mod-3.2.0.iso of=/dev/<font color="Green">sdc</font> bs=512</p> |
dd if=~/clonezilla-sysresccd-full-mod-3.2.0.iso of=/dev/<font color="Green">sdc</font> bs=512</p> |
395 |
<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> |
|
<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> |
|
|
<p> |
|
|
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: |
|
|
</p> |
|
|
<p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p> |
|
|
<p style="margin-left: 0;">You should get something similar to this:</p> |
|
|
<p class="newcode"> |
|
|
Disk /dev/sdc: 1048 MB, 1048576000 bytes<br> |
|
|
64 heads, 32 sectors/track, 1000 cylinders, total 2048000 sectors<br> |
|
|
Units = sectors of 1 * 512 = 512 bytes<br> |
|
|
Sector size (logical/physical): 512 bytes / 512 bytes<br> |
|
|
I/O size (minimum/optimal): 512 bytes / 512 bytes<br> |
|
|
Disk identifier: 0x77a5188f<br> |
|
|
<br> |
|
|
Device Boot Start End Blocks Id System |
|
|
/dev/sdc1 * 1 384 393216 17 Hidden HPFS/NTFS |
|
|
</p> |
|
|
<p> |
|
|
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: |
|
|
</p> |
|
|
<p class="newcode"> |
|
|
fdisk /dev/<font color="green">sdc</font><br> |
|
|
command (m for help): <font color="magenta">n</font> <font color="#990000">(create new partition)</font><br> |
|
|
command action<br> |
|
|
e extended<br> |
|
|
p primary partition (1-4)<br> |
|
|
<font color="magenta">p</font><br> |
|
|
partition number (1-4): <font color="magenta">4</font> <font color="#990000">(create partition sdc4)</font><br> |
|
|
first cylinder (385-1000, default 385): <br> |
|
|
using default value 385<br> |
|
|
last cylinder, +cylinders or +size{k,m,g} (385-1000, default 1000): <br> |
|
|
using default value 1000<br> |
|
|
<br> |
|
|
command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br> |
|
|
<br> |
|
|
disk /dev/sdc: 1048 mb, 1048576000 bytes<br> |
|
|
64 heads, 32 sectors/track, 1000 cylinders<br> |
|
|
units = cylinders of 2048 * 512 = 1048576 bytes<br> |
|
|
sector size (logical/physical): 512 bytes / 512 bytes<br> |
|
|
i/o size (minimum/optimal): 512 bytes / 512 bytes<br> |
|
|
disk identifier: 0x77a5188f<br> |
|
|
<br> |
|
|
device boot start end blocks id system<br> |
|
|
/dev/sdc1 * 1 384 393216 17 hidden hpfs/ntfs<br> |
|
|
/dev/sdc4 385 1000 630784 83 linux<br> |
|
|
<br> |
|
|
<br> |
|
|
command (m for help): <font color="magenta">t</font> <font color="#990000">(change partition type)</font><br> |
|
|
partition number (1-4): <font color="magenta">4</font><br> |
|
|
hex code (type l to list codes): <font color="magenta">b</font><br> |
|
|
changed system type of partition 4 to b (w95 fat32)<br> |
|
|
<br> |
|
|
command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br> |
|
|
<br> |
|
|
disk /dev/sdc: 1048 mb, 1048576000 bytes<br> |
|
|
64 heads, 32 sectors/track, 1000 cylinders<br> |
|
|
units = cylinders of 2048 * 512 = 1048576 bytes<br> |
|
|
sector size (logical/physical): 512 bytes / 512 bytes<br> |
|
|
i/o size (minimum/optimal): 512 bytes / 512 bytes<br> |
|
|
disk identifier: 0x77a5188f<br> |
|
|
<br> |
|
|
device boot start end blocks id system<br> |
|
|
/dev/sdc1 * 1 384 393216 17 hidden hpfs/ntfs<br> |
|
|
/dev/sdc4 385 1000 630784 b w95 fat32<br> |
|
|
<br> |
|
|
command (m for help): <font color="magenta">w</font> <font color="#990000">(write partition table to disk and exit)</font><br> |
|
|
The partition table has been altered!<br> |
|
|
<br> |
|
|
Calling ioctl() to re-read partition table.<br> |
|
|
<br> |
|
|
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br> |
|
|
The kernel still uses the old table. The new table will be used at<br> |
|
|
the next reboot or after you run partprobe(8) or kpartx(8)<br> |
|
|
Syncing disks. |
|
|
</p> |
|
|
<p> |
|
|
At this point you should disconnect and reconnect your usb device. When it's recognised, you can format the partition you've just created |
|
|
</p> |
|
|
<p class="newcode"> |
|
|
mkdosfs -F 32 /dev/<font color="Green">sdc4</font> |
|
|
</p> |
|
|
<p> |
|
|
The partition is now ready for use!!! |
|
|
</p> |
|
396 |
<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> |
397 |
<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> |
398 |
<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> |
417 |
cp -r /mnt/mycd/* /mnt/usbdevice<br> |
cp -r /mnt/mycd/* /mnt/usbdevice<br> |
418 |
umount /mnt/mycd; rmdir /mnt/mycd<br> |
umount /mnt/mycd; rmdir /mnt/mycd<br> |
419 |
cd /mnt/usbdevice<br> |
cd /mnt/usbdevice<br> |
420 |
rm isolinux/*.cfg<br> |
cp syslinux/*.cfg isolinux<br> |
421 |
mv isolinux/* .<br> |
cp syslinux/*.png isolinux<br> |
422 |
rmdir isolinux<br> |
rm -rf syslinux<br> |
423 |
cd; umount /dev/<font color="Green">sdc4</font><br> |
mv isolinux syslinux</p> |
424 |
|
<div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td> |
425 |
|
Since you are using any linux box to complete this procedure,<br>you have to use the syslinux installation provided by this linux box.<br><br>Otherwise, you will probably end up with an unbootable device...</td></tr></table></div> |
426 |
|
<p>First thing you have to do is find where syslinux is installed. The best way to do that is look for a file named <b>vesamenu.c32</b>. You can use locate, find, or any other distribution specific tool for that. In Debian (and its derivatives like Ubuntu, LMDE etc.) this file is under <font color="Green"><b>/usr/lib/syslinux</b></font>, so I'll just use that for the following code.</p> |
427 |
|
<p class="newcode">cd syslinux<br> |
428 |
|
for f in *.c32<br> |
429 |
|
do<br> |
430 |
|
cp -v <font color="Green"><b>/usr/lib/syslinux</b></font>/$f .<br> |
431 |
|
cd ..<br> |
432 |
|
done</p> |
433 |
|
<p>In either case, unmount the device and delete the mount point (directory).</p> |
434 |
|
<p class="newcode">cd; umount /dev/<font color="Green">sdc4</font><br> |
435 |
rmdir /mnt/usbdevice</p> |
rmdir /mnt/usbdevice</p> |
436 |
<p>Finally make your USB device bootable, by executing</p> |
<p>Finally make your USB device bootable, by executing</p> |
437 |
<p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p> |
<p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p> |
444 |
mount /dev/<font color="Green">sr0</font> /mnt/mycd <br> |
mount /dev/<font color="Green">sr0</font> /mnt/mycd <br> |
445 |
mkdir /mnt/usbdevice<br> |
mkdir /mnt/usbdevice<br> |
446 |
mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br> |
mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br> |
447 |
cp -r /mnt/mycd/* /mnt/usbdevice<br> |
cp -rv /mnt/mycd/* /mnt/usbdevice<br> |
448 |
umount /mnt/mycd<br> |
umount /mnt/mycd<br> |
449 |
cd /mnt/usbdevice<br> |
cd /mnt/usbdevice<br> |
450 |
rm isolinux/*.cfg<br> |
cp syslinux/*.cfg isolinux<br> |
451 |
mv isolinux/* .<br> |
cp syslinux/*.png isolinux<br> |
452 |
rmdir isolinux<br> |
rm -rf syslinux<br> |
453 |
|
mv isolinux syslinux<br> |
454 |
cd; umount /dev/<font color="Green">sdc4</font></p> |
cd; umount /dev/<font color="Green">sdc4</font></p> |
455 |
<p>Finally make your USB device bootable, by executing</p> |
<p>Finally make your USB device bootable, by executing</p> |
456 |
<p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p> |
<p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p> |
462 |
You will have to</p> |
You will have to</p> |
463 |
<ul> |
<ul> |
464 |
<li>Copy all files from drive <b><font color="Green">D:</font></b> (CD or mounted ISO file) to drive <b><font color="Green">K:</font></b> (USB disk)</li> |
<li>Copy all files from drive <b><font color="Green">D:</font></b> (CD or mounted ISO file) to drive <b><font color="Green">K:</font></b> (USB disk)</li> |
465 |
<li>Delete <b><u>all</u> cfg</b> files from <b><font color="Green">K:</font>isolinux</b></li> |
<li>Copy <b><u>all</u> cfg</b> files from <b><font color="Green">K:\</font>syslinux</b> to <b><font color="Green">K:\</font>isolinux</b></li> |
466 |
<li>Move all files from <b><font color="Green">K:</font>isolinux</b> to <b><font color="Green">K:</font></b></li> |
<li>Copy <b><u>all</u> png</b> files from <b><font color="Green">K:\</font>syslinux</b> to <b><font color="Green">K:\</font>isolinux</b></li> |
467 |
<li>Delete folder <b><font color="Green">K:</font>isolinux</b> </li> |
<li>Delete the folder <b><font color="Green">K:\</font>syslinux</b></li> |
468 |
|
<li>Rename <b><font color="Green">K:\</font>isolinux</b> to <b><font color="Green">K:\</font>syslinux</b></li> |
469 |
</ul> |
</ul> |
470 |
<p>Now all you have to do is make your USB disk bootable. In order to do that you have to open a DOS window (in Windows XP press "<b>Start / Run </b>" and type <b>cmd</b>). Then type at DOS prompt:</p> |
<p>Now all you have to do is make your USB disk bootable. In order to do that you have to open a DOS window (in Windows XP press "<b>Start / Run </b>" and type <b>cmd</b>). Then type at DOS prompt:</p> |
471 |
<p class="newcode"><font color="Green">K:</font><br> |
<p class="newcode"><font color="Green">K:</font><br> |
488 |
<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> |
489 |
<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> |
490 |
<p class="newcode"> |
<p class="newcode"> |
491 |
Disk /dev/<font color="Green">sdc</font>: 1031 MB, 1031798272 bytes<br> |
Disk <font color="Green">/dev/sdc</font>: 4043 MB, 4043309056 bytes<br> |
492 |
64 heads, 32 sectors/track, 983 cylinders<br> |
125 heads, 62 sectors/track, 1018 cylinders, total 7897088 sectors<br> |
493 |
Units = cylinders of 2048 * 512 = 1048576 bytes<br> |
Units = sectors of 1 * 512 = 512 bytes<br> |
494 |
|
Sector size (logical/physical): 512 bytes / 512 bytes<br> |
495 |
|
I/O size (minimum/optimal): 512 bytes / 512 bytes<br> |
496 |
|
Disk identifier: 0x596bbd85<br> |
497 |
<br> |
<br> |
498 |
Device <font color="Red">Boot</font> Start End Blocks Id System<br> |
Device <font color="Red">Boot</font> Start End Blocks Id System<br> |
499 |
/dev/<font color="Green">sdc4</font> <font color="Red">*</font> 1 983 1006576 6 FAT16<br> |
/dev/sdc1 <font color="Red">*</font> 63 1461914 730926 b W95 FAT32 |
500 |
</p> |
</p> |
501 |
<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 (<b>no asterisk</b>), execute:</p> |
502 |
<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> |
503 |
<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> |
504 |
If you are on Windows, this is taken care of by syslinux (parameters -ma).<br><br> |
If you are on Windows, this is taken care of by syslinux (parameters -ma).<br><br> |
535 |
<p>As stated previously, <b>Clonezilla-SysRescCD USB</b> is booted by <b>syslinux</b> through its configuration file <b>syslinux.cfg</b>. This file loads <b>sysresc.cfg</b> in order to boot <b>SystemRescueCD</b>.<br><br> |
<p>As stated previously, <b>Clonezilla-SysRescCD USB</b> is booted by <b>syslinux</b> through its configuration file <b>syslinux.cfg</b>. This file loads <b>sysresc.cfg</b> in order to boot <b>SystemRescueCD</b>.<br><br> |
536 |
If you have to specify any additional boot parameters for <b>SystemRescueCD</b>, you may want to write these changes to the configuration file, so that you don't have to insert them by hand every time.<br><br> |
If you have to specify any additional boot parameters for <b>SystemRescueCD</b>, you may want to write these changes to the configuration file, so that you don't have to insert them by hand every time.<br><br> |
537 |
The procedure to do that is the following:<br><br> |
The procedure to do that is the following:<br><br> |
538 |
Boot <b>SystemRescueCD</b> (or if that's not possible yet, bot <b>Clonezilla Linux</b> and get to the command line) using the option <b>To RAM</b>, and when it is fully loaded, execute the following commands:</p> |
Boot <b>SystemRescueCD</b> (or if that's not possible yet, boot <b>Clonezilla Live</b> and get to the command line) using the option <b>To RAM</b>, and when it is fully loaded, execute the following commands:</p> |
539 |
<p class="newcode">mkdir /mnt/usbdevice<br> |
<p class="newcode">mkdir /mnt/usbdevice<br> |
540 |
mount /dev/<font color="Green">[device]</font> /mnt/usbdevice <br> |
mount /dev/<font color="Green">[device]</font> /mnt/usbdevice <br> |
541 |
cd /mnt/usbdevice<br> |
cd /mnt/usbdevice<br> |
542 |
cp sysresc.cfg sysresc.bak<br> |
cp sysresc.cfg sysresc.bak<br> |
543 |
sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">x</font> [additional params]</font>|' <br> |
sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">x</font> [additional params]</font>|' \<br> |
544 |
sysresc.cfg > sys.cfg<br> |
sysresc.cfg > sys.cfg<br> |
545 |
mv sys.cfg sysresc.cfg<br> |
mv sys.cfg sysresc.cfg<br> |
546 |
cd; umount /dev/<font color="Green">[device]</font><br> |
cd; umount /dev/<font color="Green">[device]</font><br> |
550 |
<p>After executing these commands, you will have a new <b>sysresc.cfg</b> file, and a backup file called <b>sysresc.bak</b> (in case things go wrong).<br><br> |
<p>After executing these commands, you will have a new <b>sysresc.cfg</b> file, and a backup file called <b>sysresc.bak</b> (in case things go wrong).<br><br> |
551 |
If, for example, you want to increase the device scan delay to maximum, the above commands would become:</p> |
If, for example, you want to increase the device scan delay to maximum, the above commands would become:</p> |
552 |
<p class="newcode">mkdir /mnt/usbdevice<br> |
<p class="newcode">mkdir /mnt/usbdevice<br> |
553 |
mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice <br> |
mount /dev/<font color="Green">sdc1</font> /mnt/usbdevice <br> |
554 |
cd /mnt/usbdevice<br> |
cd /mnt/usbdevice<br> |
555 |
cp sysresc.cfg sysresc.bak<br> |
cp sysresc.cfg sysresc.bak<br> |
556 |
sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">10</font></font>|' sysresc.cfg > sys.cfg<br> |
sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">10</font></font>|' sysresc.cfg > sys.cfg<br> |
557 |
mv sys.cfg sysresc.cfg<br> |
mv sys.cfg sysresc.cfg<br> |
558 |
cd; umount /dev/<font color="Green">sdc4</font><br> |
cd; umount /dev/<font color="Green">sdc1</font><br> |
559 |
syslinux /dev/<font color="Green">sdc4</font><br> |
syslinux /dev/<font color="Green">sdc1</font><br> |
560 |
reboot</p> |
reboot</p> |
561 |
<p>If, in addition to that, you had to use the boot parameter <b><font color="Red">usbstick</font></b>, then it would be:</p> |
<p>If, in addition to that, you had to use the boot parameter <b><font color="Red">usbstick</font></b>, then it would be:</p> |
562 |
<p class="newcode">mkdir /mnt/usbdevice<br> |
<p class="newcode">mkdir /mnt/usbdevice<br> |
563 |
mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice <br> |
mount /dev/<font color="Green">sdc1</font> /mnt/usbdevice <br> |
564 |
cd /mnt/usbdevice<br> |
cd /mnt/usbdevice<br> |
565 |
cp sysresc.cfg sysresc.bak<br> |
cp sysresc.cfg sysresc.bak<br> |
566 |
sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">10</font> usbstick</font>|' sysresc.cfg > sys.cfg<br> |
sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">10</font> usbstick</font>|' sysresc.cfg > sys.cfg<br> |
567 |
mv sys.cfg sysresc.cfg<br> |
mv sys.cfg sysresc.cfg<br> |
568 |
cd; umount /dev/<font color="Green">sdc4</font><br> |
cd; umount /dev/<font color="Green">sdc1</font><br> |
569 |
syslinux /dev/<font color="Green">sdc4</font><br> |
syslinux /dev/<font color="Green">sdc1</font><br> |
570 |
reboot</p> |
reboot</p> |
571 |
<p>In case something goes wrong with your new settings, you can always rename <b>sysresc.bak</b> to <b>sysresc.cfg</b>, either from linux or Windows.</p> |
<p>In case something goes wrong with your new settings, you can always rename <b>sysresc.bak</b> to <b>sysresc.cfg</b>, either from linux or Windows.</p> |
572 |
|
<H2><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></H2> |
573 |
|
<p> |
574 |
|
If your usb device is more than 450MB in size, the above procedure will leave the remaining space unused. To verify it, execute the command: |
575 |
|
</p> |
576 |
|
<p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p> |
577 |
|
<p style="margin-left: 0;">You should get something similar to this:</p> |
578 |
|
<p class="newcode"> |
579 |
|
Disk /dev/sdc: 4043 MB, 4043309056 bytes<br> |
580 |
|
125 heads, 62 sectors/track, 1018 cylinders, total 7897088 sectors<br> |
581 |
|
Units = sectors of 1 * 512 = 512 bytes<br> |
582 |
|
Sector size (logical/physical): 512 bytes / 512 bytes<br> |
583 |
|
I/O size (minimum/optimal): 512 bytes / 512 bytes<br> |
584 |
|
Disk identifier: 0x596bbd85<br> |
585 |
|
<br> |
586 |
|
Device Boot Start End Blocks Id System<br> |
587 |
|
/dev/sdc1 * 63 1461914 730926 b W95 FAT32 |
588 |
|
</p> |
589 |
|
<p> |
590 |
|
As you can see, we are currently using 1461914 out of 7897088 sectors of the disk. The remaining disk space (~3GB) can still be used, to save backups, for example, executing the following commands: |
591 |
|
</p> |
592 |
|
<p class="newcode"> |
593 |
|
# fdisk /dev/<font color="green">sdc</font><br> |
594 |
|
command (m for help): <font color="magenta">n</font> <font color="#990000">(create new partition)</font><br> |
595 |
|
command action<br> |
596 |
|
e extended<br> |
597 |
|
p primary partition (1-4)<br> |
598 |
|
<font color="magenta">p</font><br> |
599 |
|
partition number (1-4): <font color="magenta">4</font> <font color="#990000">(create partition sdc4)</font><br> |
600 |
|
First sector (1461915-7897087, default 1461915): <br> |
601 |
|
using default value 1461915<br> |
602 |
|
Last sector, +sectors or +size{K,M,G} (1461915-7897087, default 7897087): <br> |
603 |
|
using default value 7897087<br> |
604 |
|
<br> |
605 |
|
command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br> |
606 |
|
<br> |
607 |
|
Disk /dev/sdd: 4043 MB, 4043309056 bytes<br> |
608 |
|
125 heads, 62 sectors/track, 1018 cylinders, total 7897088 sectors<br> |
609 |
|
Units = sectors of 1 * 512 = 512 bytes<br> |
610 |
|
Sector size (logical/physical): 512 bytes / 512 bytes<br> |
611 |
|
I/O size (minimum/optimal): 512 bytes / 512 bytes<br> |
612 |
|
Disk identifier: 0x596bbd85<br> |
613 |
|
<br> |
614 |
|
/dev/sdc1 * 63 1461914 730926 b W95 FAT32 |
615 |
|
/dev/sdc4 1461915 7897087 3217586+ 83 Linux |
616 |
|
<br> |
617 |
|
<br> |
618 |
|
command (m for help): <font color="magenta">t</font> <font color="#990000">(change partition type)</font><br> |
619 |
|
partition number (1-4): <font color="magenta">4</font><br> |
620 |
|
hex code (type l to list codes): <font color="magenta">b</font><br> |
621 |
|
changed system type of partition 4 to b (W95 FAT32)<br> |
622 |
|
<br> |
623 |
|
command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br> |
624 |
|
<br> |
625 |
|
Disk /dev/sdd: 4043 MB, 4043309056 bytes<br> |
626 |
|
125 heads, 62 sectors/track, 1018 cylinders, total 7897088 sectors<br> |
627 |
|
Units = sectors of 1 * 512 = 512 bytes<br> |
628 |
|
Sector size (logical/physical): 512 bytes / 512 bytes<br> |
629 |
|
I/O size (minimum/optimal): 512 bytes / 512 bytes<br> |
630 |
|
Disk identifier: 0x596bbd85<br> |
631 |
|
<br> |
632 |
|
device boot start end blocks id system<br> |
633 |
|
/dev/sdc1 * 63 1461914 730926 b W95 FAT32 |
634 |
|
/dev/sdc4 1461915 7897087 3217586+ b W95 FAT32<br> |
635 |
|
<br> |
636 |
|
command (m for help): <font color="magenta">w</font> <font color="#990000">(write partition table to disk and exit)</font><br> |
637 |
|
The partition table has been altered!<br> |
638 |
|
<br> |
639 |
|
Calling ioctl() to re-read partition table.<br> |
640 |
|
<br> |
641 |
|
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br> |
642 |
|
The kernel still uses the old table. The new table will be used at<br> |
643 |
|
the next reboot or after you run partprobe(8) or kpartx(8)<br> |
644 |
|
Syncing disks. |
645 |
|
</p> |
646 |
|
<p> |
647 |
|
At this point you should disconnect and reconnect your usb device. When it's recognised, you can format the partition you've just created |
648 |
|
</p> |
649 |
|
<p class="newcode"> |
650 |
|
mkdosfs -F 32 /dev/<font color="Green">sdc4</font> |
651 |
|
</p> |
652 |
|
<p> |
653 |
|
The partition is now ready for use!!! |
654 |
|
</p> |
655 |
<a name="boot-top"></a> |
<a name="boot-top"></a> |
656 |
<H2 style="font-size: 2em;"><a name="boot-intro"></a>Boot parameters <span class="hideprint">[<a href="#boot-top" title="go to top of the page">^</a>]</span></H2> |
<H2 style="font-size: 2em;"><a name="boot-intro"></a>Boot parameters <span class="hideprint">[<a href="#boot-top" title="go to top of the page">^</a>]</span></H2> |
657 |
<p>Booting a linux system means loading a kernel, which is actually the operating system. Well, this is not exactly true, and it is not the only thing that happens during boot up phase, but it is not my intension to explain it here. |
<p>Booting a linux system means loading a kernel, which is actually the operating system. Well, this is not exactly true, and it is not the only thing that happens during boot up phase, but it is not my intension to explain it here. |