LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to access win2000 from the Terminal? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-access-win2000-from-the-terminal-163138/)

Electronkz 03-27-2004 04:15 PM

How to access win2000 from the Terminal?
 
Hi, any idea of what can i do to acces the Win200 partition from the Linux Terminal,
:scratch:
Because, i go to /mnt/win_c as root and i enter perfectly, but when i try to modify stuff there, it doesnt do anything,
Anyway, here is my /etc/fstab output
Code:

/dev/hda2 / ext2 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext2 defaults 1 1
none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-15 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-15 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,sync,iocharset=iso8859-15,codepage=850 0 0
/dev/hda1 /mnt/win_c ntfs ro,iocharset=iso8859-15 0 0
/dev/hda7 /mnt/win_d ntfs ro,iocharset=iso8859-15 0 0,
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0

Oh and when Linux is booting it complains about a bad line in hda2,
Any idea of what can i do??
:scratch:
Thanks,
|||Electronkz|||
Linux Registered User: #344616

AutOPSY 03-27-2004 04:18 PM

/dev/hda1 /mnt/win_c ntfs ro,iocharset=iso8859-15 0 0

because the ro in the above line means read-only.

and for the bad line I don't know.

what is wrong with it could be the sequence or formatting or the 1 2 .
where the other ext2 partition /home is 1 1 .

acid_kewpie 03-27-2004 04:20 PM

you can tell us what the messages actually say. vague equivalents are not too useful. the entry in fstab does clearly show that the partition is read-only though. that's ntfs for you...

Electronkz 03-27-2004 07:40 PM

This is the message that shows up when linux is booting:
[mntent] line 8 in /etc/fstab is bad
[mntent] line 8 in /etc/fstab is bad

It wasnt hda2, it is hda7 right?? :confused:
My brother has messed up with the partitions for Windows, :o
Any tip on how to fix that? It says that both partitions are ntfs, maybe one of they is, i dont think the other one is ntfs too, well i dont know.
In the other hand, about accessing the win2000 partitions, what should i write in /etc/fstab so i can read, write and execute, should i erased the ro? and replace it with rwx??

trickykid 03-27-2004 07:43 PM

Quote:

Originally posted by Electronkz
On the other hand, about accessing the win2000 partitions, what should i write in /etc/fstab so i can read, write and execute, should i erased the ro? and replace it with rwx??
Just to let you know and not sure why others haven't mentioned this, NTFS is basically read-only as write is not supported at this time and experimental. It can do more damage to your NTFS partition when writing to it from Linux at this time and not recommended.

Pauli 03-27-2004 08:51 PM

Umm. Out of curiosity what disto are you using?

And do NOT write in NTFS, it is not safe. It is dangerous to your filez to be writing in NTFS from Linux, it is not supported yet, you can read, yes, but not write. Watch out, I know a guy who messed up his files doing that :(

It may be that your disto does not come with write capability to NTFS for it is dangerous to your files, I am guessing here though. I do not think it would be wise to let a disto where a noob not knowing the consequences, would write in NTFS. Which is why, I think, FC1 doesnt come with read or write capability. I may be wrong though. A lot of assumptions here :)

Electronkz 03-27-2004 09:16 PM

I am using Mandrake 9.2, they recommended me to start with Mandrake because is more user friendly, anyway, i didn't know that about that i shouldn't write on a NTFS partition, cause it may produce unwanted consequences,
:mad:
but if there is any consequences they will affect only windows, right?
:scratch:
If so, i think i will take the risk, :cool:
any idea of how to do it???

acid_kewpie 03-28-2004 05:22 AM

don't, just don't. read the ntfs howto at tldp.org if you do want to destroy your system though.

Pauli 03-28-2004 11:11 AM

Yeah, listen to him ^^^^. There is no point, because the writing you do to it, may not even work. So why bother? Know what I mean? If you really want to acess the drive, convert it to fat32 using partition magic. It is pay but, whatever. Its worth it in my opinion, a very easy to use partitioner.

Electronkz 03-28-2004 12:02 PM

Ok, i guess iŽll have to try it in a different way, :cool:
Thanks


All times are GMT -5. The time now is 03:39 AM.