Sunday 23 October 2011

Flashdisk 16 GB nggak bisa ditulisi

Saya nggak bisa nulis di flashdisk.
Dari list, sudah benar bahwa saya bisa nulis (rwx)

$ ls -l /media/
total 48
drwx------ 24 budi budi 32768 1970-01-01 07:00 BUDI
lrwxrwxrwx 1 root root 6 2011-05-03 19:52 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2009-07-17 22:07 cdrom0
drwxrwxr-x 2 root root 4096 2010-04-01 17:26 DATA
lrwxrwxrwx 1 root root 7 2011-05-03 19:52 floppy -> floppy0
drwxr-xr-x 2 root root 4096 2009-07-17 22:07 floppy0
drwxr-xr-x 2 root root 4096 2010-04-13 14:17 windows

Kalau mbikin file baru, ternyata Read Only file system:
$ touch /media/BUDI/testingz
touch: cannot touch `/media/BUDI 16GB K/testingz': Read-only file system

Solusinya adalah (kecuali hardwarenya nggak stabil karena 16GB) adalah dengan format ulang:

$ sudo umount /media/BUDI
budi@pucung:~$ sudo fdisk -l
Disk /dev/sdb: 16.0 GB, 16047407104 bytes
94 heads, 30 sectors/track, 11114 cylinders
Units = cylinders of 2820 * 512 = 1443840 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

Device Boot Start End Blocks Id System
/dev/sdb1 3 11115 15667264 c W95 FAT32 (LBA)

budi@pucung:~$ sudo fdisk /dev/sdb

hapus partisi 1, keluar setelah write, masuk fdisk lagi (sekedar biar yakin), bikin partisi 1 sebagai vfat (kodenya 0B). Kalau mau gampang, gunakan cfdisk atau gparted (?)

Format partisi 1 sebagai vfat:
$ sudo mkfs.vfat /dev/sdb1
mkfs.vfat 3.0.7 (24 Dec 2009)

Copot flashdisk dan pasang lagi.

Thursday 13 October 2011

Jigdo Aaargh

Kalau menggunakan jigdo untuk download iso Debian atau Ubuntu (atau distro lain) dan berakhir dengan:
Aaargh - 1 files could not be downloaded
pasti menyebalkan. Contoh terakhir adalah di file mplayerthumbs_4.4.5-1_i386.deb untuk Debian 6.0.3. Di case kantor sepertinya karena kdemultimedia masuk Squid.
Solusinya:
$ wget https://students.cs.unipi.gr/pub/linux/debian/pool/main/k/kdemultimedia/
$ sudo mv mplayerthumbs_4.4.5-1_i386.deb /var/cache/apt/archives/
$ jigdo-lite
Lalu suruh jigdo scan lagi /var/cache/apt/archives.
Beres, deh.

Wednesday 12 October 2011

LibreOffice

Kolbi will also be proud to announce its support to LibreOffice the Document Foundation.
Here're good link for assessment:
Sok banget, nggak sih?