LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-29-2012, 01:10 AM   #1
Master_CAPS
Member
 
Registered: Mar 2012
Location: I live at ::1 usually...
Distribution: Yes.
Posts: 55

Rep: Reputation: Disabled
ARCH linux not booting because of partitions


Basically I followed this exactly http://www.youtube.com/watch?v=HtTt6...eature=related

And everything was successful and than I reboot and grub loads, than arch wont boot, and says this:
Code:
"error no such device" ad4103....."
"loading linux core repo kernel"
"error: no such partition"
"loading initial ramdisk"
"error: you need to load the kernel first"
The only thing I found "odd" with my instillation was when I:
Code:
genfstab -f /mnt >> /mnt/etc/fstab
which displayed 5 partitions (two sda3 and two sda1 (1 is boot 3 is main))

Other than that I have no idea what went so wrong... How can I go about fixing this?

-------
edit

A splendid thought had just occurred to me; I am going to the shooting range tomorrow and just might just level my frustration with linux by mutilating the hardware...

Last edited by Master_CAPS; 09-29-2012 at 01:57 AM.
 
Old 09-29-2012, 05:42 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
A splendid thought had just occurred to me; I am going to the shooting range tomorrow and just might just level my frustration with linux by mutilating the hardware...
you could do that, but you'll end up getting an other PC, installing ... Linux and you're off again, so save yourself the trouble...

I suspect that youe grub was not installed in the master boot record...maybe a vitit to the wiki could help...

Luck!

Thor
 
Old 09-29-2012, 09:35 AM   #3
Master_CAPS
Member
 
Registered: Mar 2012
Location: I live at ::1 usually...
Distribution: Yes.
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
you could do that, but you'll end up getting an other PC, installing ... Linux and you're off again, so save yourself the trouble...

I suspect that youe grub was not installed in the master boot record...maybe a vitit to the wiki could help...

Luck!

Thor
Here is what I did:
Created 3 partitions (boot, swap, and main)
boot was probably sda1 with boot flag set and formatted for ext4.
next the boot-loader was installed (grub)
Code:
pacstrap /mnt grub-bios
installed the boot-loader:
Code:
grub-mkconfig -o /boot/grub/grubcfg
grub-install /dev/sda
So doesn't that pretty much take care of grub in a nutshell?
Did I miss something when installing grub?
I appreciate any help while I sort through manuals...
 
Old 09-29-2012, 12:16 PM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Just a flake of a thought: is /dev/sda1 mounted under /dev/sda3/boot?
Is there an MBR? Grub has to go there, as you know...

Just thinking out loud...

Thor
 
Old 09-29-2012, 12:47 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
which displayed 5 partitions (two sda3 and two sda1 (1 is boot 3 is main))
You can only have 1 sda1 & sda3.
Post output of
Quote:
fdisk -l
 
1 members found this post helpful.
Old 09-29-2012, 03:08 PM   #6
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
You can only have 1 sda1 & sda3.
Man, I should have seen that one...
 
Old 09-29-2012, 03:31 PM   #7
Master_CAPS
Member
 
Registered: Mar 2012
Location: I live at ::1 usually...
Distribution: Yes.
Posts: 55

Original Poster
Rep: Reputation: Disabled
Well I restarted and now everything is all good except it will still not boot into arch linux.... So sda1 and grub are working, but I guess its not loading sda3 (the main os).

As for MBR I will have to look into this. I know that the hard drive is completly fresh when I started (blank/no other OS's)
so I guess I will have to create some kind of new partition for the MBR? And some how load stuff into this MBR like grub or something...?

Thanks for the help, I never knew cfdisk would create MBR's or even what to do with an MBR... (I assumed setting up grub would do this for me)

I just wanted to test Arch and come out of my ubuntu/Linux Mint hiding place.(since i have 11 garbage computers)

Last edited by Master_CAPS; 09-29-2012 at 03:33 PM.
 
Old 09-30-2012, 01:25 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Post output of
Quote:
fdisk -l
 
Old 09-30-2012, 01:53 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Also post the contents of your /etc/fstab
 
Old 09-30-2012, 02:57 AM   #10
Master_CAPS
Member
 
Registered: Mar 2012
Location: I live at ::1 usually...
Distribution: Yes.
Posts: 55

Original Poster
Rep: Reputation: Disabled
Smile

I think I forgot 1 simple command in here while in the "root environment" I'm not sure which command I entered wrong, but I sure am a happy guy when that login prompt popped right up on the reboot!

The only thing I can think went wrong was me not entering the "locale-gen" and forgetting to make the locale.conf
Other than that I just wiped out all partitions for the 3rd time and started from scratch being extra careful

Anyways I really appreciate your guys help. and here are those files for kicks if it could help anyone googleing this in the future:

fdisk -l
[spoiler]
Code:
Disk /dev/sda: 250.1 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488395055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x88888888

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63     1992059      995998+  83  Linux
/dev/sda2         1992060     5992244     2000092+  82  Linux swap / Solaris
/dev/sda3         5992245   488395054   241201405   83  Linux

Disk /dev/mapper/arch_root-image: 721 MB, 721420288 bytes
255 heads, 63 sectors/track, 87 cylinders, total 1409024 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/arch_usr-lib-modules: 98 MB, 98566144 bytes
255 heads, 63 sectors/track, 11 cylinders, total 192512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/arch_usr-share: 479 MB, 479199232 bytes
255 heads, 63 sectors/track, 58 cylinders, total 935936 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[/spoiler]

And the /mnt/etc/fstab
[spoiler]
Code:
# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid	0	0
# UUID=145d9f89-cc55-4378-a187-1fc696b0ea63
/dev/sda3           	/         	ext4      	rw,relatime,data=ordered	0 1

# UUID=5c251c90-c8d7-42ac-9fef-6d6c13c9fd0a
/dev/sda1           	/boot     	ext4      	rw,relatime,data=ordered	0 2

# UUID=e7f65852-d8fb-4f4e-b32e-33d473e941c2
/dev/sda2           	none      	swap      	defaults  	0 0
[/spoiler]



[spoiler][code]
 
Old 09-30-2012, 06:58 AM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Glad to know you were able to get it running.
 
Old 09-30-2012, 08:18 AM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
If it is working now please mark this thread as solved using the thread tools at the top of the thread.
 
  


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
arch linux booting only read-only ylang Arch 2 09-10-2012 04:49 PM
[SOLVED] Arch Linux mount partitions from PCMANFM--mounting using GUI ubume2 Linux - Newbie 3 06-25-2012 05:35 PM
[SOLVED] Arch Linux - Backup (may have overwritten partitions) Novartum Linux - Newbie 11 03-27-2011 03:48 PM
Dual-booting PCLOS and arch linux blame582 Linux - Distributions 4 11-01-2006 05:13 AM


All times are GMT -5. The time now is 08:39 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