Edit The Boot Loader File - Novell LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE 7-2007 Administration Manual

Table of Contents

Advertisement

Make sure to replace sda1, sda2, and sda3 with the device names you used for your partitions.
IMPORTANT: When working in the /etc/fstab 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.
1 Open the /etc/fstab file in a text editor.
2 Locate the line that contains the /boot partition.
3 In the Device Name column, modify the mount location of the /boot partition from /dev to
4 Repeat
5 Save the file.
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 /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
24
SLES 10 Storage Administration Guide
For example, if your /boot partition uses device sda1 and the Reiser file system, look for a
line similar to this:
/dev/sda1 /boot reiser defaults 1 1
/dev/evms so it can be managed by EVMS. Modify only the device name by adding /evms
to the path:
/dev/evms/sda1 /boot reiser defaults 1 1
Step 2
and
Step 3
partitions.
For example, change /dev/sda2 to /dev/evms/sda2, and change /dev/sda3 to /
dev/evms/sda3.
The changes do not take effect until the server is restarted. Do not restart at this time.
Section 2.2.4, "Edit the Boot Loader File," on page
of /dev/.
3a Select the boot loader image file, then click Edit.
3b Edit the device path in the Root Device field.
to edit the Device Name entry in the lines for the swap and root (/)
24.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE 7-2007 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Suse linux enterprise server 10 storage

Table of Contents