View previous topic :: View next topic |
Author |
Message |
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 12:22 pm Post subject: First install ----> Need help |
|
|
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 |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 12:39 pm Post subject: |
|
|
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 |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 1:43 pm Post subject: |
|
|
Have you a separate bootpartition?
In that case post the partition table |
|
Back to top |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 2:11 pm Post subject: |
|
|
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 |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 2:16 pm Post subject: |
|
|
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 |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 2:28 pm Post subject: |
|
|
thnx... but how can i open the grub.conf file to fix it? |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 2:36 pm Post subject: |
|
|
boot from the install cd
mount partitions, chroot
then nano -w /boot/grub/grub.conf |
|
Back to top |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 2:52 pm Post subject: |
|
|
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 |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 2:56 pm Post subject: |
|
|
So you were able to open your original grub.conf file after mounting hda1 and hda3? |
|
Back to top |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 3:00 pm Post subject: |
|
|
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 |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 3:03 pm Post subject: |
|
|
what if you do this:
ls /boot
an
ls /boot/grub
And sure you mounted hda1? |
|
Back to top |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 3:09 pm Post subject: |
|
|
it seems to be empty... nothing in boot... grub doesn't exist |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 3:13 pm Post subject: |
|
|
just to be sure: what gives:
ls / |
|
Back to top |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 3:16 pm Post subject: |
|
|
bin boo boot dev etc home lib mnt opt proc root sbin tmp usr var |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 3:22 pm Post subject: |
|
|
Seems ok, but if ls /boot shows nothing ..
here has to be your kernel and your grub directory |
|
Back to top |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 3:23 pm Post subject: |
|
|
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 |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 3:25 pm Post subject: |
|
|
make now your grub.conf file like described and where is your bzImage? |
|
Back to top |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 3:30 pm Post subject: |
|
|
What's the bzimage? |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 3:33 pm Post subject: |
|
|
that is your kernel, how did you made yourkernel, by genkernel or by manual configuration? |
|
Back to top |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 3:34 pm Post subject: |
|
|
by genkernel all |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 3:39 pm Post subject: |
|
|
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 |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 3:44 pm Post subject: |
|
|
What did you mean with mounted. Just the command mount /dev/hda1 /mnt/gentoo in the liveCD console? |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Feb 08, 2004 3:47 pm Post subject: |
|
|
mount /dev/hda1 /mnt/gentoo/boot |
|
Back to top |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 3:51 pm Post subject: |
|
|
with the command mount /dev/hda1 /mnt/gentoo/boot
this message appears : mount: mount point /mnt/gentoo/boot does not exist |
|
Back to top |
|
|
NewB Apprentice
Joined: 08 Feb 2004 Posts: 224
|
Posted: Sun Feb 08, 2004 3:55 pm Post subject: |
|
|
Hey i just saw your from belguim.... do you talk french? it would be easyer for me! |
|
Back to top |
|
|
|