>> Edit article
이름
제목
패스워드
[root]# fdisk /dev/sda The number of cylinders for this disk is set to 1106. 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., LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/sda: 255 heads, 63 sectors, 1106 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 1041 8361801 5 Extended /dev/sda2 1042 1106 522112+ 82 Linux swap /dev/sda5 1 383 3076384+ 83 Linux /dev/sda6 384 689 2457913+ 83 Linux Command (m for help): n Command action l logical (5 or over) p primary partition (1-4) l First cylinder (690-1041, default 690): Using default value 690 Last cylinder or +size or +sizeM or +sizeK (690-1041, default 1041): 1041 Command (m for help): p Disk /dev/sda: 255 heads, 63 sectors, 1106 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 1041 8361801 5 Extended /dev/sda2 1042 1106 522112+ 82 Linux swap /dev/sda5 1 383 3076384+ 83 Linux /dev/sda6 384 689 2457913+ 83 Linux /dev/sda7 690 1041 2827408+ 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. Re-read table failed with error 16: Device or resource busy. Reboot your system to ensure the partition table is updated. WARNING: If you have created or modified any DOS 6.x partitions, please see the fdisk manual page for additional information. # mkfs /dev/sda7 mke2fs 1.17, 26-Oct-1999 for EXT2 FS 0.5b, 95/08/09 mkfs.ext2: Device not configured while trying to determine filesystem size
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved