Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
silo.conf sample in install instructions is misleading
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Thu Oct 30, 2003 4:00 pm    Post subject: silo.conf sample in install instructions is misleading Reply with quote

In the install instructions it is suggested that /boot be it's own
partition. If this is the case, you must copy silo.conf to /boot
and run silo -C /boot/silo.conf . There is a hint about that in
tiny type that I didn't parse mentally proper.

However, there is a mistake in the doc. It suggests we are using
a separate /boot partition and then says that the file will
be at /boot/vmlinux. That would be true if /boot was on the same
partition as /, but since it is not, that should be /vmlinux,
because it is relative to the /boot partition, not /

This is a common error I've also seen in the software RAID howto.
If RAID is compiled into the kernel, then it is the same deal for
a separate boot partition - you don't use /boot/vmlinux , but
rather /vmlinux in the silo.conf arguments.

As someone suggested, you can test what it should be, if you
have an error finding the image, by entering different things on
the silo line:

SILO: /vmlinux root=/dev/sda4
or
SILO: /boot/vmlinux root=/dev/sda4

I wonder how many of the "won't boot" reports in these forums are
related to these errors in the docs.

Even better would be two paths in the install docs. One for separate /boot
and one for /boot on same partition as / .
Back to top
View user's profile Send private message
dougm
n00b
n00b


Joined: 30 Sep 2003
Posts: 64
Location: France

PostPosted: Thu Oct 30, 2003 10:31 pm    Post subject: Reply with quote

I hate to tell you, but I'm using a seperate boot partition, and my silo.conf is root=/dev/hda4 and image=/boot/vmlinux, even though boot is /dev/hda1, and it's at the root of the partition.. The boot image IS relative to the root partition, but it reads the fstab from the root partition to find out which is the correct partition for the kernel...
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Fri Oct 31, 2003 1:40 am    Post subject: Reply with quote

You should have a symlink in /boot/boot -> /boot .
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Fri Oct 31, 2003 2:31 pm    Post subject: Ah ha Reply with quote

I did find a sym link in /boot yesterday, and deleted it.

It looked like one of those dumb links that are left behind
when I get the target/source reversed with ln -s and I deleted it.

I thought I saw

boot -> boot

But based on what you say, it could have been

boot -> /boot

I find the order of ln args reverse to my expectations
so I'm in a habit of deleting stuff I find that looks like I've
goofed.

I'm surprised it is done this way (depending on a sym link).

I am correct that the path in my silo.conf is accurate,
it is just that everyone else using the /boot/vmlinux is
depending on that symlink.

I suppose there is a reason to do it that way, but I don't know of one.
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Fri Oct 31, 2003 2:52 pm    Post subject: Reply with quote

It's done that way to allow screwups to happen without breaking stuff.
Back to top
View user's profile Send private message
novasoy
n00b
n00b


Joined: 30 Apr 2004
Posts: 18
Location: Louisville, KY

PostPosted: Tue May 11, 2004 3:41 am    Post subject: OK, once more, with feeling Reply with quote

n00b here with some SILO related problems that I think this thread could fix. I just need some translation. I am trying to install on a SPARC Ultra10. The docs discourage the creation of a boot partition, so for me / and /boot are on the same partition. So what should my silo.conf look like?
_________________
Bookcrossing rocks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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