Created
January 23, 2013 16:16
-
-
Save omkz/4608900 to your computer and use it in GitHub Desktop.
Memperbaiki grub rescue tanpa live cd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. pada grub rescue> | |
ketik #ls | |
nah , setelah perintah ls akan kluar kira2 seperti ini . . | |
(hd0) (hd0,6) (hd0,5) (hd0,2) (hd0,1) | |
yang mana nih partisi File system Ubuntu nya ya? | |
kalo ingat sih lanjut ke langkah 2 | |
jika tidak, gw jga lupa sebenarnya yang mana | |
nih cara feelling gw az ya . . | |
sebelum terinstal ubuntu windows saya cuma punya 2 partisi yaitu C dan D | |
nah dari situ,, berarti saya terjemahin | |
- hd0 Hardisk yang terpasang (smua partisi termasuk pada hd0) karna hardisk yg terpasang dilaptop cuma 1 | |
- hd0,1 pasti system reserve windows 7 yang 100 Mb itu loh | |
- hd0,2 pasti partisi C | |
- hd0,5 pasti partisi D | |
berarti hd0,6 merupakan partisi File system Ubuntu nya. | |
2. langkah kedua | |
ketik perintah : | |
#grub rescue > set prefix=(hd0,6)/boot/grub | |
#grub rescue > set root=(hd0,6) | |
#grub rescue > set | |
#grub rescue > ls /boot | |
#grub rescue > insmod /boot/grub/linux.mod | |
#grub rescue > linux /vmlinuz root=/dev/sda6 ro | |
#grub rescue > initrd /initrd.img | |
#grub rescue > boot | |
yes . . .yes .. . ubuntu nya mulai nge-boot . . | |
tunggu ampe login dan masuk desktop ubuntu nya | |
3. Nah terakhir untuk membuat boot nya permanen biar "grub rescue>" tidak muncul lagi | |
masuk terminal | |
#sudo su | |
#masuin password | |
# sudo grub-install /dev/sda | |
#sudo update-grub | |
Selesai . . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Saya cuma muncul 4 partisi doang gan...