Author Topic: Help! - Partition 2 Gb Sd Card  (Read 4207 times)

VirtusRex

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Help! - Partition 2 Gb Sd Card
« 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

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Help! - Partition 2 Gb Sd Card
« Reply #1 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
« Last Edit: February 19, 2007, 12:32:16 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Help! - Partition 2 Gb Sd Card
« Reply #2 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
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Help! - Partition 2 Gb Sd Card
« Reply #3 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.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

VirtusRex

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Help! - Partition 2 Gb Sd Card
« Reply #4 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.

Drake01

  • Full Member
  • ***
  • Posts: 226
    • View Profile
Help! - Partition 2 Gb Sd Card
« Reply #5 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.
Device: SL-C3200 running pdaXii13v2 build 5.5.0
Networking: Symbol Spectrum24 WLAN card; Kingston CIO10T CF NIC
Storage: 4GB Transcend 150x SD; 16GB Transcend 133x CF; 4GB Seagate CF HDD; 4GB Patriot SD
HID: Logitech V450 Laser Mouse; generic silicone USB keyboard; 2 generic optical mice; stock plastic stylus
GPS: generic "UT-41" USB GPS Receiver
Case: neoprene case from my old Palm foldable keyboard

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Help! - Partition 2 Gb Sd Card
« Reply #6 on: February 19, 2007, 08:47:09 pm »
Just look in /dev and see what looks like SD partitions.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

VirtusRex

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Help! - Partition 2 Gb Sd Card
« Reply #7 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

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Help! - Partition 2 Gb Sd Card
« Reply #8 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.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

tml

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Help! - Partition 2 Gb Sd Card
« Reply #9 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
SL-C3100

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Help! - Partition 2 Gb Sd Card
« Reply #10 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
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

VirtusRex

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Help! - Partition 2 Gb Sd Card
« Reply #11 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
« Last Edit: February 20, 2007, 10:15:10 am by VirtusRex »

tml

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Help! - Partition 2 Gb Sd Card
« Reply #12 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.
SL-C3100

VirtusRex

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Help! - Partition 2 Gb Sd Card
« Reply #13 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