[newbie] can't view ntfs

2001-01-22 Thread Emilio Correa

Hi, thanks that I could install my LM7.2 and W2K in the same hard disk 
without any trouble and with grub as the boot manager!
Now I couldn't mount the ntfs to view my w2k partition, and I looked in the 
fstab but I think the ntfs doesn't exist. May be I have to install something.
Any suggestion?






Re: [newbie] can't view ntfs

2001-01-22 Thread Meph Istopheles

  Hey,

 Hi, thanks that I could install my LM7.2 and W2K in the same
 hard disk without any trouble and with grub as the boot
 manager!

  Well, let's say with "some" trouble.  I too ran into trouble
with ntfs.  When I'd installed lm7.2 on my girlfriend's box, I'd
alrady an existing dual-boot between RedHat 6.0  W2k.  That
install, deleting the RedHat partition  installing lm7.2, went
fine  rw access to w2k existed without any special work from me
except during the lm install.

  When I went to do the same on my Dell 500MHz box, I'd gone from
a RedHat 6.0 only to dual-boot lm7.2  W2k.  After the first
attempt where W2k decided that it didn't want to install on the
first, 10GB, partition  installed on the second, 17GB,
partition, I started over just setting up a 10GB partition
leaving the remaining unformatted.

  Got eveything installed , wouldn't you know it, I couldn't
mount the W2k partition rw -- it would only allow ro.  I'd even
planned to recompile my kernel to be sure that the ntfs rw module
installed.

  I didn't bother though.  I'm getting another scanner
(eventually) from my father, so I'd reinstalled W2k on vfat to
make things siimpler since W2k, now, is only for Windows  DOS
games -- once I get the scanner, if it doesn't work in Linux, I
should be able to get something out of W2k.

 May be I have to install something.

  I would suggest you recompile.  There are two ntfs kernel
modules -- one is ro, the other (though considered experimental,
I've used it with both NT 4.0  W2k without any trouble) is rw.
You want to be sure both are set to install -- not just probe --
at boot.

  If you'd like, after you do some reading (if you've never
compiled a kernel), I can send you a short explanation  the easy
steps tonight.

  Lemme know.

  Meph

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





Re: [newbie] can't view ntfs

2001-01-22 Thread Meph Istopheles

  Emilio,

 Ok it would be very usefull to install this modules and to
 recompile my kernel in order to view ntfs in LM7.2, I accept
 because I have never done it.
 Thanks

  No problem.

  Now, though trouble rarely occurse, be sure to back up your
data first.  And be sure to read my instructions to the end
before you begin.

  If you've not installed your kernel source (ls -al
/usr/src/linux-2.2.17 or whatever version of the kernel you have
in /usr/src) do so from your CD now.

  Log out of XWindows , log out as user, log in as root  open
X, in a terminal type after the #:

1. # cd /usr/src/linux-2.2.17
2. # make xconfig
In here, you'll mostly just want to look round  become familiar
(to some degree) with the layout -- someday you'll be coming in
to make specific changes for new hardware.  For now, you want to
go to the OS tab (it may be a little different in your version),
scroll down to the section for NT/W2k/ntfs, etc (it will likely
read ntfs).  There are two settings.  The first, which is already
set to load, is for read only access.  There is another there for
read/write access (you may find it in another sub section,
requiring you click a button to get to it).  Click on the option
to load the module at boot as opposed to probing (I don't think
it'll even allow probing, so just "turn it on".  OK or save out 
close.
3. # make dep
4. # make clean
5. # make bzimage
6. # make modules
7. # make modules_install

  Each of these from number 5 will take a little time, so
be prepared.  There's one last step, but if you want to continue
using grub as your boot loader instead of lilo, you'll have to
read the grub documentation.  You see, for those of us who prefer
(or only use) lilo, the next step is to tell lilo (if grub, it's
telling grub) that you've a new kernel.  This, with lilo, is
done by:

8. # make bzlilo

  I don't know the command for grub.  Sorry.

  You shouldn't have any trouble.  Once you've finished 
rebooted, try cd'ing to your W2k directory.  Once there, do this:

either as user or root (user might be better, but if root can do
it, there's just a matter of making a few changes to some
things).  Now type:

pico test

 press your Enter key.  Type a few characters  do Ctrl x to
close pico.  Then pico asks if you want to save the changes.
Press y for yes  press Enter to save it as "test".  Now, watch
the status line to see if pico saves the file or tells you it
can't.  There's no reason it shouldn't save the file, but if
you'd done so as user, su to root  try it again.

  If it still won't save, the partition isn't in r/w mode.  So,
cd to roots home, umount your W2k directory, check /etc/fstab to
be sure fstab says to mount in r/w mode (the last bit on the line
for your W2k partition should read something like this:

user,exec,umask=0 0 0

  If it is different, change it to what's above.

  Remount the W2k partition  try it again.  Should be fine:-).

  Meph

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