bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Grub boot loading problem


From: Russell P. Sutherland
Subject: Grub boot loading problem
Date: Wed, 8 May 2002 11:50:09 -0400
User-agent: Mutt/1.2.5i

I've read the documentation and FAQ but can quite solve
my current problem.

My system is running Linux 2.2.20 and has three disks:

        #  Linux        Grub

        1. /dev/sda     hd0
        2. /dev/sdb     hd1
        3. /dev/sdc     hd2

Disk 3 is a RAID array, controlled by a HP NetRAID 3Si.
The BIOS knows about this disk (#3) and I've set the BIOS
to boot from it.

I've got grub installed:

$ dpkg -l | grep grub
ii  grub           0.91-2         GRand Unified Bootloader
ii  grub-doc       0.91-2         Documentation for GRand Unified Bootloader

I've copied  the images to /boot/grub:

$ ls -l /boot/grub
total 192
-rw-r--r--    1 root     root           60 May  8 10:26 device.map
-rw-r--r--    1 root     root         7904 May  8 10:26 e2fs_stage1_5
-rw-r--r--    1 root     root         7440 May  8 10:26 fat_stage1_5
-rw-r--r--    1 root     root         6912 May  8 10:26 ffs_stage1_5
-rw-r--r--    1 root     root         8640 May  8 10:26 jfs_stage1_5
-rw-r--r--    1 root     root          297 May  8 11:10 menu.lst
-rw-r--r--    1 root     root         7104 May  8 10:26 minix_stage1_5
-rw-r--r--    1 root     root         9568 May  8 10:26 reiserfs_stage1_5
-rw-r--r--    1 root     root          512 May  8 10:26 stage1
-rw-r--r--    1 root     root        95712 May  8 10:26 stage2
-rw-r--r--    1 root     root         6560 May  8 10:26 vstafs_stage1_5
-rw-r--r--    1 root     root         9320 May  8 10:26 xfs_stage1_5

The device.map file is perhaps not needed:

$ cat /boot/grub/device.map 
(fd0)   /dev/fd0
(hd0)   /dev/sda
(hd1)   /dev/sdb
(hd2)   /dev/sdc

Here's the menu.lst file:

$ cat /boot/grub/menu.lst   
#
#
# By default, boot the first entry.
default 0

# Boot automatically after 30 secs.
timeout 10

# For booting Linux
title  GNU/Linux
root (hd2,0)
kernel (hd2,0)/vmlinuz root=/dev/sdc1

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root    (hd2,0)
setup   (hd2)

I've added the grub stage1 boot loader to the MBR of hd2:

grub> find /boot/grub/stage1
 (hd2,0)

grub> root (hd2,0)
  Filesystem type is ext2fs, partition type 0x83

grub> setup (hd2)
  Checking if "/boot/grub/stage1" exists... yes
  Checking if "/boot/grub/stage2" exists... yes
  Checking if "/boot/grub/e2fs_stage1_5" exists... yes
  Running "embed /boot/grub/e2fs_stage1_5 (hd2)"...  16 sectors are embedded.
succeeded
  Running "install /boot/grub/stage1 d (hd2) (hd2)1+16 p (hd2,0)/boot/grub/stage
2 /boot/grub/menu.lst"... succeeded
Done.

grub> quit

When I reboot my system (without a boot floppy), and the BIOS finishes,
I get:

        GRUB

on the top left corner of the console and nothing else. No menu.

The system seems hung, apart from the floppy drive which seems
to be on, in the sense that the green LED access light is active.

Any ideas as to what I've done wrong or what need to be done
so I can boot from my RAID array?

-- 
Quist Consulting                Email: address@hidden
219 Donlea Drive                Voice: +1.416.696.7600
Toronto ON  M4G 2N1             Cell:  +1.416.803.0080
CANADA                          WWW:   http://www.quist.ca



reply via email to

[Prev in Thread] Current Thread [Next in Thread]