Re: Error reading pen drive

2010-08-28 Thread Bill Davidsen
Parshwa Murdia wrote:
 On Wed, Aug 25, 2010 at 2:13 PM, Bill Davidsen david...@tmr.com 
 mailto:david...@tmr.com wrote:
  
 
 concluding that all Windows users are numbskulls?
 
  
  
 One is numbskull or not is a personal view which you say! And further is 
 relative. No doubt Linux is more more secured and powerful than Windows, 
 but did you check each and every Window user that he/she is numbskull?

I think you need to reread the question, not take half of the last sentence of 
the paragraph and disagree with it.

-- 
Bill Davidsen david...@tmr.com
   We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-28 Thread Parshwa Murdia
On Sun, Aug 29, 2010 at 2:37 AM, Bill Davidsen david...@tmr.com wrote:


 I think you need to reread the question, not take half of the last sentence
 of
 the paragraph and disagree with it.



I read all and am not disagreeing but saying what is!
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-27 Thread Parshwa Murdia
On Wed, Aug 25, 2010 at 2:18 PM, Bill Davidsen david...@tmr.com wrote:


 Even those who know computing get into the habit of clicking OKAY after a
 dozen
 or so nanny messages saying do you really want to... because there are so
 many
 (a) warnings without a skip it the next time and (b) things which should
 trigger user decision and don't.



This is correct, and MS is fastly getting replaced with Linux technology.
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-27 Thread Parshwa Murdia
On Wed, Aug 25, 2010 at 2:13 PM, Bill Davidsen david...@tmr.com wrote:


 concluding that all Windows users are numbskulls?



One is numbskull or not is a personal view which you say! And further is
relative. No doubt Linux is more more secured and powerful than Windows, but
did you check each and every Window user that he/she is numbskull?
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-25 Thread Parshwa Murdia
On Wed, Aug 25, 2010 at 7:13 AM, Tim ignored_mail...@yahoo.com.au wrote:


 And I would agree with Bill saying most Windows users don't think.  It's
 used by a huge number of people, who have no damn idea about computing,
 treating it like some magic box.



Yes that is correct. Though Linux is more powerful and secured but still the
fact is that (untill now), majority of the people (50%) use Windows,
because of its easy GUI structure and we should promote the use of open
source Fedora!
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-25 Thread Bill Davidsen
Parshwa Murdia wrote:
 On Sun, Aug 22, 2010 at 11:28 PM, Bill Davidsen david...@tmr.com wrote:
 
 I agree Windows users aren't used thinking, for the most part.
 
 Not always true.

Wow, is that ambiguous! Do you disagree that most Windows users accept option 
offered by the OS without thinking, or with my most part and concluding that 
all Windows users are numbskulls?

-- 
Bill Davidsen david...@tmr.com
   We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-25 Thread Bill Davidsen
Tim wrote:
 On Tue, 2010-08-24 at 20:26 +0530, Parshwa Murdia wrote:
 most part mean more than 50% (majority).
 
 And I would agree with Bill saying most Windows users don't think.  It's
 used by a huge number of people, who have no damn idea about computing,
 treating it like some magic box.
 
Even those who know computing get into the habit of clicking OKAY after a dozen 
or so nanny messages saying do you really want to... because there are so 
many 
(a) warnings without a skip it the next time and (b) things which should 
trigger user decision and don't.

-- 
Bill Davidsen david...@tmr.com
   We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-24 Thread Parshwa Murdia
On Sun, Aug 22, 2010 at 11:28 PM, Bill Davidsen david...@tmr.com wrote:

 I agree Windows users aren't used thinking, for the most part.

Not always true.
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-24 Thread Parshwa Murdia
On Tue, Aug 24, 2010 at 6:38 PM, Tim ignored_mail...@yahoo.com.au wrote:
 Bill Davidsen
 I agree Windows users aren't used thinking, for the most part.

 Bill did say for the most part which doesn't mean always.


Yes, most part mean more than 50% (majority).
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-24 Thread Tim
On Tue, 2010-08-24 at 20:26 +0530, Parshwa Murdia wrote:
 most part mean more than 50% (majority).

And I would agree with Bill saying most Windows users don't think.  It's
used by a huge number of people, who have no damn idea about computing,
treating it like some magic box.

