[ASK] Mount hardisk otomatis

Semua mengenai lingkungan desktop Ubuntu.
Post Reply
User avatar
Think_be_Hard
Contact:

[ASK] Mount hardisk otomatis

Post 20 Sep 2011, 19:43

Disini saya mempunyai masalah, setiap saya reboot linux. Hardisk saya selalu unmount.
Cara mengatasinya harus di klik place-(letak hardisk). Begitu seterusnya.
Yang saya tanyakan
1. Bagaimana cara agar hardisk termount secara otomatis,
2. Apa saja perintah-perintahnya (kalau ada link, postingan, dll.)

*Catatan*
Saya sudah mencari di internet dan masih saja bingung
PC Saya
Ubuntu 11.04
P3
RAM 582MB
Hardisk 10 GB dan 40 GB


User avatar
thrvers
Contact:

Post 20 Sep 2011, 20:31

'
hint: fstab

udah pernah dibahas sekilas, gugel.


User avatar
indraginanjar
Contact:

Post 20 Sep 2011, 21:17

pake pysdm (Storage Device Manager) jauh lebih mudah.
Attachments
Screenshot-Storage Device Manager.png
Tampilan pysdm
Screenshot-Storage Device Manager.png (53.58 KiB) Viewed 412 times


User avatar
Think_be_Hard
Contact:

Post 21 Sep 2011, 04:11

Makasih linknya mas, tapi saya tetap saja bingung. Soalnya permasalahan saya setiap booting munculnya itu
Error mounting /media/hardisk

Ini settingan fstab saya
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=a11b1c12-0658-4516-924c-1c9456861905 / ext4 errors=remount-ro 0 1
/dev/sda4 /home ext4 defaults 0 2
/dev/sda2 none swap sw 0 0
/dev/sda5 /media/hardisk ntfs defaults 0 0
/dev/sdb1 /media/hardisk ntfs defaults 0 0
Sebelumnya saya pakai perintah
chown -R hard:hard /media/hardisk
Kata tutorial yang saya cari agar bisa termount

Trus masalah saya juga seperti ini


User avatar
thrvers
Contact:

Post 21 Sep 2011, 07:50

'
Think_be_Hard
.....

Code: Select all

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda6 during installation
UUID=a11b1c12-0658-4516-924c-1c9456861905 /               ext4    errors=remount-ro 0       1
/dev/sda4       /home           ext4    defaults        0       2
/dev/sda2       none            swap    sw              0       0
/dev/sda5	/media/hardisk	ntfs	defaults	0	0
/dev/sdb1	/media/hardisk	ntfs	defaults	0	0
Sebelumnya saya pakai perintah
chown -R hard:hard /media/hardisk
Kata tutorial yang saya cari agar bisa termount

Trus masalah saya juga seperti ini

fstab-nya salah :(
sda5 misal dibuatin mountpoint data1
$ sudo mkdir /media/data1

sdb1 misal dibuatin mountpoint data2
$ sudo mkdir /media/data2

terus isi fstab diganti [2 baris bawah]
[spoiler]

Code: Select all

/dev/sda5	/media/data1	ntfs-3g	defaults	0	0
/dev/sdb1	/media/data2	ntfs-3g	defaults	0	0
[/spoiler]
jangan pke chown :( abis itu restart dah.

CMIIW - selamat mencoba


Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests