Active Topics

 


Reply
Thread Tools
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#1
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.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#2
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
once u made your two partitions:

Code:
mke2fs /dev/mmcblk0p1
mkfs.vfat /dev/mmcblk0p2
U can get cfdisk from here:
http://trac.tspre.org/svn/nit-debian...ies/cfdisk.deb
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following 2 Users Say Thank You to fatalsaint For This Useful Post:
Posts: 609 | Thanked: 232 times | Joined on Dec 2007 @ the end of my rope
#3
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
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#4
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.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#5
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).
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#6
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.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#7
I installed cfdisk, and after a few hours ( ), 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?
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#8
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.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#9
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

Thanks for the help.

Ooh, goody, 3GB of ext2 playpen, Debian here I come
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
Posts: 1 | Thanked: 0 times | Joined on Jan 2009
#10
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!
 
Reply

Tags
ext2/3, fat, memory cards, partitioning


 
Forum Jump


All times are GMT. The time now is 22:45.