LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 03-05-2012, 07:16 PM   #1
Stev8
LQ Newbie
 
Registered: Mar 2012
Location: Niagara Region, Ontario
Distribution: Ubuntu 11.10 desktop for i386
Posts: 10

Rep: Reputation: Disabled
Exclamation Installing ubuntu 11.10 alongside windows prob seeing partitions


Hello,

I have installed ubuntu 11.10 alongside Windows XP at an alternate location and was surprised to see upon boot into Gparted I am unable to see my partitions.

---------------------------------------------------------------------

In order to recreate my issue.
I used an old pc (Pentium 3, 866MHz, 512MB ram, 20 GB maxtor drive). I installed windows 2000, I booted from the ubuntu 11.10 desktop cd for i386 processors. During the setup I choose the option to install ubuntu alongside windows.

Upon booting into Gparted from the bootable cd, my whole drive shows as being unallocated despite the fact I can boot into each OS correctly.
When I boot into Windows my partition magic 8.0 states it cannot read the drive leters(init error 117)

I did some research as to why this is the case and found info that linux installed in free space of the windows partition. But I dont understand why my partitions are not being detected by partitioning software.

Does anybody have a clue as to why the partitions are no longer being detected.

Any help would be greatly appreciated

Last edited by Stev8; 03-05-2012 at 07:22 PM.
 
Old 03-05-2012, 08:44 PM   #2
Zssfssz
Member
 
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Rep: Reputation: Disabled
Under *Ubuntu Go To The "Dash Home" ('Start') Search 'Disk' Go to 'Disk Utility' and click on name of hard drive. Then Click On 'Check SMART Data/Status/Something' The run a short test. If It Says The Disk Is Failing get a new one (or a new computer like I do And Then get a new hard drive [I LOOOOVE Computers]).
DON'T Run A Benchmark in The Disk Utility. It Will Dump Yer' Data. The Smart Thing Doesn't Touch Your Data.

Mabey Your Using A Partition Table (GDUI, Master Boot Record, Apple, etc.) That GPARTED Doesn't Reconise.

Last edited by Zssfssz; 03-05-2012 at 08:46 PM.
 
Old 03-05-2012, 09:27 PM   #3
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,203

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Before you panic. If you were looking at gparted from your install then the question is do you have all the things needed to support gparted. In particular the package "ntfs-3g".

You need that anyway for write permissions to write to your MS partition.

Did grub pick it up and give you the option to boot to your MS install?
 
Old 03-06-2012, 09:34 AM   #4
Stev8
LQ Newbie
 
Registered: Mar 2012
Location: Niagara Region, Ontario
Distribution: Ubuntu 11.10 desktop for i386
Posts: 10

Original Poster
Rep: Reputation: Disabled
reply

Hi,

I am using a bootable cd of Gparted v 0.3, mind you its an old version. It has worked in the past on the computer and all computers for that matter. Keep in mind even Partition magic in Windows isnt picking up the partition table info.

When I used older versions of ubuntu. I installed them alongside windows and GParted was able to read my partitions if I chose to resize them, or delete ubuntu partition completly. I would run fixmbr in DOS in order to uninstall ubuntu completly.

Last edited by Stev8; 03-06-2012 at 09:46 AM.
 
Old 03-06-2012, 09:40 AM   #5
Zssfssz
Member
 
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Rep: Reputation: Disabled
Is It The One That Is Bundled With FreeDOS?
Remember The Ubuntu Install Media Has GParted On It.
 
Old 03-06-2012, 09:53 AM   #6
Stev8
LQ Newbie
 
Registered: Mar 2012
Location: Niagara Region, Ontario
Distribution: Ubuntu 11.10 desktop for i386
Posts: 10

Original Poster
Rep: Reputation: Disabled
reply

Hi,

I tried in response to your other post about reading the smart data, no dice.

Yes I assume it is the GParted cd with a Calendra Linux base.

My reason for using the cd, is I want to have each partition unmounted. So I can delete my linux partition if I want to.
 
Old 03-06-2012, 10:12 AM   #7
Stev8
LQ Newbie
 
Registered: Mar 2012
Location: Niagara Region, Ontario
Distribution: Ubuntu 11.10 desktop for i386
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi,

I installed the latest GParted on ubuntu itself to see if it could read the partition(s).
And my entire drive shows up as unallocated space with a read circle with a white exclaimation mark be side the partition column.

I had a screenshot but not sure how to inline it in this forum.

I clicked on info and it states warning cant have overlapping partitions. Dont even know how thats possible as windows is NTFS and linux is ext.

Last edited by Stev8; 03-06-2012 at 10:17 AM.
 
Old 03-06-2012, 11:51 AM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,203

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Boot to the newest LiveCD that you have and run;
Code:
sudo e2fsck /dev/<your drive in question>
Over lapping partitions are possible. I am actually real good at creating that situation. Have never seen the kind of results you are getting.

While on the LiveCD try taking a look at Gparted from there just for giggles and see if you get the same result there. Have gparted up when running the above command, I would run the command first.
 
Old 03-06-2012, 12:16 PM   #9
Stev8
LQ Newbie
 
Registered: Mar 2012
Location: Niagara Region, Ontario
Distribution: Ubuntu 11.10 desktop for i386
Posts: 10

Original Poster
Rep: Reputation: Disabled
reply

Hi,

I booted into the ubuntu cd and went to try ubuntu, opened the terminal and ran
sudo fdisk -l

found my linux partition is /dev/sda5

Ran:

sudo e2fsck /dev/sda5

got the output
/dev/sda5: clean

Gparted on the cd states all the drive is unallocated.

to just try something, I ran

sudo e2fsck /dev/sda

thinking it might check everything

but the device was busy.

GParted has an option for lost partition recovery. So I am attempting that. I will post the results later on when it is completed.

What led me to believe that is the cause is I booted into Ranish Partition manager(from the ultimate boot cd)
and it said my mbr/embr wasnt correct.

I ran
fixmbr
from the windows 2000 recovery console a few days ago, found no change in seeing the partitions. So I reinstalled grub.

Last edited by Stev8; 03-06-2012 at 12:41 PM.
 
Old 03-06-2012, 02:08 PM   #10
Stev8
LQ Newbie
 
Registered: Mar 2012
Location: Niagara Region, Ontario
Distribution: Ubuntu 11.10 desktop for i386
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thumbs down reply

there were no partitions recognized from the recovering lost partitions scan
 
Old 03-06-2012, 03:30 PM   #11
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,203

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
I thought that a whole disk scan was possible too. Guess I never tried it. Have now.

Tried it from my sda drive checking sdb.

Problem with that was the same as you got "device or resource busy"

All partitions ran fine as individuals except for swap which is mounted by the install I am using on sda.

If you go back to the LiveCD it would be interesting to see what;
Code:
sudo cfdisk
gives you.

That is a nice partitioning agent. Has a terminal type gui if it comes up and will show you partitions similar to the way Gparted does.

You may want to check in to make sure ntfs-3g is installed. I am sure it is because there is no way the installer is going to detect an MS install without it but I would check because I don't use MS and would want to cover my bases.

Seeing how synaptic is gone the easy way to do that would be
Code:
sudo apt-get install ntfs-3g
Will either install it on the Live Session or tell you it is all ready installed. Or possibly just upgrade it.

I like to use cfdisk to do initial partitioning of new drives. Unlike gparted it will not overlap partitions.

What you are likely to get is an error message as to why it will not open. Would kind of like to see that.
 
Old 03-06-2012, 03:59 PM   #12
Stev8
LQ Newbie
 
Registered: Mar 2012
Location: Niagara Region, Ontario
Distribution: Ubuntu 11.10 desktop for i386
Posts: 10

Original Poster
Rep: Reputation: Disabled
reply

Hi,

I booted into the bootable cd of ubuntu:
ran:
sudo cfdisk

I saw my partition info correctly

ran

sudo apt-get install ntfs-3g

and the output is it already exists.

Over the past several yrs I have never had an isse with GParted. My aim is to use a GUI for partitioning. Mae the newest version of ubuntu blocks the mbr a bit or something.
Before I dual booted many systems and did not have this issue.

I am stumped.
 
Old 03-06-2012, 04:03 PM   #13
Stev8
LQ Newbie
 
Registered: Mar 2012
Location: Niagara Region, Ontario
Distribution: Ubuntu 11.10 desktop for i386
Posts: 10

Original Poster
Rep: Reputation: Disabled
thought

My aim is to have installed ubuntu alongside Win. without overlapping them. Can I safely delete the linux partitions in
cfdisk

then rewrite the mbr to get rid of grub.

then reinstall ubuntu choosing the option to manually choose my partitions.
 
Old 03-06-2012, 05:32 PM   #14
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,203

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
cfdisk will remove partitions if it is able to see them.

I assume you know how to rewrite the MBR with the MS bootloader. I haven't got a clue, don't use MS.

You are going to have to be able to see the drive to do anything with any partitioning tool. This goes for the partitioning tool in the installer.

I always use the manual partitioning option but I make my partitions before ever starting the installer as I trust just about any other partitioning tool more than the one in the Ubuntu installer. It does not make mistakes often but when it does it does a real good job of screwing up.

You may want to concider the the alt install disk from Ubuntu if you are going to reinstall. That uses a text installer from Debian. It uses the same backend for the partitioning tool but the frontend is more reliable.

That disk also has a rescue tool you can boot to for working on broken systems. The Ubuntu LiveDVD also has that option in its menu.
 
Old 03-06-2012, 05:51 PM   #15
Stev8
LQ Newbie
 
Registered: Mar 2012
Location: Niagara Region, Ontario
Distribution: Ubuntu 11.10 desktop for i386
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi,

Thank you,
yea I usually use the alternate cd for that very reason. I just downloaded it to use the function to run it from the cd. Then I decided to use the same cd to do many pcs.

With the alternate cd in the past I always have booted from the GParted live cd. Set a little of unallocated space on the drive.
Then on the ubuntu installer told it to load in the largest amount of contigious free space. Then ubuntu would install in that unallocated space.

I built a website at that time to have step by step instructions on how to do it:
http://www.iaw.on.ca/~dawaines/Ubuntu

As you can tell im not exactly a newbie, but have been away from using linux for the past few years.

Coversely to that installation methodology. I thought when this desktop GUI cd tried to install, you could just set the option to install alongside windows. But I see thats not the case. Now im stuck in this conundrum and it doesnt make sense to me.

Yes to redo an mbr to microsoft stadards.

-Boot into the windows installation cd and go to the recovery console

-at the DOS prompt:
-Run
fixmbr

or:

When windows is already installed, you can install the recovery console by:

-put in the installation media
-Go to run and type

d:\i386\winnt32.exe /cmdcons

-After this, a boot menu will appear upon restart
-Choose recovery console
-This brings you to a dos interface
-Type installation number(1 if thats the only version of windows installed)
-Type your password(To get administrative privileges)
-At the prompt type:
fixmbr

This cmd will rewrite the entire master boot record, grub will have to be reloaded.


(thats if d is your cd rom drive, if not substitute your drive letter for d)
--------------------------------------------------------
All of my partitions showed up properly using:

cfdisk

I am not familiar with this tool, can you provide me with a way to delete my linux partition safely.

For sake of ease my linux partition is
/dev/sda5


Thank you soo much, I could find much info about this online.

Regards,

Last edited by Stev8; 03-06-2012 at 06:06 PM.
 
  


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
Installing Windows 7 alongside Mint? Or is there another solution to this? CrazyGuy158 Linux - General 2 02-25-2012 05:31 PM
Uninstall Ubuntu running alongside windows 7 Mac-Anthony Linux - Newbie 2 08-30-2011 08:20 AM
Error msg on trying to install Ubuntu 10.4 alongside Windows ZombyWoof Ubuntu 2 01-28-2011 05:00 AM
Installing Windows alongside Linux The Show Linux - Newbie 4 02-26-2006 09:05 AM
Installing Linux alongside Windows? stuartguthrieuk Linux - Software 3 09-27-2004 11:43 PM


All times are GMT -5. The time now is 08:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration