You are not logged in.

#1 2011-02-04 05:14:29

bilgee0629
Member
Registered: 2011-01-29
Posts: 57

Arch Linux & Windows

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

#2 2011-02-04 05:33:28

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Arch Linux & Windows

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

#3 2011-02-04 05:33:36

unilx
Member
From: Fredericton,Canada
Registered: 2009-10-01
Posts: 183

Re: Arch Linux & Windows

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

#4 2011-02-04 05:37:21

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Arch Linux & Windows

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

#5 2011-02-04 09:04:42

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: Arch Linux & Windows

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

Board footer

Powered by FluxBB