LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2009, 10:45 PM   #1
alkanetexe
LQ Newbie
 
Registered: Jan 2009
Posts: 15

Rep: Reputation: 0
Partitions unidentifiable after installing XP


Kind of in trouble here...

My original situation looked like this:

120GB total:
Four Linux Partitions, 40GB --Blank Space, 20GB --Hyperdrive, 50GB

All of the OS partitions are 10GB, and the Hyperdrive is a 50GB FAT32 partition for data storage that could be accessed from all of the OSes. My hard drive is 120GB total.

Well, I recently installed XP to the "blank space" and went through a bit of trouble getting back into Linux because ntldr replaced grub on the mbr (or so I believe after researching the problem). Today I finally got back into Linux and don't particularly care for the XP partition, so I've been looking into different versions of Linux that could replace it.

But when I opened GParted, it said my entire hard drive was "Unallocated Space," even after several refreshes. I've even looked at my HD from several LiveDiscs and it says the same thing. But XP (when I used it) could see all of the separate partitions, and both Linux and Windows can detect the Hyperdrive.

Can anybody help me figure this out/Does anybody know what's wrong?
 
Old 04-29-2009, 10:55 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
xp will automatically overwrite your master boot record and will not ask if you want that.

Were the four Linux partitions (what Linux distribution did you have) primary or logical partitions. Did you create a partition prior to the installation in the unallocated space for xp? Windows doesn't usually boot from a logical partition unless you have another windows version on a primary.

What does 'today I finally got back into Linux' mean. Were you able to boot into your Linux partition? What is the output of 'fdisk -l' command? What distro of Linux are you using?
 
Old 04-29-2009, 11:04 PM   #3
alkanetexe
LQ Newbie
 
Registered: Jan 2009
Posts: 15

Original Poster
Rep: Reputation: 0
I don't know whether they were logical or primary; I just know they were there.

I believe I did create a blank partition prior to the XP install.

The four Linux partitions were actually only two OSes: Mint, blank, Xubuntu, blank.

"Today I finally got back into Linux" means I reinstalled grub and was able to boot into Linux as opposed to Windows. I booted into the Mint partition, and as such am using Linux Mint 6 Felicia Main Edition.

fdisk -l outputs
Quote:
Cannot open /dev/sda
sudo fdisk -l outputs

Quote:
omitting empty partition (5)

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x11a8ba38

Device Boot Start End Blocks Id System
/dev/sda1 1 1363 10948266 83 Linux
/dev/sda2 * 1364 2727 10956330 7 HPFS/NTFS
/dev/sda3 2728 14593 95313645 5 Extended
/dev/sda4 14222 14593 2988058+ 82 Linux swap / Solaris
/dev/sda5 2728 4032 10482349+ 83 Linux
/dev/sda6 4033 5337 10482381 83 Linux
/dev/sda7 6644 13849 57882163+ b W95 FAT32
/dev/sda8 13850 14221 2988058+ 82 Linux swap / Solaris
 
Old 04-30-2009, 12:08 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 1363 10948266 83 Linux
/dev/sda2 * 1364 2727 10956330 7 HPFS/NTFS
/dev/sda3 2728 14593 95313645 5 Extended
/dev/sda4 14222 14593 2988058+ 82 Linux swap / Solaris 
/dev/sda5 2728 4032 10482349+ 83 Linux 
/dev/sda6 4033 5337 10482381 83 Linux
/dev/sda7 6644 13849 57882163+ b W95 FAT32
/dev/sda8 13850 14221 2988058+ 82 Linux swap / Solaris
That bit in red is a primary partition. It's overlapping the extended partition - a big nono.
If it were me I'd just use fdisk to delete sda4, and then see if gparted and co will talk to the disk.
 
Old 04-30-2009, 12:20 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Blonde moment ... ignore

Last edited by Tinkster; 04-30-2009 at 12:21 AM.
 
Old 04-30-2009, 09:53 PM   #6
alkanetexe
LQ Newbie
 
Registered: Jan 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 1363 10948266 83 Linux
/dev/sda2 * 1364 2727 10956330 7 HPFS/NTFS
/dev/sda3 2728 14593 95313645 5 Extended
/dev/sda4 14222 14593 2988058+ 82 Linux swap / Solaris 
/dev/sda5 2728 4032 10482349+ 83 Linux 
/dev/sda6 4033 5337 10482381 83 Linux
/dev/sda7 6644 13849 57882163+ b W95 FAT32
/dev/sda8 13850 14221 2988058+ 82 Linux swap / Solaris
That bit in red is a primary partition. It's overlapping the extended partition - a big nono.
If it were me I'd just use fdisk to delete sda4, and then see if gparted and co will talk to the disk.
How do I do that...?
 
Old 04-30-2009, 10:51 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Take note of my sigline before you do anything.
Code:
sudo fdisk /dev/sda
d
4
w
q
When you first get into fdisk, the prompt mentions "(m for help)". If you enter the "m", you'll see what those commands are doing.
 
Old 05-01-2009, 12:59 PM   #8
alkanetexe
LQ Newbie
 
Registered: Jan 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Ah, thank you. I was planning on backing things up anyway before anything definite, but thanks for the warning as well.

Now, to find that external HD...
 
  


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 in other partitions arunvk Linux - Newbie 4 04-14-2008 09:57 PM
lm-sensors help unidentifiable sensor okos Linux - Newbie 4 02-19-2008 10:26 PM
partitions after installing a second distro cheintz Linux - Newbie 7 10-21-2005 05:17 AM
Problems installing (partitions) alphster SUSE / openSUSE 1 12-16-2004 05:49 PM
Unidentifiable Acer computer? Thymox General 3 09-18-2002 06:31 PM


All times are GMT -5. The time now is 08:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration