LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2013, 05:53 PM   #1
mahuika88
LQ Newbie
 
Registered: Apr 2013
Posts: 1

Rep: Reputation: Disabled
Stupid Mistake. Partitions no longer recognized by anything.


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:
Code:
No partitions
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!
 
Old 04-25-2013, 11:46 AM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,166

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
First, the option you chose is not the best one. It's far simpler to boot Windows from Linux than the other way around.

Secondly, if you're really a beginner, you don't want Arch: it's intended for experienced users. I've used computers for over 30 years and seen 102 distributions, but the first time I installed Arch it took me all day, and the second time I lost my internet connection and never got it back.

Get Mint or PCLinuxOS. Create 3 Linux partitions: / /home swap. Put Grub on the MBR. And all will be well.
 
Old 04-25-2013, 12:03 PM   #3
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Boot from the Arch live CD and get connected to the internet, mount your arch partition and gain full rights to it by using the chroot command.
Re install GRUB to the sda partition, not to the sda1.
then reboot.

Look steps by steps to this guide before you do anything http://lifehacker.com/5680453/build-...in-the-process

Check this thread out too http://www.linuxquestions.org/questi...al-4175458947/

Good luck to you
 
Old 04-25-2013, 06:31 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,846

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Nope and nope.

This is a Win8 box - gpt and probably M$ofts secure boot.

Seems like the OP has the experience level for Arch - being a bit better at actually reading the doco would be a decided benefit. Having trashed the boot-loader, and then converted the gpt partition table to MBR mode I would consider this an "educational exercise".
Try testdisk on it just to see if it works (maybe the 6.14 beta).

Then blow the lot away and re-install from scratch.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] stupid mistake js johnh10000 Programming 1 10-11-2009 07:04 AM
Dual boot problem because of stupid mistake randomguy Linux - General 1 08-26-2006 12:03 PM
Made stupid mistake with modprobe.preload Dillius Linux - Laptop and Netbook 2 01-30-2005 10:00 PM
added new HD as master, partitions on old drives are no longer recognized blames Linux - Hardware 2 12-21-2004 05:54 PM
Stupid Mistake, WPC54G, not WPC11 Rv5 Red Hat 1 09-02-2003 02:50 PM


All times are GMT -5. The time now is 05:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration