Problem with GRUB
Olof Mattsson
olof.mattsson at axis.com
Tue Sep 23 11:16:34 CEST 2008
Hi
We are setting up a new FAI installation server for deploying Lenny to
our clients.
The disk partitioning works fine. Were using LVM over softraid.
The problem is that GRUB is not installing correctly. The script
scripts/GRUB/10-setup fails with exitcode 1.
The disk_config we're using looks like this:
disk_config disk1 bootable:1
primary - 512 - -
primary - 0- - -
disk_config disk2 bootable:1
primary - 512 - -
primary - 0- - -
disk_config raid
raid1 /boot sda1,sdb1 ext3 rw,errors=remount-ro
raid1 - sda2,sdb2 ext3 default
disk_config lvm
vg vg0 md1
vg0-swap swap 4096 swap
rw
vg0-local /usr/local 10240 ext3 rw -O
dir_index,resize_inode
vg0-src /usr/src 10240 ext3
rw -O dir_index,resize_inode
vg0-usr /usr 10240 ext3
rw -O dir_index,resize_inode
vg0-var /var 10240 ext3 rw
-O dir_index,resize_inode
vg0-tmp /tmp 2048 ext3
rw -O dir_index,resize_inode
vg0-home /home 102400 ext3
rw -O dir_index,resize_inode
vg0-root / 4096 ext3 rw
-O dir_index,resize_inode
The disk_var.sh looks like this:
SWAPLIST="/dev/mapper/vg0-swap"
BOOT_DEVICE="/dev/sda /dev/sdb"
ROOT_PARTITION=/dev/mapper/vg0-root
BOOT_PARTITION=/dev/md0
There are files missing in /target/boot/grub. After installation it only
contains "default", "device.map" and "menu.lst"
Any suggestions on what I'm doing wrong? And is there a way to fix it...
Brgds
Olof Mattsson
More information about the linux-fai
mailing list