Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

help with linux reading windows partition

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
XST1
Apprentice
Apprentice
Posts: 163
Joined: Tue Jan 27, 2004 12:11 am

help with linux reading windows partition

  • Quote

Post by XST1 » Sat Jan 22, 2005 8:33 pm

I compiled the kernel with NTFS write/read support. My fstab looks like this:

Code: Select all

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail and tail freely.

# <fs>          	<mountpoint>    <type>  	<opts>      		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda2		/boot		reiserfs	noauto,noatime		1 2
/dev/sda4		/		reiserfs	noatime,notail		0 1
/dev/sda3		none		swap		sw			0 0
/dev/sda1		/mnt/windows    auto		user			0 0		0 0
/dev/cdroms/cdrom0	/mnt/cdrom0	auto		noauto,ro,user		0 0
/dev/cdroms/cdrom1	/mnt/cdrom1	auto		noauto,ro,user		0 0
/dev/fd0		/mnt/floppy	auto		noauto,user		0 0

# NOTE: The next line is critical for boot!
none			/proc		proc		defaults		0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink). 
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none			/dev/shm	tmpfs		defaults		0 0
When i do a kdesu on konqueror I am able to see all the files that are on my windows partition. However, when I go to copy them over to my desktop for example: I get the following error:
"The file or folder /mnt/windows/****** does not exist." Any idea on what I did wrong?

Note: It works when I go into console, type su and make a direct copy from there. Must be a problem with konqueror?
Top
MaxPolun
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 111
Joined: Tue Dec 28, 2004 1:36 am
Contact:
Contact MaxPolun
Website

  • Quote

Post by MaxPolun » Sat Jan 22, 2005 10:35 pm

I'm not sure but it sounds like you might have permissions issues. do an

Code: Select all

ls -l /mnt/
you might have messed up permissions, and konqurer is just giving you bad errors. It might be konqurer, though. I don't use kde.
Far from idleness being the root of all evil, it is rather the only true good --soren kierkegaard

The Real OTW: time to do some good
Top
bet1m
l33t
l33t
User avatar
Posts: 631
Joined: Sat Dec 04, 2004 10:00 pm
Location: Kosova/Prishtine
Contact:
Contact bet1m
Website

  • Quote

Post by bet1m » Sat Jan 22, 2005 11:01 pm

same here, never repaired, but I dont have so much contact with windows :D
#370559
Top
lotw
Guru
Guru
Posts: 342
Joined: Sun Jan 09, 2005 3:51 pm
Location: Palmdale
Contact:
Contact lotw
Website

Re: help with linux reading windows partition

  • Quote

Post by lotw » Sat Jan 22, 2005 11:18 pm

XST1 wrote:Note: It works when I go into console, type su and make a direct copy from there. Must be a problem with konqueror?
Have you tried doing a filemanager super user mode as see if that works? It could be that your user account isn't getting the permissions right and the su command is logging on as root. If that is the case try adding after the user on your windows fstab ,rw or ,ro (rw=read/write, ro=read only). Example below:

Code: Select all

/dev/sda1      /mnt/windows    auto      user,rw         0 0
Top
XST1
Apprentice
Apprentice
Posts: 163
Joined: Tue Jan 27, 2004 12:11 am

  • Quote

Post by XST1 » Wed Jan 26, 2005 4:50 pm

Yes, I managed to get it working in Konqueror with super user mode. Now I have a different issue. It turns out that I can copy data from /mnt/windows to anywhere else, but I can't copy or write data to /mnt/windows, even in root mode. Any ideas on that?
Top
MaxPolun
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 111
Joined: Tue Dec 28, 2004 1:36 am
Contact:
Contact MaxPolun
Website

  • Quote

Post by MaxPolun » Wed Jan 26, 2005 4:53 pm

It might be mounted read only, the write support is pretty poor even now. I think it is only garunteed to not corrupt your filesystem if you only change files, and do not change their size. copying stuff to ntfs is still tricky, so be careful.
Far from idleness being the root of all evil, it is rather the only true good --soren kierkegaard

The Real OTW: time to do some good
Top
lotw
Guru
Guru
Posts: 342
Joined: Sun Jan 09, 2005 3:51 pm
Location: Palmdale
Contact:
Contact lotw
Website

  • Quote

Post by lotw » Wed Jan 26, 2005 5:06 pm

XST1 wrote:Yes, I managed to get it working in Konqueror with super user mode. Now I have a different issue. It turns out that I can copy data from /mnt/windows to anywhere else, but I can't copy or write data to /mnt/windows, even in root mode. Any ideas on that?
You must specify ,rw after the users to allow writting, if it is NTFS you also must have write support turned on in the kernel, but it is experimental.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic