[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compaq 5300 with RH7.2 using Grub
From: |
Allen Bossom |
Subject: |
Compaq 5300 with RH7.2 using Grub |
Date: |
Wed, 2 Oct 2002 17:26:49 +1200 |
Hello GNU team,
I have had a look at the GRUB FAQ, also stepped through
http://www.redhat.com/mirrors/LDP/HOWTO/Kernel-HOWTO-x.html
I had no problems compiling the new kernel (had to make changes to fs.h and
limits.h). Excellent documentation 'cept when you come to the specifics of
GRUB.
NB: /etc/grub is a symbolic link to /boot/grub/grub.conf
Here is my /etc/grub.conf file contents...
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5********************
title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/cciss/c0d0p8
initrd /initrd-2.4.7-10.img
Now, by editing (hit e on Grub screen) after entering grub password, I could
manually edit (as per instruction from Red Hat 7.2 manuals online). By
hitting e on the highlighted (2.4.7-10) I could see the following...
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/cciss/c0d0p8
initrd /initrd-2.4.7-10.img
I then edited the middle line to point to the new kernel (which I had copied
after successful compile) from
/usr/src/linux-2.4.7-10/arch/i386/boot/bzImage to /boot/bzImage.02102002
i.e.
kernel /bzImage.02102002 ro root=/dev/cciss/c0d0p8
Then, as instructed, I hit b (for boot). On boot up I received the
following...
...
.
.
NET4: Unix doamin sockets 1.0/SMP for Linux NET4.0.
ds: no socket drivers loaded!
request module[block-major-104]: Root fs not mounted
VFS: Cannot open root device "cciss/c0d0p8 or 68:08
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 68:08
Now, GRUB was installed as an option on RH7.2 install. There is an
/etc/lilo.conf.anaconda file, though no link (symolic or otherwise) to
/etc/lilo.conf.
Am I right in assuming lilo has nothing to do with the problem given we are
using grub ? In case there is some tie in, here are the contents of
/etc/lilo.conf.anaconda
prompt
timeout=50
default=linux
boot=/dev/cciss/c0d0
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-2.4.7-10
label=linux
initrd=/boot/initrd-2.4.7-10.img
read-only
root=/dev/cciss/c0d0p8
NB: from #df -k output
/boot = /dev/cciss/c0d0p1
/ = /dev/cciss/c0d0p8
Can you help please....
1. Do I have the wrong "boot=" entry in /etc/grub.conf ? i.e should it be
/dev/cciss/c0d0p1 (/boot) or as is on /dev/cciss/c0d0p8 (/)
2. Do I need to copy other files from the image build directory i.e.
/usr/src/linux-2.4.7-10/arch/i386/boot (where bzImage is put) to the /boot
directory ?
3. There is link from /boot/vmlinuz-2.4 to /boot/vmlinuz-2.4.7-10. Do I need
to break this and point to /boot/bzImage.02102002 (my newly created image)
from /boot/vmlinuz-2.4.7-10 ?
Any help you can offer is more than appreciated team.
Over to you...
Regards and Best Wishes
Allen Bossom
address@hidden
- Compaq 5300 with RH7.2 using Grub,
Allen Bossom <=