Меню

Ошибка hd1 cannot get c h s values

Ok, I know there are many questions about this topic, but I can’t found a convince answer (fixing the problem or not).

Recently I bought an SSD drive and installed in main SATA (hd0), I’ve replaced my cd/dvd drive with old hdd drive, using a caddy adapter.

Now I’ve installed Ubuntu on SSD and windows 10 on hdd.

The problem is on the boot, when I select windows in grub menu I’m faced with this error: cannot get C/H/S values.

I can’t set hdd boot on BIOS because it’s expected a ODD driver.

I have a Dell Inspiron 14R-5437.

Is there a workaround for this?

asked Aug 23, 2015 at 3:45

Johnny Willer's user avatar

Johnny WillerJohnny Willer

1011 gold badge2 silver badges9 bronze badges

1

Same configuration here and same error got.

My workaround was booting from the HDD instead of the SSD.
In my case, I can select the booting device on every computer start-up pressing F11 (so, I just select the HDD when I want to boot Windows).
Otherwise, you might change the boot order on the BIOS setup depending on which system you want to boot up.

answered Mar 16, 2017 at 19:39

Akronix's user avatar

AkronixAkronix

1,2232 gold badges16 silver badges29 bronze badges

1

Have you tried this, and enter bios and set to legacy boot, and then from boot enter command line, and enter this:

test hd1
badram hd1
dump hd1

and then use

set secondary=hd1

and it might work fine this way.

answered Feb 5, 2016 at 11:54

Michael's user avatar

MichaelMichael

2,3895 gold badges18 silver badges24 bronze badges

1

Hello,

Having a dual boot PC with Windows 10 / Linux Mint 19.3 and using on that PC also a Mint 20.2 external disk, I ran into the problem of not being able to boot the external disk any more (to which I had already transferred important data from the Mint 19.3.)

During my normal startup GRUB let me chose whether I wanted to boot either Windows 10 or Linux Mint 19.3 or Linux Mint 20.2 on the external disk. This does not work any more. I can only boot either Windows 10 or Linux Mint 19.3 but n o t Linux Mint 20.2 on the external disk although it is shown on the startup GRUB screen.

Trying to apply the standard boot repair procedure did not work out. Booting from ATA (whatever that means, but recommended by the boot repair app) was not possible. I ended up with the Linux Mint recovery mode and got the error message: «hd1 cannot get C/H/S values, no such device, you have to start the kernel first».

Hoping that somebody can help me out, I would like to show the current system:

user@user-ThinkPad-T510:~$ sudo fdisk -l
[sudo] Passwort für user:
Festplatte /dev/loop0: 2 GiB, 2147483648 Bytes, 4194304 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop1: 290,1 MiB, 304140288 Bytes, 594024 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop2: 219 MiB, 229638144 Bytes, 448512 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop3: 164,8 MiB, 172761088 Bytes, 337424 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop4: 55,4 MiB, 58114048 Bytes, 113504 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop5: 135,4 MiB, 142016512 Bytes, 277376 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop6: 139,1 MiB, 145883136 Bytes, 284928 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop7: 65,1 MiB, 68259840 Bytes, 133320 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/mmcblk0: 119,1 GiB, 127865454592 Bytes, 249737216 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0xddf664c4

Gerät Boot Anfang Ende Sektoren Größe Kn Typ
/dev/mmcblk0p1 2048 249737215 249735168 119,1G 83 Linux

Festplatte /dev/sda: 465,8 GiB, 500107862016 Bytes, 976773168 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0x801c4ce0

Gerät Boot Anfang Ende Sektoren Größe Kn Typ
/dev/sda1 2048 1187839 1185792 579M 7 HPFS/NTFS/exFAT
/dev/sda2 1187840 442849279 441661440 210,6G 7 HPFS/NTFS/exFAT
/dev/sda4 442849280 976771071 533921792 254,6G f W95 Erw. (LBA)
/dev/sda5 * 442851328 976771071 533919744 254,6G 83 Linux

Festplatte /dev/sdb: 3,7 TiB, 4000787029504 Bytes, 7814037167 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: C331BC8A-3620-42E8-A240-8EB9F2CC180F

Gerät Anfang Ende Sektoren Größe Typ
/dev/sdb2 2048 2097029119 2097027072 1000G BIOS boot
/dev/sdb3 2097416192 3940616191 1843200000 878,9G Microsoft Basisdaten
/dev/sdb4 3940616192 5789960191 1849344000 881,9G Microsoft Basisdaten
/dev/sdb5 5789960192 7641352191 1851392000 882,8G Microsoft Basisdaten
/dev/sdb6 7641352192 7743752191 102400000 48,8G Microsoft Basisdaten

Festplatte /dev/mapper/cryptswap1: 2 GiB, 2146959360 Bytes, 4193280 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop8: 99,4 MiB, 104202240 Bytes, 203520 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop9: 99,4 MiB, 104210432 Bytes, 203536 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop10: 290,1 MiB, 304140288 Bytes, 594024 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop11: 95,7 MiB, 100352000 Bytes, 196000 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop12: 219 MiB, 229629952 Bytes, 448496 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop13: 64,8 MiB, 67915776 Bytes, 132648 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop14: 162,9 MiB, 170778624 Bytes, 333552 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop15: 95,7 MiB, 100356096 Bytes, 196008 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/loop16: 55,5 MiB, 58134528 Bytes, 113544 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

Festplatte /dev/sdc: 14,9 GiB, 15938355200 Bytes, 31129600 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0xc3072e18

Gerät Boot Anfang Ende Sektoren Größe Kn Typ
/dev/sdc1 240 31129599 31129360 14,9G c W95 FAT32 (LBA)
user@user-ThinkPad-T510:~$ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 2G 0 loop
└─cryptswap1 253:0 0 2G 0 crypt [SWAP]
loop1 7:1 0 290,1M 1 loop /snap/vault/1958
loop2 7:2 0 219M 1 loop /snap/gnome-3-34-1804/72
loop3 7:3 0 164,8M 1 loop /snap/gnome-3-28-1804/161
loop4 7:4 0 55,4M 1 loop /snap/core18/2066
loop5 7:5 0 135,4M 1 loop /snap/skype/176
loop6 7:6 0 139,1M 1 loop /snap/skype/177
loop7 7:7 0 65,1M 1 loop /snap/gtk-common-themes/1515
loop8 7:8 0 99,4M 1 loop /snap/core/11316
loop9 7:9 0 99,4M 1 loop /snap/core/11420
loop10 7:10 0 290,1M 1 loop /snap/vault/1930
loop11 7:11 0 95,7M 1 loop /snap/poedit/29
loop12 7:12 0 219M 1 loop /snap/gnome-3-34-1804/66
loop13 7:13 0 64,8M 1 loop /snap/gtk-common-themes/1514
loop14 7:14 0 162,9M 1 loop /snap/gnome-3-28-1804/145
loop15 7:15 0 95,7M 1 loop /snap/poedit/30
loop16 7:16 0 55,5M 1 loop /snap/core18/2074
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 579M 0 part
├─sda2 8:2 0 210,6G 0 part
├─sda4 8:4 0 1K 0 part
└─sda5 8:5 0 254,6G 0 part /
sdb 8:16 0 3,7T 0 disk
├─sdb2 8:18 0 1000G 0 part
├─sdb3 8:19 0 878,9G 0 part /media/user/A58B-5CA7
├─sdb4 8:20 0 881,9G 0 part /media/user/AF1D-CA10
├─sdb5 8:21 0 882,8G 0 part /media/user/B738-1BEE
└─sdb6 8:22 0 48,8G 0 part /media/user/Home Data 4
sdc 8:32 1 14,9G 0 disk
└─sdc1 8:33 1 14,9G 0 part /media/user/USB DISK
sr0 11:0 1 1024M 0 rom
mmcblk0 179:0 0 119,1G 0 disk
└─mmcblk0p1 179:1 0 119,1G 0 part /media/user/USB STICK
user@user-ThinkPad-T510:~$

My Linux Mint 20.2 system was created big enough to satisfy my future needs and is located on sdb2.
Your assistance to solve the boot problem with my external disk system is very much appreciated.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

I had a hd0(SSD, GPT), installed Ubuntu.
Now I wanted to install Windows 7 on hd1(HDD, MBR), the 4th primary partition(labeled boot flag).

I tried to install with the original Windows 7 iso. It failed and said,

Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure the disk's controller is enabled.

I have no idea, but I tried every approach and failed. My SATA option can’t switch to compatible, but AHCI.

Then I tried to install with Symantec ghost. Went with no error.
I booted into ubuntu and update-grub2.
It created an Windows 7 entry for me.

I rebooted. Failed to boot into hd1.
I got the error message

no such device: 000C6CBB000AE8A8

hd1 cannot get C/H/S values.

