On 18-Aug-07 14:37:27, Ted Harding wrote:
[...] Ah -- subtle of you not to reject the hypothesis that I was getting a bit confused.
Now that (with it plugged in "from cold") I do an fdisk on /dev/sda. and then do a mkfs on the resulting /dev/sda1, I seem to have a Linux filesystem on the stick.
Seeing as it almost worked once I would suggest b, particularly now if you can't even point fdisk at /dev/sda to wipe/create a new partition.
So I'll try again to see how it works for reading/writing.
Thanks again, Wayne! Ted.
... And I've now tested it with 'cp -a' of my "junk" directory, which seemed to go without a hitch. Had a look -- it seemed to be all there, and what I tested was readable. So then I 'rm -rf'd it, and that seems to have worked. Looks like it's OK! Nice little 1GB ext2 filesystem on it now.
I didn't mention, in my first description, that when I first looked at it with fdisk it had 4 partitions on it, each with a different kind of filesystem (I forget what they all were now), one of which was "Unknown". This may have had something to do with the misbehaviour the first time (and was what prompted me to wipe it clean in the first place, to get rid of that 'dreck').
Ah well, so it was probably /dev/sda vs /dev/sda1 all along. Silly me.
[Now beginning to ponder about booting of a USB stick ...]
Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 18-Aug-07 Time: 16:05:57 ------------------------------ XFMail ------------------------------