On Sat, Apr 23, 2016 at 02:52:37PM +0430, Mohammad BadieZadegan wrote: > 3. How can I access to my other HDD partitions? > Best Regards, >
You can edit the /etc/fstab file to also mount those other partitions onto directories you create on the boot drive. This will happen when booting. mkdir /cool_other_drive_home mkdir /lousy_other_drive_mp3s you don't need to use the original names on the other hard drive, for example, you can't have two /home folders So, /cool_other_drive_home was the /home folder on the other drive. 21358ebbfcf8089c.b none swap sw 21358ebbfcf8089c.a / ffs rw 1 1 21358ebbfcf8089c.j /altroot ffs xx 0 0 21358ebbfcf8089c.d /tmp ffs rw,nodev,nosuid 1 2 21358ebbfcf8089c.f /usr ffs ro,nodev 1 2 21358ebbfcf8089c.g /usr/X11R6 ffs ro,nodev 1 2 21358ebbfcf8089c.h /usr/local ffs ro,nodev 1 2 21358ebbfcf8089c.e /var ffs rw,nodev,nosuid 1 2 2ba6d152d8b5c562.m /home ffs rw,nodev,nosuid 1 2 2ba6d152d8b5c562.n /cool_other_drive_home ffs rw,nodev,nosuid 1 2 2ba6d152d8b5c562.k /lousy_other_drive_mp3s ffs ro,nodev,nosuid 1 2 One caveat, if you do this, you must always have both drives present! man fstab and man mount will be helpful. Above is almost exactly what I use myself. Boot off of a small USB drive and we have home folders on another 2TB USB drive. Look at how I have some partitions marked ro (read-only) and rw (read and write). This is very helpful when the system crashes and fsck is run on reboot. Those partions are always left clean. In the above, notice how I have prevented anyone from writing any more lousy mp3s to that partition. If drives are coming and going, you will need to manually mount and umount them. Still need to create those directories first. Chris Bennett