-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralf Mardorf wrote:
<snip>
>>
>> - From Linux:
>> sudo mkfs.vfat /dev/sdb1
> 
> cfdisk should do:
> 
cfdisk creates partitions, not file systems.

>> I tried to partition it.
> 
>> Name sdb1
>> Flags Boot
>> Part Type Primary
>> FS Type W95 FAT32
>> [Label]
>> Size (MB) 8086.06
> 
> And you think it did not format to
> 
>> FS Type W95 FAT32?
>
cfdisk just created a partition and gave it a type, it does not actually
create the file system.

> Hm? Okay I try # mkfs.vfat /dev/sdb1.
> 
>> - From Windows:
>> Control Panel -> Administrative Tools -> Computer Management ->
>> ** note that you need to be an administrator to do this. **
>>
>> Alternatively you could run Computer Management with admin credentials
>> in case you are properly using Windows.
>>
>> runas /noprofile /user:mydomain\myadminusername "mmc
>> %SystemRoot%\system32\compmgmt.msc /s"
>>
>> For home users mydomain = computer name
>>
>> In either case, right click on the USB drive (it won't have a drive
>> letter yet because there is no file system, yet) and click format.
> 
> It has a drive letter, it's F:\.
> 
Weird.  If it still does not work, it might be worth blanking the whole
device and starting over (you can use "dd if=/dev/zero
of=/path/to/usb/dev" to blank the whole usb drive.

>> Regardless of the OS you rebuild the USB key on, ** DOUBLE CHECK THAT
>> YOU ARE MODIFYING THE CORRECT DEVICE **  This is really important.
>> There is no garuntee that the USB stick will always be /dev/sdb or the
>> same drive letter in Windows.  On Linux you can check by either:
>> a) looking in /dev/disk/by-id.  Eg. "ls -l /dev/disk/by-id"
>> or b) sudo parted /dev/sdb print
> 
> I always checked this before. If the hard disks are connected, I have
> one drive with a size of 76GB, another with a size of 298GB and a third
> with a size of 8GB and I always only tried to change something for the
> drive with the size of 8GB ;).
> 
> I didn't know 'ls -l /dev/disk/by-id', an 'parted /dev/sdb print', by
> the way, parted isn't installed to every Linux.

If you have gparted you have parted.
> 
>> <snip>
>>> The USB stick was active. There was one partition for the stick,
>>> yesterday there were 3 "strange" partitions (seen by Windows, not by
>>> Linux), maybe something changed by dd or any other Linux command. Trying
>>> to format and partition by Windows failed with the error that the USB
>>> stick is write protected.
>> You may also get that error if you do not have sufficient privledges.
>> See above for a possible solution.
> 
> I don't use an user account, I only have an admin account for my Windows.
> 
This is common, you and 90% of all Windows users do this.  Of course it
is a very bad thing to do, but this is now getting off topic and
straying a little too close to my day job.

>>> All hard disk drives still were okay.
>>> -----------------------------------------------------------------------
<snip>
>>
>> sudo e2label /dev/<IDE Device>1
>> will print the current partition label
>>
>> sudo tune2fs -L <new label> /dev/<IDE Device>1
>> will change the label.
> 
> I know tune2fs, but the partition is (partitions are) lost. Instead of
> having the partitions #1 (,2#), #5 to #10 there only is one partition,
> partition #1.
> 
>>> # gparted only detected one partition on my IDE hard disk drive, but
>>> there should be IDE #1 and #5 to #10.
>> sudo parted /dev/<IDE Device> print
>>
What is the output from the above command?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm1V1EACgkQwRXgH3rKGfMBtgCdHd0pUuxpAW60e50203cgAdQq
G8IAoILyG4uqGRN8LMKbNMggMilrgExK
=jxtR
-----END PGP SIGNATURE-----
_______________________________________________
64studio-users mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-users

Reply via email to