Cannot find Ubuntu after installing it

Asked by chintalvaady

Hello friends,

I installed ubuntu 7.10 ( I know it is an old version,But i prefer it for its simple system requirements) on a computer which already had Win Xp.The installation completed successfully and when i restarted the computer,There was NO GRUB.The computer directly started loading Xp.Can any one help with this problem.

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Solved by:
Tom
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
Tom (tom6) said :
#2

Yes, reinstall grub.

Rather than use 7.10 which is old and unsupported it would be much much better to install a very much up-to-date but much lighter-weight version of linux such as Wolvix Hunter 1.1.0
http://distrowatch.com/table.php?distribution=wolvix
Hunter is about the only very light distros i have found so far that has full proper OpenOffice and proper Firefox (not Seamonkey, BonEcho or anything else).

Since Ubuntu is often said to be the largest most bloated distro in gnu&linux-land i would suggest trying almost anything else out. Even Mandriva, openSUSE, Fedora or stuff like that tends to be lighter, requiring much less system resources.
http://distrowatch.com

Now that you are very experienced with Ubuntu and seem to have been doing quite a huge amount with it (nice website btw but i can't get in now without registering. Probably a good thing tho ;) ) i think you would be surprised just how similar all the other distros are. Try a few other ones that have a gnome desktop environment and you will see what i mean. Try any and get to the command-line and we are all almost identical. That is definitely the next step you need to take in order to learn linux better faster.

Good luck and many regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#3

Errr, ok i have looked at that guide now and think it might be good to play around with something while reading that.

I think you already know how to do this but the guides might help others if anyone else reads this. Boot up a LiveCd of Ubuntu
https://help.ubuntu.com/community/LiveCD
and get to a command-line
https://help.ubuntu.com/community/UsingTheTerminal#Starting%20a%20Terminal

On the command-line type in

sudo grub

find /boot/grub/stage1

and paste the output that gives into here. It should (hopefully) say something like (hd1,3). Taking my numbers as an example but use what you are given on your machine type in

root (hd1,3)

setup (hd0)

quit

Note that the "setup (hd0)" is always the same to boot a linux on an internal hard-drive. The result you got from the "find" command on the grub-command-line is irrelvant to the "setup" command but is vitally important to the "root" command.

Good luck and regards from
Tom :)

Revision history for this message
chintalvaady (cmraghavendran) said :
#4

Hi Tom,

My CPU is fast enough to work with ubuntu 9.04.But my monitor is an old monitor.When i tried to install using the ubuntu 9.04 live cd,I was not able to see any thing in the screen.But when tried the same with ubuntu 7.10,The OS installed well but it was not to be found when i restarted the computer.,It directly started loading Xp.I reinstalled the GRUB successfully..,But Still im not able to see ubuntu .Hope this information helps you to try solve my problem.

Revision history for this message
chintalvaady (cmraghavendran) said :
#5

Hi Tom,

My CPU is fast enough to work with ubuntu 9.04.But my monitor is an old monitor.When i tried to install using the ubuntu 9.04 live cd,I was not able to see any thing in the screen.But when tried the same with ubuntu 7.10,The OS installed well but it was not to be found when i restarted the computer.,It directly started loading Xp.I reinstalled the GRUB successfully..,But Still im not able to see ubuntu .Hope this information helps you to try solve my problem.

Revision history for this message
Tom (tom6) said :
#6

Hi :)

So a LiveCd session of 7.10 works but it's just not booting up when installed to a hard-drive?

Revision history for this message
Tom (tom6) said :
#7

Errr, please can you let us know the output when you do this from the LiveCd
https://help.ubuntu.com/community/LiveCD
command-line

sudo grub

find /boot/grub/stage1

Revision history for this message
chintalvaady (cmraghavendran) said :
#8

Yes..,Ubuntu 7.10 installed well..,But when i restarted the computer after completing the installation,Ubuntu was not to be found.But as you hv said.,The computer works well when i use the LIVE CD.

Revision history for this message
chintalvaady (cmraghavendran) said :
#9

Here is the output for those commands.

ubuntu@ubuntu:~$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.

       [ Minimal BASH-like line editing is supported. For
         the first word, TAB lists possible command
         completions. Anywhere else TAB lists the possible
         completions of a device/filename. ]
grub> find /boot/grub/stage1
find /boot/grub/stage1
 (hd1,5)
grub>

Revision history for this message
Tom (tom6) said :
#10

Hi :)

It is possible that the boot-loader has to be within the first 1024Mb of the hard-drive. Some older bioses are like that. Since the /boot folder can be installed on a separate 100Mb partition this does give some opportunities for doing odd things, such as using any old hard drive as just a boot drive without it having the OS on it. The OS could be on a newer faster hard-drive with that new hard-drive set as slave as long as the old boot-drive is set as MAster.

Good luck and regards from
Tom :)

Revision history for this message
Best Tom (tom6) said :
#11

Ok, thanks for the output there :)

So on that grub command-line you ran

root (hd1,5)

setup (hd0)

quit

That setup line really needs to setup that MBR on the primary MAster hard-drive regardless of which drive the grub is on, so "setup (hd0)" might be the key to solving this? Obviously before running the "setup" command you need to prepare it by doing the "root (hd1,5)"

Hopefully this helps?
Regards from
Tom :)

Revision history for this message
chintalvaady (cmraghavendran) said :
#12

Thanks Tom, that solved my question.

Revision history for this message
Tom (tom6) said :
#13

Brilliant, nicely done :))
Thanks and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#14

Hi :)

Have you been able to try the new Ubuntu 10.04 before it gets officially released?
http://www.ubuntulinux.org/testing/lucid/beta2
Trying it as a LiveCd or as an extra dual/multi-boot would be ideal. Developers and everyone are keen to try to iron out any problems before 10.04 gets officially released so you might find faster & more effective answers to your bug reports which would make 10.04 work better on your system for you

Thanks and regards from
Tom :)