Hard drives - Partitioning and Booting
Kembali
Lanjut

Hard drives - Partitioning and Booting

Graphical Partition Editor

  1. Pasang paket qtparted (lihat dokumentasi Menambah Aplikasi untuk bantuan lebih lanjut tentang pemasangan aplikasi).

  2. Setelah terpasang, buka QtParted dengan memilih KMenuSistemQtParted.

Memeriksa penggunaan kapasitas cakram dan melihat tabel partisi

  1. Open System Settings by going to KMenuSystem Settings. Select the Advanced tab and then select Disks & Filesystems.

  2. Tiap partisi akan terdaftar di bawah Available Disks and Filesystems yang berisi keterangan rinci dari tiap partisi.

Melihat divais yang dimount dalam terminal

  1. Open Konsole by going to KMenuSystemKonsole - Terminal Program.

  2. To list the mounted devices type the following and then press the Enter key:

    mount

Senarai tersebut menampilkan divais (seperti partisi cakram keras ), lokasi mount (dimana anda mengakses berkas), tipe sistem berkas dan opsi untuk mount.

Contoh ini menampilkan partisi hardisk hda2 dimount sebagai '/', dengan tipe sistem berkas ext3. Partisi dimount dengan dua opsi, satu mengizinkan divais untuk dibaca dari dan ditulis ke, sedang opsi yang lain mengait ulang perangkat sebagai hanya dapat dibaca apabila terjadi kesalahan.


/dev/hda2 on / type ext3 (rw,errors=remount-ro)

Mount/Unmount partisi-partisi Windows

NTFS atau FAT32

Untuk drive-drive NTFS merujuk langkah 4. Untuk FAT32 merujuk langkah 5. NTFS hanya membolehkan akses baca-saja sedangkan FAT32 mebolehkan akses baca dan tulis.

  1. Baca “Memeriksa penggunaan kapasitas cakram dan melihat tabel partisi”

  2. Open Konsole by going to KMenuSystemKonsole - Terminal Program.

  3. First, make a directory where the partition can be mounted. To do so, type the following at the command prompt followed by pressing the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo mkdir /media/windows
    

  4. Next, type the following command to mount an NTFS Windows Partition and allow read-only access followed by pressing the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo mount /dev/hdaX /media/windows/ -t ntfs -o ro,umask=0222
    

  5. If your Windows partition uses the FAT32 filesystem, it is safe to allow read-write access to the partition. To do so, type the following command at the prompt followed by the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo mount /dev/hdaX /media/windows/ -t vfat -o umask=0000
    

    Catatan

    Ganti /dev/hdaX dengan nama divais yang sesuai untuk partisi anda.

  6. To unmount the partition, type the following command at the prompt followed by the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo umount /media/windows/
    

Mount partisi Windows saat boot

  1. Baca “Memeriksa penggunaan kapasitas cakram dan melihat tabel partisi”

  2. Open Konsole by going to KMenuSystemKonsole - Terminal Program.

  3. First, make a directory where the partition can be mounted. To do so, type the following at the command prompt followed by pressing the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo mkdir /media/windows
    

  4. Next, backup your configuration file for mounting drives and open the file in a text editor with administrative privileges. To do so, type the following at the prompt followed by pressing the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo cp /etc/fstab /etc/fstab_backup
    

  5. Edit your /etc/fstab by pressing Alt+F2 and then typing kdesu kate /etc/fstab in the Run Command dialog followed by pressing the OK button.

  6. Jika Windows Anda menggunakan file sistem NTFS, tambahkan baris berikut pada akhir file:

    /dev/hdaX /media/windows ntfs ro,umask=0222 0 0
    

    If your Windows partition uses the FAT32 filesystem, it is safe to allow read-write access to the partition. Append the following line at the end of the file:

    /dev/hdaX /media/windows vfat umask=0000 0 0

    instead of the one above.

    Catatan

    Ganti /dev/hdaX dengan nama divais yang sesuai untuk partisi anda.

  7. simpan dan tutup file yang telah disunting tersebut.

  8. Baca “Remount /etc/fstab tanpa booting ulang”.

Remount /etc/fstab tanpa booting ulang

  1. Open Konsole by going to KMenuSystemKonsole - Terminal Program.

  2. At the prompt, type the following and then press the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo mount -a
    

Menjalankan perintah sistem secara otomatis pada saat mulai

Sometimes it can be useful to add a custom command to the startup process so that your computer executes it on every boot. Refer to the following procedure in order to set this up.

  1. Open Konsole by going to KMenuSystemKonsole - Terminal Program.

  2. Edit the crontab with administrative privileges. To do so, type the following at the command prompt followed by the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo crontab -e
    

  3. Masukkan baris berikut:

    @reboot /home/user/command
    

    Catatan

    Ganti /home/pengguna/perintah dengan alamat penuh ke perintah anda.

  4. Save the file and exit. If using Nano as the default command line editor, press Ctrl+X followed by Y for Yes and then the Enter key.

Mengubah Sistem Operasi baku saat boot

  1. Open Konsole by going to KMenuSystemKonsole - Terminal Program.

  2. Make a backup of your boot configuration file. To do so, type the following at the command prompt followed by the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
    

  3. Edit the menu.lst file by pressing Alt+F2 and then typing kdesu kwrite /boot/grub/menu.lst followed by pressing the OK button.

  4. Temukan baris berikut:

    ...
    default 0
    ...
    

    dan ganti dengan baris berikut:

    default X_sequence
  5. simpan dan tutup file yang telah disunting tersebut.

Membuat Menu Boot Terlihat

Secara baku, menu boot tersembunyi dan anda perlu menekan Esc untuk melihatnya. Dengan langkah-langkah berikut, secara baku ia akan tampak.

  1. Open Konsole by going to KMenuSystemKonsole - Terminal Program.

  2. Make a backup of your boot configuration file. To do so, type the following at the command prompt followed by the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
    

  3. Edit the menu.lst file by pressing Alt+F2 and then typing kdesu kwrite /boot/grub/menu.lst in the Run Command dialog followed by pressing the OK button.

  4. Locate the following line:

    # hiddenmenu
    

    and uncomment it by removing the # in front of the line so that it looks like:

    hiddenmenu
    

  5. simpan dan tutup file yang telah disunting tersebut.

Ubah timeout untuk menu boot

  1. Open Konsole by going to KMenuSystemKonsole - Terminal Program.

  2. Make a backup of your boot configuration file. To do so, type the following at the command prompt followed by the Enter key (if asked for a password, enter your user password and press the Enter key):

    sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
    

  3. Edit the menu.lst file by pressing Alt+F2 and then typing kdesu kwrite /boot/grub/menu.lst in the Run Command dialog followed by pressing the OK button.

  4. Temukan baris berikut:

    ...
    timeout 3
    ...
    

    dan ganti dengan baris berikut:

    timeout X_seconds
    
  5. simpan dan tutup file yang telah disunting tersebut.

Kembali
Lanjut
Depan