LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2007, 05:01 PM   #1
Hitty
Member
 
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33

Rep: Reputation: 15
Windows only booting after installing ubuntu


Hi,

I installed Windows on a secondary machine (which was at one point only Ubuntu).

I wanted to keep my Linux partition for working on, and a windows one for playing games.

I've partitioned my drive during a Ubuntu setup in the past and it's always worked fine. This time however, I installed windows, then put my dapper live CD in to run the installer, and now I've lost 200GB because I can't access my linux partition.

Every time my PC boots up it boots straight to windows.

Any suggestions as to why?

Thanks for any help,
-Hit
 
Old 01-14-2007, 05:06 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
When you install Windows, it puts its boot code in the mbr--no choice.

From the live CD, do fdisk -l so we can see where everything is. You can reinstall grub from the live CD--or you may be able to use the live CD to get back into the Linux install.
 
Old 01-14-2007, 05:08 PM   #3
Hitty
Member
 
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33

Original Poster
Rep: Reputation: 15
I installed Linux secondly though, which I've always done to avoid windows stopping Ubuntu booting.

I'm currently updating the drivers for my other PC at the moment, I should be able to get a fdisk -l for you in a few minutes.

Sorry about the wait
 
Old 01-14-2007, 05:13 PM   #4
Hitty
Member
 
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33

Original Poster
Rep: Reputation: 15
My fdisk -l output:

ubuntu@ubuntu:~$ fdisk -l

Disk /dev/sda: 2046 MB, 2046033920 bytes
8 heads, 7 sectors/track, 71360 cylinders
Units = cylinders of 56 * 512 = 28672 bytes

Device Boot Start End Blocks Id System
/dev/sda1 5 71360 1997956+ 6 FAT16
ubuntu@ubuntu:~$
 
Old 01-14-2007, 05:29 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
This says that you have one 2GByte disk and it is completely consumed by a FAT16 partition. If it is supposed to be much larger, then something is very wrong. (Or maybe this is another device and fdisk is not seeing your main drive for some reason.
Is the main drive SATA or PATA/IDE?
What version of Ubuntu?
Can you tell us what the BIOS thinks? and also, what does Windows think it is?
 
Old 01-14-2007, 05:32 PM   #6
Hitty
Member
 
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33

Original Poster
Rep: Reputation: 15
I plugged a USB pen drive in, that's a 2GB FAT disk, so I'm assuming that's what fdisk is picking up.

Im using an IDE hard drive, with Dapper.

I've not checked the BIOS, but I'll do that now and Windows thinks it's a 70GB (approx) NTFS drive.
 
Old 01-14-2007, 05:35 PM   #7
Hitty
Member
 
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33

Original Poster
Rep: Reputation: 15
My BIOS is saying it has a 300GB IDE Hard drive enabled, but I can't find anything else.

Is there anything in particular you're looking for that I ideally need to find?
 
Old 01-14-2007, 09:49 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
we are back to why Linux cannot see all the partitions. I have never seen a situation where fdisk would not see all the devices.....

You can try installing from the live Linux and see what the partition manager there sees. When you get to the part about installing grub, ask it to be put on a floppy.

Another option; When you bbo the Lived CD, does int dtect the Linux install on the HD and give you the option of booting it?
 
Old 01-15-2007, 08:27 AM   #9
Hitty
Member
 
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33

Original Poster
Rep: Reputation: 15
I managed to fix the problem last night before I went to bed.

I'm not sure exactly what was wrong, but I don't think it installed properly at the start.

I reinstalled it, and instead of giving swap the 'recommended' drive space (256MB+) I gave it 2GB. This seemed to fix it, but again, I'm not sure what was wrong.

Thanks for the help though, I'm sure it might help someone else who has had a similar problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot boot windows after installing ubuntu mushmaster Linux - Software 2 09-05-2006 11:30 PM
Installing Ubuntu - Windows already loaded N.Srinivasan Linux - Newbie 2 07-23-2006 07:15 AM
installing ubuntu along side windows linux virgin Linux - Software 1 02-17-2006 12:32 PM
Installing Ubuntu WITHOUT formatting Windows ajd Linux - Newbie 8 01-16-2006 01:52 AM
Trouble booting windows after installing linux motionman04 Linux - Newbie 7 07-19-2004 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration