 |
15-10-2006, 01:06 PM
|
#1 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: The new cherry..!!
Posts: 931
|
Ubuntu 6.06 - Grub loader failed..!!
Hi,
this is the frirst time i'm installing ubuntu.. The entire process was going on smoothly, with installation almost upto 99% complete. But in the final stages, i get an error message saying
Grub failed to load in hda0
I've tried it thrice, but th same prob alwys.. I have allotted a 512 MB swap partition and 5GB primary for ubuntu..
Any ideas..??
__________
Okay.. I tried installation again.. This is the error report I got..
We're sorry; the installer crashed. Please file a new bug report at https://launchpad.net/distros/ubuntu...quity/+filebug (do not attach your details to any existing bug) and a developer will attend to the problem as soon as possible. To help the developers understand what went wrong, include the following detail in your bug report, and attach the files /var/log/installer/syslog, /var/log/syslog, and /var/log/partman:
Quote:
Traceback (most recent call last):
File "/usr/bin/ubiquity", line 130, in ?
install(sys.argv[1])
File "/usr/bin/ubiquity", line 55, in install
ret = wizard.run()
File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 266, in run
self.process_step()
File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 755, in process_step
self.mountpoints_to_summary()
File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 1114, in mountpoints_to_summary
self.progress_loop()
File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 553, in progress_loop
raise RuntimeError, ("Install failed with exit code %s; see "
RuntimeError: Install failed with exit code 1; see /var/log/installer/syslog and /var/log/syslog
|
Last edited by prasad_den; 15-10-2006 at 01:06 PM.
Reason: Automerged Doublepost
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
15-10-2006, 01:18 PM
|
#2 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: The new cherry..!!
Posts: 931
|
Re: Ubuntu 6.06 - Grub loader failed..!!
I have attached the log files in zip format..
|
|
|
15-10-2006, 04:00 PM
|
#3 (permalink)
|
|
Wise Old Owl
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
|
Re: Ubuntu 6.06 - Grub loader failed..!!
@Prasad_den, Give full details of your System configuration? Do you have a onboard
GC? You should allocate atleast 7 GB for root('/'). Also increase your swap space to
around 700 MB. If you run some heavy resource-hungry applications then you must
allocate 1.5 GB for swap(like Oracle, Eclipse IDE etc.,).
__________________
* Imagination is more important than knowledge.
-Albert Einstein
|
|
|
15-10-2006, 06:56 PM
|
#4 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: The new cherry..!!
Posts: 931
|
Re: Ubuntu 6.06 - Grub loader failed..!!
Okay.. here's my sys config..:
Pentium 4 2.4GHz
Intel 845GVSR MoBo with onboard graphics
512 MB RAM
80GB HDD
Rest are not so important I think.. (I'm using XP pro as my main OS.. no probs booting into XP so far..
I'll try allotting 10GB for root and 1GB for swap..
I won't be running resource hungry apps, 'coz I'm a linux noobie.. and basically a doc with interest in computers and gadgetry..
Will update soon..!!
__________
Tried it with 1GB swap, but the same 5GB root partition.. I can't resize root partition without losing data.  The installer says at least 2GB for root..so shouldn't it be okay to use 5GB..??
Anyway, the result is the same.. Grub failed to load in hda0...  I'n stuck at this point..
Last edited by prasad_den; 15-10-2006 at 06:56 PM.
Reason: Automerged Doublepost
|
|
|
15-10-2006, 08:09 PM
|
#5 (permalink)
|
|
Google Bot
Join Date: Aug 2005
Posts: 9,772
|
Re: Ubuntu 6.06 - Grub loader failed..!!
mebbe some prob wit ur mbr... Mebbe its corrupted...
|
|
|
15-10-2006, 08:33 PM
|
#6 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: The new cherry..!!
Posts: 931
|
Re: Ubuntu 6.06 - Grub loader failed..!!
Quote:
|
Originally Posted by pathiks
mebbe some prob wit ur mbr... Mebbe its corrupted...
|
What do i do in that case...?? I can boot my XP with no probs at all..!!
|
|
|
15-10-2006, 08:36 PM
|
#7 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Ubuntu 6.06 - Grub loader failed..!!
__________________
http://www.bash.org/?258908
|
|
|
15-10-2006, 08:38 PM
|
#8 (permalink)
|
|
Wise Old Owl
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
|
Re: Ubuntu 6.06 - Grub loader failed..!!
To restore GRUB:
Boot using Ubuntu CD/DVD in Live mode. Open the Terminal Window & type:
$ sudo fdisk -l | grep Linux
The output will display two Linux partitions one is root ('/') ie., Linux & another Linux swap.
Note down the Linux partition number hdax ( where x is a number)
If your HD is SATA then it would be sdax ( For eg., sda7 or something)
$ sudo grub-install /dev/hda7
Assuming Linux is installed in hda7 partition. In your case it may vary.
Try this. This will install GRUB in the MBR.
__________________
* Imagination is more important than knowledge.
-Albert Einstein
Last edited by JGuru; 15-10-2006 at 08:50 PM.
|
|
|
15-10-2006, 08:48 PM
|
#9 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: The new cherry..!!
Posts: 931
|
Re: Ubuntu 6.06 - Grub loader failed..!!
Quote:
|
Originally Posted by JGuru
OK, Try booting Ubuntu 6.06 in Safe Graphics Mode. Use Ubuntu DVD
if possible. There are some bugs in Ubuntu. Booting in 'Safe Graphics Mode' should
solve most of it. Try it & let's see how things work.
|
I don't have a DVD... only the CD which I got from canonical..
Will try safe graphics mode.. Don't have time now, will do it tomorrow evening and let ya know...
|
|
|
15-10-2006, 09:15 PM
|
#10 (permalink)
|
|
Wise Old Owl
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
|
Re: Ubuntu 6.06 - Grub loader failed..!!
Some cds happen to be faulty... Boot using a livecd or if you have anyother distro installed you can ssh and install grub manually..
|
|
|
15-10-2006, 09:29 PM
|
#11 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Ubuntu 6.06 - Grub loader failed..!!
Quote:
|
Originally Posted by vignesh
Some cds happen to be faulty... Boot using a livecd or if you have anyother distro installed you can ssh and install grub manually..
|
ssh? Can you explain more on this.
Or you mean chroot?
__________________
http://www.bash.org/?258908
|
|
|
16-10-2006, 05:22 PM
|
#12 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: The new cherry..!!
Posts: 931
|
Re: Ubuntu 6.06 - Grub loader failed..!!
^^^ I know neither ssh nor chroot..!! please explain it as you would to a person with little or no knowledge on linux.. I'm one of them.
I don't have any other distro installed. Was previously using (trying  ) Mandriva Linux 10.1 and then Fedora Core 4..!!
|
|
|
16-10-2006, 08:38 PM
|
#13 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Ubuntu 6.06 - Grub loader failed..!!
Just read this thread man Boot Loader Lost
__________________
http://www.bash.org/?258908
|
|
|
26-11-2006, 03:46 PM
|
#14 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: The new cherry..!!
Posts: 931
|
Re: Ubuntu 6.06 - Grub loader failed..!!
Quote:
|
Originally Posted by JGuru
To restore GRUB:
Boot using Ubuntu CD/DVD in Live mode. Open the Terminal Window & type:
$ sudo fdisk -l | grep Linux
The output will display two Linux partitions one is root ('/') ie., Linux & another Linux swap.
Note down the Linux partition number hdax ( where x is a number)
If your HD is SATA then it would be sdax ( For eg., sda7 or something)
$ sudo grub-install /dev/hda7
Assuming Linux is installed in hda7 partition. In your case it may vary.
Try this. This will install GRUB in the MBR.
|
Am reviving an old topic, coz I found the time to follow-up just now...!! I have tried the commands you have mentioned, but it returns with the following error:
Quote:
ubuntu@ubuntu:~$ sudo fdisk -l | grep Linux
/dev/hda8 6898 7027 1044193+ 82 Linux swap / Solaris
/dev/hda10 9090 9729 5140768+ 8e Linux LVM
ubuntu@ubuntu:~$ sudo grub-install /dev/hda10
Probing devices to guess BIOS drives. This may take a long time.
Could not find device for /boot: Not found or not a block device.
|
@tech_your_future: The link the have also does not help me.. Keep getting some error message or other..!
|
|
|
01-12-2006, 02:50 AM
|
#15 (permalink)
|
|
In The Zone
Join Date: Aug 2004
Location: Lucknow
Posts: 246
|
Re: Ubuntu 6.06 - Grub loader failed..!!
I am facing exactly the same error...without the GRUB msg...What shoud I do...
My config is as follows:
Pentium 4 3GHz HT, 915 MB with onboard graphics and sound, 512 MB RAM(DDR), 80 GB SATA HDD.
I use 15GB of space for WinXP SP2 and gave 5 GB for root and 5 GB for swap.
__________________
Bitten by the open-source bug...
|
|
|
01-12-2006, 03:55 AM
|
#16 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Ubuntu 6.06 - Grub loader failed..!!
__________________
http://www.bash.org/?258908
Last edited by mehulved; 01-12-2006 at 03:55 AM.
Reason: Automerged Doublepost
|
|
|
06-12-2006, 03:04 PM
|
#17 (permalink)
|
|
In The Zone
Join Date: Aug 2004
Location: Lucknow
Posts: 246
|
Re: Ubuntu 6.06 - Grub loader failed..!!
I finally was able to install ubuntu after 2-3 tries...and nagging my head with partitioning...
__________________
Bitten by the open-source bug...
|
|
|
06-12-2006, 09:41 PM
|
#18 (permalink)
|
|
Wise Old Owl
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
|
Re: Ubuntu 6.06 - Grub loader failed..!!
tech_your_future
Sorry.. i mean chroot
|
|
|
06-12-2006, 09:59 PM
|
#19 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Ubuntu 6.06 - Grub loader failed..!!
OK. I was just wondering if there was some other way, I didn't know of.
__________________
http://www.bash.org/?258908
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|