LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   grub-install fails (https://www.linuxquestions.org/questions/linux-general-1/grub-install-fails-570017/)

android6011 07-17-2007 03:10 AM

grub-install fails
 
when grub-install sda runs it returns something along the lines of "install device format not recognized"

Daws 07-17-2007 04:57 AM

Remove the grub floppy from your dog. :)

Seriously though we are probably going to need more info than that. Can you post the exact error? Also how about the output of "fdisk -l" If I had to guess I'd say it was a problem with the partition table.

jschiwal 07-17-2007 05:49 AM

Did you run "grub install sda" or "grub install /dev/sda"?

Is your menu.lst file correct?

pixellany 07-17-2007 08:12 AM

Note that the grub manual says (or at least implies) that the grub shell is the preferred way to install grub.
See my link below on booting--it also has a link to the grub manual.

android6011 07-17-2007 05:11 PM

ok this is what i tried to do, i am install ubuntu to an external drive, and in the advanced i change the grub install from hd0 to sda, and when it goes through the graphical install it says grub couldnt instsall and that it is a fatal error. so i try to run grub-install sda, and i get the previously mentioned error. i have tried sda and sd0 and neither work. the partitions are all along the lines of sda1 sda5 etc. so im not sure what to use as an install target for grub

jschiwal 07-17-2007 05:28 PM

You keep referring to running grub-install sda. Post the actual command you used. "sda" isn't a device name. "/dev/sda" is. I can't tell if you are making an error running the grub-install command or if you have an error in your menu.lst file. Are you adding an additional linux distro? You could simply add entries in menu.lst for a new distro and not have to run grub-install at all.

android6011 07-19-2007 11:14 PM

ok, this time what I did was during the ubuntu graphical install, i clicked advanced on the last page, and when it said where to install grub I put /dev/sda . it said everything installed fine, and when I try to boot from that drive, my comp just kind of sits there then loads windows

AceofSpades19 07-19-2007 11:18 PM

press Esc key when to says to during boot up and select ubuntu


All times are GMT -5. The time now is 07:34 PM.