Author Topic: format sd rc5  (Read 2477 times)

Dr.HerbertWest

  • Newbie
  • *
  • Posts: 28
    • View Profile
format sd rc5
« on: October 08, 2004, 06:16:00 pm »
Trying to format my sdcard to ext2 but I have run into a few problems first I noticed that the sdcard is no longer under /dev/mmcda1 it is under /dev/mmcd/disc0/part1

well I got the sdcard to umount but I can not get fdisk to read it at all anyone have any Ideas of what to do?

Bundabrg

  • Full Member
  • ***
  • Posts: 183
    • View Profile
format sd rc5
« Reply #1 on: October 08, 2004, 09:23:54 pm »
Make sure you are using the following format: -
Code: [Select]
fdisk /dev/mmcd/disc0/disc
 - Bundabrg
[img]http://www.worldguard.com.au/brendan-ambi.png\" border=\"0\" class=\"linked-sig-image\" /]

Dr.HerbertWest

  • Newbie
  • *
  • Posts: 28
    • View Profile
format sd rc5
« Reply #2 on: October 08, 2004, 09:31:30 pm »
Ok that worked great by when i view my tables why do I get all of this for just my sdcard

# fdisk /dev/mmcd/disc0/part1

Command (m for help): p

Disk /dev/mmcd/disc0/part1: 255 MB, 255836160 bytes
16 heads, 32 sectors/track, 975 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

                 Device Boot    Start       End    Blocks   Id  System
/dev/mmcd/disc0/part1p1   ?     1519797     3749308   570754815+  72  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(357, 116, 40) logical=(1519796, 11, 5)
Partition 1 has different physical/logical endings:
     phys=(357, 32, 45) logical=(3749307, 11, 3)
Partition 1 does not end on cylinder boundary.
/dev/mmcd/disc0/part1p2   ?      329472     4110777   968014120   65  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(288, 115, 43) logical=(329471, 11, 19)
Partition 2 has different physical/logical endings:
     phys=(367, 114, 50) logical=(4110776, 14, 2)
Partition 2 does not end on cylinder boundary.
/dev/mmcd/disc0/part1p3   ?     3652113     7433418   968014096   79  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(366, 32, 33) logical=(3652112, 3, 26)
Partition 3 has different physical/logical endings:
     phys=(357, 32, 43) logical=(7433417, 4, 25)
Partition 3 does not end on cylinder boundary.
/dev/mmcd/disc0/part1p4   ?           1     7103958  1818613248    d  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(372, 97, 50) logical=(0, 0, 1)
Partition 4 has different physical/logical endings:
     phys=(0, 10, 0) logical=(7103957, 15, 32)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
format sd rc5
« Reply #3 on: October 09, 2004, 09:09:47 am »
Quote
Ok that worked great by when i view my tables why do I get all of this for just my sdcard

# fdisk /dev/mmcd/disc0/part1

At a guess, try something like fdisk /dev/mmcd/disc0


Si
« Last Edit: October 09, 2004, 09:10:39 am by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
format sd rc5
« Reply #4 on: October 09, 2004, 04:51:04 pm »
Under the new devfs support in pdaXrom, the structure for SD devices looks like this:

Code: [Select]
/dev/
    mmcd/
        disc0/
            disc  <-- The whole SD
            part1 <-- The first partition on the SD
To fdisk your SD you need to use:

Code: [Select]
fdisk /dev/mmcd/disc0/discThen to make the ext2 filesystem, use:

Code: [Select]
mkfs.ext2 /dev/mmcd/disc0/part1
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults