Hwa.. haa... haa.... haa....
akhirnya ketemu nih cara menambah menu windows di grub "karmic koala", critanya gini, kemarin teman install si karmic, tapi belum install windows, dalam satu harddisk dengan rancangan partisi: /dev/sda1 (ntfs), /dev/sda2 (ext3) dan /dev/sda3 (swap), setelah selesai install ubuntu 9.10(karmic)
baru install windows.
grubnya hilang... tho... ck ck (itu mah biasa)
untuk balikin grub, I gunakan LiveCD KarmicK, lalu buka terminal(console)
# mkdir /media/linux
# mount /dev/sda2 /media/linux
# mount --bind /dev /media/linux/dev
# chroot /media/linux
setelah proses mounting selesai..
cara restore grub dan menambah menu windows dalam grub sekalian men-disable hidden grub, seperti ini:
# mv /boot/grub/grub.cfg /boot/grub/grub.cfg.ori (buat jaga2)
# grub-mkconfig > /boot/grub/grub.cfg (buat mendeteksi OS yg ada dlm harddisk)
# grub-install /dev/sda (buat installasi grubnya pada MBR)
# nano /etc/default/grub
isi:# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
# GRUB_HIDDEN_TIMEOUT=0 --> beri pagar baris ini
# GRUB_HIDDEN_TIMEOUT_QUIET=true --> beri pagar baris ini
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"
alhamdulillah... bisa donk!! silakan dicoba!
Baca lanjutannya ...
Lagi kangen 5N
15 years ago