View previous topic :: View next topic |
Author |
Message |
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
tom-snj n00b
Joined: 19 Apr 2006 Posts: 23 Location: clayton, nj
|
Posted: Sun Apr 23, 2006 3:40 am Post subject: |
|
|
Thanks for the reply and the explanation. Unfortunately, I still get the grub; "error 15". All the files are where their supposed to be, just wondering where I may have gone wrong??
Someone mentioned to me that installing gentoo will give me insight into linux and how it works (coming from a windows background). I must agree and glad that I did..... Still looking to get the box to boot properly!
Regards,
Tom |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sun Apr 23, 2006 5:18 am Post subject: |
|
|
Tom,
please post the exact error you get and the previous 5 to 10 lines.
You should look carefully at your /boot partition, because the error 15 is caused by an error in the file names. Boot with the live-cd, mount your partitions, don't forget to mount /boot and look at the output of
Code: | # ls -l /mnt/gentoo/boot |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54446 Location: 56N 3W
|
Posted: Sun Apr 23, 2006 10:48 am Post subject: |
|
|
tom-snj,
There are 3 lines in grub.conf that contain file names, these are
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
kernel (hd1,0)/2.6.16-gentoo-r1 root=/dev/md1 lapic
initrd (hd1,0)/initrd-2.6.16-gentoo-r1
The above samples are from my grub.conf. The parts in bold correspond with filenames in /boot
The names are arbitary but the files that grub looks for must be there or you get an Error 15 file not found.
Grub and all linux is case sensitive too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
tom-snj n00b
Joined: 19 Apr 2006 Posts: 23 Location: clayton, nj
|
Posted: Sun Apr 23, 2006 2:25 pm Post subject: |
|
|
Thank you, jmbsvicetto and NeddySeagoon for bringing to my attention and forcing me to see the error of my ways. You were both correct; I had the kernel file name wrong. It was a glaring mistake too. My initial grub.conf file read:
/boot/kernel-2.6.12-r6
when it should have read:
/boot/kernel-2.6.12-gentoo-r6
It was sitting there the whole time, staring me square in the face and I failed to recognize it, till your posts forced to re-examine the file.
Thanks for the assistance. I can now continue with section B of the handbook; Working with Gentoo!
Regards,
Tom |
|
Back to top |
|
|
superlaundry n00b
Joined: 09 Apr 2006 Posts: 65
|
Posted: Mon Apr 24, 2006 2:43 pm Post subject: Error 13 |
|
|
I don't know if this has come up before, but I get an error 13:
Code: | root (hd0,1)
Filesystem type is extfs, partition type 0x83
kernel /boot/linux-2.6.16-gentoo-r3 root=/dev/sda4
Error 13: Invalid or unsupported executable format |
It worked for a while, but then this came up when I try to boot.
boot is /dev/sda2
root is /dev/sda4
swap is /dev/sda3
Thanks for the help |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54446 Location: 56N 3W
|
Posted: Mon Apr 24, 2006 5:11 pm Post subject: |
|
|
superlaundry,
Grub is claining that the file /boot/linux-2.6.16-gentoo-r3 exists but is in a format it does not understand.
Thats a newish kernel, did 2.6.13-r3 ever work?
Post please, so we can see the dates and sizes of your kernel files. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
superlaundry n00b
Joined: 09 Apr 2006 Posts: 65
|
Posted: Tue Apr 25, 2006 12:05 am Post subject: |
|
|
nevermind, got it to work.
i recopied the kernel-source from the /usr/src/linux to /boot |
|
Back to top |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Tue Apr 25, 2006 1:50 am Post subject: |
|
|
The whole source tree ??? Hardly a reasonable resolution ...
Where this has been reported before, it's generally because the wrong file has been copied across after the build. Usually just a matter of redoing the copy of the kernel image. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54446 Location: 56N 3W
|
Posted: Tue Apr 25, 2006 9:52 am Post subject: |
|
|
syg00,
Hmm ... a clean kernel source tree is 250Mb, then you have all the *.o files and the actual working kernel file will be in the wrong place .. I think thats what superlaundry really ment. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Requisition Tux's lil' helper
Joined: 29 Apr 2006 Posts: 117
|
Posted: Sat Apr 29, 2006 2:50 am Post subject: GRUB Errors |
|
|
While installing GRUB through the regular grub-install automatic method I got to errors throughout the process.
end_request: I/O error, dev fd0, sector 0
and
Buffer I/O error, on device fd0, logical block 0
Now at the end of the install it said this:
Install finished. No error reported.
My questions are this:
1) Is it ok and should I proceed with the install anyway?
2) If not, is there something I can do to fix this error and run grub-install again?
3) Should I go ahead and manually install GRUB?
Thanks in advance for any help! |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Sat Apr 29, 2006 4:18 am Post subject: |
|
|
You are fine. Those errors are produced when grub tries to scan a floppy disk and there isn't one in the drive.
Move along. Nothing to see here. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
PMcCauley Apprentice
Joined: 14 Mar 2006 Posts: 283 Location: Alberta, Canada
|
Posted: Sat Apr 29, 2006 4:20 am Post subject: |
|
|
You could use the --no-floppy switch to disable grub from trying to check floppies.
Patrick |
|
Back to top |
|
|
Requisition Tux's lil' helper
Joined: 29 Apr 2006 Posts: 117
|
Posted: Sat Apr 29, 2006 4:34 am Post subject: |
|
|
I do have a floppy drive though. I hope this dosen't cause any future problems.
Thanks both of you! |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Sat Apr 29, 2006 4:45 am Post subject: |
|
|
It doesn't cause any problems. It just scanned the floppy drive as it was creating the /boot/grub/device.map file. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
Requisition Tux's lil' helper
Joined: 29 Apr 2006 Posts: 117
|
Posted: Sat Apr 29, 2006 5:14 am Post subject: |
|
|
Thanks for the help! |
|
Back to top |
|
|
Requisition Tux's lil' helper
Joined: 29 Apr 2006 Posts: 117
|
Posted: Sat Apr 29, 2006 5:54 am Post subject: Error 19 |
|
|
Unfourunatly I have a new problem I have to deal with. When I try to boot into Gentoo for the first time I receive this error:
root (hd0,0)
filesystem type is ext2fs, partition type 0x83
initrd /boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r3
Error 19: linux kernel must be loaded before initrd
Is there anyway to fix this without me having to go through a whole reinstall again?
Thanks in advance. |
|
Back to top |
|
|
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
|
Back to top |
|
|
swooshOnLn l33t
Joined: 28 Feb 2006 Posts: 741 Location: Charlotte, North Carolina
|
Posted: Sat Apr 29, 2006 7:01 am Post subject: |
|
|
post your /boot/grub/grub.conf _________________ "WARNING: you may LOL"
This is my font size, color, and signature. It will change to whatever I pick. How cool is that?
|
|
Back to top |
|
|
Requisition Tux's lil' helper
Joined: 29 Apr 2006 Posts: 117
|
Posted: Sat Apr 29, 2006 2:45 pm Post subject: |
|
|
Already checked there and didn't find my error listed.
swooshOnLn wrote: | post your /boot/grub/grub.conf |
How would I do this?(given the current state it's in)
It can't be by putting the CD back in. When I put the CD in the first this I did was open with nano( nano -w /boot/grub/grub.conf) the file was blank. I tried to chroot out of the live CD to my Gentoo install, but I couldn't. Is there some step that I'm missing here? |
|
Back to top |
|
|
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
Posted: Sat Apr 29, 2006 3:03 pm Post subject: |
|
|
Already checked there and didn't find my error listed.
There is
root (hd0,0)
filesystem type is ext2fs, partition type 0x83
initrd /boot/initramfs-genkernel-x86_64-2.6.15-gentoo-r7
Error 19: linux kernel must be loaded before initrd
In accord with this you should make changes in your grub.config.
Code: | I tried to chroot out of the live CD to my Gentoo install, but I couldn't. Is there some step that I'm missing here? |
I do it this way
chroot /mnt/hda9
mount /dev/sda9 /mnt/gentoo
chroot /mnt/gentoo
You can do it in a simmilar way. |
|
Back to top |
|
|
Requisition Tux's lil' helper
Joined: 29 Apr 2006 Posts: 117
|
Posted: Sat Apr 29, 2006 3:17 pm Post subject: |
|
|
mirojira wrote: |
I do it this way
chroot /mnt/hda9
mount /dev/sda9 /mnt/gentoo
chroot /mnt/gentoo
You can do it in a simmilar way. |
I tried doing it that way but, when I tried the first command it says that there is no such file or directory.(I did try different HD numbers from just hda to hda10. Nothing worked) |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sat Apr 29, 2006 3:46 pm Post subject: |
|
|
There are two ways to do it. Hard way and easy way. After you failed doing it hard way, I'd recommend doing it easy way now.
Boot up with any Linux LiveCD.
Mount your boot partition (or root partition if you do not have separate boot):
mount /dev/hdax /mnt ##x is the number of your boot (or root) partition.
Now edit your grub.conf:
nano -w /mnt/grub/grub.conf (or nano -w /mnt/boot/grub/grub.conf)
That's it. |
|
Back to top |
|
|
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
Posted: Sat Apr 29, 2006 3:53 pm Post subject: |
|
|
Sorry. The first command should be mount no chroot. And last one probably chroot /mnt/gentoo /bin/bash.
But I am not absolutelly sure. I have not used it quite a long time. But you can follow Gentoo Handbook, man pages or
Howtoo's on gentoo-wiki.org. And do not forget to use right name of your hard partitions (sdaX, hdaX...) |
|
Back to top |
|
|
Requisition Tux's lil' helper
Joined: 29 Apr 2006 Posts: 117
|
Posted: Sat Apr 29, 2006 4:43 pm Post subject: |
|
|
On the first steps of both your methods I get the error that it can't find it(mount /mnt/hda* or mount /dev/hda*/mnt) in /ect/fsatb or /etc/mtab.
What should I do? |
|
Back to top |
|
|
|