Archive

Posts Tagged ‘init’

Linux: Fixing a broken grub

May 3rd, 2009 bayu No comments

The grub corrupted or replaced by another boot loader? follow this steps to fix it.

  1. Boot the system using any linux live having grub installed in it.
  2. Under the root user, execute “grub” to access the grub prompt.
  3. Use “find /boot/grub/stage1″ command in the grub prompt to find where the file is. The result should be like (hd0,2), (hd0,0), etc
  4. Use “root (hd0,2)” command, the (h0,2) taken according to the result in 3rd step.
  5. Use “setup (hd0,2)” command to install grub in the partition, or just (hd0) to install it on the Master Boot Record (MBR) of the disk 0.

good luck!

Categories: linux Tags: , , , , ,

mendisable service di hp ux

May 3rd, 2009 bayu No comments

jika kita temui pada linux pada umumnya untuk mengaktifkan / menonaktifkan service pada saat menyalakan server dengan memanipulasi file-file pada /etc/rc.d atau /etc/init.d, maka pada HP UX, kita dapat lakukan dengan mengubah harga variabel pada file-file yang terdapat pada /etc/rc.config.d

Misal untuk menonaktifkan  email server, maka edit file /etc/rc.config.d/mailserv,dan ubah variabel :

SENDMAIL_SERVER=0

Cheers!

Categories: hp ux Tags: , , ,

Switch to our mobile site