Subject: Re: rebuild CF card with FAT partition?
To: None <port-hpcmips@netbsd.org>
From: Bernd Sieker <bsieker@freenet.de>
List: port-hpcmips
Date: 07/09/2002 15:27:17
On 09.07.02, 08:45:57, alias@netbsd.org wrote:
>
> Jolan Luff <jolan@enteract.com> writes:
>
> > > # newfs_msdos /dev/rwd1
> > > newfs_msdos: Cannot open `/dev/rwd1': No such file or directory
> > > # newfs_msdos /dev/rwd1a
> > > newfs_msdos: Cannot open `/dev/rwd1a': Device not configured
> >
> > oops. use disklabel to lookup the partition i.d. if it doesn't have
> > one (probable), then create one.
>
> Are you suggesting that I have the device name wrong? I am sure that
> the device can be accessed at /dev/wd1, raw device /dev/rwd1.
> Otherwise, I don't understand your suggestion. I will make sure that
> I have a sane disklabel on the card and try again.
On my system there are no device nodes /dev/rwd1 and/or /dev/wd1, but
only for the individual partitions, i. e. wd1a, wd1d, ...
Partition "a" is usually reserved for BSD root partition. If the
system has no BSD disklabel, the kernel will make one up showing the
"d" partition for the whole disk, and also show an entry for an MSDOS
partition, if there is one.
If there is no one, create a new DOS partition table with fdisk and
create one partition of type 6 ("big FAT partition"). Disklabel should
then tell you which partition letter you should use to access that DOS
partition, then you should be able to do
newfs_msdos [options] /dev/rwd1e
>
> > > How do you do this with windows 2000?
I'm not sure the Windows 2000 partition manager handles CF cards, but
I would give it a try to make a partition on it, which should then be
formattable.
>
> -russ
>
--
Bernd Sieker
NetBSD: Someday, we won't burn your toast
-- Herb Peyerl