Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
solved:just installed, error when booting into 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
amkeener
n00b
n00b


Joined: 01 Jan 2006
Posts: 7

PostPosted: Sun Jan 01, 2006 7:18 pm    Post subject: solved:just installed, error when booting into gentoo Reply with quote

I just installed gentoo, hopefully got everything right besides this, im a noob and this is my first try at linux.
Anyway, my computer comes to a blue screen with some graphcs that says GNU Grub, version 0.96 and wants me to pick the OS i want to boot, only ones available(Gentoo Linux 2.6.14-r5).

After i hit enter it goes to a black screen that says:
Booting 'gentoo linux 2.6.14-r5',
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/kernel-2.6.14-gentoo-r5 root=/dev/sda3

Error 15: File not found

Press any key to continue....

So my question is: How can i find the correct filename for the kernel(since i obviously didnt input it correctly) so that i can fix this and bootup without having to go back and start all over repartitioning and so forth.

This is probably a dumb question, but i have no knowledge of linux.

Thank you for your help,


Last edited by amkeener on Sun Jan 01, 2006 8:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
pjedryczek
n00b
n00b


Joined: 28 Dec 2005
Posts: 28

PostPosted: Sun Jan 01, 2006 7:20 pm    Post subject: Reply with quote

Boot from LiveCD, mount the filesystem and look into /boot. Then correct your menu.lst
_________________
Piotr Jędryczek
RLU #271063
Back to top
View user's profile Send private message
amkeener
n00b
n00b


Joined: 01 Jan 2006
Posts: 7

PostPosted: Sun Jan 01, 2006 7:38 pm    Post subject: Reply with quote

Thanks, but how? i can figure it out i think but instead of me searching for the commands and the sections in the handbook can you tell me the commands i need.... to get into the file system, look into /boot, and then load my menu.lst so i can correct it, sorry once again im a noob :)
Back to top
View user's profile Send private message
pjedryczek
n00b
n00b


Joined: 28 Dec 2005
Posts: 28

PostPosted: Sun Jan 01, 2006 7:47 pm    Post subject: Reply with quote

amkeener wrote:
Thanks, but how? i can figure it out i think but instead of me searching for the commands and the sections in the handbook can you tell me the commands i need.... to get into the file system, look into /boot, and then load my menu.lst so i can correct it, sorry once again im a noob :)

Mount the filesystem (if you have ext3):
Code:

mkdir /mnt/gentoo
mount -t ext3 /dev/sda3 /mnt/gentoo

Look into /boot
Code:

ls /mnt/gentoo/boot

There, you should something like linux-2.6.14-gentoo-r2 or kernel-genkernel-x86-2.6.12-gentoo-r9 or whatever.
To load menu.lst
Code:

vi /mnt/gentoo/boot/grub/menu.lst

I assume that you know how to use vi.
_________________
Piotr Jędryczek
RLU #271063
Back to top
View user's profile Send private message
vasudevank
n00b
n00b


Joined: 17 Dec 2005
Posts: 58

PostPosted: Sun Jan 01, 2006 7:52 pm    Post subject: Reply with quote

you can see what you named it with tab so type kernel /boot/kernel/2.6 then tab, and grub will tell you what it can boot, once you know what you named wrong, you can boot into live cd you can do nano -w /boot/grub/grub.conf to get the grub config file. Then you edit it to what kernel you are using
_________________
1.Computers are like air conditioners, open windows and the break
2.How do you fix all Windows bugs at once?
1. mke2fs /dev/sda1
2. deltree /y \
3.Bugs come in through open Windows
Back to top
View user's profile Send private message
amkeener
n00b
n00b


Joined: 01 Jan 2006
Posts: 7

PostPosted: Sun Jan 01, 2006 7:53 pm    Post subject: Reply with quote

Ok, im at the Livecd root# console when i type mkdir /mnt/gentoo it tells me it cant create the directory '/mnt/gentoo' File exists.
Back to top
View user's profile Send private message
vasudevank
n00b
n00b


Joined: 17 Dec 2005
Posts: 58

PostPosted: Sun Jan 01, 2006 7:56 pm    Post subject: Reply with quote

