Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-25-2005, 12:17 PM   #1
Steve Riley
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Rep: Reputation: 15
fdisk and mke2fs with Sony memory stick

I'm trying to create partitions and file systems on a little 32 meg Sony memory stick that is connected through a USB port.

I used fdisk to create two partitions on /dev/sda1:


fdisk does show that these partitions have been created. I assume that this only creates partitions, not file systems.

When I try

mke2fs /dev/sda1p1

I get the response "no such file or directory".

I can

mount /dev/sda1 /mnt/usb1

but I want to mount each partition to separate mount points. (How can I mount /mnt/usb1 when I thought there was no file system there?)

How do I create file systems on each of these 2 partitions and then mount them?


Old 01-25-2005, 12:30 PM   #2
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Are you sure you fdisk'd them? It doesn't appear that you did a successful fdisk. Why?

1. Like you just said, you were able to mount
2. You should not be able to mount /mnt/sda1 but only sda1p1/sda1p2.

Use fdisk again and look at the partitions you created. Do you see them there?

Old 01-25-2005, 01:53 PM   #3
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
I used fdisk to create two partitions on /dev/sda1:

The p1 and p2 would seem to be a problem. Try it with :
mke2fs /dev/sda1 and mke2fs /dev/sda2
Old 01-25-2005, 01:58 PM   #4
Steve Riley
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Original Poster
Rep: Reputation: 15
You are right. This was a problem I had yesterday. I looked at it again today and did not see the partitions I thought I created yesterday.

I did fdisk again and it worked. The only difference this time is that I first deleted a FAT partition that was already there - that I didn't notice yesterday. Then everything worked.

Thanks again,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
basic fdisk and mke2fs with Sony memory stick Steve Riley SUSE / openSUSE 0 01-24-2005 02:31 PM
Read a Sony Memory Stick? jago25_98 Linux - Hardware 2 11-23-2004 05:32 AM
Sony Memory Stick Duo redroach Linux - Hardware 1 10-14-2004 05:50 AM
Built-In Sony Memory Stick DWebb82 Linux - Hardware 7 10-05-2004 03:37 PM
Memory Stick on Sony kkempter Linux - Laptop and Netbook 1 07-12-2003 04:51 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration