PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > etch; possibly just mkfs problem
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

etch; possibly just mkfs problem

Réponse
 
LinkBack Outils de la discussion
Vieux 23/02/2007, 14h10   #1
Glenn Moeller-Holst
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut etch; possibly just mkfs problem

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
  Réponse avec citation
Vieux 23/02/2007, 15h10   #2
Matthew K Poer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: etch; possibly just mkfs problem

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
  Réponse avec citation
Vieux 23/02/2007, 16h40   #3
Glenn Moeller-Holst
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: etch; possibly just mkfs problem [it ed - but another problem persists]

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

  Réponse avec citation
Vieux 23/02/2007, 16h50   #4
Matthew K Poer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: etch; possibly just mkfs problem [it ed - but another problem persists]

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
  Réponse avec citation
Vieux 23/02/2007, 17h30   #5
Glenn Moeller-Holst
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: etch; possibly just mkfs problem [it ed - but another problem persists]

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

  Réponse avec citation
Vieux 23/02/2007, 22h10   #6
Glenn Moeller-Holst
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: etch; possibly just mkfs problem [The problem vanished almost by itself? Why?]

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
  Réponse avec citation
Vieux 24/02/2007, 00h00   #7
Matthew K Poer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: etch; possibly just mkfs problem [The problem vanished almost by itself? Why?]

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
  Réponse avec citation
Vieux 24/02/2007, 15h20   #8
Glenn Moeller-Holst
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: etch; possibly just mkfs problem [The problem vanished almost by itself? Why?]

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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h13.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16948 seconds with 16 queries