|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hope this is the right group...
I have problems using the mkfs command i a newly updated debian etch distribution. I have followed the description on this page: http://aragorn.kortex.jyu.fi:8080/h6300/ - in section 3.1 The memory card Transcend SD 512MB 80x lists ( ls -la /dev/sd* ) up as /dev/sdc1. I have root access. Used application "X-terminal as root (GKsu)". (What does GKsu mean?) In ( fdisk /dev/sdc1 ) it prints ( p ): Was danish - but used the english desciptions: Device Boot Start End Blocks Id System /dev/sdc1p1 1 99 49873 b W95 FAT32 /dev/sdc1p2 100 1010 451856 83 Linux - in section 3.2 But I can not figure out how to format the two partitions - tried: pc:/dev#umount sdc1 (comment: The icon disappear from the desktop) pc:/dev#mkfs -t vfat /dev/sdc1p1 mkfs.vfat: (was danish; translated to) "No such file or catalog/directory" pc:/dev#mkfs -t vfat /dev/sdc1 mkfs.vfat: (was danish; translated to) "No such file or catalog/directory" pc:/dev#mkfs.vfat /dev/sdc1 bash: mkfs.vfat: command not found pc:/dev#mkfs.vfat /dev/sdc1p1 bash: mkfs.vfat: command not found pc:/dev# /Glenn -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Fri, 2007-02-23 at 14:51 +0100, Glenn Moeller-Holst wrote:
> I have problems using the mkfs command i a newly updated debian etch > distribution. > > I have followed the description on this page: > http://aragorn.kortex.jyu.fi:8080/h6300/ > The memory card Transcend SD 512MB 80x lists ( ls -la /dev/sd* ) up > as /dev/sdc1. > In ( fdisk /dev/sdc1 ) it prints ( p ): > Was danish - but used the english desciptions: > Device Boot Start End Blocks Id System > /dev/sdc1p1 1 99 49873 b W95 FAT32 > /dev/sdc1p2 100 1010 451856 83 Linux > > But I can not figure out how to format the two partitions - tried: > > pc:/dev#umount sdc1 > (comment: The icon disappear from the desktop) > pc:/dev#mkfs -t vfat /dev/sdc1p1 > mkfs.vfat: (was danish; translated to) "No such file or catalog/directory" > pc:/dev#mkfs -t vfat /dev/sdc1 > mkfs.vfat: (was danish; translated to) "No such file or catalog/directory" > pc:/dev#mkfs.vfat /dev/sdc1 > bash: mkfs.vfat: command not found > pc:/dev#mkfs.vfat /dev/sdc1p1 > bash: mkfs.vfat: command not found > /Glenn I'm not sure, but could parted (or QTParted, it's GUI cousin) repartition and reformat the disk? If you want to 'mkfs.vfat' try 'apt-get install dosfstools' as it handles FAT systems. Odd: I was wondering earlier how to reformat my USB MSD. I guess mkfs will do it. I probably wouldn't have remembered the command 'mkfs' if it hadn't been for your question, so thank you. -- Matthew K Poer -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
At 10:02 -0500 23/02/07, Matthew K Poer wrote:
>On Fri, 2007-02-23 at 14:51 +0100, Glenn Moeller-Holst wrote: >> I have problems using the mkfs command i a newly updated debian etch >> distribution. >> >> I have followed the description on this page: >> http://aragorn.kortex.jyu.fi:8080/h6300/ > >> The memory card Transcend SD 512MB 80x lists ( ls -la /dev/sd* ) up >> as /dev/sdc1. > >> In ( fdisk /dev/sdc1 ) it prints ( p ): >> Was danish - but used the english desciptions: >> Device Boot Start End Blocks Id System >> /dev/sdc1p1 1 99 49873 b W95 FAT32 >> /dev/sdc1p2 100 1010 451856 83 Linux >> >> But I can not figure out how to format the two partitions - tried: > > >> pc:/dev#umount sdc1 >> (comment: The icon disappear from the desktop) > > pc:/dev#mkfs -t vfat /dev/sdc1p1 >> mkfs.vfat: (was danish; translated to) "No such file or catalog/directory" >> pc:/dev#mkfs -t vfat /dev/sdc1 >> mkfs.vfat: (was danish; translated to) "No such file or catalog/directory" > > pc:/dev#mkfs.vfat /dev/sdc1 >> bash: mkfs.vfat: command not found >> pc:/dev#mkfs.vfat /dev/sdc1p1 >> bash: mkfs.vfat: command not found > > /Glenn > >I'm not sure, but could parted (or QTParted, it's GUI cousin) >repartition and reformat the disk? > >If you want to 'mkfs.vfat' try 'apt-get install dosfstools' as it >handles FAT systems. That ed - Thanks. It seems that mkfs.vfat and others are some sort of alias to the command mkdosfs. > >Odd: I was wondering earlier how to reformat my USB MSD. I guess mkfs >will do it. I probably wouldn't have remembered the command 'mkfs' if it >hadn't been for your question, so thank you. > >-- >Matthew K Poer 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 |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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 How exactly did you want it to be set up? Or, did you want to format, as in *erase*, the data on both partitions? 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 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Hi!
For some reason I do not understand, it now works, and I do not know why. Please tell me why it works now: At 18:06 +0100 23/02/07, Glenn Moeller-Holst wrote: .... >>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 #fdisk -l /dev/sde ..... :p .... [put it in a "TravelLite SD/MMC Reader" - but I have done that before - at least two times, while fdisking and formatting] Device Boot Start End Blocks Id System /dev/sdc1p1 1 7 56196 b W95 FAT32 /dev/sdc1p2 8 62 441787+ 83 Linux I can see number of cylinders has changed. But I do not know why. Why - I did not specify it - who did - the late Linux alf? The two partition even mount by itself now? /Glenn -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On Fri, 2007-02-23 at 22:41 +0100, Glenn Moeller-Holst wrote:
> Hi! > > For some reason I do not understand, it now works, and I do not know > why. Please tell me why it works now: > > At 18:06 +0100 23/02/07, Glenn Moeller-Holst wrote: > ... > >>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 > > #fdisk -l /dev/sde > > .... :p > ... > [put it in a "TravelLite SD/MMC Reader" - but I have done that before > - at least two times, while fdisking and formatting] > Device Boot Start End Blocks Id System > /dev/sdc1p1 1 7 56196 b W95 FAT32 > /dev/sdc1p2 8 62 441787+ 83 Linux > > I can see number of cylinders has changed. But I do not know why. Why > - I did not specify it - who did - the late Linux alf? > > The two partition even mount by itself now? > > /Glenn > > Perhaps it had something to do with msdos-whatever you installed earlier? -- Matthew K Poer -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
At 18:56 -0500 23/02/07, Matthew K Poer wrote:
>On Fri, 2007-02-23 at 22:41 +0100, Glenn Moeller-Holst wrote: >> Hi! >> >> For some reason I do not understand, it now works, and I do not know > > why. Please tell me why it works now: .... > > I can see number of cylinders has changed. But I do not know why. Why >> - I did not specify it - who did - the late Linux alf? >> >> The two partition even mount by itself now? >> >> /Glenn >> >> >Perhaps it had something to do with msdos-whatever you installed earlier? >-- >Matthew K Poer Hi Matthew Yes, that could be. Actually, the memory card comes from a camera, and I have used the built-in camera FAT formatting. By the way, I succeded in putting the Linux 2.6.16 on the IPaq 6340 pda phone. It worked and was quite simple. The wi-fi card in the pda did not work. I installed firehol on the Debian Etch and that worked so I in a simple could get NAT to work so the PDA used IP over USB. /Glenn -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|