LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2004, 04:15 PM   #1
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Rep: Reputation: 31
How to access win2000 from the Terminal?


Hi, any idea of what can i do to acces the Win200 partition from the Linux Terminal,

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??

Thanks,
|||Electronkz|||
Linux Registered User: #344616
 
Old 03-27-2004, 04:18 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
/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 .
 
Old 03-27-2004, 04:20 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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...
 
Old 03-27-2004, 07:40 PM   #4
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Original Poster
Rep: Reputation: 31
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??
My brother has messed up with the partitions for Windows,
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??
 
Old 03-27-2004, 07:43 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 03-27-2004, 08:51 PM   #6
Pauli
Member
 
Registered: Feb 2004
Location: Montreal
Distribution: Gentoo/Debian
Posts: 365

Rep: Reputation: 30
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
 
Old 03-27-2004, 09:16 PM   #7
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Original Poster
Rep: Reputation: 31
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,

but if there is any consequences they will affect only windows, right?

If so, i think i will take the risk,
any idea of how to do it???
 
Old 03-28-2004, 05:22 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
don't, just don't. read the ntfs howto at tldp.org if you do want to destroy your system though.
 
Old 03-28-2004, 11:11 AM   #9
Pauli
Member
 
Registered: Feb 2004
Location: Montreal
Distribution: Gentoo/Debian
Posts: 365

Rep: Reputation: 30
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.
 
Old 03-28-2004, 12:02 PM   #10
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Original Poster
Rep: Reputation: 31
Ok, i guess iŽll have to try it in a different way,
Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
access samba shares from win2000 rog2005 Linux - Software 1 02-14-2005 02:05 PM
Installed SAMBA and XP or Win2000 can access Linux Share! Please Help. NYAndy Linux - Newbie 3 02-29-2004 09:29 AM
Linux Box to access a printer in Win2000 ako Linux - Newbie 5 11-17-2003 12:09 PM
Win2000 can't access Linux Box jonfa Linux - Networking 6 05-06-2002 12:59 PM
Win2000/Red Hat 6.1 instalation always starts WIN2000 ovieira Linux - Software 1 03-30-2001 11:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration