Install Ubuntu in Dual Boot but only XP boots

Asked by Bobit

Hi! I'm a first-timer with Linux and this what happened with my Ubuntu 8.10 installation.
I'm using a Compaq Presario V3000 with 1GB RAM and 80 GB IDE HDD (drive C). It has been installed with XP prior to installing Ubuntu. Also, prior to installation of Ubuntu, I did not do a defragmentation of the HDD. But, after downloading and burning of Ubuntu on CD, the MD5 checksum and integrity check were all ok.
I intend to install Ubuntu on the same HDD where XP is installed. So, during Ubuntu installation, when the portion on Partitioning appeared, I chose the first Guided option and dragged the border between Windows and Ubuntu so that there is a little more free space for the Windows. As a result of that adjustment, Windows has 35.5 GB and Ubuntu has about 40 GB. In the installing system portion, it went on fine. I just left my laptop when it was at the 90% completion. When I returned, the laptop has a display of an list of numbers and statement on error in cache (font color is white while the display background is black). At the bottom, where the cursor is blinking, I pressed space bar, enter and CTRL+C but nothing happened for each try. I pressed the power button for a few seconds, and the display went dark and ejected the installation CD. I power up my laptop and it booted with XP. I checked for the size of drive C and the total size is 35.5 GB.
I inserted the installation CD and restarted my laptop. It proceeded to booting Ubuntu, asking for the username and password. I entered the username and password I encoded during the installation but it did not work. Anyway, the booting proceeded until the desktop is displayed. I checked for the Ubuntu portion of the HDD and found Linux folders like bin, user, etc, etcetera. The problem remains that the dual boot does not function.
Sorry for the lengthy story and hope you could help. Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Solved by:
peter
Solved:
Last query:
Last reply:
Revision history for this message
peter (peter-neuweiler) said :
#1

Hi Bobit

If you're going to boot, can you choose between Linux and Windows?
Peter

Revision history for this message
Bobit (bobitsev) said :
#2

Thanks for responding to my concern, Peter. At present, after doing the Ubuntu installation, booting always goes to XP after power up. There is no prior display of choosing between XP and Ubuntu. To go to Ubuntu, I have to insert the CD installation, restart and select the use of Ubuntu without installing in PC. From here, I can go into the 40 GB portion of my HDD with those usual Linux folders. Actually, I can even go into the 35.5 GB portions of my HDD which contains the Windows.
About the list of numbers and statement on cache that I mentioned, I think (as in pure guess) this was recorded somewhere in an error logfile. You can teach me to where it is stored and I can send it to you for your analysis.

Revision history for this message
peter (peter-neuweiler) said :
#3

This is strange. If you have two operating systems, Grub should appear after you pushed Power on. And I guess, you installed Ubuntu. Is this correct?

If you like to analyze the log files, you can find them under System > Administration > System Log. There you can find different logs. But I'm not sure which log will store the information.
Peter

Revision history for this message
Bobit (bobitsev) said :
#4

To clarify, I did not see on the display that the installation was finished or complete. But I did follow the 7 steps in installing. I just did not do defragmentation of the hard disk prior to installation. So I'm suspecting the cache error is related to this.
As for the logfiles, I just thought maybe you can be able to analyze from this. Surely, I can't.
Anyway, if there are no solutions to this, allow me to present 2 options:
1. Re-install Ubuntu 8.10. - do I need to delete all files on the 40 GB portion (or reformat only the 40 GB portion) first then reinstall Ubuntu?
2. Install Ubuntu 8.04 - would this also involve deleting or reformatting of the 40 GB portion?
Hope you can assist on which is feasible. Thanks again.

Revision history for this message
Best peter (peter-neuweiler) said :
#5

Yep, I recommend to install Ubuntu once again. Take the ISO-CD and start it again. There where you can influence the partitions be sure that you choose a solution that allows to run two operating systems.

This is a site regarding Grub: https://help.ubuntu.com/community/GrubHowto. There are more informations about Grub. Choose ubuntu.com and enter as search key Grub. You'll get a lot of pages.

Regarding the installation, consider the following:
- Ubuntu 8.10 - the current stable version, released in October 2008, codenamed Intrepid Ibex.
- Ubuntu 8.04 LTS - the current long term support version, released in April 2008, codenamed Hardy Heron.

You have to choose which one you prefer.

Hope it helps.
Peter

Revision history for this message
Bobit (bobitsev) said :
#6

I will reinstall Ubuntu and read information on Grub.
Before I close this case, I'd like to ask 2 questions:
1. Does reinstalling overwrites the previous files stored on the 40 GB portion of the HDD?
2. I did try reinstalling once but I canceled when I got to the partitioning portion. Aside from the blue- and green-colored portions (which I saw during my first time of partitioning) of the partition illustration, I also saw orange-colored portions. Do I just ignore these orange ones?
Thank you very much and I hope you won't mind me submitting questions again later.

Revision history for this message
peter (peter-neuweiler) said :
#7

Hi Bobit

1: Yep, every installation will reformating the disc.
2: I'm sorry, but I can't remember my installation. Important is only this: there where you have to choose the partition, be sure that you can install two operating systems.

Hope it helps.
Peter

Revision history for this message
Bobit (bobitsev) said :
#8

As far as the memory space is concerned, I am confident that 35.5 GB for XP and 40 GB for Ubuntu will be more than enough. Thanks, again!

Revision history for this message
peter (peter-neuweiler) said :
#9

Yea, I guess this is correct *lll. Tell me please what's going on after the new installation. Thanks a lot. Because I wonder, if it works *lll.
Peter

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

Ok, i'm in a rush and havent read this but maybe this page helps?
https://help.ubuntu.com/community/WindowsDualBoot

Revision history for this message
peter (peter-neuweiler) said :
#11

Great. Thanks!
Peter

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

Choosing "Manual" partitioning allows you to pick through every partition and make sure there is an UNticked box for "Format Partition?" for every partition.

Inn this way Ubuntu can avoid overwriting an existing partition, another thing that Windows don't offer lol

Good luck
Regards from
Tom :)

Revision history for this message
Bobit (bobitsev) said :
#13

Thanks peter, that solved my question.

Revision history for this message
Bobit (bobitsev) said :
#14

Good news! I have successfully installed Ubuntu in my laptop and can do dual boot. My greatest lesson learned was HDD partitioning. I though Guided Partitioning was an automatic function that's why I failed.
To Peter, Tom and those who supported, thanks for your help. My next adventure now is connecting to our windows network. If you have tips, please do send.

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

My best tip is to get them all to install Ubutu too :) It's much safer, more robust and yet flexible (especially in a dual-boot setup)

In the menatime go up to the top taskbar and click on

Places - Network

Double click on "Windows Network" and hopefully all the machines will be listed there. Just click on one and browse any shared folders it has. If the networking icon up by the clock (looks like 2 television screens) has a big red cross or an exclamation mark then please post this as a separate question
https://answers.launchpad.net/ubuntu/+source/grub/+addquestion

To read Windows stuff across the network it might be worth going up to the top-taskbar and click on

System - Administration - Synaptic Package Manager

and use either search tool to find samba stuff and make sure you have "Samba" and "smbclient" installed.

Good luck and regards from
Tom :)

PS please post separate questions for each problem so that the right people are drawn to answer the right questions ;)

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

lol, i was in too much of a rush earlier.

Nicely fixed and congrats is what i meant to say ;)
Any other issues we could try helping you with would be great, just post as new separate questions.

Hurrah and welcome to Linux-land, especially to the Ubuntu corner :)

Regards from
Tom :)

Revision history for this message
Bobit (bobitsev) said :
#17

Thank you, Tom! Sorry for extending this topic on dual boot to another topic. I'll do your advice.