When I tried:
grub> ls
Only hd0 appeared, but no hd1.
Even when I stick in my USB stick, grub can identify it. But it can’t identify my HDD.

And I use legacy BIOS.

Here’s the output of fdisk /dev/sdb

Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xb45b41fe

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb2          718848   7010303   6291456     3G  c W95 FAT32 (LBA)
/dev/sdb3  *    680951808 976766975 295815168 141.1G  7 HPFS/NTFS/exFAT
/dev/sdb4         7012350 680951807 673939458 321.4G  5 Extended
/dev/sdb5        85528576 672557055 587028480 279.9G 83 Linux
/dev/sdb6         7012352  85526527  78514176  37.4G 83 Linux
/dev/sdb7       672559104 680951807   8392704     4G 82 Linux swap / Solaris

Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.

sdb3 is where I would install Windows7 on

After a motherboard (Asus X99-A) firmware update (1203 from older 1004) my

dual boot system (Gentoo primary, Win7 second) will no longer chainload the

Windows disk. I receive the following error from Grub:

hd1 cannot get C/H/S values

Below is my grub.cfg file that was working for both OSes prior to the firmware

update. (I want the firmware update because it fixed an issue with memory and

I can now use Corsair’s XMP feature to run my memory at a faster clock speed

without boosting voltage.)

I have tried using ‘nativedisk’ in my grub.cfg to no avail.

Also, on this motherboard I am using legacy, not uefi boot options. Using the

previous BIOS firmware, there always seemed to be a BIOS / Grub drive

numbering issue. I can boot the windows disk via the BIOS boot menu.

Code:
# grub2 configuration

set timeout=50

menuentry «Linux 3.17.7-rr02» {

  insmod gzio

  insmod part_gpt

  insmod ext2

  set gfxpayload=1920x1200x8

  # NOTE it appears that grub changes the drive number order

  #   root should be hd1, the second hard drive

  root=hd0,gpt3

  linux /kernel-3.17.7-rr02 root=/dev/sdb2

}

menuentry ‘Windows 7 (bios/msdos loader) (on /dev/sdc2)’ {

  # using msdos partition not gpt, because Windows 7 REQUIRES

  #   UEFI boot if using gtp partition

  insmod part_msdos

  insmod ntfs

  insmod chain

  # NOTE it appears that grub changes the drive number order

  #   root should be hd2, the third hard drive

  set root=’hd1,msdos1′

  chainloader +1

}

Any suggestions on how to get grub and the windows partition working again?

У меня был hd0(SSD, GPT), установлен Ubuntu.
Теперь я хотел установить Windows 7 на hd1(HDD, MBR), 4-й основной раздел (помеченный загрузочным флагом).

Я пытался установить с оригинальной Windows 7 ISO. Это не удалось и сказал,

Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure the disk's controller is enabled .

Я понятия не имею, но я попробовал каждый подход и потерпел неудачу. Мой параметр SATA не может переключиться на совместимый, но AHCI.

Затем я попытался установить с Symantec Ghost. Пошел без ошибок.
Я загрузился в Ubuntu и update-grub2 .
Это создало запись Windows 7 для меня.

Я перезагрузился. Не удалось загрузить в hd1.
Я получил сообщение об ошибке

no such device: 000C6CBB000AE8A8

hd1 cannot get C/H/S values.

Когда я попытался:grub> ls Только hd0 появился, но не hd1.
Даже когда я втыкаю USB-флешку, grub может это определить Но он не может идентифицировать мой жесткий диск.

И я использую устаревший BIOS.

Вот вывод команды fdisk /dev/sdb

Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xb45b41fe

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb2          718848   7010303   6291456     3G  c W95 FAT32 (LBA)
/dev/sdb3  *    680951808 976766975 295815168 141.1G  7 HPFS/NTFS/exFAT
/dev/sdb4         7012350 680951807 673939458 321.4G  5 Extended
/dev/sdb5        85528576 672557055 587028480 279.9G 83 Linux
/dev/sdb6         7012352  85526527  78514176  37.4G 83 Linux
/dev/sdb7       672559104 680951807   8392704     4G 82 Linux swap / Solaris

Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.

SDB3, где я бы установить Windows7 на

I had a hd0(SSD, GPT), installed Ubuntu.
Now I wanted to install Windows 7 on hd1(HDD, MBR), the 4th primary partition(labeled boot flag).

I tried to install with the original Windows 7 iso. It failed and said,

Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure the disk's controller is enabled.

I have no idea, but I tried every approach and failed. My SATA option can’t switch to compatible, but AHCI.

