Last Update: "2004/11/06 09:21:54 makoto"
fdisk(fc1)
as of 20041106
[makoto@fedora makoto]$ sudo fdisk /dev/hda
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)
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
/dev/hda1 * 1 1274 10233373+ a5 FreeBSD
/dev/hda2 1275 5099 30720312 a9 NetBSD
Partition 2 does not end on cylinder boundary.
/dev/hda3 5100 5226 1020127+ 83 Linux
/dev/hda4 5227 7296 16627275 f Win95 Ext'd (LBA)
/dev/hda5 5227 5863 5116671 83 Linux
/dev/hda6 5864 5927 514048+ 82 Linux swap
Command (m for help):
adding new partition not used
Command (m for help): n
First cylinder (5928-7296, default 5928):
Using default value 5928
Last cylinder or +size or +sizeM or +sizeK (5928-7296, default 7296):
Using default value 7296
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
/dev/hda1 * 1 1274 10233373+ a5 FreeBSD
/dev/hda2 1275 5099 30720312 a9 NetBSD
Partition 2 does not end on cylinder boundary.
/dev/hda3 5100 5226 1020127+ 83 Linux
/dev/hda4 5227 7296 16627275 f Win95 Ext'd (LBA)
/dev/hda5 5227 5863 5116671 83 Linux
/dev/hda6 5864 5927 514048+ 82 Linux swap
/dev/hda7 5928 7296 10996461 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
[makoto@fedora makoto]$ sudo fdisk /dev/hda
[makoto@fedora makoto]$ sudo mkfs /dev/hda7
Password:
mke2fs 1.34 (25-Jul-2003)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
65536 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=1
32 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[makoto@fedora makoto]$
|