|
|
# fdisk /dev/sda The number of cylinders for this disk is set to 19870. 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) (Usuwamy istniejące partycje) Command (m for help): o 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 19870. 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) (Sprawdzanie utworzonej partycji przy pomocy komendy "p") Command (m for help): p Disk /dev/sda: 10.2 GB, 10254827520 bytes 16 heads, 63 sectors/track, 19870 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System (Tworzenie partycji /boot) Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 (Wciśnięcie Enter dla wybrania ustawień domyślnych) First cylinder (1-19870, default 1): Last cylinder or +size or +sizeM or +sizeK (1-19870, default 19870): +20M (Kolejny test sprawdzający utworzene partycje - klawisz 'p') Command (m for help): p Disk /dev/sda: 10.2 GB, 10254827520 bytes 16 heads, 63 sectors/track, 19870 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/sda1 1 40 20128+ 83 Linux (Pozostałe wolne miejsce przeznaczamy na partycję rozszerzoną) Command (m for help): n Command action e extended p primary partition (1-4) e Partition number (1-4): 2 (Po raz kolejny by wybrać domyślne ustawienie wciskamy Enter) First cylinder (41-19870, default 41): Using default value 41 (Używamy całego dostępnego miejsca wciskając po prostu Enter) Last cylinder or +size or +sizeM or +sizeK (41-19870, default 19870): Using default value 19870 (Następnie partycja root, w związku z tym, że /usr i /var będą znajdowały się na osobnych partycjach root może być mała. Polecamy dostosowanie rozmiaru do własnych potrzeb.) Command (m for help): n Command action l logical (5 or over) p primary partition (1-4) l First cyl
|