Re: mkfs problem (half resolved)

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 21:58, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 19:50, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


In current versions of Debian, /etc/mtab should be a symlink to 
/proc/mounts.


   on my laptop, mtab is actually a link to ../proc/self/mounts


/proc/mounts is actually a symlink to /proc/self/mounts.


   but on my desktop, it is a file, God knows why.


Was your desktop initially installed with a rather older Debian version and 
upgraded ?



   it has been installed with Lenny, which is now an old version, but was
   at that time the current one...
   and then upgrade to Squeeze, Wheezy, Jessie and Stretch


I do not remember which version installed /etc/mtab as a symlink, but during 
the upgrade from the previous version it was offered to replace the regular 
file with a symlink. Maybe you answered "no" and /etc/mtab remained a regular 
file. Well, you can still replace it by hand now.


  I don't remember such a question, but that's actually what I did.

Re: mkfs problem (half resolved)

2019-03-10 Thread Pascal Hambourg

Le 10/03/2019 à 21:58, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 19:50, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


In current versions of Debian, /etc/mtab should be a symlink to 
/proc/mounts.


   on my laptop, mtab is actually a link to ../proc/self/mounts


/proc/mounts is actually a symlink to /proc/self/mounts.


   but on my desktop, it is a file, God knows why.


Was your desktop initially installed with a rather older Debian 
version and upgraded ?



   it has been installed with Lenny, which is now an old version, but was
   at that time the current one...
   and then upgrade to Squeeze, Wheezy, Jessie and Stretch


I do not remember which version installed /etc/mtab as a symlink, but 
during the upgrade from the previous version it was offered to replace 
the regular file with a symlink. Maybe you answered "no" and /etc/mtab 
remained a regular file. Well, you can still replace it by hand now.




Re: mkfs problem (half resolved)

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 19:50, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


What kind of system are you using ?


   Debian Stretch


In current versions of Debian, /etc/mtab should be a symlink to 
/proc/mounts.


   on my laptop, mtab is actually a link to ../proc/self/mounts


/proc/mounts is actually a symlink to /proc/self/mounts.


   but on my desktop, it is a file, God knows why.


Was your desktop initially installed with a rather older Debian version and 
upgraded ?



  it has been installed with Lenny, which is now an old version, but was
  at that time the current one...
  and then upgrade to Squeeze, Wheezy, Jessie and Stretch


Re: mkfs problem (half resolved)

2019-03-10 Thread Pascal Hambourg

Le 10/03/2019 à 19:50, Pierre Frenkiel a écrit :

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


What kind of system are you using ?


   Debian Stretch


In current versions of Debian, /etc/mtab should be a symlink to 
/proc/mounts.


   on my laptop, mtab is actually a link to ../proc/self/mounts


/proc/mounts is actually a symlink to /proc/self/mounts.


   but on my desktop, it is a file, God knows why.


Was your desktop initially installed with a rather older Debian version 
and upgraded ?




Re: mkfs problem (half resolved)

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 18:36, Pierre Frenkiel a écrit :



I said half-resolved, as I found a line with /dev/sdh1 in /etc/mtab.
Removing it solved the problem, but remains the question:
   why /etc/mtab was not updated?


What kind of system are you using ?


  Debian Stretch


In current versions of Debian, /etc/mtab should be a symlink to /proc/mounts.


  on my laptop, mtab is actually a link to ../proc/self/mounts
  but on my desktop, it is a file, God knows why.


Re: mkfs problem

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Pascal Hambourg wrote:


Le 10/03/2019 à 17:01, Pierre Frenkiel a écrit :

hi,
I'm trying to format a new USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
     mkfs.fat 4.1 (2017-01-24)
     mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
     works


You should not format (and more generally write directly to) a block device 
which contains a mounted filesystem.



  not only should not, but you can't ...
  as I said previously, the flash drive was not actually mounted
  (mtab not updated)

Re: mkfs problem

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Reco wrote:


Hi.

On Sun, Mar 10, 2019 at 05:01:34PM +0100, Pierre Frenkiel wrote:

hi,
I'm trying to format a new USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
works

any explanation?


/sbin/mkfs calls a different binary, /sbin/mkfs.ext2.
Different utility does different checks.


  of course, but how do  you explain that one of them think that it is mounted?
  As /dev/sdh1 was in /etc/mtab, it seems that mkfs.vfat uses mtab, and not
  mkfs.ext2!
  rather strange,isn't it?



Re: mkfs problem (half resolved)

2019-03-10 Thread Pascal Hambourg

Le 10/03/2019 à 18:36, Pierre Frenkiel a écrit :



I said half-resolved, as I found a line with /dev/sdh1 in /etc/mtab.
Removing it solved the problem, but remains the question:
   why /etc/mtab was not updated?


