Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lilo problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Necrom
n00b
n00b


Joined: 16 Jul 2003
Posts: 5

PostPosted: Sat Jul 19, 2003 2:16 pm    Post subject: Lilo problem Reply with quote

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
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Sat Jul 19, 2003 2:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
hagmann
n00b
n00b


Joined: 30 May 2003
Posts: 4

PostPosted: Sun Jul 20, 2003 9:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Sun Jul 20, 2003 10:05 pm    Post subject: Reply with quote

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...
Code:
ls -R


Puggy
_________________
Where there's open source , there's a way.
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
Page 1 of 1

 
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