You are not logged in.
Hi All
I currently have a dual boot windows 7 & Arch system and i have to wipe the Windows partition and reinstall. But i am still confused as to how to reinstall Grub once i have reinstalled windows 7. The wiki post is not longer available and have not found anything that explains what i need to do ... So can anyone point me in the right direction or explain what i need to do ?
Many Thanks
Last edited by whitetimer (2011-01-03 15:48:49)
Offline
I think the easiest solution is to chroot into your arch install after you finish with the windows install. Then it should be fairly easy to reinstall grub to the mbr.
For chroot check out https://wiki.archlinux.org/index.php/Chroot
And for grub this should help you on the way: https://wiki.archlinux.org/index.php/Grub
Hope this helps.
MadEye | Registered Linux user #167944 since 2000-02-28 | Homepage
Offline
To be clear, you should use the live CD to boot the system if you are unable to boot into Arch after Windows rapes your MBR.
*does a quick search*
This should help: https://bbs.archlinux.org/viewtopic.php?pid=88002
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Or you can use sysrescd: http://www.sysresccd.org/Sysresccd-Part … maged-Grub
Offline
https://wiki.archlinux.org/index.php/In … Fdev_nodes
Feel free to use my setup_chroot script after you boot from a live CD to do it:
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks for the advice ... The LiveCD, do you mean the normal 'Install from Net iso' as i cant seem to see the LiveCD for download ?
Offline
# FLAWLESS GRUB REINSTALL GUIDE BY DARKBEANIES ASSUMING YOU USE EXT3 FILESYSTEM
# 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 ext3 /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 ext3 /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!
Why oh why was this page removed from the wiki I do not know...
Live CDs of various flavours available HERE: (Don't you have the CD or whatever you used to install to begin with?)
http://www.archlinux.org/download/
Last edited by darkbeanies (2011-01-02 17:24:55)
Offline
@ darkbeanies
Yes i do, i just wanted to clarify that the installation cd was infact the LiveCD
Many Thanks
Offline
@whitetimer
Yes, both the net and core installation CDs are live CDs.
@darkbeanies
Please use code tags for code.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
All Sorted
Many Thanks
Last edited by whitetimer (2011-01-03 15:48:26)
Offline