![]() |
Question: How to partition memory card (Ext2/Fat)?
I've searched everywhere for an answer to this seemingly easy question, but have come up empty.
I have an 8GB SD Card, and want to make two partitions on it: a 3GB Ext2, and a 5GB FAT. How can I do that on the device itself? (I don't have a computer with Linux on it...). Any insight would be greatly appreciated. |
Re: Question: How to partition memory card (Ext2/Fat)?
Two options... sfdisk (hard) or cfdisk (easy)
cfdisk doesn't look to well in the default terminal... but ig you have decent eyesight u can go into the properties on the terminal and shrink the font size to 10-12 and it works great. Assuming /dev/mmcblk0 is the device: Code:
cfdisk /dev/mmcblk0 Code:
mke2fs /dev/mmcblk0p1 http://trac.tspre.org/svn/nit-debian...ies/cfdisk.deb |
Re: Question: How to partition memory card (Ext2/Fat)?
You might be able to use Disk Management on an xp machine (I haven't looked into this, but I use DM to delete partitions).
Go to Run, then enter "compmgmt.msc", then choose Disk Management |
Re: Question: How to partition memory card (Ext2/Fat)?
No, Disk Management is for Microsoft file systems.
@BrentDC When you are partitioning, place the FAT partition as the first partition and the ext2 as the second partition. |
Re: Question: How to partition memory card (Ext2/Fat)?
Ok, I will try this today. Thanks, everybody. Oh, and is /dev/mmcblk1 the external memory card? (I'm booting from the internal memory card).
|
Re: Question: How to partition memory card (Ext2/Fat)?
Yes, /dev/mmcblk1 is the external.
You can check by running "df -h" and seeing the mountpoint of /dev/mmcblk1 /media/mmc2 is where internal cards are mounted, and /media/mmc1 is where external cards are mounted. |
Re: Question: How to partition memory card (Ext2/Fat)?
I installed cfdisk, and after a few hours ( :D ), I figured out how to use cfdisk. I created a 5Gig Windows partition, and a ~3Gig Linux partition. All my files seem to still be intact (on the fat partition?), but how do you access the other patition; I hope a Linux filesystem was the right choice with cfdisk. The External memory card now appears in bootmenu, which seems like a good sign, but how do I access the Linux (ext2?) partition?
|
Re: Question: How to partition memory card (Ext2/Fat)?
did u run the mke2fs command?
if so as root mkdir /media/linux mount /dev/mmcblk1p2 /media/linux if u want to make it start at boot the u have to edit /etc/fstab... the line would look something like /dev/mmcblk1p2 /media/linux ext2 defaults 0 0 there are several options u could add but u'd have to look them up. |
Re: Question: How to partition memory card (Ext2/Fat)?
That worked perfectly. What I was trying to do was mount it on /media/mmc3/ , but an mmc3 folder didn't exist. It makes sense that you need to mount it on a real folder not thin air! I don't know what I was thinking :rolleyes:
Thanks for the help. Ooh, goody, 3GB of ext2 playpen, Debian here I come :D |
Re: Question: How to partition memory card (Ext2/Fat)?
Hello,
I am just joining this conversation (if it's still even being checked!) and the link to cfdisk doesn't exist anymore. I was wondering where to download it so I can make two partitions on my card!:D |
Re: Question: How to partition memory card (Ext2/Fat)?
|
Re: Question: How to partition memory card (Ext2/Fat)?
So normally when I want to make partitions on a card I just pop it into a card reader and use my ubuntu box and gparted to make the partitions. However, if you don't have a linux box you can use a distro with a live cd, like the aforementioned ubuntu, to create the partitions. I also have used sfdisk from here to partition my card.
|
Re: Question: How to partition memory card (Ext2/Fat)?
quick question for you guys,
I inserted the 8GB card on my N900 and when I go into memory it just shows me N900 and installable memory remaining, How do I tell that 8Gb is in there? |
Re: Question: How to partition memory card (Ext2/Fat)?
Quote:
|
Re: Question: How to partition memory card (Ext2/Fat)?
can anyone tell me how to turn my 16 gb memory card back into a 16 gb memory card?
nitdroid made a partition so its only showing as a 12gb card, ive removed the partition via win7 disk management tools, but its still a 12gb card, cant find anything on google (usually my first source for everything) |
All times are GMT. The time now is 23:37. |
vBulletin® Version 3.8.8