autoinstall with grub

Jerry Geis jerry.geis at gmail.com
Wed Feb 3 16:31:20 UTC 2021


how do I tell autoinstall file when installing grub to install on teh MBR
and not the partition ?

Currently I am doing this:
  storage:
    layout:
      name: direct

or I have tried this also
 storage:
    version: 1
    layout:
      name: direct
    grub:
      install_devices:
        - disk0
    swap:
      size: 0
    config:
      - id: disk0
        type: disk
        match:
          size: largest
        ptable: mbr
        wipe: superblock
      - id: disk0-boot
        type: partition
        device: disk0
        size: 512MB
      - id: disk0-root
        type: partition
        device: disk0
        size: -1
      - id: disk0-boot-fs
        type: format
        volume: disk0-boot
        fstype: ext4
      - id: disk0-root-fs
        type: format
        volume: disk0-root
        fstype: ext4
      - id: disk0-boot-mount
        type: mount
        device: disk0-boot-fs
        path: "/boot"
      - id: disk0-root-mount
        type: mount
        device: disk0-root-fs
        path: "/"

But I need to "overwrite" the CentOS 7 MBR - how do I do that ?
Thanks,

jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210203/81d9395d/attachment.html>


More information about the ubuntu-users mailing list