View previous topic :: View next topic |
Author |
Message |
Necrom n00b
Joined: 16 Jul 2003 Posts: 5
|
Posted: Sat Jul 19, 2003 2:16 pm Post subject: Lilo problem |
|
|
I've been following the intructions on how to install Gentoo from http://www.gentoo.org/doc/en/gentoo-x86-install.xml
When I get to the configuring Lilo section I emerge lilo, I configure lilo following the example. I exchange hda for hdc:
boot= /dev/hdc
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
lba32
default=linux
image=/boot/bzImage
label=linux
read-only
root=/dev/hda3
#For dual booting windows/other OS
other=/dev/hda1
label=dos
This las t section I left out because I'm not doing a double boot system
After this I try to run Lilo using the code provided:
# /sbin/lilo
once I do this it gives me a warning that it which video driver to use but it also gives me an error:
fatal: open /boot/bzImage: No such file or directory
So I thought that I had to replace bzImage with the kernel I was using so I changed it to:
image = /boot/gentoo
But it game the same mistake. Whats going on did I do a mistake? |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Sat Jul 19, 2003 2:41 pm Post subject: |
|
|
You've mounted boot yes? In your /boot their should be a kernel. In the Code: | make dep && make clean make bzImage modules modules_install | what did you specify instead of bzImage if anything? What did you copy it as to your mounted /boot?
If you have a /boot partition of course you need to reduce the path to things in it from /boot/bzImage to /bzImage as at boot its mounted on its own and not as a subtree of root.
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
hagmann n00b
Joined: 30 May 2003 Posts: 4
|
Posted: Sun Jul 20, 2003 9:31 pm Post subject: |
|
|
puggy wrote: | You've mounted boot yes? In your /boot their should be a kernel. In the Code: | make dep && make clean make bzImage modules modules_install | what did you specify instead of bzImage if anything? What did you copy it as to your mounted /boot?
If you have a /boot partition of course you need to reduce the path to things in it from /boot/bzImage to /bzImage as at boot its mounted on its own and not as a subtree of root.
Puggy |
I have the same problem as Necrom, but I am a linux n00b and did not understand a word of what you just said. Could you take it step-by-step.
I have read the manual, and I have also tried to install Gentoo sewveral times, but is stopps when I come to /sbin/lilo. |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Sun Jul 20, 2003 10:05 pm Post subject: |
|
|
hagmann wrote: | puggy wrote: | You've mounted boot yes? In your /boot their should be a kernel. In the Code: | make dep && make clean make bzImage modules modules_install | what did you specify instead of bzImage if anything? What did you copy it as to your mounted /boot?
If you have a /boot partition of course you need to reduce the path to things in it from /boot/bzImage to /bzImage as at boot its mounted on its own and not as a subtree of root.
Puggy |
I have the same problem as Necrom, but I am a linux n00b and did not understand a word of what you just said. Could you take it step-by-step.
I have read the manual, and I have also tried to install Gentoo sewveral times, but is stopps when I come to /sbin/lilo. |
All I've said here is that it is possible to not name your kernel "bzImage" and if you do name it something else that change must be reflected in you lilo configuration. The kernel's name is dictated by whatever name you put in the place of bzImage in the Code: | make dep && make clean make bzImage modules modules_install |
If you boot the livecd, mount / and /boot and mount proc and swapon. Then enter the chroot by doing the Code: | chroot /mnt/gentoo /bin/bash | then give me the result of the following...
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
|