1 |
Please put your message after the previous poster in order to maintain |
2 |
threadedness, and edit the message for brevity, and set your mailer to |
3 |
use a "> " string as comment_string. |
4 |
|
5 |
* Pyott, Albert R [Pyott@×××××.gov] [2002-10-19 08:06 -0400]: |
6 |
|
7 |
> > > Could someone share a good, simple yaboot.conf script? I'm not |
8 |
> > > installing any other OS. Just Linux. Nothing fancy. |
9 |
> > |
10 |
> > Sure. Here ya go. |
11 |
> > |
12 |
[snip] |
13 |
> > boot=/dev/hda9 |
14 |
> > device=hd: |
15 |
> > partition=13 |
16 |
> > root=/dev/hda13 |
17 |
> > timeout=30 |
18 |
> > macos=hd:11 |
19 |
> > install=/usr/lib/yaboot/yaboot |
20 |
> > magicboot=/usr/lib/yaboot/ofboot |
21 |
> > |
22 |
> > image=/vmlinux |
23 |
> > label=Linux |
24 |
> > read-only |
25 |
> |
26 |
> I tried several scripts just like this one. So my yaboot.conf seems to |
27 |
> be ok. After the second boot prompt when I choose the linux kernel, I |
28 |
> get tossed into open firmware. OF has the correct boot partition set. |
29 |
> My root dir. has /boot, which has vmlinux in it. I don't have the |
30 |
> symlink to /vmlinux though. |
31 |
> |
32 |
> Whatever ybin put on the boot partition is all I have there. No kernel |
33 |
> images or anything. |
34 |
|
35 |
I think we need to see your /etc/yaboot.conf and /etc/fstab. My |
36 |
suspicion is that you have a separate partition for boot but are not |
37 |
mounting it before you copy to /boot and so vmlinux ends up in /boot |
38 |
(the mount point on your root partition and not /dev/hdaX, the |
39 |
partition assigned as partition=X in your yaboot.conf). Also boot= is |
40 |
the bootstrap partition and not /boot and should never be mounted. |
41 |
|
42 |
Perhaps this will clear things up (from my set-up): |
43 |
|
44 |
# my /boot partition is /dev/hda14 this contains my various kernels |
45 |
zsh% cat /etc/fstab| egrep boot | align |
46 |
/dev/hda14 /boot ext3 noatime 0 0 |
47 |
|
48 |
# my bootstrap is /dev/hda2 .. this is the first partition after the |
49 |
# partition_map |
50 |
zsh% egrep "^boot" /etc/yaboot.conf |
51 |
boot=/dev/hda2 |
52 |
|
53 |
# my partition (the partition containing kernels) in yaboot.conf is |
54 |
# /dev/hda14 as you see from the above fstab |
55 |
zsh% egrep "^partition" /etc/yaboot.conf |
56 |
partition=14 |
57 |
|
58 |
HTH |
59 |
|
60 |
cal |