What kind of system are you using ?

In current versions of Debian, /etc/mtab should be a symlink to 
/proc/mounts. As anything in /proc, this not a real file but an 
interface with the kernel. It should always be up to date and userland 
should not be able to write it.




Re: mkfs problem (half resolved)

2019-03-10 Thread Pierre Frenkiel

On Sun, 10 Mar 2019, Pierre Frenkiel wrote:


hi,
I'm trying to format a new USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
   mkfs.fat 4.1 (2017-01-24)
   mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
   works


I said half-resolved, as I found a line with /dev/sdh1 in /etc/mtab.
Removing it solved the problem, but remains the question:
  why /etc/mtab was not updated?

best regards,
--
Pierre Frenkiel



Re: mkfs problem

2019-03-10 Thread Pascal Hambourg

Le 10/03/2019 à 17:01, Pierre Frenkiel a écrit :

hi,
I'm trying to fromat a nes USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
     mkfs.fat 4.1 (2017-01-24)
     mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
     works


You should not format (and more generally write directly to) a block 
device which contains a mounted filesystem.




Re: mkfs problem

2019-03-10 Thread Reco
Hi.

On Sun, Mar 10, 2019 at 05:01:34PM +0100, Pierre Frenkiel wrote:
> hi,
> I'm trying to fromat a nes USB flash drive and I get this:
> 
> ==> mount | grep sdh
> 
> ==> mkfs.vfat /dev/sdh1
> mkfs.fat 4.1 (2017-01-24)
> mkfs.vfat: /dev/sdh1 contains a mounted filesystem.
> 
> ==> mkfs /dev/sdh1
> works
> 
> any explanation?

/sbin/mkfs calls a different binary, /sbin/mkfs.ext2.
Different utility does different checks.

Reco



mkfs problem

2019-03-10 Thread Pierre Frenkiel

hi,
I'm trying to fromat a nes USB flash drive and I get this:

==> mount | grep sdh

==> mkfs.vfat /dev/sdh1
mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: /dev/sdh1 contains a mounted filesystem.

==> mkfs /dev/sdh1
works

any explanation?

best regards,
--
Pierre Frenkiel



Re: etch; possibly just mkfs problem [The problem vanished almost by itself? Why?]

2007-02-24 Thread Glenn Moeller-Holst

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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: etch; possibly just mkfs problem [The problem vanished almost by itself? Why?]

2007-02-23 Thread Matthew K Poer
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  StartEnd  Blocks   Id  System
> >>/dev/sdc1p1  1 99  49873 b  W95 FAT32
> >>/dev/sdc1p2100   1010 45185683  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  StartEnd  Blocks   Id  System
> /dev/sdc1p1  1  7  56196 b  W95 FAT32
> /dev/sdc1p2  862441787+  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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: etch; possibly just mkfs problem [The problem vanished almost by itself? Why?]

2007-02-23 Thread Glenn Moeller-Holst

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  StartEnd  Blocks   Id  System
/dev/sdc1p1  1 99  49873 b  W95 FAT32
/dev/sdc1p2100   1010 45185683  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  StartEnd  Blocks   Id  System
/dev/sdc1p1  1  7  56196 b  W95 FAT32
/dev/sdc1p2  862441787+  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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: etch; possibly just mkfs problem [it helped - but another problem persists]

2007-02-23 Thread Glenn Moeller-Holst

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  StartEnd  Blocks   Id  System
/dev/sdc1p1  1 99  49873 b  W95 FAT32
/dev/sdc1p2100   1010 45185683  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


Re: etch; possibly just mkfs problem [it helped - but another problem persists]

2007-02-23 Thread Matthew K Poer
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  StartEnd  Blocks   Id  System
/dev/sdc1p1  1 99  49873 b  W95 FAT32
/dev/sdc1p2100   1010 45185683  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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: etch; possibly just mkfs problem [it helped - but another problem persists]

2007-02-23 Thread Glenn Moeller-Holst

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  StartEnd  Blocks   Id  System
 /dev/sdc1p1  1 99  49873 b  W95 FAT32
 /dev/sdc1p2100   1010 45185683  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) help
repartition and reformat the disk?

If you want to 'mkfs.vfat' try 'apt-get install dosfstools' as it
handles FAT systems.


That helped - 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


Re: etch; possibly just mkfs problem

2007-02-23 Thread Alan Ianson
On Fri February 23 2007 07:02, Matthew K Poer wrote:

> 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.

It will. I had problems with my usb stick and linux thinking there was no free 
space on it so I couldn't write anything to it. I used mkdosfs on it and now 
everyone is happy.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: etch; possibly just mkfs problem

2007-02-23 Thread Matthew K Poer
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  StartEnd  Blocks   Id  System
> /dev/sdc1p1  1 99  49873 b  W95 FAT32
> /dev/sdc1p2100   1010 45185683  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) help
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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



etch; possibly just mkfs problem

2007-02-23 Thread Glenn Moeller-Holst

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  StartEnd  Blocks   Id  System
/dev/sdc1p1  1 99  49873 b  W95 FAT32
/dev/sdc1p2100   1010 45185683  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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




etch; possibly just mkfs problem

2007-02-23 Thread Glenn Moeller-Holst

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  StartEnd  Blocks   Id  System
/dev/sdc1p1  1 99  49873 b  W95 FAT32
/dev/sdc1p2100   1010 45185683  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


Re: fdisk/mkfs problem

2000-06-03 Thread Rogerio Brito
On Jun 02 2000, john smith wrote:
> nope..it still does'nt work. any other ideas?

Install dosfsutils. It contains the tool mkdosfs so that you
can format your partition. It also provides mkfs.vfat and
mkfs.msdos.


Hope this helps, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
 Nectar homepage: http://www.linux.ime.usp.br/~rbrito/nectar/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



RE: fdisk/mkfs problem

2000-06-02 Thread Andrew Weiss
Title: RE: fdisk/mkfs problem





This command also works


mkfs -t msdos -F 32 /dev/xdxx 


were the first x is scsi (s) or ide (h) and the second is the device order ... 1st ide master, then slave, then 2nd ide master... then slave (a,b,c,d)... or scsi ID order, and then the partition number.

Andrew
--
Big Endian Girls make the RISCen world go round





Re: fdisk/mkfs problem

2000-06-02 Thread john smith

nope..it still does'nt work. any other ideas?



From: Bolan Meek <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED]
To: john smith <[EMAIL PROTECTED]>
CC: debian-user@lists.debian.org
Subject: Re: fdisk/mkfs problem
Date: Fri, 02 Jun 2000 14:22:38 -0500
MIME-Version: 1.0
Received: from [199.249.20.2] by hotmail.com (3.2) with ESMTP id 
MHotMailBB0154D800AAD820F3BBC7F91402DC010; Fri Jun 02 12:24:08 2000
Received: from CONVERSION-DAEMON by firewall.mcit.com (PMDF V5.2-32 #42257) 
id <[EMAIL PROTECTED]> for [EMAIL PROTECTED]; Fri, 2 
Jun 2000 19:23:31 + (GMT)
Received: from pmismtp02.wcomnet.com ([166.38.62.37]) by firewall.mcit.com 
(PMDF V5.2-32 #42257) with ESMTP id <[EMAIL PROTECTED]>; 
Fri, 02 Jun 2000 19:23:30 + (GMT)
Received: from CONVERSION-DAEMON by pmismtp02.wcomnet.com (PMDF V5.2-33 
#42259) id <[EMAIL PROTECTED]>; Fri, 02 Jun 2000 
19:23:26 + (GMT)
Received: from pmismtp02.wcomnet.com by pmismtp02.wcomnet.com (PMDF V5.2-33 
#42259) with SMTP id <[EMAIL PROTECTED]>; Fri, 02 Jun 
2000 19:23:25 + (GMT)
Received: from wcom.com ([166.35.157.135]) by pmismtp02.wcomnet.com (PMDF 
V5.2-33 #42259) with ESMTP id <[EMAIL PROTECTED]>; Fri, 
02 Jun 2000 19:23:13 + (GMT)

From [EMAIL PROTECTED] Fri Jun 02 12:25:08 2000
Sender: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
Organization: K-Force/Sarcom/MCI-WorldCom
X-Mailer: Mozilla 4.7 [en] (X11; I; HP-UX B.10.20 9000/770)
X-Accept-Language: en
References: <[EMAIL PROTECTED]>

john smith wrote:
>
> ... mkfs -t FAT32 or mkfs -t Win95 FAT32

Try '-t vfat'.



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



Re: fdisk/mkfs problem

2000-06-02 Thread Bolan Meek
john smith wrote:
> 
> ... mkfs -t FAT32 or mkfs -t Win95 FAT32 

Try '-t vfat'.



fdisk/mkfs problem

2000-06-02 Thread john smith

Hi,
I have created a dos partition via linux's fdisk (FAT32) now I try to write 
it I get ioctl() error..telling me that the resource or device is busy and 
tells me to reboot and check that the partition is updated. I did that and 
it shows in the partition table but now when I try to format it using mkfs 
-t FAT32 or mkfs -t Win95 FAT32 it doesn't allow me to do it. (permission 
denied).


Can somebody please help me out?



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com