Creating new partition
I need to create a partition 15MB in size on the 1st hard drive of my RHEL system
So far I typed: fdisk /dev/sda <enter> c <enter> m <enter> p <enter> d <enter> 1 <enter> n <enter> p <enter> 1 <enter> +15M <enter> +15M <enter> This is where I am getting hung up. When I try to go back to view the new partition table, I hit p <enter> and I now see /dev/sda1 and this displays: Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-5221, default 1): +15M Last cylinder, +cylinders or +size{K,M,G} (2-63, default 63): +15M Command (m for help): p Disk /dev/sda: 42.9 GB, 42949672960 bytes 255 heads, 63 sectors/track, 5221 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0005ac32 Device Boot Start End Blocks Id System /dev/sda1 2 4 24097 83 Linux /dev/sda2 64 5222 41430016 8e Linux LVM I know I previously deleted the 1st partition so this new one I created (ID 83) is what I just did but why cant I see the size I input of 15MB? Did I input this incorrectly? Thanks in advance for any assistance offered. |
Quote:
Here is how I would have done. ( I use the p alot to verify what i want to do and that is what happened) Code:
fdisk /dev/sda But if you prefer seeing in MB or such, why not try cfdisk instead of fdisk. |
Quote:
Ok so wait... are you saying to input NOTHING and just his return for the 1st sector? I don't think I understood you until I read it again:doh: |
Quote:
|
1 Attachment(s)
Quote:
|
All times are GMT -5. The time now is 06:05 AM. |