pDisk Partitioning Question

Einbert yellowdog-general@lists.terrasoftsolutions.com
Wed Mar 24 02:03:01 2004


Le 23 mars 04, =E0 19:04, Steve Ward a =E9crit :

> thanks Chris
> I just looked at the partitions using pdisk and it appears that the
> partition is formatted as Apple_HFS; As I understand it, the process=20=

> is as
> follows:
> 1. Note the base blocks of the target and following partition

You are not obliged to do it. You just have to know which one to delete=20=

or to partition (use L command to list (rule ;) ) them all) ... See=20
next point.

> 2. Delete the partition and create the new partitions beginning at the
> original base block

If you have already 4 partitions and you want to delete partition 4 for=20=

example, you just have to type
d 4p
and to create use
c 4p
and this will automatically take the beginning of the original base=20
block. You juste have to specify  the number of block you want to give=20=

to your new partition with 2*1024*amount_in_MB (if you want a 256MB=20
partition, then you have to give (2*1024*256) blocks  -- and for GB you=20=

have to multiply again with 1024).


> 3. create other partitions as required making sure to not exceed the=20=

> base
> block of the following partition
> 4. Review all changes to the Partition Map
> 5. Write the partition
> does it matter whether the current partition is formatted for=20
> Apple_HFS or
> not?
No, because once the partition created, I used Disk druide to set the=20
mount points ... And by the way, pdisk creates Apple_UNIX_SVR (?)=20
types.

Chris



> thx
> Steve
>
> BTW, with all my partitions being the same size, do you have any=20
> suggestions
> as to how to tell them apart since the MacOS names have no correlation=20=

> with
> the pdisk names?
>
> on 03.23.2004 9:45am, Einbert at einbert@bluewin.ch wrote:
>
>> I used it last week to partition my linux partition I had prepared  a
>> lot of months ago. Everythink worked like a charm :) , no data was=20
>> lost
>> on the other partitions I have on the same disk.
>>
>> Chris
>>
>>
>> Le 23 mars 04, =E0 17:23, Steve Ward a =E9crit :
>>
>>> When I first got my 60GB IDE drive I set aside large partition (9GB)
>>> for a
>>> linux installation and left it due to a hectic schedule. Now I am
>>> getting
>>> around to it and I need to know if I can use pdisk to re-partition=20=

>>> this
>>> large partition (which has no data on it whatsoever) into several
>>> smaller
>>> partitions without reformatting. I have read in another newsgroup=20
>>> that
>>> it is
>>> possible but I would like to get some feedback from this group =
before
>>> I take
>>> the plunge. I have alot of data in the other partitions and am
>>> concerned
>>> abhout data integrity and cannot simply reformat due to the amount =
of
>>> data.
>>> If this is possible, some recommendations on how best to use this=20
>>> very
>>> large
>>> partition well and/or similar experience stories would be=20
>>> appreciated.
>>> thx
>>> Steve
>>
>> _______________________________________________
>> yellowdog-general mailing list
>> yellowdog-general@lists.terrasoftsolutions.com
>> =
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>> HINT: to Google archives, try  '<keywords>=20
>> site:terrasoftsolutions.com'
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> =
site:terrasoftsolutions.com'
>