-
Partitions pour Linux.
- Partition de mémoire virtuelle (swap) :
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-823): 1
Last cylinder or +size or +sizeM or +sizeK ([1]-823): +16M
- Partition du système de fichier :
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (18-823): 18
Last cylinder or +size or +sizeM or +sizeK ([18]-823): 823
Command (m for help): p
Disk /dev/hda: 32 heads, 63 sectors, 823 cylinders
Units = cylinders of 2016 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/hda1 1 1 17 17104+ 83 Linux native
/dev/hda2 18 18 823 812448 83 Linux native
- Typage des partitions :
Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): L
0 Empty 9 AIX bootable
1 DOS 12-bit FAT a OS/2 Boot Manag
2 XENIX root 40 Venix 80286
3 XENIX usr 51 Novell?
4 DOS 16-bit <32M 52 Microport
5 Extended 63 GNU HURD
6 DOS 16-bit >=32 64 Novell Netware
7 OS/2 HPFS 65 Novell Netware
8 AIX
75 PC/IX b7 BSDI fs
80 Old MINIX b8 BSDI swap
81 Linux/MINIX c7 Syrinx
82 Linux swap db CP/M
83 Linux native e1 DOS access
93 Amoeba e3 DOS R/O
94 Amoeba BBT f2 DOS secondary
a5 BSD/386 ff BBT
Hex code (type L to list codes): 82
Changed system type of partition 1 to 82 (Linux swap)
Command (m for help): p
Disk /dev/hda: 32 heads, 63 sectors, 823 cylinders
Units = cylinders of 2016 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/hda1 1 1 17 17104+ 82 Linux swap
/dev/hda2 18 18 823 812448 83 Linux native
Command (m for help): w