Re: Reading a dos partition


Subject: Re: Reading a dos partition
From: Jim Gribbin (jgribbin@alaska.net)
Date: Wed Jan 30 2002 - 00:32:13 AKST


I never tried that. I can copy, edit, make, and erase files. I guess I
just never had reason to cd to a dos directory. I'll try it at work
tomorrow, don't have a dual boot box here at home.

Jim

On Tue, 2002-01-29 at 11:38, Adam Elkins wrote:
>
> Ok, I had to mkdir /mnt/winnt, and I can mount thda1, and cd to it, I can ls
> and see everything, but I can't seem to cd to it's dir's.....
>
>
> On Tuesday 29 January 2002 08:30 am, Jim Gribbin wrote:
> > Usually on a RedHat install on a dual boot box, rh makes a directory for
> > mounting your windows partition '/mnt/windows'. I not, put a
> > subdirectory under /mnt for it. 'mkdir /mnt/windows' or /mnt/nt or
> > whatever. You will need to be root to do this. mount it with 'mount -t
> > vfat /dev/hda1 /mnt/windows', assuming windows is on hda1. You need to
> > be root here too.
> >
> > Jim
> >
> > On Mon, 2002-01-28 at 19:41, Justin Dieters wrote:
> > > Is /mnt/dev/hda1 a folder in your directory tree? If not, make a folder
> > > somewhere where you want to mount the partition. (If you make your
> > > folder somewhere else other than /mnt/dev/hda1, substitute the correct
> > > path in the instructions below)
> > >
> > > Then to mount it you would do "mount -t <type> <device> <mount point>"
> > > In the case you are describing below, you would do "mount -t vfat
> > > /dev/hda1 /mnt/dev/hda1"
> > >
> > > If the device isn't mounted, when you go to /mnt/dev/hda1, it will
> > > appear to be just an empty directory. Also note that you "cd" to the
> > > mount point (/mnt/dev/hda1), and not the device itself (/dev/hda1).
> > >
> > > I use "vfat" for my windows filesystem type, but you may need to
> > > substitute it with "ntfs" or "msdos", depending on your setup.
> > >
> > > Hope this helps, if not, let me know and I'll try some more to get you
> > > up and running. :)
> > >
> > > Justin
> > > www.enderakonline.com
> > >
> > > Adam Elkins wrote:
> > > > I've go this box dual booting Red Hat and WinNT, I can mount the first
> > > > harddrive( mount -t msdos /mnt/dev/hda1 ), but I can't seem to look at
> > > > it? Until I get wine or something like that woking, I'd like to use the
> > > > dos partition to download mp3's and such, then copy them from the dos
> > > > drive to the ext3 drive. Is this even possible? Once I do the above, do
> > > > I just cd to it? # cd /dev/hda1 ? Am I missing something?
> > > >
> > > >
> > > > --[ A D A M ]--
> > > >
> > > > _________________________________________________________
> > > > Do You Yahoo!?
> > > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>



This archive was generated by hypermail 2a23 : Wed Jan 30 2002 - 00:47:38 AKST