OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Dr.HerbertWest on October 08, 2004, 06:16:00 pm

Title: format sd rc5
Post by: Dr.HerbertWest 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?
Title: format sd rc5
Post by: Bundabrg on October 08, 2004, 09:23:54 pm
Make sure you are using the following format: -
Code: [Select]
fdisk /dev/mmcd/disc0/disc
 - Bundabrg
Title: format sd rc5
Post by: Dr.HerbertWest 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
Title: format sd rc5
Post by: lardman 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
Title: format sd rc5
Post by: rgrep 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