At 11:45 -0500 23/02/07, Matthew K Poer wrote:
On Fri, 2007-02-23 at 17:12 +0100, Glenn Moeller-Holst wrote:
Now another problem appears - that also was there before.
mkfs.vfat can not see the first partition only:
pc:/dev#mkfs.vfat -f 1 /dev/sdc1
The command:
pc:/dev#mkfs.ext2 /dev/sdd2
mke2fs 1.40-WIP (14-Nov-2006)
Could not stat /dev/sdc2 - - - No such file or catalog/directory.
The device apparently does not exist; did you specify it correctly?
pc:/dev#
Apparently the mkfs.vfat command formated the whole SD card... - not
just the first partition - and destroyed the partitions.
/Glenn
I'm not sure if I follow. You have (had?) the following disk:
#fdisk -l /dev/sdc
Device Boot Start End Blocks Id System
/dev/sdc1p1 1 99 49873 b W95 FAT32
/dev/sdc1p2 100 1010 451856 83 Linux
Yes
How exactly did you want it to be set up? Or, did you want to format, as
in *erase*, the data on both partitions?
I just want to format the two partitions so they can be used.
The plot is to:
*First to partition it with fdisk
(I can see the two partitions inside and have written with 'w')
(but the partition can not be seen with #ls -la sd* )
*Second to format the vfat-marked (first) partition
(after this formatting fdisk can not see any partitions!)
*Third to format the ext2-marked (second) partition
Just as in section 3.1+3.2:
http://aragorn.kortex.jyu.fi:8080/h6300/
If the partitions are gone now, run qtparted (apt-get install qtparted)
and select /dev/sdc. Partition it however you want it. QTParted can also
format a partition to whatever filesystem you want.
--
Matthew K Poer
/Glenn