11
Jun
07

Sda berubah menjadi hda ?

Apa pula itu ?
Bingung sekali pas gw gak nemuin drive sda di desktop lagi. Kejadiannya setelah melakukan update berdasarkan notification update.

Ditelusuri dengan ngeliat configurasi /etc/fstab dulu

$ sudo vim /etc/fstab
# Generated by Automatix
/dev/sdb1 /media/sdb1 vfat iocharset=utf8,umask=000 0 0
/dev/sda1 /media/sda1 ntfs-3g defaults,locale=en_US.utf8 0 0
/dev/sda5 /media/sda5 ntfs-3g defaults,locale=en_US.utf8 0 0
## End of Automatix mounted partitions

terus liat apa sda masih ada ???

msdarmawan@msdtux:~$ dmesg | grep sda
[ 33.428000] SCSI device sda: 501760 512-byte hdwr sectors (257 MB)
[ 33.428000] sda: Write Protect is off
[ 33.428000] sda: Mode Sense: 00 3a 00 00
[ 33.428000] SCSI device sda: write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 33.428000] SCSI device sda: 501760 512-byte hdwr sectors (257 MB)
[ 33.428000] sda: Write Protect is off
[ 33.428000] sda: Mode Sense: 00 3a 00 00
[ 33.428000] SCSI device sda: write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 33.428000] sda: sda1
[ 33.436000] sd 0:0:0:0: Attached scsi removable disk sda

Loh koq cuma sda1… yang lain kemana neeh ??? (sdb1, sda5). Itupun sda1nya sudah berubah type menjadi vfat, padahal kalo liat di fstab seharusnya ntfs.

msdarmawan@msdtux:~$ blkid /dev/sda1
/dev/sda1: UUID="45ED-A368" TYPE="vfat"

Hmmm… coba liat, kalo hda ada nggak ?

msdarmawan@msdtux:~$ dmesg | grep hda
[ 30.634544] ide0: BM-DMA at 0x1810-0x1817, BIOS settings: hda:DMA, hdb:pio
[ 30.925464] hda: HITACHI_DK23EA-40, ATA DISK drive
[ 8.840000] hda: max request size: 128KiB
[ 8.860000] hda: 78140160 sectors (40007 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
[ 8.860000] hda: cache flushes supported
[ 8.860000] hda: hda1 hda2 < hda5 hda6 > hda3 hda4
[ 34.256000] EXT3 FS on hda3, internal journal
[ 34.540000] EXT3 FS on hda6, internal journal

msdarmawan@msdtux:~$ blkid /dev/hda1
/dev/hda1: TYPE="ntfs"
msdarmawan@msdtux:~$ blkid /dev/hda2
msdarmawan@msdtux:~$ blkid /dev/hda5
/dev/hda5: TYPE="ntfs"
msdarmawan@msdtux:~$ blkid /dev/hda4
/dev/hda4: UUID="e0e19bd0-c4e7-4b1c-94bd-e2201d41e50e" TYPE="swap"

Wah, kayaknya mulai ketemu neeh titik cerahnya…
Berdasarkan informasi dari mas Andy Apdhani ¨imtheface¨, para pengembang ubuntu tidak menyarankan penggunaan automatix.

Automatix2 is a proprietary script that tries to install some software, and
often fails and breaks systems. The Ubuntu community doesn't provide support for
it, and we strongly discourage its use. Problems caused by Automatix are often
hard to track and solve, and it might sometimes be easier to install a fresh
copy of Ubuntu.

Padahal pas pertama cobain automatix, lumayan memudahkan sebenernya, diliat dari segi instalasi ntfs, codec multimedia, dst… tapi koq gak dianjurin ya ??? 😦
Disamping itu, default ubuntu sudah tidak menggunakan format /dev/hda? lagi di fstab-nya, tapi menggunakan UUID.

Muncul masalah lagi… UUID enggak muncul pada sistem ntfs kalo menggunakan perintah blkid… tapi… lagi-lagi mas imtheface ngebantuin gw… gunakan perintah berikut :

msdarmawan@msdtux:~$ sudo vol_id -i /dev/hda1
ID_FS_USAGE=filesystem
ID_FS_TYPE=ntfs
ID_FS_VERSION=3.1
ID_FS_UUID=9A24EE2424EE035D
ID_FS_LABEL=
ID_FS_LABEL_SAFE=
msdarmawan@msdtux:~$ sudo vol_id -i /dev/hda5
ID_FS_USAGE=filesystem
ID_FS_TYPE=ntfs
ID_FS_VERSION=3.1
ID_FS_UUID=24AC9E54AC9E1FFA
ID_FS_LABEL=DATA
ID_FS_LABEL_SAFE=DATA

Akhirnya….
Gw commented /etc/fstab yang automatically created dari automatix, dan gw ganti menjadi :

msdarmawan@msdtux:~$ sudo vim /etc/fstab
# Generated by Automatix
#/dev/sdb1 /media/sdb1 vfat iocharset=utf8,umask=000 0 0
#/dev/sda1 /media/sda1 ntfs-3g defaults,locale=en_US.utf8 0 0
#/dev/sda5 /media/sda5 ntfs-3g defaults,locale=en_US.utf8 0 0
## End of Automatix mounted partitions

#/dev/hda1
UUID=9A24EE2424EE035D /media/sda1 ntfs-3g defaults,locale=en_US.utf8 0 0
#/dev/hda5
UUID=24AC9E54AC9E1FFA /media/sda5 ntfs-3g defaults,locale=en_US.utf8 0 0
gksu
msdarmawan@msdtux:~$ sudo mount -a

Hahaha… puas rasane…
Everythings back to normal… thanks to Andy Apdhani imtheface.

Sedikit tambahan,
untuk mengaktifkan support read/write NTFS baik eksternal/Internal HDD, bisa pake paket ntfs-config

msdarmawan@msdtux:~/download$ sudo aptitude install ntfs-config
msdarmawan@msdtux:~/download$ gksu ntfs-config

That´s all folks…

Powered by ScribeFire.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Smiling Calendar

June 2007
M T W T F S S
« May   Jul »
 123
45678910
11121314151617
18192021222324
252627282930  

Smiling Archives

Smiling Stats

  • 6,209 hits

Smiling Categories

Smiling Tags


%d bloggers like this: