> Package: fai-client
> Version: 2.10.1
> 
> I have a disk_config like the following:
> 
> disk_config disk1
> primary     /boot           50-100      rw              ; -c -j ext2
> primary     /               1000-       rw              ; -j ext3
> logical     swap            100-999     rw
> 
> The intent is that the client should be booted off the /boot partition
> which has to be located in the beginning of the disk. The reason is
> because the disk is old and it is only possible to boot off the first
> part of it.
> 
> The client instead seem to try booting off the second partiton, mounted at /:
> 
> root (hd0,4)
>  Filesystem type is ext2fs, partition type 0x83
> kernel /vmlinuz-2.6.8-3-386 root=/dev/hda5 ro
> 
> Error 15: File not found
> 
> Press any key to continue...
> 
> By manually changing root (hd0,4) to root (hd0,0) it is possible for
> me to get the client to boot.
>

First of all, it should probably read "logical" instead of "primary" for your /
partition, given the output of grub is correct. 

On the other hand, it should suffice to add the "boot" option to the /boot -
configuration, so it looks like 

primary     /boot           50-100      rw              ; -c -j ext2 boot

Thereby 
- it is marked bootable
- a variable is set to tell the GRUB postinst-script, which partition to use as
  a GRUB root device.

Alternatively, you could also modify the files in
<configspace>/files/boot/grub/menu.lst/ as needed.

HTH,
Michael

Attachment: signature.asc
Description: Digital signature

Reply via email to