Ubuntu 6.06 - Grub loader failed..!!

Status
Not open for further replies.

prasad_den

Padawan
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 *launchpad.net/distros/ubuntu/+source/ubiquity/+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:

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:

JGuru

Wise Old Owl
@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.,).
 
OP
prasad_den

prasad_den

Padawan
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.. :D :D

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:

JGuru

Wise Old Owl
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.
 
Last edited:
OP
prasad_den

prasad_den

Padawan
JGuru said:
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... :D
 

vignesh

Wise Old Owl
Some cds happen to be faulty... Boot using a livecd or if you have anyother distro installed you can ssh and install grub manually..
 

mehulved

18 Till I Die............
vignesh said:
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?
 
OP
prasad_den

prasad_den

Padawan
^^^ 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 :D ) Mandriva Linux 10.1 and then Fedora Core 4..!!
 
OP
prasad_den

prasad_den

Padawan
JGuru said:
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:
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..! :(
 

bizzare_blue

Journeyman
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.
 

mehulved

18 Till I Die............
Follow the third post in this thread *www.linuxquestions.org/questions/showthread.php?t=314821 and see if that helps.
__________
Also see if this works *www.ubuntuforums.org/showthread.php?t=24113
 
Last edited:
Status
Not open for further replies.
Top Bottom