| « Registering a SAMBA Solaris 10 server as a MS AD member | Debian unstable, CUPS 1.4.1: Sharing printers » |
Multiboot on a x86 server - Choose the OS to be booted from the command line
Here is a little quick and dirty script which allows to choose the OS that will be booted from the command line.
The script has been written to work with RedHat Linux (Some updates will be required to match the use of GRUB2.
The idea of this script is simply to create a grub.conf file from grub.conf files found on the different disks on the server (Ooops, I’ve forgotten to say this: One and only one OS is installed per disk - for now
) and set the default entry to the one chosen by the user.
Find the script here: rem_reboot.pl
Testing the user id has been added to exit the script before actually running it if not run as root