Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]First Gentoo Installation: Error 15 Amd64 Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
JmpEax
n00b
n00b


Joined: 07 Oct 2012
Posts: 24

PostPosted: Sun Oct 07, 2012 8:19 am    Post subject: [Solved]First Gentoo Installation: Error 15 Amd64 Gentoo Reply with quote

Hello,

I am new to the Gentoo Discussion Forums, so I guess this is my introduction as well.

So I decided it is time I install Gentoo and join the master-race, and after a couple tries with different errors, I have decided to ask for help on one error that I have been experiencing for a while now.

It is specially error 15: file not found.

First off: I am using the official Gentoo AMD64 guide, and I have read each word/sentence and yet still can not get this to become a successful installation.

I know before you can help me, you will need some information, but I am not sure what you need from me in order to help me out the most.

I truly appreciate the help, as this is rather hair-pulling; but I want to tough it out.

Result of ls /mnt/gentoo:
Code:
ls /mnt/gentoo
bin  dev  home  lib32  lost+found  mnt  portage-latest.tar.bz2  root  sbin
boot  etc  lib  lib64  media     opt  proc   run   stage3-amd64-20120917.tar.bz2



My ls -l boot
Code:

-rw-r--r-- 1 root root 1899350 Oct 6 18:57 System.map-genkernel-x86_64-3.4.9-gentoo
drwxr-xr-x 2 root root 1024 Oct 7 05:55 boot
drwxr-xr-x 2 root root 1024 Oct 7 07:50 grub
-rw-r--r-- 1 root root 3230761 Oct 6 19:07 initramfs-genkernel-x86_64-3.4.9-gentoo
-rw-r--r-- 2 root root 3393840 Oct 7 07:39 kernel-3.4.9-gentoo
-rw-r--r-- 1 root root 3320016 Oct 6 18:57 kernel-genkernel-x86_64-3.4.9-gentoo
drwxr-xr-x 2 root root 1024 Sep 17 04:19 lib32
drwx------ 2 root root 12288 Oct 6 22:15 lost+found



My grub.conf file:
Code:

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 3.4.9
root (hd0,0)
kernel /boot/kernel-3.4.9-gentoo root=/dev/sda3
initrd /boot/initramfs-genkernel-x86_64-3.4.9-gentoo

title Gentoo Linux 3.4.9 (rescue)
root (hd0,0)
kernel /boot/kernel-3.4.9-gentoo root=/dev/sda3 init=/bin/bb

Also on a side note: I've searched/still searching via forums/google/documentation about the error. I've tried many things yet, nothing has fixed it. It is rather strange.


Last edited by JmpEax on Tue Oct 09, 2012 5:26 am; edited 1 time in total
Back to top
View user's profile Send private message
JmpEax
n00b
n00b


Joined: 07 Oct 2012
Posts: 24

PostPosted: Sun Oct 07, 2012 8:54 am    Post subject: Reply with quote

Also my grub screen after the error 15: has lines everywhere. Like little dots that make up lines.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sun Oct 07, 2012 10:37 am    Post subject: Reply with quote

JmpEax wrote:
Also my grub screen after the error 15: has lines everywhere. Like little dots that make up lines.


Should have been first thing to said, who is giving you error 15 :)

There's a special thread for grub error, you better use it, as every grub specialist crawling it will get a forum post waking them up.
Or you might just get your answer reading it : https://forums.gentoo.org/viewtopic-t-918364-start-0-postdays-0-postorder-asc-highlight-.html
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54098
Location: 56N 3W

PostPosted: Sun Oct 07, 2012 11:27 am    Post subject: Reply with quote

JmpEax,

Welcome to Gentoo.

Grub works by loading the files you tell it in grub.conf into RAM.
There are three files listed in grub.conf
Code:
/boot/grub/splash.xpm.gz
/boot/kernel-3.4.9-gentoo
/boot/initramfs-genkernel-x86_64-3.4.9-gentoo


At least one of these files cannot be found in your /boot
Thats what Error 15 means

Its normally a mispelt filename in grub.conf but in your case its more subtle.
Your /boot should contain a recursive symlink
Code:
lrwxrwxrwx 1 root root       1 Apr 12  2009 boot -> .
which you need for booting. I'll spare you the reason why just now.
Mount your root and boot partitions
cd into your boot and do
Code:
ln -s . boot


grub is supposed to install that symlink for you.

This will allow you to progress to your next Gentoo learning experience.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
JmpEax
n00b
n00b


Joined: 07 Oct 2012
Posts: 24

PostPosted: Sun Oct 07, 2012 5:26 pm    Post subject: Reply with quote

Thanks for the reply everyone.

Alright, so for some reason I thought it would be the symlink because it did return an error when I used
Code:
ln -s . boot
ln: failed to create symbolic link 'boot/.' File exists


I'm trying to search for someone that has experienced a similiar error and also reading about symlinks; but so far I can not find anything that can help my gentoo installation process.

Quick note: I mounted my /mnt/gentoo as well as /mnt/gentoo/boot
Is the /mnt/gentoo/boot the boot directory I should be in? Not the normal livecd /boot/ right?

Thanks for the replies everyone. And also while I await a reply, I'll try deleting /boot/. and seeing if I can create a symlink again.

Edit: Actually after doing a little research I believe I actually have to be in the root /boot/ directory that is empty.
But now when I run ln -s . boot, I get a "Read-only file system" error.

I will chmod 755 /boot and see if I can then create a symlink.


2nd Edit: Alright. That did not work. Maybe it is the /mnt/gentoo/boot directory that I have to do it in. But now I need to figure out why it says "." already exists.
I also figured out that in my /mnt/gentoo/boot directory is another folder called /boot/. Maybe this is the problem.




YESSS!!!! After doing a bit of research I figured it out Gentoo now loads. I am very pleased. I would like to thank everyone that has helped me!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum