The liveswap command
This command can be used to change the boot order of hard drives programatically without manually changing the BIOS settings.
Assume a system with the following hard drives:
- hd0 partition 0: Windows
- hd0 partition 3: Linux
- hd1 partition 0: Linux
map (hd0) (hd1) map (hd1) (hd0) liveswap
converts your system (in a temporal way to):
- hd0 partition 0: Linux
- hd1 partition 0: Windows
- hd1 partition 3: Linux
Problems that can be solved with this option
The liveswap command in conjunction with the map command can be used to adjust the BIOS boot order programatically at runtime.
See Samples of custom Boot Scripts for a working example.
- Liveswap is used internally in the EASY LIVESWAP option which it is used in order to boot a Linux system with two hard disks problems.