Ik heb een probleem met een Debian preseed install en software RAID.
Grub wil niet installeren op een partitie die aangemaakt is.
De partities worden wel netjes aangemaakt en zijn ook te zien als ik na de installatie een live cd opstart.
Ik krijg de foutmelding: Executing 'grub-install /dev/sda' failed. (zie ook het screenshot)
Terwijl ik toch aangeef dat Grub op /dev/sda1 en /dev/sdb2 moet en niet op /dev/sda
Preseed file: (alleen partitie / grub gedeelte)
Wie weet de oplossing?Code:d-i partman-auto/method string raid d-i partman-auto/disk string /dev/sda /dev/sdb d-i partman-auto-raid/recipe string \ 1 2 0 ext3 /boot \ /dev/sda1#/dev/sdb1 \ . \ 1 2 0 lvm - \ /dev/sda5#/dev/sdb5 \ . # In the expert_recipe, there is a stanza for each RAID partition # and each LVM partition. # The RAID partitions are tagged as "lvmignore", while # the LVM logical volumes as "defaultignore" and "lvmok". # The RAID partition containing the LVM volumes must be made big # enough to hold them all. # Note that in the example shown here the mountpoint for /boot # (which is not encapsulated within LVM) is specified in the # partman-auto-raid recipe, rather than in the corresponding # raid partition definition below. # d-i partman-auto/expert_recipe string \ multiraid :: \ 100 512 256 raid \ $lvmignore{ } \ $primary{ } \ method{ raid } \ . \ 900 5000 4000 raid \ $lvmignore{ } \ method{ raid } \ . \ 700 5000 4000 ext3 \ $defaultignore{ } \ $lvmok{ } \ method{ format } \ format{ } \ use_filesystem{ } \ filesystem{ ext3 } \ mountpoint{ / } \ . \ 64 512 300% linux-swap \ $defaultignore{ } \ $lvmok{ } \ method{ swap } \ format{ } \ . \ 100 1000 1000000000 ext3 \ $defaultignore{ } \ $lvmok{ } \ method{ format } \ format{ } \ use_filesystem{ } \ filesystem{ ext3 } \ mountpoint{ /home } \ . ## Partitioning using RAID # The method should be set to "raid". d-i partman-auto/method string raid # This makes partman automatically repartition without confirmation. d-i partman-md/confirm boolean true d-i partman-md/confirm_nooverwrite boolean true d-i partman-partitioning/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true d-i partman-basicfilesystems/no_mount_point yes #d-i grub-installer/only_debian boolean true #d-i grub-installer/with_other_os boolean true #d-i grub-pc/install_devices multiselect /dev/sda1 /dev/sdb1 d-i partman/mount_style select label d-i grub-installer/only_debian boolean false d-i grub-installer/with_other_os boolean false d-i grub-installer/bootdev string /dev/sda1 /dev/sdb1

Likes:


Quote