-- 
[...@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-22 Thread Tim
On Sun, 2010-08-22 at 10:48 +0530, Parshwa Murdia wrote:
 Yes, it was failed but the pen drive (in which some videos were there,
 unfortunately which had o back-up!) was formated successfully. And I
 returned it to my friend. Next day, he says, he was not able to work
 with that, which amazed me and still he looks for a solution! But the
 main thing is that it was successfully formatted at least once!

Partitioning:  Preparing the drive for the partitions it will have, even
if there will only be one part.

Formatting:  Putting some file system in place on the partition.

It's two steps, even if you have one application that can do both for
you.  If you remove the partitioning info, then formatting it isn't
possible.

Windows users may be used to right-clicking and formatting a flash
drive, as a quick way of erasing contents.  But it's dependent on the
partitioning info being there.  If it's missing, it'll need to be
repartitioned, that's something the usual Windows users aren't used to
doing, and mayn't know anything about.  I don't think Windows will offer
to repartition the drive for them, as hand-holding help.

-- 
[...@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-22 Thread Parshwa Murdia
On Sun, Aug 22, 2010 at 12:28 PM, Tim ignored_mail...@yahoo.com.au wrote:

 Partitioning:  Preparing the drive for the partitions it will have, even
 if there will only be one part.

 Formatting:  Putting some file system in place on the partition.

 It's two steps, even if you have one application that can do both for
 you.  If you remove the partitioning info, then formatting it isn't
 possible.

 Windows users may be used to right-clicking and formatting a flash
 drive, as a quick way of erasing contents.  But it's dependent on the
 partitioning info being there.  If it's missing, it'll need to be
 repartitioned, that's something the usual Windows users aren't used to
 doing, and mayn't know anything about.  I don't think Windows will offer
 to repartition the drive for them, as hand-holding help.


Yes, correct.
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-22 Thread Mikkel
On 08/22/2010 01:58 AM, Tim wrote:
 On Sun, 2010-08-22 at 10:48 +0530, Parshwa Murdia wrote:
 Yes, it was failed but the pen drive (in which some videos were there,
 unfortunately which had o back-up!) was formated successfully. And I
 returned it to my friend. Next day, he says, he was not able to work
 with that, which amazed me and still he looks for a solution! But the
 main thing is that it was successfully formatted at least once!
 
 Partitioning:  Preparing the drive for the partitions it will have, even
 if there will only be one part.
 
 Formatting:  Putting some file system in place on the partition.
 
 It's two steps, even if you have one application that can do both for
 you.  If you remove the partitioning info, then formatting it isn't
 possible.
 
It is possible to format, and mount, a drive without a partition
table. But you have to mount it manually, because the auto-mount
software does not know how to handle it. Windows will also have a
problem with it.

For that matter, did you know that you can use a drive as one big
tar archive?  Try it with a pen drive or memory card you don't mind
re-partitioning afterwards.

tar -cf /dev/sdc *
tar -xf /dev/sdc *

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-22 Thread Parshwa Murdia
On Sun, Aug 22, 2010 at 6:55 PM, Mikkel mik...@infinity-ltd.com wrote:

 It is possible to format, and mount, a drive without a partition
 table. But you have to mount it manually, because the auto-mount
 software does not know how to handle it. Windows will also have a
 problem with it.

 For that matter, did you know that you can use a drive as one big
 tar archive?  Try it with a pen drive or memory card you don't mind
 re-partitioning afterwards.

 tar -cf /dev/sdc *
 tar -xf /dev/sdc *


A little bit advanced talk.
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-22 Thread Bill Davidsen
Tim wrote:
 On Sun, 2010-08-22 at 10:48 +0530, Parshwa Murdia wrote:
 Yes, it was failed but the pen drive (in which some videos were there,
 unfortunately which had o back-up!) was formated successfully. And I
 returned it to my friend. Next day, he says, he was not able to work
 with that, which amazed me and still he looks for a solution! But the
 main thing is that it was successfully formatted at least once!
 
 Partitioning:  Preparing the drive for the partitions it will have, even
 if there will only be one part.
 
 Formatting:  Putting some file system in place on the partition.
 
 It's two steps, even if you have one application that can do both for
 you.  If you remove the partitioning info, then formatting it isn't
 possible.
 
Unfortunately it is possible, /dev/sdb works fine with mke2fs but automount 
tools don't work, they want /dev/sdb1. I find no good reason to avoid the 
partition table, but it isn't really needed if you do things manually.

 Windows users may be used to right-clicking and formatting a flash
 drive, as a quick way of erasing contents.  But it's dependent on the
 partitioning info being there.  If it's missing, it'll need to be
 repartitioned, that's something the usual Windows users aren't used to
 doing, and mayn't know anything about.  I don't think Windows will offer
 to repartition the drive for them, as hand-holding help.
 
Sure, fdisk in Windows works, and always did (I stopped using Win for anything 
but test about 1.2.13 days, but run an XP VM). You have to run it, possibly 
from 
CLI, but it's there and was back to at least MSDOS pre-Windows days.

I agree Windows users aren't used thinking, for the most part.

-- 
Bill Davidsen david...@tmr.com
   We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-21 Thread Bill Davidsen
Parshwa Murdia wrote:
 On Thu, Aug 19, 2010 at 2:02 AM, Bill Davidsen david...@tmr.com wrote:
 
 It's working fine, no errors on the drive, only you destroyed the partition
 table and all data. At this point I would use fdisk to create a partition 
 (see
 below), and them create a filesystem on the partition.
 
 WHAT KIND OF PARTITION?
 
 Typically these devices come with a FAT16 or VFAT file type. If you ever 
 want to
 use it with any MSFT OS then you should do that. Create a partition and use 
 the
 't' command to set the type, type 'c' is FAT32/LBA and is probably what you
 want. Format the filesystem (/dev/sdb1 not /dev/sdb) with mkfs.vfat (for MS
 compatibility) or mkfs.ext2 (Linux use). Do NOT use ext3 or any other 
 journaling
 filesystem, as it tends to shorten the life of the media.
 
 That should get you back working.
 
 
 But again that doesn't solve because that pen drive is now nowhere
 working (in any PC with any OS). So it made me to conclude that the
 pen drive has some internal sector badly corrupted or not possible for
 repair!

What happened when you used fdisk to define a partition on the drive? What 
error 
message did you get that caused you to conclude the commands to create a valid 
partition had failed?

-- 
Bill Davidsen david...@tmr.com
   We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-21 Thread Parshwa Murdia
On Sun, Aug 22, 2010 at 1:03 AM, Bill Davidsen david...@tmr.com wrote:

 What happened when you used fdisk to define a partition on the drive? What 
 error
 message did you get that caused you to conclude the commands to create a valid
 partition had failed?


Yes, it was failed but the pen drive (in which some videos were there,
unfortunately which had o back-up!) was formated successfully. And I
returned it to my friend. Next day, he says, he was not able to work
with that, which amazed me and still he looks for a solution! But the
main thing is that it was successfully formatted at least once!
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-20 Thread Parshwa Murdia
On Thu, Aug 19, 2010 at 11:08 PM, Tim ignored_mail...@yahoo.com.au wrote:

 Looking at the tail end of dmesg moments after you've inserted a drive
 is an easy way to see where the system finds it.  And you don't need to
 be the root user to read that info.


Yeah I got it very easily.


 With fdisk, you have to be familiar with all your drives on the system,
 so you can tell apart the newly inserted one from the others.  That's
 probably not too hard to do with a single USB flash drive, but gets
 complex with multiple drives.

Yes.


 ii) After that, I have to unmount it, using the command umount
 /dev/sdb so that it could be formatted.

 Is that a question?


In fact it was a statement I was confused at and was confirming that I
have to do it because it is a must to unmount the pen-drive before
formatting, but I only didn't put a question mark at the end.


 vfat if you want to easily use the device on different computer systems,
 including different Linux systems where your (numerical) user ID isn't
 always the same on each system.

 ext3 if you want to keep the different permissions and ownerships per
 user, only intend to use it on Linux systems, or Windows systems where
 you've installed extra drivers to handle ext3.


Now really, I know the basic difference. So I must use vfat.


 iv) I guess it would be correct:

 $ umount /dev/USBPARTITIONNAME

 $ /sbin/mkdosfs -F 32 -n usbdisk /dev/USBPARTITIONNAME

 Where, USBPARTITIONNAME is what I would be getting from query i)

 Looks right.  But don't take my word for it, read:  man mkdosfs


