Post by Joshua JensenPost by Joshua Jensen*anything* that can get you do anaconda (the installer) can
get you to
Post by Joshua Jensenrescue mode. Rescue mode is *part of* anaconda.
Then, how can I switch from anaconda install mode to rescue mode?
Once you have started booting into install mode, you cannot switch to rescue
mode. You specify the "rescue" at the boot prompt.
The original question was how to do this with pxe boot. The answer is to
have a second (or separate) entry in the
/tftpboot/linux-install/pxelinux.cfg/default file that specifies the
"rescue" option and have a corresponding entry in the
/tftpboot/linux-install/msgs/boot.msg file so you have a menu entry to
activate the rescue mode. My boot.msg and default files are setup so I can
select to install from one of four versions of Red Hat Enterprise Linux or
boot into rescue mode from three of those versions:
/tftpboot/linux-install/pxelinux.cfg/default:
default local
timeout 100
prompt 1
display msgs/boot.msg
F1 msgs/boot.msg
F2 msgs/general.msg
F3 msgs/expert.msg
F4 msgs/param.msg
F5 msgs/rescue.msg
F7 msgs/snake.msg
label local
localboot 1
label 0
localboot 1
label 1
kernel rhel21/vmlinuz
append initrd=rhel21/initrd.img ramdisk_size=10000
label 2
kernel rhel3/vmlinuz
append initrd=rhel3/initrd.img ramdisk_size=10000
label 3
kernel rhel3u4/vmlinuz
append initrd=rhel3u4/initrd.img ramdisk_size=10000
label 4
kernel rhel4r1/vmlinuz
append initrd=rhel4r1/initrd.img ramdisk_size=10000
label 5
kernel rhel21/vmlinuz
append initrd=rhel21/initrd.img ramdisk_size=10000 rescue
label 6
kernel rhel3u4/vmlinuz
append initrd=rhel3u4/initrd.img ramdisk_size=10000 rescue
label 7
kernel rhel4r1/vmlinuz
append initrd=rhel4r1/initrd.img ramdisk_size=10000 rescue
/tftpboot/linux-install/msgs/boot.msg:
09Welcome to 0cRed Hat Network09 Installer!07
0a
.-=-. .--.
__ .' '. / " )
_ .' '. / .-. \ / .-'0c\0a
( \ / .-. \ / / \ \ / / 0c^0a
\ `-` / \ `-' / \ `-` /
`-.-` '.____.' `.____.'
07
Enter number of the Operation System you wish to install:
0. Local Machine
Interactive Installations:
1. RHEL 2.1 Update 4
2. RHEL 3 Update 3
3. RHEL 3 Update 4
4. RHEL 4 Release 1
Rescue Modes:
5. RHEL 2.1 ES U4 Rescue Mode
6. RHEL 3 ES U4 Rescue Mode
7. RHEL 4 ES R1 Rescue Mode
Andrew