LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-17-2007, 03:10 AM   #1
android6011
Member
 
Registered: May 2005
Posts: 255

Rep: Reputation: 30
grub-install fails


when grub-install sda runs it returns something along the lines of "install device format not recognized"
 
Old 07-17-2007, 04:57 AM   #2
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
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.
 
Old 07-17-2007, 05:49 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Did you run "grub install sda" or "grub install /dev/sda"?

Is your menu.lst file correct?
 
Old 07-17-2007, 08:12 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.
 
Old 07-17-2007, 05:11 PM   #5
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
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
 
Old 07-17-2007, 05:28 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.

Last edited by jschiwal; 07-17-2007 at 05:40 PM.
 
Old 07-19-2007, 11:14 PM   #7
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
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
 
Old 07-19-2007, 11:18 PM   #8
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
press Esc key when to says to during boot up and select ubuntu
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB to HDD install fine but keyboard fails, BIOS/grub prob? stabu DamnSmallLinux 1 04-16-2007 12:01 AM
GRUB fails to boot OS shahgols Linux - General 7 01-04-2007 03:08 PM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
GRUB fails to install on sata disk with Ubuntu 5.04 nonutopia Linux - Software 5 08-16-2005 03:09 AM
GRUB fails on bootup arvid Linux - Software 1 03-13-2002 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration