Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-22-2008, 10:40 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Unable to partition SD card, Ubuntu 8.04


I am a complete Linux noob, hence posting in this forum

Can you help me? I am trying to put two partitions on a 1GB SD card but getting nowhere. Just so you know, I have also tried this with openSUSE 10.3 & 11 with the same results.

I can create the partition table the way I want, the problem comes when trying mkfs. This is what I get:

$ fdisk -l /dev/sdd1

Disk /dev/sdd1: 1019 MB, 1019099648 bytes
32 heads, 61 sectors/track, 1019 cylinders
Units = cylinders of 1952 * 512 = 999424 bytes
Disk identifier: 0x312e4143

Device Boot Start End Blocks Id System
/dev/sdd1p1 1 257 250801+ 6 FAT16
/dev/sdd1p2 258 1019 743712 83 Linux

$ sudo /sbin/mkfs.vfat -n boot /dev/sdd1p1

mkfs.vfat 2.11 (12 Mar 2005)
/dev/sdd1p1: No such file or directory

If you need more info, please let me know.
Old 07-22-2008, 12:04 PM   #2
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
I think the trouble might be that you are partitioning a partition.

You should fdisk the drive (/dev/sdd, in your example), not a partition on the drive (/dev/sdd1).
Old 07-22-2008, 12:20 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
The device is 'sdd'
'sdd1' is a partition. You will have to delete this
partition before making new ones.
( You actually say, you have made partitions and I don't
know where the ""sdd1p1.."" comes from )

And you will then get : e.g. sdd1 and sdd2
(Just tried it on one of my own flash - disks, using
drakdisk ... may be it is easier to use a visual tool,
e.g. 'gparted' or the Yeast2 - tool ?? Then you can just
"point at" a partition and format it.)


P.S.: Sorry, ranger_nemo, typing etc. while you answered ...

Last edited by knudfl; 07-22-2008 at 12:22 PM.
Old 07-23-2008, 05:16 AM   #4
LQ Newbie
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks guys, all sorted now. I'd obviously been thinking the device was sdd1.

I thought the partitions were sdd1p1 & sdd1p2 because fdisk -l gave me that info. But no matter, I'm good now.



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 7.10 Dual Boot with XP, ubuntu partition deleted, grub 1.5 error 22 narchy Linux - Newbie 11 02-07-2011 04:54 AM
LXer: Tips and tricks: Why is my system unable to reboot after converting my ext3 partition to a diskdump partition. How can I fix this ? LXer Syndicated Linux News 0 07-23-2007 07:46 PM
Unable to Resize NTFS partition with 4 different partition editors Alexandrian Linux - Newbie 11 05-19-2006 07:09 PM
Unable to access internet sites without keepalive ping running (wired card, Ubuntu 5) rebthor Linux - Networking 2 05-18-2006 01:58 PM
Unable to access windows partition in Ubuntu justin.freund Linux - Software 3 11-17-2005 10:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:27 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
Open Source Consulting | Domain Registration