Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Christian Rebischke
arch-boxes
Commits
76e09d55
Unverified
Commit
76e09d55
authored
Oct 13, 2019
by
Christian Rebischke
Browse files
added switch for grub-install
Signed-off-by:
Christian Rebischke
<
chris@nullday.de
>
parent
c6d4ffc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
http/install-chroot.sh
View file @
76e09d55
...
...
@@ -74,6 +74,10 @@ systemctl enable systemd-networkd
systemctl
enable
systemd-resolved
systemctl
enable
pacman-init.service
grub-install
if
[
-b
"/dev/sda"
]
;
then
grub-install /dev/sda
elif
[
-b
"/dev/vda"
]
;
then
grub-install /dev/vda
fi
sed
-i
-e
's/^GRUB_TIMEOUT=.*$/GRUB_TIMEOUT=1/'
/etc/default/grub
grub-mkconfig
-o
/boot/grub/grub.cfg
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment