bugGNU GRUB - Bugs: bug #41005, grub error: hd1 cannot get C/H/S...

 
 

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

bug #41005: grub error: hd1 cannot get C/H/S values

Submitted by:  Thomas Pasch <aanno>
Submitted on:  Thu 26 Dec 2013 03:03:57 PM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Feature Request
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: aanno
Open/Closed: OpenRelease: 
Release: 2.00Reproducibility: Every Time
Planned Release: None

Sun 02 Feb 2014 09:44:51 AM UTC, comment #4:

I was able to install a grub2 with the 'native' disk module by doing:

sudo grub-install --disk-module=native /dev/sda

(BTW: I'm using a Kubuntu 13.10/saucy 64-bit system.)

And with this, I could see the second disk as ahci1 :o)) In addition, my Ubuntu still is able to boot AND I'm also able to boot another Ubuntu from the 2nd disk.

However, my problem has NOT been solved with this. This is because the main reason I tried was because I want to be able to boot my (original) windows from the 2nd disk (that used to be the primary disk before; see my first post).

And the windows REFUSES to boot with the native grub driver and 'chainloader +1'!

Hence, to boot the windows on the 2nd disk, I'm still forced to use a grub from an usb stick (see my 2nd post for more details)...

Thomas Pasch <aanno>
Sat 25 Jan 2014 05:19:25 PM UTC, comment #3:

Hhm, on ubuntu 13.10/saucy grub2 does not know the command

nativedisk

or

insmod nativedisk

What must be done to have that in grub?

Thomas Pasch <aanno>
Sat 18 Jan 2014 05:05:12 PM UTC, comment #2:

"grub error: hd1 cannot get C/H/S values"
is rarely about the geometry, it's just one of first calls to recognize the disk. Most likely BIOS bugs with your second drive.
You can use GRUB native disk drivers by either installing with --disk-module=native or using command nativedisk before accessing the disk. Note: with native dirvers disks get renamed to e.g. ahci0 and ahci1

Vladimir Serbinenko <phcoder>
Project Administrator
Sat 28 Dec 2013 01:23:25 AM UTC, comment #1:

Hhm, this is very, very odd:

  • When I use grub from an usb stick, auto-completion of 'ls' lists hd1 AND I can boot from it.
  • Same for grub4dos.
  • But when I use grub from the first disk hd0, auto-completion of 'ls' DOES NOT list hd1 AND I CANNOT boot from it.

To rule out that my (hd0,msdos1)/boot/grub/grub.cfg is the culprit, I renamed it /boot/grub/grub2.cfg . This way, I must use the grub command line for booting, but this is ok for a test ;o) But the problem does not go away :o(

Thomas Pasch <aanno>
Thu 26 Dec 2013 03:03:57 PM UTC, original submission:

Well, I don't know if this is really feasible. But anyway: I use a laptop computer (a dell vostro 3350). When I bought it, it was equipped with a (spinning) HDD and a DVD writer.

However, I've replaced the DVD writer with a HDD bay AND moved the original HDD to it. As a new 'primary' disc, I bought a (modern) SSD.

There is nothing wrong with this configuration - except that the BIOS is NOT prepared to cope with a second disk (the bios recognize the disk, but as 'ODD'). The consequence is that I'm not able to boot from the second disk AS GRUB DOES NOT RECOGNIZE it as well. I always get the following error:

grub error: hd1 cannot get C/H/S values

(No problems to boot from hd0, though.) I guess the problem results from the BIOS that expects an ODD on the second SATA port.

It really would be cool if grub was able to circumvent this problem somehow. I mean: I know it is a HDD (and not an ODD), and I could use the disk AFTER booting without any problems (with linux/ubuntu). I even could provide the missing C/H/S values, if there would be an option to do so...

Thomas Pasch <aanno>

 

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 aanno (Submitted the item)
  •  

    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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup