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 > format usb drive
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

format usb drive

Réponse
 
LinkBack Outils de la discussion
Vieux 28/01/2008, 23h00   #1
BartlebyScrivener
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut format usb drive

When I do >sudo fdisk -l

This is what I get for the USB drive.

Disk /dev/sda: 62 MB, 62914560 bytes
2 heads, 63 sectors/track, 975 cylinders
Units = cylinders of 126 * 512 = 64512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 976 61424 6 FAT16
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 1, 1) logical=(0, 0, 33)
Partition 1 has different physical/logical endings:
phys=(1023, 1, 63) logical=(975, 0, 30)

I tried to format the whole thing with FAT32 by doing:
sudo mkdosfs -F 32 /dev/sda1

Can someone please tell me what command to use to elmininate any
partitions on the usb drive and format it for moving files between
Windows XP and Linux?

Thank you,

RD


--
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 29/01/2008, 01h40   #2
Paul Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: format usb drive

On Jan 28, 2008 2:37 PM, BartlebyScrivener <bscrivener42@gmail.com> wrote:
> When I do >sudo fdisk -l
>
> This is what I get for the USB drive.
>
> Disk /dev/sda: 62 MB, 62914560 bytes
> 2 heads, 63 sectors/track, 975 cylinders
> Units = cylinders of 126 * 512 = 64512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 976 61424 6 FAT16
> Partition 1 has different physical/logical beginnings (non-Linux?):
> phys=(0, 1, 1) logical=(0, 0, 33)
> Partition 1 has different physical/logical endings:
> phys=(1023, 1, 63) logical=(975, 0, 30)
>
> I tried to format the whole thing with FAT32 by doing:
> sudo mkdosfs -F 32 /dev/sda1
>
> Can someone please tell me what command to use to elmininate any
> partitions on the usb drive and format it for moving files between
> Windows XP and Linux?


Try this:

# dd if=/dev/zero of=/dev/sda
# mkfs.vfat /dev/sda

--
Paul Johnson
baloo@ursine.ca


--
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 29/01/2008, 01h50   #3
Douglas A. Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: format usb drive

On Mon, Jan 28, 2008 at 02:37:32PM -0800, BartlebyScrivener wrote:

> Can someone please tell me what command to use to elmininate any
> partitions on the usb drive and format it for moving files between
> Windows XP and Linux?


On my USB stick (Kingston 4 GB), I just used cfdisk. Removed any
existing partition, made a new one (sd?1) and put the FAT32 filesystem
on that. I verified with a Windows user that they could read the drive.

Doug.


--
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 29/01/2008, 01h50   #4
BartlebyScrivener
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: format usb drive

On Jan 28, 5:00 pm, BartlebyScrivener <bscrivene...@gmail.com> wrote:
>
> I tried to format the whole thing with FAT32 by doing:
> sudo mkdosfs -F 32 /dev/sda1
>
> Can someone please tell me what command to use to elmininate any
> partitions on the usb drive and format it for moving files between
> Windows XP and Linux?
>
> Thank you,
>
> RD
>


Never mind. Sorry for the trouble. I didn't realize that gparted does
usb drives. I think I have it.

Thanks

RD


--
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 29/01/2008, 09h10   #5
Magnus Therning
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: format usb drive

BartlebyScrivener wrote:
[..]
> Can someone please tell me what command to use to elmininate any
> partitions on the usb drive and format it for moving files between
> Windows XP and Linux?


My experience is that Windows is a lot more particular about USB keys
than Linux is. My suggestion would be to use your Windows box to format
the USB key to make sure it's readable by both systems.

/M

--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnusï¼therning.org Jabber: magnus.therningï¼gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
-- Daveman


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHnuuAiMWTaatN+6QRAnZOAJ4yULb1ccGTfI8fc0KXE0 MQ1AKujQCeJ4tl
mZaNhpXBEssTwIBfSTMV1rA=
=4ARc
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 29/01/2008, 09h50   #6
Russell L. Harris
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: format usb drive

* Magnus Therning <magnus@therning.org> [080129 03:07]:
> BartlebyScrivener wrote:
> [..]
> > Can someone please tell me what command to use to elmininate any
> > partitions on the usb drive and format it for moving files between
> > Windows XP and Linux?

>
> My experience is that Windows is a lot more particular about USB keys
> than Linux is. My suggestion would be to use your Windows box to format
> the USB key to make sure it's readable by both systems.



I have experienced no difficulty with W2000 after using fdisk to
rewrite the partitions and then mkfs.vfat to create the file system.
Look over the pertinent man pages.

On occasion I have experienced difficulty partitioning USB flash
sticks with either cfdisk or fdisk, but one or the other always has
worked.

If all else fails, you can let Window$ do it's (black) magic on the
device.

RLH


--
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 29/01/2008, 14h10   #7
Paul Csanyi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: format usb drive

2008/1/29, Russell L. Harris <rlharris@oplink.net>:
> * Magnus Therning <magnus@therning.org> [080129 03:07]:
> > BartlebyScrivener wrote:
> > [..]
> > > Can someone please tell me what command to use to elmininate any
> > > partitions on the usb drive and format it for moving files between
> > > Windows XP and Linux?


I used gparted to format my usb drive to ext3.

gparted can to format to fat32 too, so you can to try to format
your usb drive with gparted.

--
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm


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


É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,13859 seconds with 15 queries