Sure, but I got these links from the page:

http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo#How_to_Format
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-20 Thread Mikkel
On 08/19/2010 12:38 PM, Tim wrote:
 On Thu, 2010-08-19 at 21:37 +0530, Parshwa Murdia wrote:
 From the very basics, could you please tell me sequentially:-

 i) How to know the partition name while inserting usb pen drive?
 Running fdisk -l or fdisk yields, but with sdb not written 1 or
 2 at the end of 'sdb', and for sure, 'sdb' is the pen drive partition
 name. Or the command, dmesg | tail?
 
 Looking at the tail end of dmesg moments after you've inserted a drive
 is an easy way to see where the system finds it.  And you don't need to
 be the root user to read that info.
 
 With fdisk, you have to be familiar with all your drives on the system,
 so you can tell apart the newly inserted one from the others.  That's
 probably not too hard to do with a single USB flash drive, but gets
 complex with multiple drives.
 
With gparted, you can see the size of each drive when you go to
select the drive to work on - it works as long as you do not have 2
drives of the same size plugged in.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-20 Thread Parshwa Murdia
On Fri, Aug 20, 2010 at 9:11 PM, Mikkel mik...@infinity-ltd.com wrote:

 With gparted, you can see the size of each drive when you go to
 select the drive to work on - it works as long as you do not have 2
 drives of the same size plugged in.


Oh that's I check.
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-19 Thread Mikkel
On 08/18/2010 10:22 PM, Parshwa Murdia wrote:
 
 Oh, but I tries that pen drive in other PC too (my friend's) and it is
 not even getting detected there (in Windows XP Prof.), so it made me
 to conclude that there is some internal problem of the pen-drive,
 which again is a guess but with probability more than 80%!

When you do not have a partition table, Windows does not know what
to do with it, so it will not show up as a drive in My Computer. It
will show up in the hardware list.

While you can use a drive with no partition table, such as you
created when you formatted /dev/sdb, it requires you to manually
mount it. Even with a proper parition table, if it is not formatted
as FAT, VFAT, or NTFS you will be limited in where you can use it. A
lot of printers, media players, etc do not understand NTFS.

Now, if you have used /dev/sdb1 instead of /dev/sdb, you would have
had better luck. But you want to be careful when you use command
line tools as root - they do exactly what you tell them to do,
without checking if you really want to do that. If you had used
/dev/sda instead of /dev/sdb, you would have wiped out your system.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-19 Thread Parshwa Murdia
On Thu, Aug 19, 2010 at 6:14 PM, Mikkel mik...@infinity-ltd.com wrote:

 When you do not have a partition table, Windows does not know what
 to do with it, so it will not show up as a drive in My Computer. It
 will show up in the hardware list.


Oh I see.


 While you can use a drive with no partition table, such as you
 created when you formatted /dev/sdb, it requires you to manually
 mount it.


That really I didn't know. I would just mount it in /mnt/pendrivechecks


 Even with a proper parition table, if it is not formatted
 as FAT, VFAT, or NTFS you will be limited in where you can use it. A
 lot of printers, media players, etc do not understand NTFS.


Yes.


 Now, if you have used /dev/sdb1 instead of /dev/sdb, you would have
 had better luck. But you want to be careful when you use command
 line tools as root - they do exactly what you tell them to do,
 without checking if you really want to do that.


From the very basics, could you please tell me sequentially:-

i) How to know the partition name while inserting usb pen drive?
Running fdisk -l or fdisk yields, but with sdb not written 1 or
2 at the end of 'sdb', and for sure, 'sdb' is the pen drive partition
name. Or the command, dmesg | tail?

ii) After that, I have to unmount it, using the command umount
/dev/sdb so that it could be formatted.

iii) Now for formatting, I would have to use either vfat or ext3. But
how to know whether to use the former or the later?

iv) I guess it would be correct:

$ umount /dev/USBPARTITIONNAME

$ /sbin/mkdosfs -F 32 -n usbdisk /dev/USBPARTITIONNAME

Where, USBPARTITIONNAME is what I would be getting from query i)


 If you had used
 /dev/sda instead of /dev/sdb, you would have wiped out your system.


I didn't use sda.
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-19 Thread Tim
On Thu, 2010-08-19 at 21:37 +0530, Parshwa Murdia wrote:
 From the very basics, could you please tell me sequentially:-
 
 i) How to know the partition name while inserting usb pen drive?
 Running fdisk -l or fdisk yields, but with sdb not written 1 or
 2 at the end of 'sdb', and for sure, 'sdb' is the pen drive partition
 name. Or the command, dmesg | tail?

Looking at the tail end of dmesg moments after you've inserted a drive
is an easy way to see where the system finds it.  And you don't need to
be the root user to read that info.

With fdisk, you have to be familiar with all your drives on the system,
so you can tell apart the newly inserted one from the others.  That's
probably not too hard to do with a single USB flash drive, but gets
complex with multiple drives.

 ii) After that, I have to unmount it, using the command umount
 /dev/sdb so that it could be formatted.

Is that a question?

 iii) Now for formatting, I would have to use either vfat or ext3. But
 how to know whether to use the former or the later?

vfat if you want to easily use the device on different computer systems,
including different Linux systems where your (numerical) user ID isn't
always the same on each system.

ext3 if you want to keep the different permissions and ownerships per
user, only intend to use it on Linux systems, or Windows systems where
you've installed extra drivers to handle ext3.

 iv) I guess it would be correct:
 
 $ umount /dev/USBPARTITIONNAME
 
 $ /sbin/mkdosfs -F 32 -n usbdisk /dev/USBPARTITIONNAME
 
 Where, USBPARTITIONNAME is what I would be getting from query i)

Looks right.  But don't take my word for it, read:  man mkdosfs



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Error reading pen drive

2010-08-18 Thread Parshwa Murdia
hi,
I have a kingston 32 GB pen drive which I tried to format but it is
showing me the following error:

Error mounting device
org.freeDesktop.DeviceKitDisks.Error.Failed: Not a mountable file system

But when I insert any other per drive it works. Is there any remedy for this?
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Mikkel
On 08/18/2010 07:27 AM, Parshwa Murdia wrote:
 hi,
 I have a kingston 32 GB pen drive which I tried to format but it is
 showing me the following error:
 
 Error mounting device
 org.freeDesktop.DeviceKitDisks.Error.Failed: Not a mountable file system
 
 But when I insert any other pen drive it works. Is there any remedy for this?

Now did you try to format the pen drive? Can you post the output of
fdisk -l with the drive plugged in?

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Parshwa Murdia
On Wed, Aug 18, 2010 at 6:34 PM, Mikkel mik...@infinity-ltd.com wrote:

 Can you post the output of fdisk -l with the drive plugged in?


The output of fdisk -l is (pen drive plugged in):

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfedcfedc

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   15737460824217  HPFS/NTFS
/dev/sda25738   30400   198105547+   f  W95 Ext'd (LBA)
/dev/sda55738956130716248+   7  HPFS/NTFS
/dev/sda69562   1338530716248+   7  HPFS/NTFS
/dev/sda7   13386   1593520482843+   7  HPFS/NTFS
/dev/sda8   *   15936   15961  204799+  83  Linux
/dev/sda9   15961   28596   101487615+  8e  Linux LVM

Disk /dev/dm-0: 99.7 GB, 99711188992 bytes
255 heads, 63 sectors/track, 12122 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 4211 MB, 4211081216 bytes
255 heads, 63 sectors/track, 511 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sdb: 33.5 GB, 33554432000 bytes
64 heads, 32 sectors/track, 32000 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x

   Device Boot  Start End  Blocks   Id  System

I don't but I guess the drive is having a small sector corrupted
inside it as the icon is getting displayed but other actions have been
restricted unknowingly!
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Robert G. (Doc) Savage

On Wed, 2010-08-18 at 19:27 +0530, Parshwa Murdia wrote:
 On Wed, Aug 18, 2010 at 6:34 PM, Mikkel mik...@infinity-ltd.com wrote:
 
  Can you post the output of fdisk -l with the drive plugged in?
 
 
 The output of fdisk -l is (pen drive plugged in):
 
 Disk /dev/sda: 250.0 GB, 250059350016 bytes
 255 heads, 63 sectors/track, 30401 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0xfedcfedc
 
Device Boot  Start End  Blocks   Id  System
 /dev/sda1   15737460824217  HPFS/NTFS
 /dev/sda25738   30400   198105547+   f  W95 Ext'd (LBA)
 /dev/sda55738956130716248+   7  HPFS/NTFS
 /dev/sda69562   1338530716248+   7  HPFS/NTFS
 /dev/sda7   13386   1593520482843+   7  HPFS/NTFS
 /dev/sda8   *   15936   15961  204799+  83  Linux
 /dev/sda9   15961   28596   101487615+  8e  Linux LVM
 
 Disk /dev/dm-0: 99.7 GB, 99711188992 bytes
 255 heads, 63 sectors/track, 12122 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0x
 
 Disk /dev/dm-0 doesn't contain a valid partition table
 
 Disk /dev/dm-1: 4211 MB, 4211081216 bytes
 255 heads, 63 sectors/track, 511 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0x
 
 Disk /dev/dm-1 doesn't contain a valid partition table
 
 Disk /dev/sdb: 33.5 GB, 33554432000 bytes
 64 heads, 32 sectors/track, 32000 cylinders
 Units = cylinders of 2048 * 512 = 1048576 bytes
 Disk identifier: 0x
 
Device Boot  Start End  Blocks   Id  System
 
 I don't but I guess the drive is having a small sector corrupted
 inside it as the icon is getting displayed but other actions have been
 restricted unknowingly!

Parsha,

Does running 'fdisk -l /dev/sdb' as root allow you to create and save
new partitions?

--Doc Savage
  Fairview Heights, IL

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Bryn M. Reeves
On 08/18/2010 03:18 PM, Robert G. (Doc) Savage wrote:
 Does running 'fdisk -l /dev/sdb' as root allow you to create and save
 new partitions?

Probably want just 'fdisk /dev/sdb' if you're planning to create
partitions and save the table - the -l switch will cause the program to
print the current table on sdb and exit.

Regards,
Bryn.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Robert G. (Doc) Savage

On Wed, 2010-08-18 at 09:18 -0500, Robert G. (Doc) Savage wrote:
 Parsha,
 
 Does running 'fdisk -l /dev/sdb' as root allow you to create and save
 new partitions?

Parsha,

Very sorry. Leave out the '-l'. Should not hit the Send button just
after the telephone rings.

--Doc Savage
  Fairview Heights, IL

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Parshwa Murdia
On Wed, Aug 18, 2010 at 7:48 PM, Robert G. (Doc) Savage
dsav...@peaknet.net wrote:

 Does running 'fdisk -l /dev/sdb' as root allow you to create and save
 new partitions?

docsavge,

yes.
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Parshwa Murdia
On Wed, Aug 18, 2010 at 7:51 PM, Bryn M. Reeves b...@redhat.com wrote:

 Probably want just 'fdisk /dev/sdb' if you're planning to create
 partitions and save the table - the -l switch will cause the program to
 print the current table on sdb and exit.


Not planning that but only wanted to have the pen drive work well.
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Parshwa Murdia
On Wed, Aug 18, 2010 at 7:55 PM, Robert G. (Doc) Savage
dsav...@peaknet.net wrote:

 Very sorry. Leave out the '-l'. Should not hit the Send button just
 after the telephone rings.


docsavge,

Yes. leaving i would have to check. Just after the telephone ring, one
should not hit the Send button.
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Mikkel
On 08/18/2010 08:57 AM, Parshwa Murdia wrote:
 
 Disk /dev/sdb: 33.5 GB, 33554432000 bytes
 64 heads, 32 sectors/track, 32000 cylinders
 Units = cylinders of 2048 * 512 = 1048576 bytes
 Disk identifier: 0x
 
Device Boot  Start End  Blocks   Id  System
 
 I don't but I guess the drive is having a small sector corrupted
 inside it as the icon is getting displayed but other actions have been
 restricted unknowingly!
Of hand, it looks like you did something like mke2fs /dev/sdb.
While this is valid, it creates a drive without a partition table.
This causes problems for the auto-mount software.

While you could manually mount a drive set up this way, you are
better using parted to create a partition table, a partition that
spans the entire drive, and formatting it. You will probably find
that one of the GUIs for parted is easier to use. You may have
gparted or qtparted installed.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Bill Davidsen
Parshwa Murdia wrote:
 On Wed, Aug 18, 2010 at 7:51 PM, Bryn M. Reeves b...@redhat.com wrote:
 
 Probably want just 'fdisk /dev/sdb' if you're planning to create
 partitions and save the table - the -l switch will cause the program to
 print the current table on sdb and exit.
 
 
 Not planning that but only wanted to have the pen drive work well.

It's working fine, no errors on the drive, only you destroyed the partition 
table and all data. At this point I would use fdisk to create a partition (see 
below), and them create a filesystem on the partition.

