Posting this here because I'm not sure exactly where else it fits. It was also a huge newbie mistake on my part.
I recently bought a new laptop which came with Windows 8 64 bit (Asus K55N). I wanted to dual boot with Arch Linux. So I made 2 partitions, one in EXT4(sda7) and another in FAT32 (sda8). I did this while following the their wiki page on using the Windows Boot Manager to dual boot with Arch here
https://wiki.archlinux.org/index.php...le_Hard_Drives
I ran through nearly the entire process listed in the Arch Beginner's guide when I got to installing GRUB.
First Mistake: As opposed to what the above link states, I installed grub on my MBR partition(sda1) and not my boot partition (sda7).
At this point I reboot and Arch boots up fine from GRUB. So I reboot to check Windows and it isn't happy. It says the MBR is corrupted.
So I start looking for specific Linux instructions for my laptop model. I found this little link
http://ubuntuforums.org/showthread.php?t=2057519(for Ubuntu, but I still felt it applied in this case)
And followed this post using a linux live CD (The Second Mistake):
Quote:
Boot the emergency disk and open a text-mode shell.
Type "gdisk /dev/sda" (change "/dev/sda" to whatever is appropriate to access your hard disk, if necessary). The program is likely to complain that it's found both MBR and GPT data, and will ask which to use. It doesn't matter which you tell it to use.
At the "Command" prompt, type "x" to enter the experts' menu.
At the "Expert command" prompt, type "z" to "zap" (destroy) the GPT data.
Type "y" in response to the confirmation about destroying the GPT.
Type "n" in response to the query about blanking the MBR. Caution: If you answer "y" here, you'll destroy your Windows partition(s)!
|
I realize this was extremely stupid given that 1. I really don't understand MBR/GPT and 2.This didn't really fit my problem.
After reboot at this point GRUB wasn't happy, it booted straight into GRUB rescue mode, I tried some commands but didn't really get anywhere with that. I loaded up the Ubuntu Live CD and scoured my known resources for help. First off, GParted doesn't show any partitions (where initially there were 8)
fdisk returns the error
Code:
"Partition 1 does not start on physical sector boundary"
fixparts returns
Code:
"This disk appears to be a GPT disk. Use GNU parted or GPT fdisk on it!"
gdisk (GPT fdisk)i option returns:
Here is a link for my Boot Info Script output:
http://paste.ubuntu.com/5599252/
I felt that this would be more appropriate here than in the Arch forum since it isn't necessarily an Arch issue, rather it's a Newbie issue. Since it's a new laptop I have no important data on it and don't mind formatting and starting from scratch, but I'm curious to see if there is a way out without having to do that. Thanks for your help and any advice for similar future situations is appreciated!