Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # fdisk /dev/sdb
- The number of cylinders for this disk is set to 121601.
- 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/sdb: 1000.2 GB, 1000204886016 bytes
- 255 heads, 63 sectors/track, 121601 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk identifier: 0x316b1b62
- Device Boot Start End Blocks Id System
- /dev/sdb1 1 121601 976760001 fd Linux raid autodetect
- Command (m for help): d
- Selected partition 1
- Command (m for help): n
- Command action
- e extended
- p primary partition (1-4)
- p
- Partition number (1-4): 1
- First cylinder (1-121601, default 1):
- Using default value 1
- Last cylinder, +cylinders or +size{K,M,G} (1-121601, default 121601):
- Using default value 121601
- Command (m for help): t
- Selected partition 1
- Hex code (type L to list codes): fd
- Changed system type of partition 1 to fd (Linux raid autodetect)
- 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 or after you run partprobe(8) or kpartx(8)
- Syncing disks.
Add Comment
Please, Sign In to add comment