WHAT KIND OF PARTITION?

Typically these devices come with a FAT16 or VFAT file type. If you ever want 
to 
use it with any MSFT OS then you should do that. Create a partition and use the 
't' command to set the type, type 'c' is FAT32/LBA and is probably what you 
want. Format the filesystem (/dev/sdb1 not /dev/sdb) with mkfs.vfat (for MS 
compatibility) or mkfs.ext2 (Linux use). Do NOT use ext3 or any other 
journaling 
filesystem, as it tends to shorten the life of the media.

That should get you back working.

-- 
Bill Davidsen david...@tmr.com
   We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Aaron Konstam
On Wed, 2010-08-18 at 11:28 -0500, Mikkel wrote:
 On 08/18/2010 08:57 AM, Parshwa Murdia wrote:
  
  Disk /dev/sdb: 33.5 GB, 33554432000 bytes
  64 heads, 32 sectors/track, 32000 cylinders
  Units = cylinders of 2048 * 512 = 1048576 bytes
  Disk identifier: 0x
  
 Device Boot  Start End  Blocks   Id  System
  
  I don't but I guess the drive is having a small sector corrupted
  inside it as the icon is getting displayed but other actions have been
  restricted unknowingly!
 Of hand, it looks like you did something like mke2fs /dev/sdb.
 While this is valid, it creates a drive without a partition table.
 This causes problems for the auto-mount software.
 
 While you could manually mount a drive set up this way, you are
 better using parted to create a partition table, a partition that
 spans the entire drive, and formatting it. You will probably find
 that one of the GUIs for parted is easier to use. You may have
 gparted or qtparted installed.
 
 Mikkel

I find pen drives work much better if they a re partitioned as windows
devices, even on fedora.
-- 
Aaron Konstam akons...@sbcglobal.net

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Mikkel
On 08/18/2010 04:10 PM, Aaron Konstam wrote:
 On Wed, 2010-08-18 at 11:28 -0500, Mikkel wrote:
 Off hand, it looks like you did something like mke2fs /dev/sdb.
 While this is valid, it creates a drive without a partition table.
 This causes problems for the auto-mount software.

 While you could manually mount a drive set up this way, you are
 better using parted to create a partition table, a partition that
 spans the entire drive, and formatting it. You will probably find
 that one of the GUIs for parted is easier to use. You may have
 gparted or qtparted installed.

 Mikkel
 
 I find pen drives work much better if they are partitioned as windows
 devices, even on fedora.

That is called a DOS partition table. Probably because it was first
used with [MS|PC]DOS. Both fdisk and parted will do this. Parted has
the advantage in that you can format the partition after creating
it, while with fdisk, you have to use another program to do the
formatting. It also makes it harder to format the entire drive as
one file system, wiping out the partition table.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Patrick O'Callaghan
On Wed, 2010-08-18 at 16:10 -0500, Aaron Konstam wrote:
 On Wed, 2010-08-18 at 11:28 -0500, Mikkel wrote:
  On 08/18/2010 08:57 AM, Parshwa Murdia wrote:
   
   Disk /dev/sdb: 33.5 GB, 33554432000 bytes
   64 heads, 32 sectors/track, 32000 cylinders
   Units = cylinders of 2048 * 512 = 1048576 bytes
   Disk identifier: 0x
   
  Device Boot  Start End  Blocks   Id  System
   
   I don't but I guess the drive is having a small sector corrupted
   inside it as the icon is getting displayed but other actions have been
   restricted unknowingly!
  Of hand, it looks like you did something like mke2fs /dev/sdb.
  While this is valid, it creates a drive without a partition table.
  This causes problems for the auto-mount software.
  
  While you could manually mount a drive set up this way, you are
  better using parted to create a partition table, a partition that
  spans the entire drive, and formatting it. You will probably find
  that one of the GUIs for parted is easier to use. You may have
  gparted or qtparted installed.
  
  Mikkel
 
 I find pen drives work much better if they a re partitioned as windows
 devices, even on fedora.

It's also a practical necessity when you're interested in portability. I
copy lots of large video files to my 8GB Kingston because I can just
plug it into my DVD player -- which only groks VFAT -- and watch them on
by plasma TV (some day I hope to spring for one of those network media
switch boxes and save myself the hassle :-).

