maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   format command (https://talk.maemo.org/showthread.php?t=20812)

iliaden 2008-06-09 00:10

format command
 
I have a 16gb sdhc card. It already has 2 partitions, fat32 and ext2. Running from my n800, how do I format the ext2 partition (i.e. erase ALL data)?

what I'm asking for is the command-line command.

thank you

cvmiller 2008-06-10 18:57

Re: format command
 
Try 'mk2efs'

You will need to be root.

I hope this helps,

Craig...

stevecrye 2008-06-11 22:04

Re: format command
 
Iliaden - your avatar is *very* cool. I was a math major until a class innocently titled "Basic Algebra 1" kicked my rear in my senior year as an undergrad; this was after I had managed to pass ~ 80 hours of calculus, diffeq's vectors, stats, etc. The class was my intro to Fields, Ideals Monoids and Group Theory. The only "numbers" in the entire book were 0 and 1. The take home final was simply: "Prove the Chinese Remainder Theorem".

Sadly, I could not. The prof had mercy on me, gave me a 'C' and I was allowed to switch my major to Computer Science.

But, I still sign my name with the 'S' drawn as an integral sign, from -infinity to +infinity. I love math - just not smart enough to make a living at it. I still read Sci Am and greatly enjoy the occasional math article, particularly mathematics dealing infinity.

Steve

BTW it = 69

bunanson 2008-06-11 22:16

Re: format command
 
Quote:

Originally Posted by iliaden (Post 189903)
I have a 16gb sdhc card. It already has 2 partitions, fat32 and ext2. Running from my n800, how do I format the ext2 partition (i.e. erase ALL data)?

what I'm asking for is the command-line command.

thank you

assume you already has the repository,
xterm
sudo gainroot
apt-get install e2fsprogs
umount /media/mmc1 (if external card on N8x0)
mke2fs /dev/mmcblk1p2 (mmcblk0p2 if internal card on N8x0)

more info here, http://schmots.blogspot.com/, start from the 2nd part "Dual booting...."

bun

iliaden 2008-06-12 23:49

Re: format command
 
thanks... mke2fs (or mkfs.ext2) was the command I was looking for. turned out that some time spent googling gave faster results than forums. oh well...

@stevecrye : I have only taken Calculus I and II, Differential equations and Linear Algebra I and II. next semester, I only have physics, chemistry and organic chemistry... no math :(
(and yeah, it =69. I found this in a "security" check on some site. I was able to pass it, though it did filter out ALL the bots trying to access it!)

Benson 2008-06-13 00:24

Re: format command
 
Now that's just sad; bots are computers, and computers are supposed to be good at math. ;)

iliaden 2008-06-13 00:30

Re: format command
 
yeah, but, as it is well known, they are written by people. And since people know that not everything may be integrated, they program the computers in such a manner that they don't attempt to do so. otherwise, all the power would be drained to pointless operations, ranging from graphic design to relationship advice.

Note: Eliza IS human. her soul was trapped within a machine. THOSE MONSTERS!!!


All times are GMT. The time now is 14:30.

vBulletin® Version 3.8.8