220 |
$grub_mkimage --output=${grubdir}/core.img $modules || exit 1 |
$grub_mkimage --output=${grubdir}/core.img $modules || exit 1 |
221 |
|
|
222 |
# Now perform the installation. |
# Now perform the installation. |
223 |
$grub_setup --boot-file=${grubdir}/boot.img --core-file=${grubdir}/core.img \ |
$grub_setup --directory=${grubdir} --device-map=${device_map} \ |
224 |
--directory=${grubdir} --device-map=${device_map} || exit 1 |
${install_device} || exit 1 |
225 |
|
|
226 |
# Prompt the user to check if the device map is correct. |
# Prompt the user to check if the device map is correct. |
227 |
echo "Installation finished. No error reported." |
echo "Installation finished. No error reported." |