 |
|
07-09-2008, 11:41 PM
|
#1 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Ubuntu Grub Problem
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*
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
08-09-2008, 10:49 AM
|
#2 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Ubuntu Grub Problem
You have to install Grub on the MBR of your 1st Hard Drive. Use GParted Live CD and open a Terminal and enter
Code:
find /boot/grub/stage1
It will give you somethig like (hd0,6).
Enter
Change (hd0,6) with the results of find /boot/grub/stage1.
I hope i understood your problem correctly.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
Last edited by Rahim; 08-09-2008 at 11:25 PM.
|
|
|
08-09-2008, 11:17 PM
|
#3 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
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
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
|
|
|
08-09-2008, 11:23 PM
|
#4 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Ubuntu Grub Problem
Yah ubuntu cd will do. The numbering depends on which drive is recognised first in BIOS.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
08-09-2008, 11:32 PM
|
#5 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
Yaar its not performing the rest of commands u've mentioned
I'm able to perform just 1st command
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
|
|
|
08-09-2008, 11:35 PM
|
#6 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Ubuntu Grub Problem
Have you entered it correctly? root (hd1,10) and setup (hd0)
You kkindamessed with the brackets. What errors are you getting?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
08-09-2008, 11:38 PM
|
#7 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
K let u know in few minutes
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
|
|
|
08-09-2008, 11:54 PM
|
#8 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Ubuntu Grub Problem
My suggestion
Boot with GParted live cd and confirm on which drive is your linux ext3 Ubuntu partition
Then refer this tutorial
http://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
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
09-09-2008, 12:40 AM
|
#9 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
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
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
|
|
|
09-09-2008, 09:50 AM
|
#10 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Ubuntu Grub Problem
Ecko try the above method but this time enter setup (hd1) instead of (setup (hd0)
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
11-09-2008, 06:34 PM
|
#11 (permalink)
|
|
Addicted to FOSS
Join Date: Jan 2008
Location: Manipal
Posts: 32
|
Re: Ubuntu Grub Problem
Quote:
Originally Posted by rahimveron
Have you entered it correctly? root (hd1,10) and setup (hd0)
You kkindamessed with the brackets. What errors are you getting?
|
There should be space between root and ( and bracket and (
|
|
|
11-09-2008, 08:26 PM
|
#12 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Ubuntu Grub Problem
^The space is there,isnt it?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
11-09-2008, 08:42 PM
|
#13 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Ubuntu Grub Problem
I think he might as well put the boot loader in his root and install GAG. It's a lot easier.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
11-09-2008, 11:26 PM
|
#14 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
Ok another problem here guyz
Quote:
|
ya i'm intelligent enough to type commands
|

Tried this
Quote:
|
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
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
|
|
|
11-09-2008, 11:33 PM
|
#15 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Ubuntu Grub Problem
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
http://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
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
11-09-2008, 11:36 PM
|
#16 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
Yaar its in Root partition
I've done exactly the same as said in ur tut
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
|
|
|
12-09-2008, 07:23 AM
|
#17 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Ubuntu Grub Problem
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
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
12-09-2008, 07:47 AM
|
#18 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
i'll post them from ubuntu 's Gparted
Ext3 is sda11
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  to boot in XP
How abt changing the grub to same setting as Supergrub ??
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
Last edited by Ecko; 12-09-2008 at 10:17 AM.
Reason: Automerged Doublepost
|
|
|
12-09-2008, 11:13 AM
|
#19 (permalink)
|
|
Right Off the Assembly Line
Join Date: Sep 2008
Posts: 31
|
Re: Ubuntu Grub Problem
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
|
|
|
12-09-2008, 05:08 PM
|
#20 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Ubuntu Grub Problem
Edit /boot/grub/menu.lst and make an entry for XP:
Quote:
# 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.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
Last edited by Rahim; 12-09-2008 at 05:13 PM.
|
|
|
12-09-2008, 07:02 PM
|
#21 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Ubuntu Grub Problem
Ok now one step at a time. Use the supergrub boot disk to restore your boot record to windows xp only. This means that you will be able to boot into xp without the help of supergrub. Ten come back here I will tell you what to do next.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
12-09-2008, 09:09 PM
|
#22 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
Done Guyz*
Next Step Plz
Edited the MBR so that now I can just use Windows
No Ubuntu 4 now
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
Last edited by Ecko; 12-09-2008 at 10:20 PM.
Reason: Automerged Doublepost
|
|
|
12-09-2008, 10:36 PM
|
#23 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Ubuntu Grub Problem
Is you root partition the roughly 16 GB sdb11?
Boot using the Ubuntu live cd and select the first option to run ubuntu from it without installing.
After the desktop loads press Alt and F2
Type
gnome-terminal
and press ENTER
Install GRUB to your root partition. In a terminal type
grub-install /dev/sdb11
and press ENTER.
Close terminal
Now install GAG as outlined in http://thinkdigit.com/forum/showthread.php?p=925088#23
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
12-09-2008, 10:40 PM
|
#24 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
Quote:
|
Is you root partition the roughly 16 GB sdb11?
|
Ya
Doing now
Will post in 5 minutes
Unable to create directory using abover command
It says ubale to create GRUB Directory (probably due to root nature of installation in that folder)
What to dow now ??
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
Last edited by Ecko; 12-09-2008 at 10:58 PM.
Reason: Automerged Doublepost
|
|
|
12-09-2008, 11:05 PM
|
#25 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Ubuntu Grub Problem
Type the commands as above in a terminal and post the screenshot. I'll see tomorrow, Goodnight
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
12-09-2008, 11:07 PM
|
#26 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
I'm unable to create directory dats it
Nothing else
I'm booting using Ubuntu CD so atleast what I guess it that due to security reasons it woesn't allow any creation of folder in root drive
Atleast I know how to use terminal & few other things
I'm not a new noob but Im a Old Noob
Will post the screen shot too
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
Last edited by Ecko; 12-09-2008 at 11:09 PM.
Reason: Automerged Doublepost
|
|
|
12-09-2008, 11:15 PM
|
#27 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Ubuntu Grub Problem
I just realised something
What's this!!
Those warning signs and key like things??
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Silly me
I got it
When you boot with a live cd the partitions are NOT automatically mounted. No wonder you cannot make a directory
In gnome terminal
sudo mkdir /mnt/share
and press ENTER
Then type
sudo mount -t ext3 /dev/sdb11 /mnt/share
and press ENTER
Then type
sudo grub-install /dev/sdb11
and press ENTER.
Close terminal
Now install GAG as outlined in http://thinkdigit.com/forum/showthread.php?p=925088#23
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
Last edited by NucleusKore; 12-09-2008 at 11:26 PM.
Reason: Automerged Doublepost
|
|
|
12-09-2008, 11:28 PM
|
#28 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
It says
Quote:
|
Could not find device for /boot: Not found or not a block device.
|
Any problem with that ??
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
|
|
|
12-09-2008, 11:33 PM
|
#29 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Ubuntu Grub Problem
Looks like i am all mixed up
see this post
http://ubuntuforums.org/showthread.php?t=224351
So modify the above as follows
In gnome terminal
sudo mkdir /mnt/share
and press ENTER
Then type
sudo mount -t ext3 /dev/sdb11 /mnt/share
and press ENTER
Then type
chroot /mnt/share /bin/bash
and press ENTER
Then type
sudo grub-install /dev/sdb11
and press ENTER.
Close terminal
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
Last edited by NucleusKore; 12-09-2008 at 11:35 PM.
Reason: Automerged Doublepost
|
|
|
13-09-2008, 06:26 AM
|
#30 (permalink)
|
|
Wandering In Tecno Land
Join Date: Feb 2005
Location: 127.0.0.1
Posts: 724
|
Re: Ubuntu Grub Problem
Got error while executing chroot command(unable to change directory....) so went to link u mentioned
Followed every command mentioned there( I think you didn't wrote 1 or 2 of them)
Followed all instructions with sdb11 in place of everything else & it worked fyn
But still GRUB isn't @ boot
Will it be shown @ boot only after I install GAG ??
__________________
Born in Windows Die In Linux © 2009-10 All Rights Reserved.
Learn Linux : www.linoob.com (Official WebSite)
|
|
|
| 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
|
|
|
|
|
|