You are not logged in.
Pages: 1
I've got 2 OS, which are xubuntu and arch. I enjoyed arch linux so i wanted to install windows over xubuntu. But my grub is in xubuntu. In arch linux installing method i've faced to install bootloader, but i couldn't install it. So i didn't install grub. Just updated my grub from xubuntu. Now what should i do? I'm scared of losing Arch cuz I've struggled to customize my arch for 3 days
Offline
install grub from Arch
a possible problem is Windows wiping the bootloader when installed
the solution is to install grub after Windows either by
1) booting Arch with help from the live cd
2) chroot
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
You might want to take a look at "super grub disk"
Super Grub Disk is used to repair Grub and the MBR and reinstall on another partition.
It can also restore the original MBR uninstalling Grub for users wishing to leave GNU/Linux, without risk of making the computer unusable after formatting the Linux partition.
http://www.supergrubdisk.org/wiki/SGD_Howto_make
Last edited by unilx (2011-02-04 06:31:04)
Offline
Reinstalling grub is probably the easiest Linux problem to fix; I'd wager most Arch users have done it at some time or another. Just reinstall it from the LiveCD following the instructions in the wiki. It takes two commands and roughly one minute.
Last edited by ANOKNUSA (2011-02-04 05:38:42)
Offline
I have had the same problem in the past and this method works for me everytime
# FLAWLESS GRUB REINSTALL GUIDE BY DARKBEANIES
# Boot arch install cd and login as root, and type the following commands in order,
replacing X and Y values with the number of the partition/disk(MAKE SURE YOU GET THIS RIGHT, ASK IF YOU DON'T KNOW)
cd /
mount -t ext4 /dev/sdaX /mnt
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
#------------------------------------------------------------------------
#IMPORTANT-ONLY IF YOU HAVE SEPARATE BOOT PARTITION
mount -t ext4 /dev/sdaX /boot
#------------------------------------------
#Then try:
grub-install /dev/sdaX
# -WHEN- this fails type this:
grub
root (hdY,X)
setup (hdY)
#Then reboot:
cd /
umount -a
exit
cd /
umount -a
reboot
#That's it!
Good Luck
Offline
Pages: 1