Created
May 1, 2021 14:53
-
-
Save MinmoTech/0ebd1ee4bf4c9270c399b83062f6762e to your computer and use it in GitHub Desktop.
grub menu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
exec tail -n +3 $0 | |
# This file provides an easy way to add custom menu entries. Simply type the | |
# menu entries you want to add after this comment. Be careful not to change | |
# the 'exec tail' line above. | |
menuentry "Boot from second disk and see it as first disk" { | |
set root=(hd1) | |
drivemap -s hd0 hd1 | |
chainloader +1 | |
} | |
menuentry "Boot from third disk and see it as first disk" { | |
set root=(hd2) | |
drivemap -s hd0 hd2 | |
chainloader +1 | |
} | |
menuentry "Boot from fourth disk and see it as first disk" { | |
set root=(hd3) | |
drivemap -s hd0 hd3 | |
chainloader +1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment