bug-grub
[Top][All Lists]
Advanced

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

Grub not installing?


From: Peter
Subject: Grub not installing?
Date: Fri, 03 Nov 2006 12:41:03 +1300
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)

Hi. We had a computer that had lilo on it. We replaced that with grub. When we restart the server, after the POST/BIOS pages, we get a blank screen, no grub menu, no error message.

We ended up having to boot off a CD rom.

Any ideas what we could try to do to fix this?

Regards, Peter

# How we'd uninstalled lilo
lilo -U /dev/hda
lilo -U /dev/hdb

# grub commands we'd run to install grub
# grub
grub> root (hd0,0)
grub> setup (hd0)
grub> root (hd1,0)
grub> setup (hd1)

# grub --version
grub (GNU GRUB 0.95)

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md1              178G   71G   98G  42% /
/dev/md0               99M   29M   66M  31% /boot

# fdisk -ul

Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1 * 63 208844 104391 fd Linux raid autodetect
/dev/hda2          208845    12691349     6241252+  82  Linux swap
/dev/hda3 12691350 390716864 189012757+ fd Linux raid autodetect

Disk /dev/hdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1 * 63 208844 104391 fd Linux raid autodetect
/dev/hdb2          208845    12691349     6241252+  82  Linux swap
/dev/hdb3 12691350 390716864 189012757+ fd Linux raid autodetect

Disk /dev/md0: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders, total 208640 sectors
Units = sectors of 1 * 512 = 512 bytes

    Device Boot      Start         End      Blocks   Id  System

Disk /dev/md1: 193.5 GB, 193548976128 bytes
2 heads, 4 sectors/track, 47253168 cylinders, total 378025344 sectors
Units = sectors of 1 * 512 = 512 bytes

Disk /dev/md1 doesn't contain a valid partition table

# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all /xen.gz and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          /xen.gz /vmlinuz-version ro root=/dev/md1
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title White Box Enterprise Linux (2.4.21-4.ELsmp)
        root (hd0,0)
        /vmlinuz-2.4.21-4.ELsmp ro root=/dev/md1
        initrd /initrd-2.4.21-4.ELsmp.img

# cat /proc/mdstat
Personalities : [linear] [raid1]
md1 : active raid1 hdb3[1] hda3[0]
      189012672 blocks [2/2] [UU]

md0 : active raid1 hdb1[1] hda1[0]
      104320 blocks [2/2] [UU]

unused devices: <none>




reply via email to

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