[Top][All Lists]

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

[bug #44197] grub do not recognize root (hd1, 0). grub only recognize (

From: Nick Aganan
Subject: [bug #44197] grub do not recognize root (hd1, 0). grub only recognize (hd0, 0)
Date: Fri, 06 Feb 2015 14:20:34 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36


                 Summary:  grub do not recognize root (hd1, 0). grub only
recognize (hd0, 0)
                 Project: GNU GRUB
            Submitted by: thesysad
            Submitted on: Fri 06 Feb 2015 02:20:33 PM GMT
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Thesysad
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.97
         Reproducibility: Every Time
         Planned Release: None



I have RHEL running on VMware. My /boot partition is only 50MB. I cannot up
upgrade my RHEL kernel because /boot is too small. I decided to add a new
300MB disk to replace /boot.

My original configuration is like this.

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       50M   34M  6M   68% /boot

grub> find /grub/stage1
find /grub/stage1

After reconfiguring everything, my setup look like this.

Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb1       291M   66M  211M  24% /boot

grub> find /grub/stage1
find /grub/stage1

My device.map looks like this

# this device map was generated by anaconda
(hd0)     /dev/sda
(hd1) /dev/sdb

But when I change the grub.conf from “root (hd0,0)” to “root (hd1,0)”
the server will not boot. It gives me Error 17.

If I keep “root (hd0,0)”, it boots fine.

Why I cannot use hd1,0 in my grub.conf? Why hd0,0 still works? My grub stage1
is set to hd1,0.

BTW, I reformatted /dev/sda1 and added it to vg_root volume group.

  PV         VG      Fmt  Attr PSize  PFree 
  /dev/sda1  vg_root lvm2 a--  50.00m 50.00m
  /dev/sda2  vg_root lvm2 a--  49.88g     0

Server kernel:
uname -a
Linux na2099test 2.6.32-431.23.3.el6.x86_64 #1 SMP Wed Jul 16 06:12:23 EDT
2014 x86_64 x86_64 x86_64 GNU/Linux

Same thing happen on older kernel.

Grub rpm:
rpm -qi grub
Name        : grub                         Relocations: (not relocatable)
Version     : 0.97                              Vendor: Red Hat, Inc.
Release     : 84.el6_5                      Build Date: Wed 23 Jul 2014
08:53:43 AM EDT
Install Date: Thu 05 Feb 2015 12:07:43 PM EST      Build Host:
Group       : System Environment/Base       Source RPM:
Size        : 2402089                          License: GPLv2+
Signature   : RSA/8, Wed 23 Jul 2014 03:59:00 PM EDT, Key ID 199e2f91fd431d51
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.gnu.org/software/grub/
Summary     : Grand Unified Boot Loader.
Description :
GRUB (Grand Unified Boot Loader) is an experimental boot loader
capable of booting into most free operating systems - Linux, FreeBSD,
NetBSD, GNU Mach, and others as well as most commercial operating


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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