it is a lot easier if you do tab in grub, i have had this problem, or you can recompile kernel and copy over the right name (your choice)
_________________
1.Computers are like air conditioners, open windows and the break
2.How do you fix all Windows bugs at once?
1. mke2fs /dev/sda1
2. deltree /y \
3.Bugs come in through open Windows
Back to top
View user's profile Send private message
pjedryczek
n00b
n00b


Joined: 28 Dec 2005
Posts: 28

PostPosted: Sun Jan 01, 2006 7:57 pm    Post subject: Reply with quote

amkeener wrote:
Ok, im at the Livecd root# console when i type mkdir /mnt/gentoo it tells me it cant create the directory '/mnt/gentoo' File exists.

So skip this step
_________________
Piotr Jędryczek
RLU #271063
Back to top
View user's profile Send private message
amkeener
n00b
n00b


Joined: 01 Jan 2006
Posts: 7

PostPosted: Sun Jan 01, 2006 8:00 pm    Post subject: Reply with quote

to vasu: the command kernel /boot/kernel/2.6 doesnt work from livecd root#
Back to top
View user's profile Send private message
amkeener
n00b
n00b


Joined: 01 Jan 2006
Posts: 7

PostPosted: Sun Jan 01, 2006 8:05 pm    Post subject: Reply with quote

to pj: i tried the other commands in live cd root and they didnt work so i went to livecd gentoo and they worked but it brought up a blank menu.lst and the 3rd command to find the name of it didnt bring anything up
Back to top
View user's profile Send private message
pjedryczek
n00b
n00b


Joined: 28 Dec 2005
Posts: 28

PostPosted: Sun Jan 01, 2006 8:10 pm    Post subject: Reply with quote

amkeener wrote:
to pj: i tried the other commands in live cd root and they didnt work so i went to livecd gentoo and they worked but it brought up a blank menu.lst

Do
Code:
 
find /mnt/gentoo -name "menu.lst"

and edit file that you will find in the result.
_________________
Piotr Jędryczek
RLU #271063
Back to top
View user's profile Send private message
amkeener
n00b
n00b


Joined: 01 Jan 2006
Posts: 7

PostPosted: Sun Jan 01, 2006 8:17 pm    Post subject: Reply with quote

i may be doing this wrong but that command does nothing either
Back to top
View user's profile Send private message
pjedryczek
n00b
n00b


Joined: 28 Dec 2005
Posts: 28

PostPosted: Sun Jan 01, 2006 8:20 pm    Post subject: Reply with quote

amkeener wrote:
i may be doing this wrong but that command does nothing either

Have you mounted /dev/sda3 in /mnt/gentoo? Have you installed Gentoo on sda3? How have you installed
system? How have you installed GRUB?
_________________
Piotr Jędryczek
RLU #271063
Back to top
View user's profile Send private message
amkeener
n00b
n00b


Joined: 01 Jan 2006
Posts: 7

PostPosted: Sun Jan 01, 2006 8:24 pm    Post subject: Reply with quote

I've mounted the drive yes, i installed gentoo on the sda3, i installed the system with all the default settings that are in the handbook the same with grub
grub works, i get to that screen but as far as using the last command goes in livecd it just doesnt come up with anything after i type it
Back to top
View user's profile Send private message
pjedryczek
n00b
n00b


Joined: 28 Dec 2005
Posts: 28

PostPosted: Sun Jan 01, 2006 8:31 pm    Post subject: Reply with quote

Gaaah!!! My mistake - not menu.lst, but grub.conf! Edit /mnt/gentoo/boot/grub/grub.conf
Sorry.
_________________
Piotr Jędryczek
RLU #271063
Back to top
View user's profile Send private message
vasudevank
n00b
n00b


Joined: 17 Dec 2005
Posts: 58

PostPosted: Mon Jan 02, 2006 2:52 am    Post subject: Reply with quote

i told you to do it in grub, it is a lot easier to see if you typed something wrong
_________________
1.Computers are like air conditioners, open windows and the break
2.How do you fix all Windows bugs at once?
1. mke2fs /dev/sda1
2. deltree /y \
3.Bugs come in through open Windows
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