Differences

This shows you the differences between the selected revision and the current version of the page.

howto:fun_plug 2008/07/12 05:34 howto:fun_plug 2017/09/06 17:34 current
Line 44: Line 44:
  - Connect your new hard drive to a Linux (ext3 supported) PC.   - Connect your new hard drive to a Linux (ext3 supported) PC.
  - Run terminal as root user.   - Run terminal as root user.
-  - Fire up fdisk using following command ''fdisk /dev/hd<hi cyan>x</hi>'' or ''fdisk /dev/sd<hi cyan>x</hi>'' if you have a SATA or USB hard drive. The <hi cyan>x</hi> is your hard drive position, for example Primary Master is <hi cyan>a</hi>, Primary Slave is <hi cyan>b</hi>, Secondary Master is <hi cyan>c</hi> and Secondary Slave is <hi cyan>d</hi>. SATA and USB hard drives are usually <hi cyan>a</hi>.+  - Fire up fdisk using following command ''fdisk /dev/hdx'' or ''fdisk /dev/sdx'' if you have a SATA or USB hard drive. The x is your hard drive position, for example Primary Master is a, Primary Slave is b, Secondary Master is c and Secondary Slave is d. SATA and USB hard drives are usually a.
  - Now we are going to make a swap partition.   - Now we are going to make a swap partition.
  - When you are inside fdisk press ''n''   - When you are inside fdisk press ''n''
Line 51: Line 51:
  - And then ''Enter key''   - And then ''Enter key''
  - And finally ''+512M''   - And finally ''+512M''
-  - Now we are going to make an ext3 partition for your files. You can also make more than one partition for your files. For example if you do not want to store your files to ext3 partition and you want to use fat32 instead, or if you want to use a chroot environment and want to avoid [[http://forum.dsmg600.info/t19-Updated-28092006-Bugs.html|the chmod bug at bootup]].+  - Now we are going to make an ext3 partition for your files. You can also make more than one partition for your files. For example if you do not want to store your files to ext3 partition and you want to use fat32 instead, or if you want to use a chroot environment and want to avoid [[http://dns323.kood.org/forum/t19-Updated-28092006-Bugs.html|the chmod bug at bootup]].
  - Press ''n''   - Press ''n''
  - Then ''p''   - Then ''p''
Line 67: Line 67:
  - Now you can review your partition table by pressing ''p'', if it looks good then press ''w'' to write changes to hard disk. If you think something went wrong then press ''q'' and start again, starting with step 3.   - Now you can review your partition table by pressing ''p'', if it looks good then press ''w'' to write changes to hard disk. If you think something went wrong then press ''q'' and start again, starting with step 3.
  - Now we are going to format newly created partitions.   - Now we are going to format newly created partitions.
-  - To format the swap partition run ''mkswap /dev/hd<hi cyan>x</hi>1'' +  - To format the swap partition run ''mkswap /dev/hdx1'' 
-  - Next we are going to format the ext3 partition with the following command line ''mke2fs -j /dev/hd<hi cyan>x</hi>2'' +  - Next we are going to format the ext3 partition with the following command line ''mke2fs -I 128 -j /dev/hdx2'' 
-  - And if you chose to make a second partition to your files then we must format this one also. If you chose it to be FAT32 at the 23rd step, then you must run ''mkdosfs /dev/hd<hi cyan>x</hi>3''+  - And if you chose to make a second partition to your files then we must format this one also. If you chose it to be FAT32 at the 23rd step, then you must run ''mkdosfs /dev/hdx3''
  - And finally we are going to copy the fun_plug file to your ext3 partition.   - And finally we are going to copy the fun_plug file to your ext3 partition.
-  - We first mount the ext3 partition with this command line ''mkdir /mnt/dsmg600disk || mount /dev/hd<hi cyan>x</hi>2 /mnt/dsmg600disk''+  - We first mount the ext3 partition with this command line ''mkdir /mnt/dsmg600disk || mount /dev/hdx2 /mnt/dsmg600disk''
  - Now create an empty fun_plug file with this command ''touch /mnt/dsmg600disk/fun_plug''   - Now create an empty fun_plug file with this command ''touch /mnt/dsmg600disk/fun_plug''
  - And now we are going to make it an a executable with this command ''chmod 777 /mnt/dsmg600disk/fun_plug''   - And now we are going to make it an a executable with this command ''chmod 777 /mnt/dsmg600disk/fun_plug''
Line 84: Line 84:
  - Connect your already partitioned hard drive to a Linux (ext3 supported) PC.   - Connect your already partitioned hard drive to a Linux (ext3 supported) PC.
  - Run terminal as root user.   - Run terminal as root user.
-  - We need first mount ext3 partition with this command line ''mkdir /mnt/dsmg600disk || mount /dev/hd<hi cyan>x</hi>2 /mnt/dsmg600disk''. The <hi cyan>x</hi> is your hard drive position, for example Primary Master is <hi cyan>a</hi>, Primary Slave is <hi cyan>b</hi>, Secondary Master is <hi cyan>c</hi> and Secondary Slave is <hi cyan>d</hi>. SATA and USB hard drives are most cases <hi cyan>a</hi>.+  - We need first mount ext3 partition with this command line ''mkdir /mnt/dsmg600disk || mount /dev/hdx2 /mnt/dsmg600disk''. The x is your hard drive position, for example Primary Master is a, Primary Slave is b, Secondary Master is c and Secondary Slave is d. SATA and USB hard drives are most cases a.
  - Now create empty fun_plug file with this command ''touch /mnt/dsmg600disk/fun_plug''   - Now create empty fun_plug file with this command ''touch /mnt/dsmg600disk/fun_plug''
  - And now we are going to make it an a executable with this command ''chmod 777 /mnt/dsmg600disk/fun_plug''   - And now we are going to make it an a executable with this command ''chmod 777 /mnt/dsmg600disk/fun_plug''

Personal Tools