View previous topic :: View next topic |
Author |
Message |
mjpuczko n00b
Joined: 18 Feb 2004 Posts: 17
|
Posted: Sat Feb 21, 2004 11:07 pm Post subject: problem booting!@!! |
|
|
so i followed all the steps from installation guide, rebooted & got this error:
root (hd0,0)
filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-1.4 root=/dev/hda3
Error is: file not found
help!!! |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Sat Feb 21, 2004 11:11 pm Post subject: |
|
|
If hd0,0 is your boot partition your kernel is probably on the root of it and not in a directory called boot. |
|
Back to top |
|
|
mjpuczko n00b
Joined: 18 Feb 2004 Posts: 17
|
Posted: Sat Feb 21, 2004 11:13 pm Post subject: |
|
|
how can i find that? when i reboot, the options i have are:
select entry (only 1) to boot selected OS
e to edit commands before booting
a to modify kernel arguments
c for command line |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Sat Feb 21, 2004 11:15 pm Post subject: |
|
|
I haven't played much with grub (are you using grub?) but if you know where your kernel is you could try the e option. If you have the livecd you could boot from that, mount the drive, see where the kernel is and edit your config file to match that. |
|
Back to top |
|
|
mjpuczko n00b
Joined: 18 Feb 2004 Posts: 17
|
Posted: Sat Feb 21, 2004 11:17 pm Post subject: |
|
|
yes, i am using grub. |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Sat Feb 21, 2004 11:18 pm Post subject: |
|
|
Do you have the livecd? Can you try one of my suggestions? |
|
Back to top |
|
|
mjpuczko n00b
Joined: 18 Feb 2004 Posts: 17
|
Posted: Sat Feb 21, 2004 11:22 pm Post subject: |
|
|
i put in the livecd & now i'm at the cdimage root#: prompt
i typed: ls /mnt/cdrom/distfiles/
is this the version:
NVIDIA_kernel-1.0-4363.tar.gz?
so it'd be version 1.0
Last edited by mjpuczko on Sat Feb 21, 2004 11:26 pm; edited 1 time in total |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Sat Feb 21, 2004 11:26 pm Post subject: |
|
|
Ok, let's try mounting your boot partition. I'm going to assume it is hda1 but if it's not you'll need to subtitute hda1 with your boot partition. First you could "mkdir /mnt/gentoo/boot" Then "mount /dev/hda1 /mnt/gentoo/boot" Then "ls /mnt/gentoo/boot" Tell me what you see. Im hope I wrote the commands correctly as it is night here and I'm a bit sleepy.
edit: That is a package. So that's not your kernel. Try mounting your boot partition, your kernel should be there if you followed the installation guide. |
|
Back to top |
|
|
mjpuczko n00b
Joined: 18 Feb 2004 Posts: 17
|
Posted: Sat Feb 21, 2004 11:29 pm Post subject: |
|
|
disregard my last post, i followed what you just wrote. here's what i see:
System.map System.map-2.4.20-gentoo-r6 boot grub (then on same line...)
initrd-2.4.20-gentoo-r6 kernel-2.4.20-gentoo-r6 |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Sat Feb 21, 2004 11:31 pm Post subject: |
|
|
Ok, this looks good. Did you use genkernel when compiling your kernel? Can you do "nano -w /mnt/gentoo/boot/grub/grub.conf"? |
|
Back to top |
|
|
mjpuczko n00b
Joined: 18 Feb 2004 Posts: 17
|
Posted: Sat Feb 21, 2004 11:34 pm Post subject: |
|
|
yes i did use that. i'll try now:
okay, there it says:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
# If you're using a GRP genkernel, use something like this instead:
title=My Gentoo Linux (genkernel)
root (hd0,0)
kernel (hd0,0)/boot/kernel-1.4 root=/dev/hda3
initrd (hd0,0)/boot/initrd-1.4
change the 1.4 to 2.4.20? |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Sat Feb 21, 2004 11:37 pm Post subject: |
|
|
title=My Gentoo Linux (genkernel)
root (hd0,0)
kernel (hd0,0)/kernel-2.4.20-gentoo-r6 root=/dev/hda3
initrd (hd0,0)/initrd-2.4.20-gentoo-r6
Try putting it like that. Then save the file, "umount /dev/hda1", "reboot" and see what happens (don't forget to take the cd out first). |
|
Back to top |
|
|
mjpuczko n00b
Joined: 18 Feb 2004 Posts: 17
|
Posted: Sat Feb 21, 2004 11:47 pm Post subject: |
|
|
it loaded fine, but when i go to log in it says:
webserver (what i named the hostname) login:
i type in matt (the day-to-day user)
then the password
says no such file or directory (something along those lines) |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Sat Feb 21, 2004 11:50 pm Post subject: |
|
|
Hmm, this sound weird. Can you log in as root? I have never seen anything like that so I might not be the best person to help you on this new problem. |
|
Back to top |
|
|
mjpuczko n00b
Joined: 18 Feb 2004 Posts: 17
|
Posted: Sat Feb 21, 2004 11:52 pm Post subject: |
|
|
yes, root works. logging in as root gets me to:
webserver root #: |
|
Back to top |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Sat Feb 21, 2004 11:54 pm Post subject: |
|
|
Can you try deleting your user matt and creating him again? You can delete users with "userdel matt". Then remake him as in the installation guide "useradd matt -m -G users,wheel,audio -s /bin/bash"
edit: typo
edit2: I'm going to bed. Hope you have fun with your new installation and get things working. |
|
Back to top |
|
|
|