Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ardianta@imajinasi:~$ sudo su
- [sudo] password for ardianta:
- root@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- Disk /dev/sdc: 16.8 GB, 16777216000 bytes
- 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 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: 0xead45d32
- Device Boot Start End Blocks Id System
- /dev/sdc1 * 616 32767999 16383692 fd Linux raid autodetect
- root@imajinasi:/home/ardianta# fdisk -l /dev/sdc1
- Disk /dev/sdc1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- This doesn't look like a partition table
- Probably you selected the wrong device.
- Device Boot Start End Blocks Id System
- /dev/sdc1p1 ? 1869771365 2038460886 84344761 69 Unknown
- /dev/sdc1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
- /dev/sdc1p3 ? 2573 2573 0 74 Unknown
- /dev/sdc1p4 2885681152 2885733566 26207+ 0 Empty
- Partition table entries are not in disk order
- root@imajinasi:/home/ardianta# fdisk -l /dev/sdc1
- Disk /dev/sdc1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- This doesn't look like a partition table
- Probably you selected the wrong device.
- Device Boot Start End Blocks Id System
- /dev/sdc1p1 ? 1869771365 2038460886 84344761 69 Unknown
- /dev/sdc1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
- /dev/sdc1p3 ? 2573 2573 0 74 Unknown
- /dev/sdc1p4 2885681152 2885733566 26207+ 0 Empty
- Partition table entries are not in disk order
- root@imajinasi:/home/ardianta# mkf
- mkfifo mkfs mkfs.ext2 mkfs.ext4dev mkfs.ntfs
- mkfontdir mkfs.bfs mkfs.ext3 mkfs.minix mkfs.vfat
- mkfontscale mkfs.cramfs mkfs.ext4 mkfs.msdos
- root@imajinasi:/home/ardianta# mkf
- mkfifo mkfs mkfs.ext2 mkfs.ext4dev mkfs.ntfs
- mkfontdir mkfs.bfs mkfs.ext3 mkfs.minix mkfs.vfat
- mkfontscale mkfs.cramfs mkfs.ext4 mkfs.msdos
- root@imajinasi:/home/ardianta# mkfs
- mkfs mkfs.ext2 mkfs.ext4dev mkfs.ntfs
- mkfs.bfs mkfs.ext3 mkfs.minix mkfs.vfat
- mkfs.cramfs mkfs.ext4 mkfs.msdos
- root@imajinasi:/home/ardianta# mkfs.vfat /dev/sdc1
- mkfs.vfat 3.0.12 (29 Oct 2011)
- root@imajinasi:/home/ardianta# fdisk -l /dev/sdc1
- Disk /dev/sdc1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- This doesn't look like a partition table
- Probably you selected the wrong device.
- Device Boot Start End Blocks Id System
- /dev/sdc1p1 ? 1869771365 2038460886 84344761 69 Unknown
- /dev/sdc1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
- /dev/sdc1p3 ? 2573 2573 0 74 Unknown
- /dev/sdc1p4 2885681152 2885733566 26207+ 0 Empty
- Partition table entries are not in disk order
- root@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- Disk /dev/sdc: 16.8 GB, 16777216000 bytes
- 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 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: 0xead45d32
- Device Boot Start End Blocks Id System
- /dev/sdc1 * 616 32767999 16383692 fd Linux raid autodetect
- root@imajinasi:/home/ardianta# mkfs. /dev/sdc1
- mkfs.bfs mkfs.ext2 mkfs.ext4 mkfs.minix mkfs.ntfs
- mkfs.cramfs mkfs.ext3 mkfs.ext4dev mkfs.msdos mkfs.vfat
- root@imajinasi:/home/ardianta# mkfs.ntfs /dev/sdc1
- /dev/sdc1 is mounted.
- Refusing to make a filesystem here!
- root@imajinasi:/home/ardianta# mkfs.ntfs /dev/sdc1
- Failed to access '/dev/sdc1': No such file or directory
- The device doesn't exist; did you specify it correctly?
- root@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- root@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- root@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- Disk /dev/sdc: 16.8 GB, 16777216000 bytes
- 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 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: 0xead45d32
- Device Boot Start End Blocks Id System
- /dev/sdc1 * 616 32767999 16383692 fd Linux raid autodetect
- root@imajinasi:/home/ardianta# mkfs.ntfs /dev/sdc1
- Cluster size has been automatically set to 4096 bytes.
- Initializing device with zeroes: 100% - Done.
- Creating NTFS volume structures.
- Failed to sync device /dev/sdc1: Input/output error
- Syncing device. FAILEDroot@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- Disk /dev/sdc: 16.8 GB, 16777216000 bytes
- 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 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: 0xead45d32
- Device Boot Start End Blocks Id System
- /dev/sdc1 * 616 32767999 16383692 fd Linux raid autodetect
- root@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- Disk /dev/sdc: 16.8 GB, 16777216000 bytes
- 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 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: 0xead45d32
- Device Boot Start End Blocks Id System
- /dev/sdc1 * 616 32767999 16383692 fd Linux raid autodetect
- root@imajinasi:/home/ardianta# dd if=/dev/zero of=/dev/sdc1
- ^C95241+0 records in
- 95241+0 records out
- 48763392 bytes (49 MB) copied, 266.002 s, 183 kB/s
- root@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- root@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- Disk /dev/sdd: 16.8 GB, 16777216000 bytes
- 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 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: 0xead45d32
- Device Boot Start End Blocks Id System
- /dev/sdd1 * 616 32767999 16383692 fd Linux raid autodetect
- root@imajinasi:/home/ardianta# fdisk -l /dev/sdc
- root@imajinasi:/home/ardianta# fdisk -l /dev/sdc1
- root@imajinasi:/home/ardianta# fdisk -l /dev/sdd1
- Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- This doesn't look like a partition table
- Probably you selected the wrong device.
- Device Boot Start End Blocks Id System
- /dev/sdd1p1 ? 1869771365 2038460886 84344761 69 Unknown
- /dev/sdd1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
- /dev/sdd1p3 ? 2573 2573 0 74 Unknown
- /dev/sdd1p4 2885681152 2885733566 26207+ 0 Empty
- Partition table entries are not in disk order
- root@imajinasi:/home/ardianta# fdisk /dev/sdd1
- 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): d
- Partition number (1-4): 1
- 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): l
- 0 Empty 24 NEC DOS 81 Minix / old Lin bf Solaris
- 1 FAT12 27 Hidden NTFS Win 82 Linux swap / So c1 DRDOS/sec (FAT-
- 2 XENIX root 39 Plan 9 83 Linux c4 DRDOS/sec (FAT-
- 3 XENIX usr 3c PartitionMagic 84 OS/2 hidden C: c6 DRDOS/sec (FAT-
- 4 FAT16 <32M 40 Venix 80286 85 Linux extended c7 Syrinx
- 5 Extended 41 PPC PReP Boot 86 NTFS volume set da Non-FS data
- 6 FAT16 42 SFS 87 NTFS volume set db CP/M / CTOS / .
- 7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Dell Utility
- 8 AIX 4e QNX4.x 2nd part 8e Linux LVM df BootIt
- 9 AIX bootable 4f QNX4.x 3rd part 93 Amoeba e1 DOS access
- a OS/2 Boot Manag 50 OnTrack DM 94 Amoeba BBT e3 DOS R/O
- b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4 SpeedStor
- c W95 FAT32 (LBA) 52 CP/M a0 IBM Thinkpad hi eb BeOS fs
- e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD ee GPT
- f W95 Ext'd (LBA) 54 OnTrackDM6 a6 OpenBSD ef EFI (FAT-12/16/
- 10 OPUS 55 EZ-Drive a7 NeXTSTEP f0 Linux/PA-RISC b
- 11 Hidden FAT12 56 Golden Bow a8 Darwin UFS f1 SpeedStor
- 12 Compaq diagnost 5c Priam Edisk a9 NetBSD f4 SpeedStor
- 14 Hidden FAT16 <3 61 SpeedStor ab Darwin boot f2 DOS secondary
- 16 Hidden FAT16 63 GNU HURD or Sys af HFS / HFS+ fb VMware VMFS
- 17 Hidden HPFS/NTF 64 Novell Netware b7 BSDI fs fc VMware VMKCORE
- 18 AST SmartSleep 65 Novell Netware b8 BSDI swap fd Linux raid auto
- 1b Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid fe LANstep
- 1c Hidden W95 FAT3 75 PC/IX be Solaris boot ff BBT
- 1e Hidden W95 FAT1 80 Old Minix
- 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): p
- Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- This doesn't look like a partition table
- Probably you selected the wrong device.
- Device Boot Start End Blocks Id System
- /dev/sdd1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
- /dev/sdd1p3 ? 2573 2573 0 74 Unknown
- /dev/sdd1p4 2885681152 2885733566 26207+ 0 Empty
- Partition table entries are not in disk order
- Command (m for help): d
- Partition number (1-4): 2
- 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): p
- Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- This doesn't look like a partition table
- Probably you selected the wrong device.
- Device Boot Start End Blocks Id System
- /dev/sdd1p3 ? 2573 2573 0 74 Unknown
- /dev/sdd1p4 2885681152 2885733566 26207+ 0 Empty
- Command (m for help): d
- Partition number (1-4): 3
- Command (m for help): p
- Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- Device Boot Start End Blocks Id System
- /dev/sdd1p4 2885681152 2885733566 26207+ 0 Empty
- 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
- Partition type:
- p primary (0 primary, 0 extended, 4 free)
- e extended
- Select (default p): p
- Partition number (1-4, default 1): 4
- First sector (2048-32767383, default 2048):
- Using default value 2048
- Last sector, +sectors or +size{K,M,G} (2048-32767383, default 32767383):
- Using default value 32767383
- 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): p
- Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- Device Boot Start End Blocks Id System
- /dev/sdd1p4 2048 32767383 16382668 83 Linux
- 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
- Partition type:
- p primary (1 primary, 0 extended, 3 free)
- e extended
- Select (default p): 1
- Invalid partition type `1'
- 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): 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): p
- Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- Device Boot Start End Blocks Id System
- /dev/sdd1p4 2048 32767383 16382668 83 Linux
- Command (m for help): v
- Remaining 2047 unallocated 512-byte sectors
- 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): o
- Building a new DOS disklabel with disk identifier 0xa9687a0b.
- 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/sdd1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0xa9687a0b
- Device Boot Start End Blocks Id System
- Command (m for help): p
- Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0xa9687a0b
- Device Boot Start End Blocks Id System
- 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 22: Invalid argument.
- 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)
- Error closing file
- root@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- Disk /dev/sdd: 16.8 GB, 16777216000 bytes
- 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 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: 0xead45d32
- Device Boot Start End Blocks Id System
- /dev/sdd1 * 616 32767999 16383692 fd Linux raid autodetect
- root@imajinasi:/home/ardianta# fdisk -l sdd1
- root@imajinasi:/home/ardianta# mkfs.vfat /dev/sdd1
- mkfs.vfat 3.0.12 (29 Oct 2011)
- root@imajinasi:/home/ardianta# fdisk -l sdd1
- root@imajinasi:/home/ardianta# fdisk -l sdd1
- root@imajinasi:/home/ardianta# fdisk sdd1
- fdisk: unable to open sdd1: No such file or directory
- root@imajinasi:/home/ardianta# lsusb
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 002 Device 027: ID 19d2:fff1 ZTE WCDMA Technologies MSM
- root@imajinasi:/home/ardianta# lsusb
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 002 Device 027: ID 19d2:fff1 ZTE WCDMA Technologies MSM
- Bus 001 Device 012: ID 0011:7788
- root@imajinasi:/home/ardianta# fdisk -l
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0xd56519cd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 2048 80001023 39999488 83 Linux
- /dev/sda2 80003070 312580095 116288513 5 Extended
- /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
- /dev/sda6 84002816 312580095 114288640 83 Linux
- Disk /dev/sde: 16.8 GB, 16777216000 bytes
- 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 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: 0xead45d32
- Device Boot Start End Blocks Id System
- /dev/sde1 * 616 32767999 16383692 fd Linux raid autodetect
- root@imajinasi:/home/ardianta# fdisk -l /dev/sde1
- Disk /dev/sde1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- This doesn't look like a partition table
- Probably you selected the wrong device.
- Device Boot Start End Blocks Id System
- /dev/sde1p1 ? 1869771365 2038460886 84344761 69 Unknown
- /dev/sde1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
- /dev/sde1p3 ? 2573 2573 0 74 Unknown
- /dev/sde1p4 2885681152 2885733566 26207+ 0 Empty
- Partition table entries are not in disk order
- root@imajinasi:/home/ardianta# fdisk /dev/sde1
- 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): p
- Disk /dev/sde1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- This doesn't look like a partition table
- Probably you selected the wrong device.
- Device Boot Start End Blocks Id System
- /dev/sde1p1 ? 1869771365 2038460886 84344761 69 Unknown
- /dev/sde1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
- /dev/sde1p3 ? 2573 2573 0 74 Unknown
- /dev/sde1p4 2885681152 2885733566 26207+ 0 Empty
- Partition table entries are not in disk order
- 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): p
- Disk /dev/sde1: 16.8 GB, 16776900608 bytes
- 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 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: 0x69737369
- This doesn't look like a partition table
- Probably you selected the wrong device.
- Device Boot Start End Blocks Id System
- /dev/sde1p1 ? 1869771365 2038460886 84344761 69 Unknown
- /dev/sde1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
- /dev/sde1p3 ? 2573 2573 0 74 Unknown
- /dev/sde1p4 2885681152 2885733566 26207+ 0 Empty
- Partition table entries are not in disk order
- 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): q
- root@imajinasi:/home/ardianta#
Advertisement
Add Comment
Please, Sign In to add comment