Nikos Mouat (nikm@conjungi.com)
Wed, 30 Sep 1998 17:15:35 -0700 (PDT)
Sorry, scratch that. Seems to have taken using the following commands:
nm
[[nikm@bigmac /]# pdisk -i
Top level command (? for help): ?
Notes:
Disks have fake names of the form /dev/scsi<bus>.<id>
For example, /dev/scsi0.1, /dev/scsi1.3, and so on.
MkLinux style names are also allowed (i.e /dev/sda or /dev/hda),
and these names follow the MkLinux DR3 conventions.
Commands are:
h print help
v print the version number and release date
l list device's map
L list all devices' maps
e edit device's map
E (edit map with specified block size)
r toggle readonly flag
q quit the program
Top level command (? for help): E
Name of device: /dev/sda
A logical block is 512 bytes:
pdisk: No valid block 1 on '/dev/sda'
Edit /dev/sda -
Command (? for help): q
Top level command (? for help): E
Name of device: /dev/sda
A logical block is 512 bytes: 512
pdisk: No valid block 1 on '/dev/sda'
Edit /dev/sda -
Command (? for help): i
A physical block is 1 bytes:
A logical block is 512 bytes:
size of 'device' is 4194058 blocks (512 byte blocks):
new size of 'device' is 4194058 blocks (512 byte blocks)
Command (? for help): p
Partition map (with 512 byte blocks) on '/dev/sda'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Free Extra 4193994 @ 64 ( 2.0G)
Device block size=512, Number of Blocks=4194058 (2.0G)
DeviceType=0x0, DeviceId=0x0
Command (? for help): w
Writing the map destroys what was there before. Is that okay? [n/y]: y
The partition table has been altered!
Command (? for help): q
Top level command (? for help): q
[[nikm@bigmac /]#
On Wed, 30 Sep 1998, Nikos Mouat wrote:
>
> Well,
> Everything is now installed on the external disk, and I'm trying to
> start using the internal disks however I'm not having alot of luck..
> The kernel from dusers is installed, and the internal disks are reported
> as /dev/sd{a,b,c} - when I try and pdisk /dev/sda to partition it,
> everything works fine, however when I try and write the partition it
> complains:
>
> [> [nikm@bigmac /]# pdisk /dev/sda
> pdisk: No valid block 1 on '/dev/sda'
> Edit /dev/sda -
> Command (? for help): i
> Command (? for help): p
>
> Partition map (with 1 byte blocks) on '/dev/sda'
> #: type name length base ( size )
> 1: Apple_partition_map Apple 63 @ 1
> 2: Apple_Free Extra 1073741761 @ 64 (1024.0M)
>
> Device block size=512, Number of Blocks=1073741825 (512.0G)
> DeviceType=0x0, DeviceId=0x0
>
> Command (? for help): w
> Writing the map destroys what was there before. Is that okay? [n/y]: y
> pdisk: Unable to write block 1 (Bad file number)
> pdisk: Unable to write block 2 (Bad file number)
> pdisk: Re-read of partition table failed (Device or resource busy)
> Reboot your system to ensure the partition table is updated.
> Command (? for help): q
> [> [nikm@bigmac /]#
>
> the size reported is also wrong..
>
> nm
>
This archive was generated by hypermail 2.0b3 on Thu Dec 10 1998 - 16:55:56 PST