Author Topic: Help, interpret fdisk messages * Please*  (Read 1867 times)

lareya

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://
Help, interpret fdisk messages * Please*
« on: September 10, 2004, 02:33:07 am »
Okay,

first, I did a su command, so all these commands are with a # infront of them.

I did this:
mount

I got this msg:

/dev/root on / type jffs2(ro)
/proc on  /proc type proc (rw)
/dev/ram1 on /dev type minix (rw)
/dev/loop0 on /usr type cramfs (ro)
/dev/mtdblock3 on /home type jffs2 (rw,noatime)
none on /dev/shm type tmpfs (rw)
/dev/mmcda1 on /usr/mnt.rom/card type vfat (ro,noatime)
/dev/hda1 on /usr/mnt.rom/cf type vfat (rw,noatimie)

I did this: (followed these instructions)

# umount /mnt/card
# fdisk /dev/mmcda
d delete a partition
1 delete partition #1
n create a new partition
p create a primary partition
1 choose partition 1
Enter to take default start cylinder
Enter to take default end cylinder
t change a partition's system id
1 Partition number (1-4)
L Hex code (type L to list codes)
83 Linux
v verify that the partition has been created
31 unallocated sectors
w save the table and exit the fdisk program

Msg I got:
The partition table has been altered!
62 unallocated sectors

I wrote:
Calling ioctl()

I got this msg:
DOS Compatibility flag is not set

Can s/o tell me if this is correct? I am trying to use my NEW 1gb SD card. windows wouldn't recognize it, and I couldn't write on it w/ the Z. so i tried to reformat it in the linux format - since the sd will only be used in the z.  

When i try to make a file system with mkfs i get a error.  I type this:
mkfs.ext2 /dev/mmcda1
I get this error msg:
mkfs.ex2: command not found

so now what? am I done or did I royally screw up my brand new sd card

All I want to do is install cacko on my new sd card. Can s/o help me figure out if this is a good thing, or bad and if there is more to changing/formating I need to do with this card?  Thanks alot, I have really been trying to learn this linux stuff.

Lareya
SL-C3000: un-bricked (Thanks to Cresho!)
C-860: pdxRom

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Help, interpret fdisk messages * Please*
« Reply #1 on: September 10, 2004, 05:23:06 am »
You may want to try the newer versions of the tools, particularly the new version of fdisk with a card that size.

READ THE NOTES ABOUT CHANGING THE PATHS in your .profile once you have installed the IPK.

You can get the IPK from the Sharp ROMs forum under New versions of fdisk and e2fsprogs.

I would suggest that as you have already gone down this route and want to use an ext file system you should use ext3 - if you do though make sure you check it with e2fsck from this package and not the old one.

This may ressurect your card. Unfortunately there are a small proportion of SD cards that just don't like being reformatted it seems - actually not had one myself so I can't verify that the cards actually end up duff but there is always a small risk - anyway you have taken the risk by fdisking/reformatting already so I would suggest my newer versions of the tools.

Please report on the thread associated with the download.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

lareya

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://
Help, interpret fdisk messages * Please*
« Reply #2 on: September 13, 2004, 02:26:59 am »
 WhoooooHooooo  

I am so  

I got my SD card to work. I was able to use someone's SD reader. It read the the SD card, I reformated it to vfat - and all is good!  

God is Good!

Now I have a 1gig SD card, running Cacko & loving every minute of it

Lareya
SL-C3000: un-bricked (Thanks to Cresho!)
C-860: pdxRom