Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@denbeiren-U-100:~# fdisk /dev/sdb
- Command (m for help): o
- Building a new DOS disklabel with disk identifier 0x4158ec0b.
- Changes will remain in memory only, until you decide to write them.
- After that, of course, the previous content won't be recoverable.
- Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
- Command (m for help): p
- Disk /dev/sdb: 7822 MB, 7822376960 bytes
- 241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors
- Units = sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x4158ec0b
- Device Boot Start End Blocks Id System
- Command (m for help): n
- Partition type:
- p primary (0 primary, 0 extended, 4 free)
- e extended
- Select (default p): 1
- Invalid partition type `1'
- Command (m for help): o
- Building a new DOS disklabel with disk identifier 0x7dd6a906.
- Changes will remain in memory only, until you decide to write them.
- After that, of course, the previous content won't be recoverable.
- Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
- Command (m for help): p
- Disk /dev/sdb: 7822 MB, 7822376960 bytes
- 241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors
- Units = sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x7dd6a906
- Device Boot Start End Blocks Id System
- Command (m for help): n
- Partition type:
- p primary (0 primary, 0 extended, 4 free)
- e extended
- Select (default p): p
- Partition number (1-4, default 1): 1
- First sector (2048-15278079, default 2048):
- Using default value 2048
- Last sector, +sectors or +size{K,M,G} (2048-15278079, default 15278079): +100M
- Command (m for help): t
- Selected partition 1
- Hex code (type L to list codes): c
- Changed system type of partition 1 to c (W95 FAT32 (LBA))
- Command (m for help): n
- Partition type:
- p primary (1 primary, 0 extended, 3 free)
- e extended
- Select (default p): p
- Partition number (1-4, default 2): 2
- First sector (206848-15278079, default 206848):
- Using default value 206848
- Last sector, +sectors or +size{K,M,G} (206848-15278079, default 15278079):
- Using default value 15278079
- Command (m for help): w
- The partition table has been altered!
- Calling ioctl() to re-read partition table.
- WARNING: If you have created or modified any DOS 6.x
- partitions, please see the fdisk manual page for additional
- information.
- Syncing disks.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement