RE: [newbie] read/write to and from NTFS/FAT

2001-03-19 Thread Kelly, Christopher

ok, I'll give it a whirl. thanks, Meph.
Moose


-Original Message-
From: Meph Istopheles [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 17, 2001 11:24 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [newbie] read/write to and from NTFS/FAT


  Moose,

 I am using tcp/ip. I'm in the process of setting up a proxy
 server, so I needed something routable...

  Shouldn't be any problem with -- at least -- getting from the
Windows box to the Linux box.  You'll need other tools -- smb,
Reflection, etc to get from the Linux to Windows.  Although NT
~does~ provide some server tools even with the Pro version.  I've
not fooled with much in W2k beyond securing it when my girl
friend has to use it (we've dsl, so we're always on-line).

  Meph

-- 
  "I did this 'cause Linux gives me a woody."
  -Dave '-ddt-' Taylor, announcing DOOM for Linux





Re: [newbie] read/write to and from NTFS/FAT

2001-03-19 Thread Emilio Correa


Hell, Can some one advise me on the best way to allow Mandrake 7.2 to read
and write to my FAT  NTFS partitions?

Thank you

Hi, I have LM7.2 and win95 (FAT32) and win2k (NTFS) in the same hard disk, 
and I couldn't write to a NTFS from LM7.2. So I had first to write all my 
files from LM7.2 to win95 (FAT32), and then these files are easy accesible 
from anywhere.
Maybe you must create an extra FAT32 partition (use partition magic) to 
exchange files from anywhere to anywhere.
I know that there is some modules that permit you to write to a NTFS from 
LM7.2 but I never used them.
Good luck!!

-
Ing. Qco. Emilio Correa
Invap S.E.
02944 422121 int. 2473
fax: 02944 423489
(8400) San Carlos de Bariloche





RE: [newbie] read/write to and from NTFS/FAT

2001-03-17 Thread Meph Istopheles

  Moose,

 I am using tcp/ip. I'm in the process of setting up a proxy
 server, so I needed something routable...

  Shouldn't be any problem with -- at least -- getting from the
Windows box to the Linux box.  You'll need other tools -- smb,
Reflection, etc to get from the Linux to Windows.  Although NT
~does~ provide some server tools even with the Pro version.  I've
not fooled with much in W2k beyond securing it when my girl
friend has to use it (we've dsl, so we're always on-line).

  Meph

-- 
  "I did this 'cause Linux gives me a woody."
  -Dave '-ddt-' Taylor, announcing DOOM for Linux





RE: [newbie] read/write to and from NTFS/FAT

2001-03-16 Thread Kelly, Christopher

I am using tcp/ip. I'm in the process of setting up a proxy server, so I
needed something routable...

Moose


-Original Message-
From: Meph Istopheles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 12:50 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [newbie] read/write to and from NTFS/FAT


  Moose,

 That's really good. What about Fat partitions, is it the same
 deal?

  Sorry, your prompting also reminds me of the stuff needed in
/etc/fstab  a mount point.

  Assuming you've only just recently installed  Linux didn't
create your mount point (RH 6.0  lm7.2 didn't except in my most
recent install), you need to enter something like this for ntfs:

/dev/hda1 /winnt ntfs rw,user,exec,umask=0 0 0

  There are those who've studies the fstab entries  mount point
theory more thoroughly than I, so you may want to wait for
flames to this;-).

  With W98, it looks rather like this:

/dev/hda1 /mnt/windows vfat user,exec,umask=0 0 0

  Again, I've not studied that stuff heavily -- I just go with
whatever works.  Previous to this recent install, I'd had to make
my own mount points  usually opted for /win as it's easy.
Mandrake chose to create a mount point for my W98 in the /mnt
directory  made the name the full "windows" (s'pose I'll change
that eventually to either /mnt/win or just /win  create the
mount point, but it works).

  Then creating a mount point is just:

# mkdir /winnt
or
# mkdir /mnt/winnt
or just
# mkdir /win

  Doesn't really matter but /win is less typing.

 Here's my scenario:

 I have two machines. One is running Linux MDK 7.2 and the other
 is Windows 98se. I want the Linux box to have access to the
 Windows drive.

  There are options, here.  Either you can install smbd on the
Linux box  the Windows smb client on the Windows box (or, if you
have access to Reflection software, you may want to use that on
the Windows box -- I've never used either, though, as I've no
need to access Linux from Windows), or you could install (as I
suspect you've been thinking of doing) Linux (even minimally) on
the Windows box.

  Personally, I'd dual-boot the other box, since you've the space,
then you could telnet from one to the other (if it's running
Linux at the time)  then access the Windows partition.  If it's
in Windows at the time, you'd need one of the two apps mentioned
above, as I don't think event the SE version of W98 comes with an
ftp daemon.

 I have the machines set up in Point to Point topology through a
 hub. Not real complex.

  Are you using to tcp/ip or netbui?

  Meph

-- 
  "I did this 'cause Linux gives me a woody."
  -Dave '-ddt-' Taylor, announcing DOOM for Linux





Re: [newbie] read/write to and from NTFS/FAT

2001-03-15 Thread Meph Istopheles

  Jeff,

 Hell, Can some one advise me on the best way to allow Mandrake
 7.2 to read and write to my FAT  NTFS partitions?

  Well, it could be a little tricky depending upon a few things.
First, You say you'd installed NTFS, you may have to recompile
your kernel  choose the r/w module.  (Though this module is
still in alpha -- has been at least since RedHat 6.0, I've used
it in RedHat 6.0 ~~ lm7.2 without fail...but the potential of
data loss still exists.)  When I'd installed lm7.2 on the box
with W2k, the module wasn't automatically installed,  I had to
recompile.  If you're not familiar with compiling the kernel,
it's not difficult, but we can address that later.

  As for the fat partiton, you should simply be able to switch
vfat for fat in your /etc/fstab entry for that partition.

  I may not be expert at setting up dual- (or more) boot systems,
but I've done it numerous times without trouble.  If we have to
go the full route, with all the instructions for setting it up to
work (I don't know how much you know about this stuff), my
instructions may differ from those of others, but they work just
as well.

  Meph

-- 
  "I did this 'cause Linux gives me a woody."
  -Dave '-ddt-' Taylor, announcing DOOM for Linux





RE: [newbie] read/write to and from NTFS/FAT

2001-03-15 Thread Kelly, Christopher

Meph,

Whether Jeff wants the detailed instructions or not, I would like them.
Thanks a bunch.

Moose


-Original Message-
From: Meph Istopheles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 9:10 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] read/write to and from NTFS/FAT


  Jeff,

 Hell, Can some one advise me on the best way to allow Mandrake
 7.2 to read and write to my FAT  NTFS partitions?

  Well, it could be a little tricky depending upon a few things.
First, You say you'd installed NTFS, you may have to recompile
your kernel  choose the r/w module.  (Though this module is
still in alpha -- has been at least since RedHat 6.0, I've used
it in RedHat 6.0 ~~ lm7.2 without fail...but the potential of
data loss still exists.)  When I'd installed lm7.2 on the box
with W2k, the module wasn't automatically installed,  I had to
recompile.  If you're not familiar with compiling the kernel,
it's not difficult, but we can address that later.

  As for the fat partiton, you should simply be able to switch
vfat for fat in your /etc/fstab entry for that partition.

  I may not be expert at setting up dual- (or more) boot systems,
but I've done it numerous times without trouble.  If we have to
go the full route, with all the instructions for setting it up to
work (I don't know how much you know about this stuff), my
instructions may differ from those of others, but they work just
as well.

  Meph

-- 
  "I did this 'cause Linux gives me a woody."
  -Dave '-ddt-' Taylor, announcing DOOM for Linux





RE: [newbie] read/write to and from NTFS/FAT

2001-03-15 Thread Meph Istopheles


 Whether Jeff wants the detailed instructions or not, I would like them.
 Thanks a bunch.

  Alright Moose ( all),

  Keep in mind that there are reasons some do this one way 
reasons others do this another.  I, by no means, claim the only
or right way, but a way I've learned which works for me without
trouble.

  These instructions, with one alteration, come from an article
by Joseph Cheek's Linux column in the June 2000 issue of
Computer Source magazine.  This article is copyrighted, but I
don't think there's an issue with extracting the steps from it.

  Disclaimer end

  As I'd mentioned, the ntfs write module is alpha -- termed
"experimental"  "dangerous".  This may be true, but I've not
heard of anyone actually having any more trouble than I had had
before I'd been forced to reinstall W2k (for other reasons),
which is now a fat32, instead of ntfs fs.  But I'd had no problem
with the ntfs write module in either nt4.0 or W2k.

   So, the first thing you need is to verify that you've the
kernel source, c compiler  c libraries installed (there may be
others that lm7.2 doesn't automatically install, but I don't now
remember).  You'll get an error if you attempt to compile  don't
have the files you need.  If the source is installed, I'm pretty
sure you get specific errors telling you what you need.  To
verify you have the source, do:

ls /usr/src/

  If the source is installed, you will have a subdirectory
something like:

linux-2.2.17

  This is the lm7.2 source, so, if you've a different release or
kernel, this subdirectory will have a different kernel release.

 1. As root, cd to /usr/src/whichever-release-you-have-installed
 2. Enter (if in X -- if not, use menuconfig):

# make xconfig

  In here you may want to go through all the different things 
familiarize yourself.  If you see anything you know for a fact
isn't on your system, you can change the module setting to suit.
If you don't want to take any chances, you can leave it as is --
it simply takes a little longer to boot  adds a "not found"
line, or something similar, to your logs.

  There is a section on file systems,  some way down you will
find the ntfs read module.  I believe (it's been a while since
I've been in there) there's a section right near there with
something about Experimental File Systems -- you shouldn't have
any trouble finding it no matter what it's called, though.  In
here is, among a few other fs', the ntfs write module.  You
should set this to Load.  Don't worry about the warnings.  Just
know that if there ~is~ potential for trouble, it certainly
~could~ happen.  So, naturally, you want to back up any Windows
data before you begin.

  Make any other changes you want  save.  The buttons are self
explanatory.

  Then, at the command prompt:

# make dep
# make clean
# make bzImage
# make modules
# make modules_install

  Now, if you run lilo, as I:

# make bzlilo

  If you prefer grub, I'm sure there's a command line update for
to enter, but when I was looking over grub info (I admit, I
wasn't exactly studying it, as I was looking for a way to kill it
 go back to lilo) I didn't see it.  Perhaps someone here with
more grub knowledge could answer that?

  Then, making sure you have a boot disk handy, exit root, user,
 X,  restart.  I've not had a problem booting, but everyone's
config is different.  The worst that had ever happened after
numerous recompilings was that I'd accidently either neglected
some modules or added unnecessary ones.  So, if you're careful no
to remove anything which even looks remotely important, you should
be fine.

  Meph

-- 
  "I did this 'cause Linux gives me a woody."
  -Dave '-ddt-' Taylor, announcing DOOM for Linux







RE: [newbie] read/write to and from NTFS/FAT

2001-03-15 Thread Kelly, Christopher

That's really good. What about Fat partitions, is it the same deal? 
Here's my scenario:

I have two machines. One is running Linux MDK 7.2 and the other is Windows
98se. I want the Linux box to have access to the Windows drive. I have the
machines set up in Point to Point topology through a hub. Not real complex.
The Window box has a monster drive and the Linux box has a 3gig. I have some
files that I want the Linux box to access on the Windows box. I would
imagine it might be easier to mount the Windows drive, but I'm not to sure
how to go about that. Any idea's or suggestions???

Moose


-Original Message-
From: Meph Istopheles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 10:52 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [newbie] read/write to and from NTFS/FAT



 Whether Jeff wants the detailed instructions or not, I would like them.
 Thanks a bunch.

  Alright Moose ( all),

  Keep in mind that there are reasons some do this one way 
reasons others do this another.  I, by no means, claim the only
or right way, but a way I've learned which works for me without
trouble.

  These instructions, with one alteration, come from an article
by Joseph Cheek's Linux column in the June 2000 issue of
Computer Source magazine.  This article is copyrighted, but I
don't think there's an issue with extracting the steps from it.

  Disclaimer end

  As I'd mentioned, the ntfs write module is alpha -- termed
"experimental"  "dangerous".  This may be true, but I've not
heard of anyone actually having any more trouble than I had had
before I'd been forced to reinstall W2k (for other reasons),
which is now a fat32, instead of ntfs fs.  But I'd had no problem
with the ntfs write module in either nt4.0 or W2k.

   So, the first thing you need is to verify that you've the
kernel source, c compiler  c libraries installed (there may be
others that lm7.2 doesn't automatically install, but I don't now
remember).  You'll get an error if you attempt to compile  don't
have the files you need.  If the source is installed, I'm pretty
sure you get specific errors telling you what you need.  To
verify you have the source, do:

ls /usr/src/

  If the source is installed, you will have a subdirectory
something like:

linux-2.2.17

  This is the lm7.2 source, so, if you've a different release or
kernel, this subdirectory will have a different kernel release.

 1. As root, cd to /usr/src/whichever-release-you-have-installed
 2. Enter (if in X -- if not, use menuconfig):

# make xconfig

  In here you may want to go through all the different things 
familiarize yourself.  If you see anything you know for a fact
isn't on your system, you can change the module setting to suit.
If you don't want to take any chances, you can leave it as is --
it simply takes a little longer to boot  adds a "not found"
line, or something similar, to your logs.

  There is a section on file systems,  some way down you will
find the ntfs read module.  I believe (it's been a while since
I've been in there) there's a section right near there with
something about Experimental File Systems -- you shouldn't have
any trouble finding it no matter what it's called, though.  In
here is, among a few other fs', the ntfs write module.  You
should set this to Load.  Don't worry about the warnings.  Just
know that if there ~is~ potential for trouble, it certainly
~could~ happen.  So, naturally, you want to back up any Windows
data before you begin.

  Make any other changes you want  save.  The buttons are self
explanatory.

  Then, at the command prompt:

# make dep
# make clean
# make bzImage
# make modules
# make modules_install

  Now, if you run lilo, as I:

# make bzlilo

  If you prefer grub, I'm sure there's a command line update for
to enter, but when I was looking over grub info (I admit, I
wasn't exactly studying it, as I was looking for a way to kill it
 go back to lilo) I didn't see it.  Perhaps someone here with
more grub knowledge could answer that?

  Then, making sure you have a boot disk handy, exit root, user,
 X,  restart.  I've not had a problem booting, but everyone's
config is different.  The worst that had ever happened after
numerous recompilings was that I'd accidently either neglected
some modules or added unnecessary ones.  So, if you're careful no
to remove anything which even looks remotely important, you should
be fine.

  Meph

-- 
  "I did this 'cause Linux gives me a woody."
  -Dave '-ddt-' Taylor, announcing DOOM for Linux