However I do see an occasional problem: after a week or two of heavy use
you can suddenly find that copying a file will just sit there for many
hours with the pendrive light blinking (iotop shows it copying a few
bytes at a time, or none). The only fix is to completely reformat the
drive. I don't know if this is a problem with the flash memory's
peculiar mode of operation, with the Kingston model in particular, or
with VFAT fragmentation, but it's a pain when it happens.

IOW, be very careful using these things for important data, and always
keep a backup on your HD.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Parshwa Murdia
On Wed, Aug 18, 2010 at 9:58 PM, Mikkel mik...@infinity-ltd.com wrote:

 Of hand, it looks like you did something like mke2fs /dev/sdb.
 While this is valid, it creates a drive without a partition table.
 This causes problems for the auto-mount software.


Correct, I used that command. But earlier I was really not aware that
it could generate any problem  for the auto-mount software, which for
sure has been created.


 While you could manually mount a drive set up this way, you are
 better using parted to create a partition table, a partition that
 spans the entire drive, and formatting it. You will probably find
 that one of the GUIs for parted is easier to use. You may have
 gparted or qtparted installed.


Oh, but I tries that pen drive in other PC too (my friend's) and it is
not even getting detected there (in Windows XP Prof.), so it made me
to conclude that there is some internal problem of the pen-drive,
which again is a guess but with probability more than 80%!
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Parshwa Murdia
On Thu, Aug 19, 2010 at 2:02 AM, Bill Davidsen david...@tmr.com wrote:

 It's working fine, no errors on the drive, only you destroyed the partition
 table and all data. At this point I would use fdisk to create a partition (see
 below), and them create a filesystem on the partition.

 WHAT KIND OF PARTITION?

 Typically these devices come with a FAT16 or VFAT file type. If you ever want 
 to
 use it with any MSFT OS then you should do that. Create a partition and use 
 the
 't' command to set the type, type 'c' is FAT32/LBA and is probably what you
 want. Format the filesystem (/dev/sdb1 not /dev/sdb) with mkfs.vfat (for MS
 compatibility) or mkfs.ext2 (Linux use). Do NOT use ext3 or any other 
 journaling
 filesystem, as it tends to shorten the life of the media.

 That should get you back working.


But again that doesn't solve because that pen drive is now nowhere
working (in any PC with any OS). So it made me to conclude that the
pen drive has some internal sector badly corrupted or not possible for
repair!
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Parshwa Murdia
On Thu, Aug 19, 2010 at 2:40 AM, Aaron Konstam akons...@sbcglobal.net wrote:

 I find pen drives work much better if they a re partitioned as windows
 devices, even on fedora.


That's really true!
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Parshwa Murdia
On Thu, Aug 19, 2010 at 3:24 AM, Patrick O'Callaghan
pocallag...@gmail.com wrote:

 It's also a practical necessity when you're interested in portability. I
 copy lots of large video files to my 8GB Kingston because I can just
 plug it into my DVD player -- which only groks VFAT -- and watch them on
 by plasma TV (some day I hope to spring for one of those network media
 switch boxes and save myself the hassle :-).


That's cool.


 However I do see an occasional problem: after a week or two of heavy use
 you can suddenly find that copying a file will just sit there for many
 hours with the pendrive light blinking (iotop shows it copying a few
 bytes at a time, or none). The only fix is to completely reformat the
 drive. I don't know if this is a problem with the flash memory's
 peculiar mode of operation, with the Kingston model in particular, or
 with VFAT fragmentation, but it's a pain when it happens.


Yes, I become unhappy when you see that your favorite videos have been lost :-(


 IOW, be very careful using these things for important data, and always
 keep a backup on your HD.


That is for sure to be done because now I am 100% assured and always
would recommend one to have the back-up in the hard-disk if you are
copying some important files to the pen-drive or your videos (which
you like most), which could eventually be lost!
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Error reading pen drive

2010-08-18 Thread Patrick O'Callaghan
On Thu, 2010-08-19 at 08:52 +0530, Parshwa Murdia wrote:
 Oh, but I tries that pen drive in other PC too (my friend's) and it is
 not even getting detected there (in Windows XP Prof.), so it made me
 to conclude that there is some internal problem of the pen-drive,
 which again is a guess but with probability more than 80%!

Wrong, you just need to partition it correctly. Windows requires this as
well, which is why it won't work on your friend's machine.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines