LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-25-2003, 12:28 PM   #1
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Question Why does my XP partition never mount?


In my etc/fstab/ I have in the option

mount /dev/hda1 /mnt/windows

and every time it gives me the error message

WARNING bad format on line 5 of /etc/fstab/

Then something about the command isnt recognized by the filseystem. Any ideas?
 
Old 09-25-2003, 12:54 PM   #2
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
because that's totally wrong.... that is a console command and not an /etc/fstab entry!

try:

/dev/hda1 /mnt/windows ntfs defaults 0 0

doesn't it strike you as odd that it looks nothing like the other entries at all?
 
Old 09-25-2003, 12:56 PM   #3
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by acid_kewpie
because that's totally wrong.... that is a console command and not an /etc/fstab entry!

try:

/dev/hda1 /mnt/windows ntfs defaults 0 0

doesn't it strike you as odd that it looks nothing like the other entries at all?
Well it did, but i was told to change it to what you see above, because every time it gave me a "bad supermount" error, and I could never figure that out either. Ill give that a quick try.
 
Old 09-25-2003, 01:10 PM   #4
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
ok that works. Now it just wont let me into the windows directory. How do I get in there?


Now the only error message I get is when ACPI starts it says "cant find directory /proc/acpi/events" I know where /proc is but I cant create an ACPI directory there to put the ACPI/events in. Any suggestions on that one?

Also, is gkrellm the only system monitor out there, because it doesnt tell temp and a bunch of other stuff that is probably conected with ACPI support. Thanks for the help.

Last edited by Kramer; 09-25-2003 at 01:13 PM.
 
Old 09-25-2003, 01:33 PM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
If you can't access your Windows directory, it's probably because of permissions. All you probably need to do is to do a chmod on the directory to suit your needs. -- J.W.
 
Old 09-25-2003, 01:41 PM   #6
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by J.W.
If you can't access your Windows directory, it's probably because of permissions. All you probably need to do is to do a chmod on the directory to suit your needs. -- J.W.
I can access it, but i have to go through SU in a shell to do it, which is pointless. Once i close the shell, i can no longsr access it. How do I set permissions so I can do it without doing this?
 
Old 09-25-2003, 03:04 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
When you SU, you are accessing it as the root user, which always has full privs. To permit permanent access to a file or a directory, you can run the chmod command as I indicated. That will set the permissions to whatever you specify.

I recommend running the following command: man chmod

That will bring up the instructional pages about how to use the chmod command. Read and learn - if you get stuck I can help you out. -- J.W.
 
Old 09-25-2003, 08:21 PM   #8
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
chmod doesn't work that way for me on my windows partitions. i can't change the permissions at all once a windows partition is mounted. what might be a better solution for you is to add options to the fstab entry.

something like:

/dev/hda1 /mnt/windows ntfs auto,umask=0222, ro 0 0

the umask will set the permissions of the windows partition as 555 (read and enter permissions for all) when the windows partition is mounted.
 
Old 09-25-2003, 10:21 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Correction: Please disregard my post.

I bow to the superior information from megaspaz. Sorry for any confusion/wasted time my comments may have caused. In general, access problems to a given directory are typically caused by permission issues, which is what prompted me to make my original post, however, megaspaz is correct that Win vs. Linux access issues are a different animal. Regards, -- J.W.
 
Old 09-26-2003, 12:31 AM   #10
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
well in all fairness i didn't know that if changing permissions on a windows partition was just universally not allowed or distro specific. all i knew was that chmod never worked for me on my windows partition.
 
  


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
mount a partition KptnKrill Linux - Newbie 20 06-15-2008 11:34 AM
cant mount old partition hydro Linux - Newbie 8 08-30-2005 01:31 PM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 08:56 AM
can't mount partition greklas Linux - Newbie 3 09-04-2004 10:45 AM
Mount the partition Hammad Linux - General 0 03-19-2003 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:38 PM.

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