Ubuntu Grub Problem

Status
Not open for further replies.

Ecko

Wandering In Tecno Land
Title says it all guyz but let me explain u a bit more
Tried Installing Ubuntu on Ext 3 partition on my SATA HDD*
The installation turns well but I neve see GRUB @ boot so I'm unable to boot into Ubuntu
Also i've tried the same thing in VirtualBox with single PATA HDD which works pretty fine
Since I dont know what to do please help :(
I've 2 HDD (320 SATA & 80 PATA) connected with partitions going to 12 (including the SWAP)
I've installed the Ubuntu in 11th partition (Ext3) of HDD(0) i.e SATA*
 

Rahim

Married!
You have to install Grub on the MBR of your 1st Hard Drive. Use GParted Live CD and open a Terminal and enter
Code:
sudo grub
Code:
find /boot/grub/stage1
It will give you somethig like (hd0,6).
Enter
Code:
root (hd0,6)
Code:
setup (hd0)
Change (hd0,6) with the results of find /boot/grub/stage1.
I hope i understood your problem correctly.:|
 
Last edited:
OP
Ecko

Ecko

Wandering In Tecno Land
find /boot/grub/stage1 command gives me result as hd(1,10) which I think should be hd(0,10) rather than it
But I'm still unable to complete it as I dont have Gpart CD but I only have Ubuntu CD
If that can do the needful or is there any other way around
 

Rahim

Married!
Yah ubuntu cd will do. The numbering depends on which drive is recognised first in BIOS.
 
OP
Ecko

Ecko

Wandering In Tecno Land
Yaar its not performing the rest of commands u've mentioned
I'm able to perform just 1st command
 

Rahim

Married!
Have you entered it correctly? root (hd1,10) and setup (hd0)
You kkindamessed with the brackets. What errors are you getting?
 

NucleusKore

TheSaint
My suggestion
Boot with GParted live cd and confirm on which drive is your linux ext3 Ubuntu partition

Then refer this tutorial
*thinkdigit.com/forum/showthread.php?t=96132

and in that:
*Boot with Ubuntu and install grub to your root partition as outlined in the above tutorial.
*Then install the GAG boot loader as outlined in the above tutorial

You should be fine
 
OP
Ecko

Ecko

Wandering In Tecno Land
Guyz Unable to load grub even after trying the method by rahim
Will try the Gparted CD
Also not to remind that I'm able to do so exactly same in VirtualBox
 
OP
Ecko

Ecko

Wandering In Tecno Land
Ok another problem here guyz
ya i'm intelligent enough to type commands
:D
Tried this
Ecko try the above method but this time enter setup (hd1) instead of (setup (hd0)
It worked fyn rather excellent but Im now unable to boot into XP :(
Plz guyz help me out
 

NucleusKore

TheSaint
This is what you called digging your own grave and burying yourself in it. Manual editing is not for the faint hearted.

Download SUPERGRUB from here
*www.supergrubdisk.org/
and burn it to a cd

Boot with it and select the automatic option to restore your windows boot record :(((((((((((((

Then boot with the Ubuntu cd (live mode), open a shell and install grub to the Root partition as outlined in my tutorial.

Install GAG as outlined in my tutorial
 
OP
Ecko

Ecko

Wandering In Tecno Land
Yaar its in Root partition
I've done exactly the same as said in ur tut
 

NucleusKore

TheSaint
Boot with GParted and a pendrive in place
Take snapshots of both your hard disks and save them to the pendrive
post them here, let us see
 
OP
Ecko

Ecko

Wandering In Tecno Land
i'll post them from ubuntu 's Gparted
Ext3 is sda11

*i37.tinypic.com/2i7vgvr.png
*i38.tinypic.com/2d937yo.png

The (sdb1) is Windows XP

Ok here is an update
I edited the grub lst file to change from hd(1,10) to hd(0,10) because this was the only setting for which Ubuntu was booting

Still windows xp isn't booting so using SuperGrub CD :D to boot in XP
How abt changing the grub to same setting as Supergrub ??
 
Last edited:

damked

Broken In
I have not used Ubuntu but there may be a way to this if right utilities are there.
Boot into your Ubuntu and in system utilities search for some utility which will let you to change boot loader settings in graphic interface. From there you will be able to add a menu which will let you to boot into windows. I
 

Rahim

Married!
Edit /boot/grub/menu.lst and make an entry for XP:
# on /dev/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
chainloader +1
See if this helps :) Not sure though as i dont know much about SATA.
 
Last edited:
Status
Not open for further replies.
Top Bottom