You are not logged in.
Pages: 1
GRUB was wiped by Win 7. Totally forgot about it when i was installing. I have tried to restore it myself but im just getting more confused. Right now the Win 7 bootloader is working fine but i want to get into Arch soon.
I have tried the stuff on the arch wiki -Reinstalling GRUB, but its not working . I keep getting an error 17 "Cannot mount this partition". All i can tell so far is this:
1) Its the second partition in my boottable (/boot). So that makes it (hd0,1) right? (in accordance to grub)
2) Its dev name is sda4
3) I only have one hard drive.
I have used the arch 2009.02 images to bootup the live system and done { grub - root (hd0) - setup (hd0,1) }. This gives no stage1 files found. Could this be because both my /boot and / are ext4?
Can someone please help me out. I really need to get Arch running again.
Last edited by b0uncyfr0 (2009-08-16 12:17:58)
Offline
If you're certain the partition is the #2 one, it should be /dev/sda2 not /dev/sda4 - your partition table is screwed up.
Do this:
Boot w/ the arch cd, log in as root, then
# fdisk /dev/sda
Once you're in fdisk, enter e[x]tra/expert mode, [f]ix the partition order, then [w]rite the table and exit. You'll do this by three keys, X, F, W. Now exit fdisk.
Now reinstall grub on your MBR:
# grub
grub> root (hd0,1)
grub> setup (hd0)
grub> quit
You'll need to add a chainloader line to your /grub/menu.lst to get into windows 7...
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thank you. It worked wonderfully.
Offline
Glad it worked
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Pages: 1