Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
First install ----> Need help
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 12:22 pm    Post subject: First install ----> Need help Reply with quote

Hi all,


I just finished my first installl, but gentoo don't want to boot :-/ , After the grub splash screen an error message comes :

Booting "Gentoo Linux"

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-2.4.22 root=/dev/ram0 real_root=/dev/hda3 init =/linuxrc

Error 15: File not found

Press any key to continue...

is the error in the grub.conf file? If yes how can I fixe it?

thx for help...
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 12:39 pm    Post subject: Reply with quote

My grub.conf file:

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

title=Mon exemple Gentoo Linux (genkernel récent)
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.4.22 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
initrd (hd0,0)/boot/initrd-2.4.22

How to check the kernel version I installed? How can i edit my grub.conf file?
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 1:43 pm    Post subject: Reply with quote

Have you a separate bootpartition?
In that case post the partition table
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 2:11 pm    Post subject: Reply with quote

Device Boot Start End Blocks Id System
/dev/hda1 * 1 14 105808+ 83 Linux
/dev/hda2 15 81 506520 82 Linux swap
/dev/hda3 82 3876 28690200 83 Linux

that's my boot tyble....
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 2:16 pm    Post subject: Reply with quote

then you have to remove /boot from your grub.conf
In your case:
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Mon exemple Gentoo Linux (genkernel récent)
root (hd0,0)
kernel (hd0,0)/kernel-2.4.22 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
initrd (hd0,0)/initrd-2.4.22
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 2:28 pm    Post subject: Reply with quote

thnx... but how can i open the grub.conf file to fix it?
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 2:36 pm    Post subject: Reply with quote

boot from the install cd
mount partitions, chroot
then nano -w /boot/grub/grub.conf
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 2:52 pm    Post subject: Reply with quote

One more problem.... when i want to save the grub.conf file there is a message:

Could not open file fo writing: no such file ordirectory....

what's wrong?
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 2:56 pm    Post subject: Reply with quote

So you were able to open your original grub.conf file after mounting hda1 and hda3?
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 3:00 pm    Post subject: Reply with quote

No i think this file doesn't exist.... i can't find it.... i think i did something wrong during the install (maybe not saved!?)

When i make the nano -w /boot/grub/grub.conf it's a empty file....
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 3:03 pm    Post subject: Reply with quote

what if you do this:
ls /boot

an

ls /boot/grub

And sure you mounted hda1?
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 3:09 pm    Post subject: Reply with quote

it seems to be empty... nothing in boot... grub doesn't exist
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 3:13 pm    Post subject: Reply with quote

just to be sure: what gives:

ls /
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 3:16 pm    Post subject: Reply with quote

bin boo boot dev etc home lib mnt opt proc root sbin tmp usr var
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 3:22 pm    Post subject: Reply with quote

Seems ok, but if ls /boot shows nothing ..
here has to be your kernel and your grub directory
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 3:23 pm    Post subject: Reply with quote

i made a second time the command grub with this settings:

grub> root (hd0,0)
grub> setup (hd0)
grub> quit

now i have in the folder boot:
grub

and in grub:
e2fs_stage1_5 etc and grub.conf.sample
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 3:25 pm    Post subject: Reply with quote

make now your grub.conf file like described and where is your bzImage?
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 3:30 pm    Post subject: Reply with quote

What's the bzimage?
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 3:33 pm    Post subject: Reply with quote

that is your kernel, how did you made yourkernel, by genkernel or by manual configuration?
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 3:34 pm    Post subject: Reply with quote

by genkernel all
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 3:39 pm    Post subject: Reply with quote

I'm not familiar with genkernel (I don't use it)
I suppose if you did that without errors it has to be ok
which does me make thinking that you hda1 is not mounted, you are sure this is the case?
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 3:44 pm    Post subject: Reply with quote

What did you mean with mounted. Just the command mount /dev/hda1 /mnt/gentoo in the liveCD console?
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Feb 08, 2004 3:47 pm    Post subject: Reply with quote

mount /dev/hda1 /mnt/gentoo/boot
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 3:51 pm    Post subject: Reply with quote

with the command mount /dev/hda1 /mnt/gentoo/boot

this message appears : mount: mount point /mnt/gentoo/boot does not exist
Back to top
View user's profile Send private message
NewB
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 224

PostPosted: Sun Feb 08, 2004 3:55 pm    Post subject: Reply with quote

Hey i just saw your from belguim.... do you talk french? it would be easyer for 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
Goto page 1, 2  Next
Page 1 of 2

 
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