This repository has been archived on 2022-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
appliances-old/nextcloud/installgrub.sh

13 lines
258 B
Bash
Raw Normal View History

2017-09-12 09:31:20 +02:00
#!/bin/sh
mount -t proc proc /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo cat /grub.shell | /sbin/grub --no-floppy --batch
umount /mnt/gentoo/proc
umount /mnt/gentoo/sys
umount /mnt/gentoo/dev