Created
June 7, 2011 14:13
-
-
Save teaforthecat/1012330 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dd if=/dev/zero of=/dev/sdb | |
$ sfdisk -d /dev/sda | sfdisk /dev/sdb | |
$ fdisk /dev/sdb | |
Disk /dev/sdb: 250.0 GB, 250059350016 bytes | |
255 heads, 63 sectors/track, 30401 cylinders | |
Units = cylinders of 16065 * 512 = 8225280 bytes | |
Disk identifier: 0x00000000 | |
Device Boot Start End Blocks Id System | |
/dev/sdb1 * 1 29649 238155561 83 Linux | |
/dev/sdb2 29650 30401 6040440 5 Extended | |
/dev/sdb5 29650 30401 6040408+ 82 Linux swap / Solaris | |
$ mkfs -t ext2 /dev/sdb1 | |
$ mkfs -t ext3 /dev/sdb2 | |
mke2fs 1.40.8 (13-Mar-2008) | |
mkfs.ext3: inode_size (128) * inodes_count (0) too big for a | |
filesystem with 0 blocks, specify higher inode_ratio (-i) | |
or lower inode count (-N). | |
???????? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment