All times are UTC-06:00




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Partition table format?
PostPosted: Sat Dec 16, 2006 9:34 pm 
Offline

Joined: Fri Feb 17, 2006 7:58 pm
Posts: 7
Location: Jabber: luke@dashjr.org
What kind of partition table does OF expect? Using regular x86 partitioning, 'ls hd' fails to see any partitions...


Top
   
 Post subject:
PostPosted: Sun Dec 17, 2006 10:58 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 429
Location: Secure Networks / Sweden
Amiga partition table will always work best.


Top
   
 Post subject:
PostPosted: Sun Dec 17, 2006 11:05 am 
I've installed Debian with msdos partition table type.
Do you know if its possible to change the partition table type without altering the partitions ?


Top
   
 Post subject:
PostPosted: Sun Dec 17, 2006 2:14 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 429
Location: Secure Networks / Sweden
No, that will destroy your everything on your HDD.


Top
   
 Post subject:
PostPosted: Sun Dec 31, 2006 10:53 am 
Offline

Joined: Fri Feb 17, 2006 7:58 pm
Posts: 7
Location: Jabber: luke@dashjr.org
It shouldn't... unless the partition table uses more space than DOS's...


Top
   
 Post subject:
PostPosted: Tue Jan 02, 2007 6:13 am 
Offline

Joined: Mon Dec 18, 2006 10:08 am
Posts: 6
Can anybody give me a link where the Amiga partition table is briefly described.

I googled for it but I didn't find anyting useful. Perhaps I enterd the wrong keyword.

I found somting about partition table formats in the the fdisk manpage but only about BSD/SUN, IRIX/SGI and DOS disklabel but nothing about Amiga.
As it seems to me fdisk is the wrong programm for Amigas partition tables. Parted seems better.

Thanks


Top
   
 Post subject:
PostPosted: Tue Jan 02, 2007 8:24 am 
Offline

Joined: Tue Nov 14, 2006 3:22 am
Posts: 37
afaik, OF reads amiga's ffs, ext2, fat, fat32, i heard somewhere, it also reads amiga's sfs... i use ext2, and it works flawlessly.

bye, MarK.


Top
   
 Post subject:
PostPosted: Tue Jan 02, 2007 9:24 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 429
Location: Secure Networks / Sweden
You should only use Parted on Pegasos/EFIKA.


Top
   
 Post subject:
PostPosted: Wed Jan 03, 2007 6:35 am 
Offline

Joined: Mon Dec 18, 2006 10:08 am
Posts: 6
At the moment there is a DOS patition table on the harddrive in my efika. The debian installer patitioning tool (parted I think it was) created it or used the one install by the hd supplier.

Now I am considering switching, because I am not happy with the partitioning I did.
So I wanted to now somthing about the amiga partiotion table, like how many partition it supports and if there is somthing like 'Do not start a partition that actually uses its first sector (like a swap partition) at cylinder 0, since that will destroy the disklabel' (BSD/SUN).


Top
   
 Post subject:
PostPosted: Wed Jan 03, 2007 7:03 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
At the moment there is a DOS patition table on the harddrive in my efika. The debian installer patitioning tool (parted I think it was) created it or used the one install by the hd supplier.

Now I am considering switching, because I am not happy with the partitioning I did.
So I wanted to now somthing about the amiga partiotion table, like how many partition it supports and if there is somthing like 'Do not start a partition that actually uses its first sector (like a swap partition) at cylinder 0, since that will destroy the disklabel' (BSD/SUN).
Amiga RigidDiskBlock partitioning is basically a linked list of partitions where the only quirk is they are 'cylinder aligned'.

http://www.kernel-api.org/docs/online/2 ... ource.html

The Linux support source code explains it pretty easily. The "RDSK" identifier is searched for on disk within the first few sectors of the disk. It needn't be at sector 0.

Each 32-bit value in the structure that looks like a block location on disk actually is. rdb_PartitionList is the block number of the first partition block ("PART").

The partition block links the next partition block (pb_Next). You can label partitions independantly of the filesystem (pb_DriveName) and even link a filesystem binary for AmigaOS/MorphOS to the partition and save this inside the disk structure so it will always mount. I wish Linux had this feature!

You can have as many partitions as you can fit on the disk up to the RDB_ALLOCATION_LIMIT blocks - this is 16 in that include, so that's about 150+ partitions, within reason :)

GNU parted properly handles the format. There are no quirks like special partition types (primary or extended or logical) but due to the nature of parted (PC-originated) it does ask you what type the partition needs to be, and that should be 'primary'.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Thu Jan 04, 2007 6:32 am 
Offline

Joined: Mon Dec 18, 2006 10:08 am
Posts: 6
Thanks!

With your discription and with looking a the linux kernel soureces I have a clue how it's working.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 16 guests


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

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group