OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: VirtusRex on February 19, 2007, 12:23:08 pm

Title: Help! - Partition 2 Gb Sd Card
Post by: VirtusRex on February 19, 2007, 12:23:08 pm
Hello all,

I’m having a bit of trouble partitioning my 2 GB SD Card. I can’t seem figure out how to do it.

Here’s what I’ve got an
 ATP 2gb SD Card.

I’m trying to break it into two partitions, 1 GB FAT and the other 1 GB ext2

First off I do the following:

Fdisk /dev/mmcda1

Under fdisk I add two new partitions each 1 GB.

But Once I leave fdisk I don’t know what to do next.

I tried mkfs.vfat /dev/mmcda1/disc0/part1, but that doesn’t work.

Any ideas???

Thanks,

VirtusRex
Title: Help! - Partition 2 Gb Sd Card
Post by: Jon_J on February 19, 2007, 12:32:05 pm
Maybe this will help, some of the stuff may be pretty old though.
https://www.oesf.org/index.php?title=Multip..._a_CF_/_SD_card (https://www.oesf.org/index.php?title=Multiple_partitions_on_a_CF_/_SD_card)
Title: Help! - Partition 2 Gb Sd Card
Post by: InSearchOf on February 19, 2007, 12:34:49 pm
Quote
Hello all,

I’m having a bit of trouble partitioning my 2 GB SD Card. I can’t seem figure out how to do it.

Here’s what I’ve got an
 ATP 2gb SD Card.

I’m trying to break it into two partitions, 1 GB FAT and the other 1 GB ext2

First off I do the following:

Fdisk /dev/mmcda1

Under fdisk I add two new partitions each 1 GB.

But Once I leave fdisk I don’t know what to do next.

I tried mkfs.vfat /dev/mmcda1/disc0/part1, but that doesn’t work.

Any ideas???

Thanks,

VirtusRex
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154686\"][{POST_SNAPBACK}][/a][/div]

What version of pdaxrom are you using?

Late
Title: Help! - Partition 2 Gb Sd Card
Post by: Capn_Fish on February 19, 2007, 12:53:21 pm
In r121, I don't know for sure about other versions, but I think they're the same, you need to do mkfs.msdos /dev/mmcblk0p1, mkfs.ext2 /dev/mmcblk0p2, etc.
Title: Help! - Partition 2 Gb Sd Card
Post by: VirtusRex on February 19, 2007, 01:26:45 pm
Quote
Quote
Hello all,

I’m having a bit of trouble partitioning my 2 GB SD Card. I can’t seem figure out how to do it.

Here’s what I’ve got an
 ATP 2gb SD Card.

I’m trying to break it into two partitions, 1 GB FAT and the other 1 GB ext2

First off I do the following:

Fdisk /dev/mmcda1

Under fdisk I add two new partitions each 1 GB.

But Once I leave fdisk I don’t know what to do next.

I tried mkfs.vfat /dev/mmcda1/disc0/part1, but that doesn’t work.

Any ideas???

Thanks,

VirtusRex
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154686\"][{POST_SNAPBACK}][/a][/div]

What version of pdaxrom are you using?

Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154689\"][{POST_SNAPBACK}][/a][/div]


I'm using pdaXii13.
Title: Help! - Partition 2 Gb Sd Card
Post by: Drake01 on February 19, 2007, 07:33:28 pm
Quote
I tried mkfs.vfat /dev/mmcda1/disc0/part1, but that doesn’t work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154686\"][{POST_SNAPBACK}][/a][/div]
I believe you want
mkfs.vfat /dev/mmcda1
for the first partition, and
mkfs.ext2 /dev/mmcda2
for the second.
Title: Help! - Partition 2 Gb Sd Card
Post by: Capn_Fish on February 19, 2007, 08:47:09 pm
Just look in /dev and see what looks like SD partitions.
Title: Help! - Partition 2 Gb Sd Card
Post by: VirtusRex on February 19, 2007, 11:52:35 pm
ok, I did the following command:
fdisk /dev/mmcda1

under Fdisk I added two new partitions, and when I hit the P key I get the following:
/dev/mmcda1p1
/dev/mmcda1p2

Now when I try to mkfs.ext2 /dev/mmcda1p1 or /dev/mmcdap1p2, I get the following message:
The Device apparently does not exists; did you specify it correctl?

I checked in the /dev directory, there are no mmcdap1p1 or mmcda1p2 files, only thing close is mmcda, mmmcda1, and mmcda2.

I'm really at a loss,

Thanks for the help so far guys,

VirtusRex
Title: Help! - Partition 2 Gb Sd Card
Post by: Meanie on February 20, 2007, 12:37:30 am
Quote
ok, I did the following command:
fdisk /dev/mmcda1

under Fdisk I added two new partitions, and when I hit the P key I get the following:
/dev/mmcda1p1
/dev/mmcda1p2

Now when I try to mkfs.ext2 /dev/mmcda1p1 or /dev/mmcdap1p2, I get the following message:
The Device apparently does not exists; did you specify it correctl?

I checked in the /dev directory, there are no mmcdap1p1 or mmcda1p2 files, only thing close is mmcda, mmmcda1, and mmcda2.

I'm really at a loss,

Thanks for the help so far guys,

VirtusRex
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154729\"][{POST_SNAPBACK}][/a][/div]

read Drake01's post above.
Title: Help! - Partition 2 Gb Sd Card
Post by: tml on February 20, 2007, 04:14:00 am
Quote
ok, I did the following command:
fdisk /dev/mmcda1
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154729\"][{POST_SNAPBACK}][/a][/div]

Shouldn't this be:
fdisk /dev/mmcda
Title: Help! - Partition 2 Gb Sd Card
Post by: InSearchOf on February 20, 2007, 09:43:55 am
Quote
Quote
ok, I did the following command:
fdisk /dev/mmcda1
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154729\"][{POST_SNAPBACK}][/a][/div]

Shouldn't this be:
fdisk /dev/mmcda
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154741\"][{POST_SNAPBACK}][/a][/div]

Yes...

Late
Title: Help! - Partition 2 Gb Sd Card
Post by: VirtusRex on February 20, 2007, 10:14:33 am
YES!!!

It's working. For some strange reason, I kept mounting my /mnt/card to /dev/mmcda1.

I tried fdisk /dev/mmcda instead of /dev/mmcda1 and it works!!

You guys rock and I really appreciate all the help.

Have a great day,

VirtusRex
Title: Help! - Partition 2 Gb Sd Card
Post by: tml on February 20, 2007, 10:43:52 am
Quote
It's working. For some strange reason, I kept mounting my /mnt/card to /dev/mmcda1.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154779\"][{POST_SNAPBACK}][/a][/div]

You want to mount /mnt/card to /dev/mmcda1 which is the first partition of /dev/mmcda. But you don't want to partition a partition.
Title: Help! - Partition 2 Gb Sd Card
Post by: VirtusRex on February 20, 2007, 11:12:27 am
Quote
Quote
It's working. For some strange reason, I kept mounting my /mnt/card to /dev/mmcda1.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154779\"][{POST_SNAPBACK}][/a][/div]

You want to mount /mnt/card to /dev/mmcda1 which is the first partition of /dev/mmcda. But you don't want to partition a partition.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154784\"][{POST_SNAPBACK}][/a][/div]

No, for some reason my system would mount /dev/mmcda1 to /mnt/card/. I assumed that mmcda1 was my main partition and I tried to partition it into two partitions, which didn't work.

I then tried fdisk /dev/mmcda which worked and I was able to create two partition and mount them.

Thanks again,

VirtusRex