Yaboot failing with JFS in primary partition

Markus Baertschi markus at markus.org
Wed Mar 29 06:31:58 EST 2006


Paul Nasrat wrote:
>> The messages I get are the following:
>> Config file read, 32768 bytes
>> Config file error: Token is too long near line 0 in file /etc/yaboot.conf
>> Syntax error or read error config
>>     
>
> That smells like OF is reading it.
>
> Paul
>   
What is OF ?

Just some more things:
To modify stuff I edit lilo.conf and run lilo. Lilo will convert 
lilo.conf into yaboot.conf and call yaboot to install it.
The resulting yaboot.conf is only 573 bytes, not 32768 bytes like above 
message says.

[root at bg-sn01] # ls -l /etc/lilo.conf /etc/yaboot.conf
-rw-------  1 root root 686 Mar  6 16:12 /etc/lilo.conf
-rw-r--r--  1 root root 573 Mar  6 16:16 /etc/yaboot.conf
[root at bg-sn01] # cat /etc/lilo.conf
# Modified by YaST2. Last modification on Mon Feb 20 16:54:48 2006


default = Linux_2.6.5-7.201
timeout = 300
boot = /dev/sda1
activate

image = /boot/vmlinux
    ###Don't change this comment - YaST2 identifier: Original name: linux###
    label = linux
    root = /dev/sda3
    initrd = /boot/initrd
    append = "selinux=0 elevator=cfq"

image = /boot/vmlinux-2.6.5-7.201-pseries64
  label = Linux_2.6.5-7.201
  root = /dev/sda3
  initrd = /boot/initrd-2.6.5-7.201-pseries64
  append = "selinux=0 elevator=cfq"

image = /boot/vmlinux-2.6.5-7.97-pseries64
  label = Linux_2.6.5-7.97
  root = /dev/sda3
  initrd = /boot/initrd-2.6.5-7.97-pseries64
  append = "selinux=0 elevator=cfq"

[root at bg-sn01] # cat /etc/yaboot.conf
# header section
partition = 3
timeout = 300
default = Linux_2.6.5-7.201
# image section
image = /boot/vmlinux
    label = linux
    root = /dev/sda3
    append = "selinux=0 elevator=cfq"
    initrd = /boot/initrd
image = /boot/vmlinux-2.6.5-7.201-pseries64
    label = Linux_2.6.5-7.201
    root = /dev/sda3
    append = "selinux=0 elevator=cfq"
    initrd = /boot/initrd-2.6.5-7.201-pseries64
image = /boot/vmlinux-2.6.5-7.97-pseries64
    label = Linux_2.6.5-7.97
    root = /dev/sda3
    append = "selinux=0 elevator=cfq"
    initrd = /boot/initrd-2.6.5-7.97-pseries64

Markus

-- 
  Markus Baertschi             Phone: ++41 (21) 807 1677
  Bas du Rossé 14b             Fax  : ++41 (21) 807 1678
  CH-1163, Etoy                Email: markus at markus.org
  Switzerland                  Homepage: www.markus.org




More information about the Yaboot-devel mailing list