VirtualBox

Changeset 93957 in vbox


Ignore:
Timestamp:
Feb 25, 2022 5:51:36 PM (3 years ago)
Author:
vboxsync
Message:

Main/Unattended: ​bugref:9781. Pointing grub-install to /dev/sda instead of /dev/default for Ubuntus [14.04, 15.04]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/UnattendedTemplates/ubuntu_preseed.cfg

    r87895 r93957  
    6666d-i grub-installer/only_debian boolean true
    6767
     68@@VBOX_COND[${GUEST_OS_VERSION} vge 14.04 && ${GUEST_OS_VERSION} vle 15.04]@@
    6869# Due notably to potential USB sticks, the location of the MBR can not be
    6970# determined safely in general, so this needs to be specified:
    70 #d-i grub-installer/bootdev  string /dev/sda
     71# grub-install fails on [14.04.0, 15.04] by complaining "not being able to find default".
     72# pointing it to /dev/sda gets around that problem.
     73d-i grub-installer/bootdev  string /dev/sda
     74@@VBOX_COND_ELSE@@
    7175# To install to the first device (assuming it is not a USB stick):
    7276d-i grub-installer/bootdev  string default
     77@@VBOX_COND_END@@
    7378
    7479d-i finish-install/reboot_in_progress note
     
    9196# Seems this doesn't make any difference, so why bother.
    9297#ubiquity ubiquity/download_updates boolean false
    93 
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette