Edit The Boot Loader File - Novell LINUX ENTERPRISE SERVER 10 SP2 - STORAGE ADMINISTRATION GUIDE 05-15-2009 Administration Manual

Table of Contents

Advertisement

IMPORTANT: When working in the
in the file. This is a configuration file, and it is highly sensitive to such mistakes.
1 Open the
2 Locate the line that contains the
For example, if your
similar to this:
/dev/sda1 /boot reiser defaults 1 1
3 In the Device Name column, modify the mount location of the
dev/evms
the path:
/dev/evms/sda1 /boot reiser defaults 1 1
4 Repeat
partitions.
For example, change
.
sda3
5 Save the file.
The changes do not take effect until the server is restarted. Do not restart at this time.
6 Continue with

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
You must edit the boot loader file to modify the mount location of partitions so they are mounted
under the
/dev/evms
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
2 In Yast, select System > Boot Loader.
3 Modify the boot loader image so that the root file system is mounted as
/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
24
SLES 10 SP2: Storage Administration Guide
file in a text editor.
/etc/fstab
partition uses device sda1 and the Reiser file system, look for a line
/boot
so it can be managed by EVMS. Modify only the device name by adding
Step 2
and
Step 3
to edit the Device Name entry in the lines for the
/dev/sda2
Section 2.2.4, "Edit the Boot Loader File," on page
/boot/grub/menu.1st
directory. For example, change /dev/sda1 to /dev/evms/sda1. Make sure to
user or equivalent.
root
.
file, do not leave any stray characters or spaces
/etc/fstab
partition.
/boot
to
, and change
/dev/evms/sda2
file. For LILO, this is the
partition from
/boot
/dev
/evms
and root (
swap
to
/dev/sda3
/dev/evms/
24.
file.
/etc/lilo.conf
instead of
/dev/evms/
to
/
to
)
/

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents