FS#17092 - [grub2] I can't install in one x86_64 machine

Attached to Project: Arch Linux
Opened by Maxwell Draven (Ravenman) - Wednesday, 11 November 2009, 02:15 GMT
Last edited by Ronald van Haren (pressh) - Saturday, 14 November 2009, 16:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

When I try install the grub ... the console shows only this:

[root@archerpc ~]# grub-install /dev/sda

And the GRUB installation isn't overed.

Additional info:
* package version(s)

grub2 1.97.1-1

* config and/or log files etc.

Steps to reproduce:

Try install GRUB2 in one x86_64 machine.
This task depends upon

Closed by  Ronald van Haren (pressh)
Saturday, 14 November 2009, 16:04 GMT
Reason for closing:  Not a bug
Additional comments about closing:  misbehaving floppy drive. succeeded to install with a workaround
Comment by Maxwell Draven (Ravenman) - Wednesday, 11 November 2009, 02:19 GMT
This is the errors.log file.
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 11 November 2009, 03:19 GMT
  • Field changed: Attached to Project (Community Packages → Arch Linux)
  • Field changed: Summary (I can't install GRUB2 in one x86_64 machine → [grub2] I can't install in one x86_64 machine)
  • Field changed: Severity (Critical → Medium)
Note in grub2 /dev/sda3 is not (hd0,2) see comments in your grub.cfg
Comment by Ronald van Haren (pressh) - Wednesday, 11 November 2009, 08:20 GMT
if gerardos hint does not work, please post the debug output. Without any error messages (there also is nothing related in the errors.log) it's a bit hard to see where it is going wrong.

you can get the debug output by running 'grub-install --debug /dev/sda'
Comment by Maxwell Draven (Ravenman) - Thursday, 12 November 2009, 01:38 GMT
I'm fixed the grub.cfg file ... but installing GRUB doesn't end.
Comment by Ronald van Haren (pressh) - Thursday, 12 November 2009, 11:46 GMT
Can you post how the output file of grub-mkdevicemap does look like ( /boot/grub/device.map ). I get the impression that something is going wrong there.
Comment by Maxwell Draven (Ravenman) - Friday, 13 November 2009, 00:39 GMT
I did run the command and the results are here.
Comment by Ronald van Haren (pressh) - Friday, 13 November 2009, 00:53 GMT
so that is not the reason why the grub-probe command hangs as it appears from your debug output before.

Can you see if you get any error message when you append '-v' (verbose mode) to the last command in your debug output so it looks like '/sbin/grub-probe --device-map=/boot/grub/device.map --target=device /boot/grub -v' ?
Comment by Maxwell Draven (Ravenman) - Friday, 13 November 2009, 02:12 GMT
I did run the command and the results are here.
Comment by Maxwell Draven (Ravenman) - Friday, 13 November 2009, 02:55 GMT
Forget the last file, please. After 30 minutes maybe, I did get this messages from console.
Comment by Ronald van Haren (pressh) - Friday, 13 November 2009, 08:39 GMT
so it seems to hang for quite some time probing the floppy drive. In the end the output seems to be correct from your seccond grub_probe.txt attachement.

What happens if you remove the fd0 line from device.map and rerun the last command?

Alternatively you may try 'grub-install /dev/sda --no-floppy --debug' (I have no floppy drive so I can't really verify if that works...)
Comment by Maxwell Draven (Ravenman) - Saturday, 14 November 2009, 14:47 GMT
Yes, you made it!. I did turn off the floppy drive from the BIOS and I could install GRUB2 in my machine.

A lot of thanks by your help, patience, hard and excellent work. Until the next.

Loading...