LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-10-2010, 08:09 AM   #1
Kharne
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Rep: Reputation: 0
Two partitions showing as same in Pysdm


Complete Linux newbie here I've got Ubuntu up and running, and I looked in Storage Device Manager and noticed something strange. My computer has one 80 gig drive with two partitions (XP and Ubuntu) and one 500 gig drive where I store my data. Here's my Fdisk -l:


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x24399f5b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 60801 488384001 7 HPFS/NTFS

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2b9c2b9c

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sdb2 5100 9729 37190475 f W95 Ext'd (LBA)
/dev/sdb5 5100 9485 35230513+ 83 Linux
/dev/sdb6 9486 9729 1959898+ 82 Linux swap / Solaris


So sda is my 500 gig, sdb is my 80 gig. I don't understand what sdb1 and sdb2 are exactly, and I think something might have been screwed up when I installed Ubuntu and made my partition.

When I go into Storage Device Manager, sda1 and sdb1 are the same. They have the same mount point, and if I try to edit one, it changes for both.

Do I need to re-partition my 80 gig drive (sdb)? I feel like that drive should just be XP, Linux, and the swap. Is there a way to fix this within Ubuntu?
 
Old 04-11-2010, 04:05 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Hi,

The above output looks ok to me.

/dev/sdb1 * 1 5099 40957686 7 HPFS/NTFS
sdb1 => Your windows partition.

/dev/sdb2 5100 9729 37190475 f W95 Ext'd (LBA)
sdb2 => A container for the none primary partitions (this holds sdb5 and sdb6 in this example)

/dev/sdb5 5100 9485 35230513+ 83 Linux
sdb5 => your linux partition (which is an extended partition, not a primary)

/dev/sdb6 9486 9729 1959898+ 82 Linux swap / Solaris
sdb6 => your linux swap partition (again, an extended pertition, not primary).

Take a look here:

Disk Partitioning (wikipedia)
Partition - Partitioning a hard drive (kiskea)

A disk can only have 4 primary partitions (sda1 -> sda4) if you want/need more partitions you need to create an extended partition which holds all the other partitions. A mix is also possible (true in your case: 2 primary partions, one [sdb2] being the container for the extended partitions).

Hope this helps.

Last edited by druuna; 04-11-2010 at 04:20 AM. Reason: Added extra external link
 
Old 04-11-2010, 10:30 AM   #3
Kharne
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, that does clear things up a bit (I didn't realize at first that sdb5 and sdb6 were on an extended partition).

I still don't understand why I can't change anything for sda1 or sdb1 separately though. For example, I set the mount point for the sdb1 as "XP" but then it says sda1 is also set to "XP".

Even though I can't give the sda1 drive it's own mount point in Storage Device Manager, when I mount it it always mounts to "SATA", not what it's set to in SDM.
 
  


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
USB partitions not showing up in Windows lin_myworld General 5 12-25-2007 03:34 PM
Partitions showing up on Desktop der_11 Ubuntu 2 06-09-2007 07:30 AM
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 01:11 PM
disk partitions not showing up balvinder Linux - Hardware 1 05-04-2006 11:33 PM
Not showing window partitions utsav_verma Fedora - Installation 2 04-10-2004 01:34 PM


All times are GMT -5. The time now is 01:54 AM.

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