bugGNU GRUB - Bugs: bug #34979, GRUB, error: hd0 out of disk (with...

 
 

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

bug #34979: GRUB, error: hd0 out of disk (with linux installed in a second disk)

Submitter:  Jose Alberto <josealb77>
Submitted:  Sat 03 Dec 2011 05:52:18 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  josealb77
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Jump to the original submission

Thu 19 Apr 2012 09:25:59 AM UTC, comment #6: 

Well I do have other reasons to believe this to be fixed, so I think it is. If not and you happen to be hit by it again feel free to reopen the bug.

Vladimir Serbinenko <phcoder>
Group administrator
Thu 19 Apr 2012 08:06:34 AM UTC, comment #5: 

I'm sorry for the long silence Vladimir. It's logical that you deduce that, but what the long silence really means is that I unisntalled linux long time ago. I tried some other distros and I had the same problem in some of them and others problems in others distros, so I decided forget Linux for some time.

I'm sorry but I DO NEED a computer working stable from the very first time, my current life depends on that, I can't go trying and fixing things or documenting about and configuring programs for hours. I'm sorry but for my principal computer I've had to come back to W7 and office 2010. When I have a calmer life I will try linux again and I'll try to help reporting problems I have, by the moment is not possible.

About the ram I've got 4GB DDR3.

Now you can close this thread but knowing that this error may haven't been solved with the new version.
Good bye and thank you for it all.

Jose Alberto <josealb77>
Wed 18 Apr 2012 09:35:39 PM UTC, comment #4: 

I assume that long silence means that the bug is fixed in the latest version.

Vladimir Serbinenko <phcoder>
Group administrator
Sun 04 Mar 2012 01:23:12 AM UTC, comment #3: 

Could you try with 2.00~beta0 or beta1? How much RAM do you have? Could you try entering the commands one by one in the shell?

Vladimir Serbinenko <phcoder>
Group administrator
Sun 04 Dec 2011 01:01:23 AM UTC, comment #2: 

Wuow!! Almost solved at first!
I tried first installing with the modules ata and ahci but for both I got an error message. As this didn't work I parted the HDD this way:

/dev/sdb1   ext4         400.00 MiB   /boot
/dev/sdb2   linux-swap     1.95 GiB   /swap
/dev/sdb3   ext4          39.39 GiB   /
/dev/sdb4   extended     148.19 GiB  
/dev/sdb5   ext4         148.19 GiB   /home

Rebooted and... tachan! Finally the "graphic" menu appeared with 3 options: "LinuxMint", "LinuxMint (repair)" and "Windows 7 (on /dev/sda)" but... another trouble:

any option I choose makes my system reboot before anything be loaded. Any of the 3 that appear.

On the first option (LinuMint, the default one) I've pressed "e" like if I were going to edit something and this is the code that appeared:

GNU GRUB version 1.99-8
setparams 'LinuxMint etc.'
insmod gzio
insmod part-msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set-root 80035a85-b997-4223-9e52-bc24440\
77013
echo 'Loading Linux 2.6.39-2-amd64 ...'
linux /vmlinuz-2.6.39-2-amd64 root=UUID=6cb9feah-30bc-4ae8-9098-c5e70e4\
4bc4a ro quiet
echo 'Loadong initial ramdisk ...'
initrd /initrd.img-2.6.39-2-amd64

When I pressed intro appear some letters in the left-up corner of the screen for a fraction of second but suddenly the computer reboot by itself. I think the letter that appears are "Loading Linux 2.6.39-2-amd64", but I haven't got time enough to read them, it reboots too soon.

Jose Alberto <josealb77>
Sat 03 Dec 2011 06:13:17 PM UTC, comment #1: 

This looks like your disk is bigger than your BIOS limit. You need either a small /boot at the beginning of the disk or install with --disk-module=ata (if disk is ide or in ide mode, ahci otherwise but ahci is less stable)

Vladimir Serbinenko <phcoder>
Group administrator
Sat 03 Dec 2011 05:52:18 PM UTC, original submission:  

Hello,
I've tried to solve this issue in the linux mint debian edition forum but they don't know how to help me on, this is the message I wrote there and here is where you can find the post: http://forums.linuxmint.com/viewtopic.php?f=189&t=86848

____________________________________________________________
I boot the linuxmint-201109-xfce-dvd-64bit in live-dvd, then I install it, reboot, and get this message:
[quote]GRUB loading…
Welcome to GRUB!
error: hd0 out of disk.
Entering recue mode…
grub rescue>[/quote]

I've got two HDD, a serial ATA with windows 7 and two more partition for games and files, and an ATA HDD with a swap partition, a linux mint ext4 one and finally an ext4 partition for /home. In the BIOs I've got selected the serial as first HDD and the ATA (a Maxtor HDD), as second HDD. In order to boot linux I've got to access to the boot menu (pressing F8 during the BIOS booting), but this is this way because I prefer it so.

Recently I installed the gnome version of linux mint (linuxmint-201109-gnome-dvd-64bit), and happened the same, I reinstalled it and was solved by itself, but with the xfce version I've already installed 4 times but it isn't solved by itself.

During the instalation with the installer I formated the 3 partitions (swap, / and /home) and selected the mounting points that way. Selected GRUB to be installed in /dev/sdb (the ATA HDD, sda it's the serial ATA, I want this to be that way because I want to leave the serial HDD untouched and whenever I had to use linux boot it with the BIOS' F8 (boot) menu).

I've followed these steps from the webpage [url]https://help.ubuntu.com/community/Grub2[/url] but I finish with the same error message:
[quote]
[b]GRUB 2 Troubleshooting Preparation[/b]

GRUB loading…
Welcome to GRUB!
error: hd0 out of disk.
Entering recue mode…
grub rescue> set
prefix=(hd0,msdos2)/boot/grub
root=hd0,msdos2
grub rescue> ls
(hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos7) (hd1,msdos6) (hd1,msdos2) (hd1,msdos1) (cd)
grub rescue>ls (hd0,msdos2)/
./ ../ lost+found/ home/ bin/ boot/ dev/ etc/ lib/ lib64 media/ mnt/ opt/ proc/ root/ run sbin/ selinux/ srv/ sys/ tmp/ usr/ var/ initrd.img vmlinuz
grub rescue> ls (hd0,msdos2)/boot
./ ../ boot/ grub/ System.map-2.6.39-2-amd64 config-2.6.39-2-amd64 initrd.img-2.6.39-2-amd64 vmlinuz-2.6.39-2-amd64
grub rescue> ls (hd0,msdos2)/boot/grub
(lots of files .mod; grub.cfg; .img; etc...)

[b]Rescue Mode (''grub rescue>'') Booting[/b]

grub rescue> set prefix=(hd0,msdos2)/boot/grub
grub rescue> set root=(hd0,msdos2)
grub rescue> insmod normal
error: hd0 out of disk
grub rescue> insmod (hd0,msdos2)/boot/grub/normal.mod
error: hd0 our of disk
[/quote]
What can I do?
______________________________________________________________

I think the trouble is that Grub is not well autoconfigured when the linux partition is in a second disk. Grub mess when it's installed in a second disk.

As I said, what can I do?

Jose Alberto <josealb77>

 

(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

 

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

    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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-04-18 phcoder Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code