LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi,

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.
Thanks,
Paul
 
Old 07-22-2008, 11:04 AM   #2
ranger_nemo
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, 11:20 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
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.)

Regards

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

Last edited by knudfl; 07-22-2008 at 11:22 AM.
 
Old 07-23-2008, 04:16 AM   #4
burden010
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.

 
  


Reply


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 03: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 06:46 PM
Unable to Resize NTFS partition with 4 different partition editors Alexandrian Linux - Newbie 11 05-19-2006 06:09 PM
Unable to access internet sites without keepalive ping running (wired card, Ubuntu 5) rebthor Linux - Networking 2 05-18-2006 12:58 PM
Unable to access windows partition in Ubuntu justin.freund Linux - Software 3 11-17-2005 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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