Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@localhost ~]# fdisk /dev/sdb
- Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
- Building a new DOS disklabel. Changes will remain in memory only,
- until you decide to write them. After that, of course, the previous
- content won't be recoverable.
- The number of cylinders for this disk is set to 1044.
- 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)
- Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
- Command (m for help): p
- Disk /dev/sdb: 8589 MB, 8589934592 bytes
- 255 heads, 63 sectors/track, 1044 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- Command (m for help): m
- Command action
- a toggle a bootable flag
- b edit bsd disklabel
- c toggle the dos compatibility flag
- d delete a partition
- l list known partition types
- m print this menu
- n add a new partition
- o create a new empty DOS partition table
- p print the partition table
- q quit without saving changes
- s create a new empty Sun disklabel
- t change a partition's system id
- u change display/entry units
- v verify the partition table
- w write table to disk and exit
- x extra functionality (experts only)
- Command (m for help): n
- Command action
- e extended
- p primary partition (1-4)
- p
- Partition number (1-4): 1
- First cylinder (1-1044, default 1):
- Using default value 1
- Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044): +150
- 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): p
- Disk /dev/sdb: 8589 MB, 8589934592 bytes
- 255 heads, 63 sectors/track, 1044 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sdb1 1 151 1212876 fd Linux raid autodetect
- Command (m for help): n
- Command action
- e extended
- p primary partition (1-4)
- p
- Partition number (1-4): 2
- First cylinder (152-1044, default 152):
- Using default value 152
- Last cylinder or +size or +sizeM or +sizeK (152-1044, default 1044): +150
- Command (m for help): t
- Partition number (1-4): 2
- Hex code (type L to list codes): fd
- Changed system type of partition 2 to fd (Linux raid autodetect)
- Command (m for help): n
- Command action
- e extended
- p primary partition (1-4)
- p
- Partition number (1-4): 3
- First cylinder (303-1044, default 303):
- Using default value 303
- Last cylinder or +size or +sizeM or +sizeK (303-1044, default 1044): +150
- Command (m for help): t
- Partition number (1-4): 3
- Hex code (type L to list codes): fd
- Changed system type of partition 3 to fd (Linux raid autodetect)
- Command (m for help): p
- Disk /dev/sdb: 8589 MB, 8589934592 bytes
- 255 heads, 63 sectors/track, 1044 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sdb1 1 151 1212876 fd Linux raid autodetect
- /dev/sdb2 152 302 1212907+ fd Linux raid autodetect
- /dev/sdb3 303 453 1212907+ fd Linux raid autodetect
- Command (m for help): n
- Command action
- e extended
- p primary partition (1-4)
- p
- Selected partition 4
- First cylinder (454-1044, default 454):
- Using default value 454
- Last cylinder or +size or +sizeM or +sizeK (454-1044, default 1044): +450
- Command (m for help): t
- Partition number (1-4): 4
- Hex code (type L to list codes): fd
- Changed system type of partition 4 to fd (Linux raid autodetect)
- Command (m for help): d
- Partition number (1-4): 4
- Command (m for help): p
- Disk /dev/sdb: 8589 MB, 8589934592 bytes
- 255 heads, 63 sectors/track, 1044 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sdb1 1 151 1212876 fd Linux raid autodetect
- /dev/sdb2 152 302 1212907+ fd Linux raid autodetect
- /dev/sdb3 303 453 1212907+ fd Linux raid autodetect
- Command (m for help): n
- Command action
- e extended
- p primary partition (1-4)
- e
- Selected partition 4
- First cylinder (454-1044, default 454):
- Using default value 454
- Last cylinder or +size or +sizeM or +sizeK (454-1044, default 1044): +450
- Command (m for help): n
- First cylinder (454-904, default 454):
- Using default value 454
- Last cylinder or +size or +sizeM or +sizeK (454-904, default 904): +150
- Command (m for help): t
- Partition number (1-5): 5
- Hex code (type L to list codes): fd
- Changed system type of partition 5 to fd (Linux raid autodetect)
- Command (m for help): n
- First cylinder (605-904, default 605):
- Using default value 605
- Last cylinder or +size or +sizeM or +sizeK (605-904, default 904): +150
- Command (m for help): t
- Partition number (1-6): 6
- Hex code (type L to list codes): fd
- Changed system type of partition 6 to fd (Linux raid autodetect)
- Command (m for help): n
- First cylinder (756-904, default 756):
- Using default value 756
- Last cylinder or +size or +sizeM or +sizeK (756-904, default 904): +150
- Value out of range.
- Last cylinder or +size or +sizeM or +sizeK (756-904, default 904):
- Using default value 904
- Command (m for help): t
- Partition number (1-7): 7
- Hex code (type L to list codes): fd
- Changed system type of partition 7 to fd (Linux raid autodetect)
- Command (m for help): p
- Disk /dev/sdb: 8589 MB, 8589934592 bytes
- 255 heads, 63 sectors/track, 1044 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sdb1 1 151 1212876 fd Linux raid autodetect
- /dev/sdb2 152 302 1212907+ fd Linux raid autodetect
- /dev/sdb3 303 453 1212907+ fd Linux raid autodetect
- /dev/sdb4 454 904 3622657+ 5 Extended
- /dev/sdb5 454 604 1212876 fd Linux raid autodetect
- /dev/sdb6 605 755 1212876 fd Linux raid autodetect
- /dev/sdb7 756 904 1196811 fd Linux raid autodetect
- Command (m for help): w
- The partition table has been altered!
- Calling ioctl() to re-read partition table.
- Syncing disks.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement