We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8070798 commit c478965Copy full SHA for c478965
snap
@@ -1,6 +1,6 @@
1
#!/bin/ksh
2
3
-version=1.0.3
+version=1.0.4
4
5
grey="\033[01;30m"
6
red="\033[01;31m"
@@ -423,6 +423,7 @@ msg "${white}Fetching from: ${green}${URL}"
423
424
if [ $NO_INSTBOOT == false ]; then
425
boot_disk=$(sysctl hw.disknames | cut -d= -f2 | cut -d: -f1)
426
+ dmesg | grep "root on" | grep -q $boot_disk || error "Can't detect root disk! Manually run installboot!"
427
msg "Installing bootstrap on ${boot_disk}"
428
installboot -v $boot_disk || error "Something bad happened - check your boot disk!"
429
fi
0 commit comments