LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] mkfs.ext2 problem...

[ILUG] mkfs.ext2 problem...

David Neary nearyd at khumbu.eeng.dcu.ie
Fri Feb 4 12:50:41 GMT 2000


Hi,

AFAIK (and I'm (always) open to correction), the extended partition
doesn't have to be the fourth. Basically there's space at the end of the
first sector for four partitions in the partition table, and as long as
you have one (bootable) primary partition, you're grand. In fact, IIRC,
RedHat's partitioning tool only creates one primary partition, and sets
everything else up as an extended partition (so /dev/hda2 is extended,
/dev/hda5 (first non-primary partition) is ext2 or whatever, and so on.

The extended partitions work a little like a linked list. The main
partition table tells the 'puter where to find the first extended
partition, and then in that "extended partition table" there's info on the
size of the partition, and where to find the next extended partition, etc.

At least, this is how I believe it works. If it didn't then I would have
had to have one of hdc5-8 as an extended partition to add hdc9.

In any case, I dson't think that would have a major effect on me being
unable to set up an ext2 partition in /dev/hdc2. But it's interesting, all
the same :)

Thanks for the reply,
Dave Neary.

On Thu, 3 Feb 2000, Jeff Rose wrote:

> I guess I am getting real rusty on this! I was curious why you didn't
> have /dev/hdc4 as EXTENDED, and /dev/hdc3 a normal ext2 (83) partition?
> I thought the 4th-level was the EXTENDED marker:
> 
> ... as I notice you did with /dev/hdc5-8, hdc8 is a a '4th' (not
> EXTENDED as hdc3).
> 
> Ready to learn again,
> 
> Jeff
> -- 
>  ( >-    Jeff Rose - everyone's Linux User Group (eLUG)     -< )
>  /~\    http://www.elug.org        mailto:jrose at elug.org     /~\
> |  \)          *** Freelance Linux/IT Writer ***            (/  |
>  |_|_                 eFAX: +1.630.604.4130                 _|_|
> 





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell