bugGNU GRUB - Bugs: bug #44197, grub do not recognize root (hd1,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44197: grub do not recognize root (hd1, 0). grub only recognize (hd0, 0)

Submitted by:  Nick Aganan <thesysad>
Submitted on:  Fri 06 Feb 2015 02:20:33 PM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: Thesysad
Open/Closed: ClosedRelease: 
Release: 1.97Reproducibility: Every Time
Planned Release: None

Sat 07 Feb 2015 11:52:57 AM UTC, comment #1:

Your GRUB is too old. It's not supported anymore

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 06 Feb 2015 02:20:33 PM UTC, original submission:

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
(hd0,0)

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
(hd1,0)

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: x86-026.build.eng.bos.redhat.com
Group : System Environment/Base Source RPM: grub-0.97-84.el6_5.src.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
systems.

Nick Aganan <thesysad>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by thesysad (Submitted the item)
  • -unavailable- added by thesysad
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 07 Feb 2015 11:52:57 AM UTCphcoderStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Fri 06 Feb 2015 02:20:33 PM UTCthesysadCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1