[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: RHEL rescue mode via PXE boot
- From: "Robinson, Andrew W." <andrew w robinson mms gov>
- To: "'wolf2k5'" <wolf2k5 gmail com>, "'Discussion of Red Hat Enterprise Linux 3 (Taroon)'" <taroon-list redhat com>
- Cc:
- Subject: RE: RHEL rescue mode via PXE boot
- Date: Tue, 10 May 2005 08:04:16 -0600
> From: wolf2k5 [mailto:wolf2k5 gmail com]
>
> On 5/9/05, Joshua Jensen <joshua iwsp com> wrote:
> > *anything* that can get you do anaconda (the installer) can
> get you to
> > rescue 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]