Re: mkisofs on usb hard drive key
- From: "heavytull" <heavytull@xxxxxxxxxxx>
- Date: 17 Jul 2006 17:32:02 -0700
Dances With Crows wrote:
On 17 Jul 2006 16:13:32 -0700, heavytull staggered into the Black SunI know,
and said:
Dances With Crows wrote:
heavytull wrote:ho sorry, I [didn't] notice the "1".
root@headmuz:/mnt/cdrom/kernels# fdisk /dev/sdc[ heavytull creates 1 partition ]
# mkdosfs -I -F32 -n slack -v /dev/sdcYou created one partition, then mkdosfs'ed the *entire disk*. You
# mount /dev/sdc1 /mnt/pen_drive/
mount: you must specify the filesystem type
probably wanted to mkdosfs -F32 /dev/sdc1 .
When you work with computers, Details Count. (The difference between
"rm -f *.tmp" and "rm -f * .tmp" is *huge*!)
yesok, I'll try again, but I remember when I made 4 partitions some time
before I didn't make that error and got an error message like "can't
find disk geometry"
Wait. Did you do this?
fdisk /dev/nnn
(create 1 partition of type 0x0b on /dev/nnn)
mkdosfs -F32 -I /dev/nnn1
...using -I on a partition (not a full device) may cause weird things toI didn't know that!
happen.
I always do that for floppies, that works fine.
I'd have to look at mkdosfs's source to find out exactly what.I wouldn't believe so.
Or, it's possible that the kernel didn't re-read the partition info from
the disk.
anyway I have already seen so many misconceptions in the programming
world and massevely used that perhaps what you say is true.
So next time you fdisk a USB device, you *may* want to unplugactually I think I did unpug and replug the device, because I had a
and re-plug the device after fdisk returns, and see if that helps.
winXP pc besides and I sometimes put the device in it just to see what
it would say.
and since my goal was to figure out how to use mkdosfs properly I
didn't format the usb mass storage HD under winXP, instead I put it
back into linux box and AFAIK I reatempted to use mkdosfs.
one thing is sure: I finally could make mkdosfs work but I actually
used the -C option to generate the fs into a file that I cat >/dev/sdcx
or dd...
I'd try everything again and mark the results.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL
.
- References:
- mkisofs on usb hard drive key
- From: heavytull
- Re: mkisofs on usb hard drive key
- From: Dances With Crows
- Re: mkisofs on usb hard drive key
- From: heavytull
- Re: mkisofs on usb hard drive key
- From: Dances With Crows
- mkisofs on usb hard drive key
- Prev by Date: distribution Question - dual boot distros?
- Next by Date: Re: distribution Question - dual boot distros?
- Previous by thread: Re: mkisofs on usb hard drive key
- Next by thread: Go Easy on me!
- Index(es):
Relevant Pages
|