Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am running Ubuntu 10.04.4 thru VMWare Workstation. I added a second virtual hard disk drive, which is found under /dev/sdb , as shown below

enter image description here

How do you mount this to anywhere? (e.g. /mnt/sdb).

When I tried sudo mount /dev/sdb /mnt/sdb -t ext4 I get the error message back

wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so

share|improve this question
2  
First of all, try to create partition on this disk. After that, you can mount partition with mount command. –  ymn Jan 28 '13 at 10:41
    
@ymm even with this new, mounted hard drive, I still face the same problem as before. Unzip failed: No space left on device –  mathStudent Jan 28 '13 at 12:10
add comment

1 Answer 1

It isn't enough to create a new disk, you have to create a filesystem on it. The exact command used depends on the filesystem type, a command provided by Fedora is mkfs(8), a frontend to the various commands doing it for each filessytem type. Or it is called something like mke2fs (for ext2/3/4), mkxfs (for xfs), ... Check the release notes for your distribution to see what is recommended here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.