View previous topic :: View next topic |
Author |
Message |
RenfildDust Guru
Joined: 22 Nov 2003 Posts: 321 Location: Reggio Calabria - Catania - Roma
|
Posted: Tue May 24, 2005 11:27 am Post subject: creare partizione hfs con mac-fdisk |
|
|
(naturalmente stiamo parlando di Mac)
Come si fa?
Non mi sembra che ci sia una voce apposita:
Code: |
renfild root # mac-fdisk /dev/hda
/dev/hda
Command (? for help): ?
Notes:
Base and length fields are blocks, which are 512 bytes long.
The name of a partition is descriptive text.
Commands are:
h help
p print the partition table
P (print ordered by base address)
i initialize partition map
s change size of partition map
b create new 800K bootstrap partition
c create new Linux partition
C (create with type also specified)
d delete a partition
r reorder partition entry in map
w write the partition table
q quit editing (don't save changes)
Command (? for help):
|
fdisk canonico mi da questo output:
Code: |
renfild root # fdisk /dev/hda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 7296.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help):
|
E tra l'altro non mi sembra ci sia il supporto per HFS:
Code: |
Command (m for help): l
0 Empty 1c Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid
1 FAT12 1e Hidden W95 FAT1 75 PC/IX be Solaris boot
2 XENIX root 24 NEC DOS 80 Old Minix c1 DRDOS/sec (FAT-
3 XENIX usr 39 Plan 9 81 Minix / old Lin c4 DRDOS/sec (FAT-
4 FAT16 <32M 3c PartitionMagic 82 Linux swap / So c6 DRDOS/sec (FAT-
5 Extended 40 Venix 80286 83 Linux c7 Syrinx
6 FAT16 41 PPC PReP Boot 84 OS/2 hidden C: da Non-FS data
7 HPFS/NTFS 42 SFS 85 Linux extended db CP/M / CTOS / .
8 AIX 4d QNX4.x 86 NTFS volume set de Dell Utility
9 AIX bootable 4e QNX4.x 2nd part 87 NTFS volume set df BootIt
a OS/2 Boot Manag 4f QNX4.x 3rd part 8e Linux LVM e1 DOS access
b W95 FAT32 50 OnTrack DM 93 Amoeba e3 DOS R/O
c W95 FAT32 (LBA) 51 OnTrack DM6 Aux 94 Amoeba BBT e4 SpeedStor
e W95 FAT16 (LBA) 52 CP/M 9f BSD/OS eb BeOS fs
f W95 Ext'd (LBA) 53 OnTrack DM6 Aux a0 IBM Thinkpad hi ee EFI GPT
10 OPUS 54 OnTrackDM6 a5 FreeBSD ef EFI (FAT-12/16/
11 Hidden FAT12 55 EZ-Drive a6 OpenBSD f0 Linux/PA-RISC b
12 Compaq diagnost 56 Golden Bow a7 NeXTSTEP f1 SpeedStor
14 Hidden FAT16 <3 5c Priam Edisk a8 Darwin UFS f4 SpeedStor
16 Hidden FAT16 61 SpeedStor a9 NetBSD f2 DOS secondary
17 Hidden HPFS/NTF 63 GNU HURD or Sys ab Darwin boot fd Linux raid auto
18 AST SmartSleep 64 Novell Netware b7 BSDI fs fe LANstep
1b Hidden W95 FAT3 65 Novell Netware b8 BSDI swap ff BBT
Command (m for help):
|
_________________ La generazione di numeri casuali è troppo importante per essere lasciata al caso. |
|
Back to top |
|
|
Dr. Click n00b
Joined: 22 May 2005 Posts: 7 Location: Svizzera Ticino (Stabio)
|
Posted: Tue May 24, 2005 6:06 pm Post subject: Re: creare partizione hfs con mac-fdisk |
|
|
Ciao, penso che dovresti prima di tutto controllare se nella configurazione del tuo kernel hai abilitato il supporto per il FileSystem, l'opzione da abilitare si chiama "Apple Extended HFS file system support", la trovi ovviamente nella sezione File System, quando configuri il kernel.... |
|
Back to top |
|
|
|
|
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
|
|