24
SLES 10 Storage Administration Guide for EVMS
no
vd
ocx (
E
NU)
9
Jan
uar
y 2
007
2.2.4 Edit the Boot Loader File
When you boot the system, the kernel reads the boot loader file for information about your system.
For Grub, this is the
/boot/grub/menu.1st
file. For LILO, this is the
/etc/lilo.conf
file.
You must edit the boot loader file to modify the mount location of partitions so they are mounted
under the
/dev/evms
directory. For example, change /dev/
sda1
to /dev/evms/
sda1
. Make sure to
replace the path for all lines that contain device paths in the files. You can modify the boot loader
file by editing fields in YaST, or use a text editor to modify the file directly.
IMPORTANT:
When working in the boot loader file, do not leave any stray characters or spaces in
the file. This is a configuration file, and it is highly sensitive to such mistakes.
Using YaST
To modify the boot loader file in the YaST Control Center:
1
Log in as the
root
user or equivalent.
2
In Yast, select
System > Boot Loader
.
3
Modify the boot loader image so that the root file system is mounted as
/dev/evms/
instead
of
/dev/
.
3a
Select the boot loader image file, then click
Edit
.
3b
Edit the device path in the
Root Device
field.
For example, change the
Root Device
value from
/dev/
sda2
to
/dev/evms/
sda2
Replace
sda2
with the actual device on your machine.
3c
Edit any device paths in the
Other Kernel Parameters
field.
3d
Click
OK
to save the changes and return to the Boot Loader page.
4
Modify the failsafe image so that the failsafe root file system is mounted as
/dev/evms/
instead of
/dev/
.
4a
Select the failsafe image file, then click
Edit
.
4b
Edit the device path in the
Root Device
field.
4c
Check the
Other Kernel Parameters
field and make changes if needed.
4d
Click
OK
to save the change and return to the Boot Loader page.
5
Click
Finish
.
6
Continue with
Section 2.2.5, “Force the RAM Disk to Recognize the Root Partition,” on
page 25
.
Using a Text Editor
To edit the boot loader file in a text editor:
1
Log in as the
root
user or equivalent.
Summary of Contents for LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE FOR EVMS
Page 4: ...novdocx ENU 9 January 2007 ...
Page 8: ...8 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Page 10: ...10 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Page 40: ...40 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Page 52: ...52 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Page 74: ...74 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...
Page 84: ...84 SLES 10 Storage Administration Guide for EVMS novdocx ENU 9 January 2007 ...