Then I tried to install with Symantec ghost. Went with no error.
I booted into ubuntu and update-grub2.
It created an Windows 7 entry for me.

I rebooted. Failed to boot into hd1.
I got the error message

no such device: 000C6CBB000AE8A8

hd1 cannot get C/H/S values.

When I tried:
grub> ls
Only hd0 appeared, but no hd1.
Even when I stick in my USB stick, grub can identify it. But it can’t identify my HDD.

And I use legacy BIOS.

Here’s the output of fdisk /dev/sdb

Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xb45b41fe

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb2          718848   7010303   6291456     3G  c W95 FAT32 (LBA)
/dev/sdb3  *    680951808 976766975 295815168 141.1G  7 HPFS/NTFS/exFAT
/dev/sdb4         7012350 680951807 673939458 321.4G  5 Extended
/dev/sdb5        85528576 672557055 587028480 279.9G 83 Linux
/dev/sdb6         7012352  85526527  78514176  37.4G 83 Linux
/dev/sdb7       672559104 680951807   8392704     4G 82 Linux swap / Solaris

Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.

sdb3 is where I would install Windows7 on

I had a hd0(SSD, GPT), installed Ubuntu.
Now I wanted to install Windows 7 on hd1(HDD, MBR), the 4th primary partition(labeled boot flag).

I tried to install with the original Windows 7 iso. It failed and said,

Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure the disk's controller is enabled.

I have no idea, but I tried every approach and failed. My SATA option can’t switch to compatible, but AHCI.

Then I tried to install with Symantec ghost. Went with no error.
I booted into ubuntu and update-grub2.
It created an Windows 7 entry for me.

I rebooted. Failed to boot into hd1.
I got the error message

no such device: 000C6CBB000AE8A8

hd1 cannot get C/H/S values.

When I tried:
grub> ls
Only hd0 appeared, but no hd1.
Even when I stick in my USB stick, grub can identify it. But it can’t identify my HDD.

And I use legacy BIOS.

Here’s the output of fdisk /dev/sdb

Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xb45b41fe

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb2          718848   7010303   6291456     3G  c W95 FAT32 (LBA)
/dev/sdb3  *    680951808 976766975 295815168 141.1G  7 HPFS/NTFS/exFAT
/dev/sdb4         7012350 680951807 673939458 321.4G  5 Extended
/dev/sdb5        85528576 672557055 587028480 279.9G 83 Linux
/dev/sdb6         7012352  85526527  78514176  37.4G 83 Linux
/dev/sdb7       672559104 680951807   8392704     4G 82 Linux swap / Solaris

Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.

sdb3 is where I would install Windows7 on

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

( Jump to the original submission )

Fri 18 Mar 2016 09:38:37 AM UTC, comment #9: 

It’s biosnum, not biosdisk.

Andrei Borzenkov <arvidjaar>
Project Member

Fri 18 Mar 2016 09:24:22 AM UTC, comment #8: 

Biosdisk variable is just to get chainloader work with nativedisk:

root=ahci0,1

biosdisk=0x80

chainloader +1

boot

Vladimir Serbinenko <phcoder>
Project Administrator

Fri 18 Mar 2016 08:34:34 AM UTC, comment #7: 

I have finally found a way to circumvent the problem: If you invoke the bios ‘boot menu’ (F12) when starting the vostro 3350 and simply select ‘hard disk’ there, the second disk gets (auto-magically) known to grub. Hence the problem simply disappears if you go through to boot menu!

@Vladimir: I haven’t understand your remark about the ‘biosdisk’ variable. But it seems that you think that installing grub with the ‘native’ disk module is NOT enough. Could you please be a little more explicit about what to do in addition?

Thomas Pasch <aanno>

Thu 17 Mar 2016 04:10:47 PM UTC, comment #6: 

I have the same problem. The best I think I have done is installing EasyBCD, but I could not make it work.

Andres Espinosa <andrew95434>

Wed 02 Mar 2016 01:44:31 PM UTC, comment #5: 

You need to set biosdisk variable when using native with chainloader. We can’t do anything more than this, hence closing the bug

Vladimir Serbinenko <phcoder>
Project Administrator

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>

(Note: upload size limit is set to 16384 kB, after insertion of
the required escape characters.)

No files currently attached

Depends on the following items: None found

Items that depend on this one: None found

There are 0 votes so far. Votes easily highlight which items people would like to see resolved
in priority, independently of the priority of the item set by tracker
managers.

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка http status 405
  • Ошибка hcespn 340 fmi 4