GRUB has been wiped..(Solved)..

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)

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...

Similar Messages

Maybe you are looking for

  • Error in Installing Oracle 10g Express Edition Universal on WIndows2003

    While Installing Oracle 10g XE Universal On WIndows 2003 Server Standard Edition(Which is a standalone Machine). I got an following Error: Error No: 0x80040707 Error Description: DLL Function Call Crashed: GetHostnameDll.getHostname. Plz find some so

  • Find and replace in files does not refresh when changes are made

    Using RH10, I search for a term with the Find and Replace Options pod. I use the Find Results list as a reference only, and open each file from the Topic List. I do this instead of opening the topics from the Find Results tab because I want to see th

  • Output the same size as the cropped video - to Quicktime

    I have cropoped and resized my video and want to export it to quicktime the same as the cropped size. I have tried to follow the instructions at this link, using the Crop button. I followed the instructions:  "To crop the image interactively, drag th

  • An emulator question, about bluetooth

    Hi all, Is there a way to make the emulator to communicate with a real mobilephone via a bluetooth adapter? I want to debug my bluetooth application. Does anyone have idea about this? Developer from China need your help. Thanks! -Jianxu

  • BEX - Virtual key-figure

    Hi gentlemen, I am facing a problem with a BADI that I created for populating a virtual key figure. I simply want to read a masterdata table and populate a key figure. When executing the query, a dump occurs with a very explicit explanation. Unfortun