This Blog is protected by DMCA.com

This Blog is protected by DMCA.com

qRbQCE31NMrtFvtKOB4Z5hNkGEPLdMi5yDIujADC

Kali Linux: Masalah dengan 'grub-pc' failed to install into /target/

Kali Linux: Masalah dengan 'grub-pc' failed to install into /target/

Jika anda memperoleh error berikut:
grub-pc failed to install into /target/

Solusi

Yang perlu kita lakukan adalah boot ke liveusb kali linux. Chroot ke disk system:
sudo mount /dev/sdaX /mnt          
sudo mount --bind /dev /mnt/dev    
sudo mount --bind /dev/pts /mnt/dev/pts   
sudo mount --bind /sys /mnt/sys    
sudo mount -t proc /proc /mnt/proc 
sudo chroot /mnt /bin/bash
mount -a
Tambahkan debian squeeze repository
vim /etc/apt/source.list
tambahkan
## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb ftp://ftp.fr.debian.org/debian/ squeeze main contrib  non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
# avant squeeze : deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb ftp://ftp.fr.debian.org/debian/ squeeze-updates main contrib  non-free
#optionnel :
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
save

Lakukan apt-get update
apt-get update
Install grub
apt-get install grub-pc
Pilih /dev/sda disk untuk install. Update grub file dari running config
update-grub
Akan keluar kira-kira:
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.18.0-kali3-amd64
Found initrd image: /boot/initrd.img-3.18.0-kali3-amd64

Related Posts

Related Posts

Posting Komentar