Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird partitions table?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Fri Sep 12, 2008 7:20 pm    Post subject: Weird partitions table? Reply with quote

Hi all,

Trying to add Linux on a Vista laptop. I've shrunk the original Vista-partition, and added 2 new partitions (done within Vista). Now my partition table looks as follows when I boot a Gentoo CD:
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x10000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          14      112423+  de  Dell Utility
/dev/sda2              15         276     2097152    7  HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3   *         276       15633   123359228    7  HPFS/NTFS
/dev/sda4           15633       19458    30720000    f  W95 Ext'd (LBA)
/dev/sda5           15633       17163    12288000    7  HPFS/NTFS


Partition 4 is the one I want to put Gentoo on. But according to this table, partition 4 & 5 start at the same block? That can't be good...
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Fri Sep 12, 2008 7:46 pm    Post subject: Reply with quote

It's normal. sda4 is an extended partition--a partition that contains an arbitrary number of other partitions. You can't create a filesystem on an extended partition. sda5 is a logical partition, contained entirely within the extended partition. That's where you want to create your Gentoo filesystem.

The extended partition is an ancient workaround for the limitation that only four partitions can be defined in the master boot record (MBR) of a disk. Vista set up the new partitions this way to allow you to add more in the future--if it had simply created another primary partition, you'd have reached the limit of four and be permanently stuck (unless you wiped and repartitioned the disk).
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Fri Sep 12, 2008 7:54 pm    Post subject: Reply with quote

Hmm, I knew that, of course... But why didn't I THINK of it...? 8)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Fri Sep 12, 2008 8:02 pm    Post subject: Reply with quote

Perhaps because on Friday afternoon (evening) one should no longer be expected to think, until Monday. :D
Have fun installing!
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum