LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 11-06-2007, 06:03 PM   #1
unisol
Member
 
Registered: May 2005
Location: philadelphia,pa.
Distribution: ubuntu feisty 7.04,debian etch
Posts: 147

Rep: Reputation: 15
failed grub install


i have an acer laptop(acer 5100 2gb ram,160 gb hd) with vista installed on hde2, hde1 is acer data from a previous version of windows. i started to install gutsy on hde3 it went well up to 94%, when it (failed to install grub fatal error) vista still boots but i get nowhere with ubuntu. i used the hde1 partition for swap, which was a big mistake.anyone know how i can fix this.
 
Old 11-06-2007, 08:49 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Some mystery here...
Why is it hde?---ie where are hda,b,c,d?

What partition sizes did you use for hde1, 2, and 3?
Were there any other error messages during install?

If you have a live CD, boot up from that, and run "fdisk -l" and post the results here.
 
Old 11-06-2007, 08:57 PM   #3
contusion
Member
 
Registered: Mar 2005
Posts: 310

Rep: Reputation: 34
Explain more
and
use a different version and \ or distro!

Last edited by XavierP; 11-07-2007 at 03:35 PM. Reason: spamming that link
 
Old 11-07-2007, 10:24 AM   #4
unisol
Member
 
Registered: May 2005
Location: philadelphia,pa.
Distribution: ubuntu feisty 7.04,debian etch
Posts: 147

Original Poster
Rep: Reputation: 15
grub install failure

i did a fdisk -l:

device boot start end blocks id system
/dev/hda1 1 637 5116671 82 linux swap
/dev/hda2 638 10015 7532875 7 hpfs/ntfs
/dev/hda3 10016 19457 75842865 c w95 fat32 (lba)

how do i go about fixing this problem?
 
Old 11-07-2007, 10:54 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
/dev/hda2 638 10015 7532875 7 hpfs/ntfs
typo here--based on the cylinder count, I'm guessing it should be 75328785. Much safer to use cut and paste when posting data like this.

OK--you have hda, not hde. let's assume the other was just a typo. You will have to convert hda3 to ext3 or some other Linux files system before you install Linux. The installer can do this for you, or you can do it beforehand using mkfs. (First, use fdisk, Gparted, or other tool to change the partition type to 83 (Linux). Better yet, i would delete it and make a smaller partition for Linux. Leave empty (unpartitioned) space on the disk for future changes.

There is nothing wrong with your swap partition at hda1--it is bigger than it needs to be, but it will work fine.
 
Old 11-07-2007, 10:57 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
PS---I'm assuming that you did not need any data on hda3 if you were trying to give it all to Linux. And be sure to backup ALL important data before doing any of this....
 
Old 11-07-2007, 03:44 PM   #7
unisol
Member
 
Registered: May 2005
Location: philadelphia,pa.
Distribution: ubuntu feisty 7.04,debian etch
Posts: 147

Original Poster
Rep: Reputation: 15
failed grub install

i tried installing it again, making a 30 gb partition and formatting it as ext3 and root. grub still wont install. i installed ubuntu plenty of times and never had this problem. need help bad! i also tried from the live desktop find /boot/grub/stage1 and it returned an error 15.

Last edited by unisol; 11-07-2007 at 04:24 PM.
 
Old 11-07-2007, 08:49 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
What happens when the installer tries to install GRUB?

Are you specifying the mbr of hda?

Any chance that the live CD is not seeing the partitions correctly? When you get the error during install, see if you can do ctrl-alt-F1 to get a command prompt and do "fdisk -l"
 
Old 11-07-2007, 10:53 PM   #9
unisol
Member
 
Registered: May 2005
Location: philadelphia,pa.
Distribution: ubuntu feisty 7.04,debian etch
Posts: 147

Original Poster
Rep: Reputation: 15
failed grub install

im trying to install to a pata drive. would that cause problems?
 
Old 11-08-2007, 07:43 AM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by unisol View Post
im trying to install to a pata drive. would that cause problems?
No....

But how about answering my other questions???
 
Old 11-09-2007, 07:18 AM   #11
unisol
Member
 
Registered: May 2005
Location: philadelphia,pa.
Distribution: ubuntu feisty 7.04,debian etch
Posts: 147

Original Poster
Rep: Reputation: 15
failed grub install

i will do that today. ill geet back to you later. thanks!
 
Old 11-14-2007, 04:41 PM   #12
unisol
Member
 
Registered: May 2005
Location: philadelphia,pa.
Distribution: ubuntu feisty 7.04,debian etch
Posts: 147

Original Poster
Rep: Reputation: 15
solved failed grub install

i finally got ubuntu and grub to install by using the guided partitioning and install to the largest continuous space. grub now boots along with gutsy and vista. thanks for your help.
 
Old 01-07-2008, 12:21 PM   #13
nmansour
Member
 
Registered: Sep 2006
Location: Chicago
Distribution: Ubuntu 8.04 - Fedora 9 on an AMD 64bit Machine
Posts: 101

Rep: Reputation: 15
What do you mean by guided partitioning? I am in the same situation that you had before> Please help.
 
Old 01-07-2008, 04:40 PM   #14
unisol
Member
 
Registered: May 2005
Location: philadelphia,pa.
Distribution: ubuntu feisty 7.04,debian etch
Posts: 147

Original Poster
Rep: Reputation: 15
failed grub install

let linux use the largest free contiguous space.it will setup the swap file and file system for you. you must have free space on your hard drive. what are you trying to do? install next to vista? its called guided partitioning.

Last edited by unisol; 01-08-2008 at 08:29 AM.
 
  


Reply

Tags
failed, grub, install


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
the grub package failed to install (using debian) mrj Linux - Software 12 08-05-2007 03:24 PM
Install of Ubuntu failed - how do I get rid of the GRUB Loader? supapat Linux - Newbie 2 11-18-2005 09:11 PM
grub issues/yoper install failed. rossAINTfakin Linux - Newbie 3 08-27-2004 01:50 PM
Installation failed mid-install, now grub is all I have! whatthe Linux - General 2 03-09-2004 05:32 PM
install failed, GRUB freezes on boot. Pathian Linux - General 3 11-09-2003 10:21 PM


All times are GMT -5. The time now is 02:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration