Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

Quick access of files from Windows partition?

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
18 posts • Page 1 of 1
Author
Message
qcspinner
n00b
n00b
Posts: 17
Joined: Thu Nov 06, 2003 4:20 am

Quick access of files from Windows partition?

  • Quote

Post by qcspinner » Fri Nov 07, 2003 12:16 am

How can I quickly access files from my Windows partition. I used to have Mandrake, which had an nt directory already set up. Is there something similar for gentoo or do I actually have to learn how all this computer stuff works?
Top
quiconque
Apprentice
Apprentice
User avatar
Posts: 203
Joined: Fri Nov 01, 2002 12:50 pm
Location: Norrköping, Sweden

  • Quote

Post by quiconque » Fri Nov 07, 2003 12:39 am

You actually have to learn how all this "computer stuff" works.

Code: Select all

man mount
man fstab
Read those manpages carefully.

I could help you a lot more, if you actually told me on which partition you have windows and what kind of filesystem it uses.
Top
st589
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Sat Sep 20, 2003 8:12 pm

  • Quote

Post by st589 » Fri Nov 07, 2003 12:40 am

You just have to mount it and you can read any files from it like any other drive. http://forums.gentoo.org/viewtopic.php?t=29285 has a guide on how to do it.
Top
RedBeard0531
Guru
Guru
User avatar
Posts: 415
Joined: Sat Sep 21, 2002 11:51 pm
Location: maryland

Re: Quick access of files from Windows partition?

  • Quote

Post by RedBeard0531 » Fri Nov 07, 2003 1:30 am

qcspinner wrote:How can I quickly access files from my Windows partition. I used to have Mandrake, which had an nt directory already set up. Is there something similar for gentoo or do I actually have to learn how all this computer stuff works?

Code: Select all

man mount
man fstab

mkdir /mnt/nt
mount /dev/your/windows/partion /mnt/nt
nano /etc/fstab
edit: I typed this a while ago, but i didnt click submit :roll:
OH MY GOD! Kenny just killed Kenny!
That Basterd!
Top
qcspinner
n00b
n00b
Posts: 17
Joined: Thu Nov 06, 2003 4:20 am

  • Quote

Post by qcspinner » Fri Nov 07, 2003 1:55 am

This all sounds excellent: reading the manual, a brilliant idea. However, at the risk of revealing further my lack of knowledge of linux, I have a sub question, if you will.

How do I find out my uid?

Thanks
Top
RedBeard0531
Guru
Guru
User avatar
Posts: 415
Joined: Sat Sep 21, 2002 11:51 pm
Location: maryland

  • Quote

Post by RedBeard0531 » Fri Nov 07, 2003 2:06 am

Code: Select all

#man passwd
#grep matt /etc/passwd
matt:x:1000:100::/home/matt:/bin/bash
replace matt with your username. The UID is the 3rd item(1000) the GID (group ID) is the fourth(100).

Why do you ask? you shouldnt need this info to mount a local vfat partition.
OH MY GOD! Kenny just killed Kenny!
That Basterd!
Top
Unne
l33t
l33t
User avatar
Posts: 616
Joined: Mon Jul 21, 2003 4:23 pm
Contact:
Contact Unne
Website

  • Quote

Post by Unne » Fri Nov 07, 2003 2:06 am

Code: Select all

id
Top
qcspinner
n00b
n00b
Posts: 17
Joined: Thu Nov 06, 2003 4:20 am

  • Quote

Post by qcspinner » Fri Nov 07, 2003 2:31 am

I wanted my uid because I was trying to gain access to the mounted partition from my user and not just as root. Right now, I am having trouble.

I have:

/dev/hda2 /mnt/c NFTS unmask=222 0 0

I want the partition to be read/execute only. However, I can only gain access through root at the moment.
Top
qcspinner
n00b
n00b
Posts: 17
Joined: Thu Nov 06, 2003 4:20 am

  • Quote

Post by qcspinner » Fri Nov 07, 2003 2:32 am

correction, i have "umask", not "unmask"
Top
Unne
l33t
l33t
User avatar
Posts: 616
Joined: Mon Jul 21, 2003 4:23 pm
Contact:
Contact Unne
Website

  • Quote

Post by Unne » Fri Nov 07, 2003 2:44 am

Code: Select all

/dev/hda1               /mnt/XP         ntfs            umask=0222      0 0
That's the line I have in fstab for my NTFS partition.
Top
qcspinner
n00b
n00b
Posts: 17
Joined: Thu Nov 06, 2003 4:20 am

  • Quote

Post by qcspinner » Fri Nov 07, 2003 3:14 am

that still does not give me access. son of a gun
Top
RedBeard0531
Guru
Guru
User avatar
Posts: 415
Joined: Sat Sep 21, 2002 11:51 pm
Location: maryland

  • Quote

Post by RedBeard0531 » Fri Nov 07, 2003 3:21 am

have you tried umask=777? alsomake it umask=777,user if you want to be able to mount it as a user.
OH MY GOD! Kenny just killed Kenny!
That Basterd!
Top
qcspinner
n00b
n00b
Posts: 17
Joined: Thu Nov 06, 2003 4:20 am

  • Quote

Post by qcspinner » Fri Nov 07, 2003 3:46 am

i just tried that, and I can't mount it as a user. I can mount it as root, but I can't access it from user once I do that. What is the deal?
Top
Unne
l33t
l33t
User avatar
Posts: 616
Joined: Mon Jul 21, 2003 4:23 pm
Contact:
Contact Unne
Website

  • Quote

Post by Unne » Fri Nov 07, 2003 3:57 am

If you want to be able to mount it as a user, try user,umask=0222 instead of umask=0222. All umask does is set permissions for all the files on that partition (0222 = read/execute permissions for everyone, write permissions for no one, since NTFS-writing = dangerous). If you change fstab, you might have to log out / log back in for the changes to take effect, I'm not sure.
Top
RedBeard0531
Guru
Guru
User avatar
Posts: 415
Joined: Sat Sep 21, 2002 11:51 pm
Location: maryland

  • Quote

Post by RedBeard0531 » Fri Nov 07, 2003 4:07 am

Unne wrote:(0222 = read/execute permissions for everyone, write permissions for no one, since NTFS-writing = dangerous)
Unless you specificaly enabled ntfs write support in the kernel, it wont matter what your perms are! also adding ro to the list of options is a better method to prevent writing. remember root can do anything(sorta). ro also prevent low-level stuff from changing on drives ware writing is possable.
OH MY GOD! Kenny just killed Kenny!
That Basterd!
Top
qcspinner
n00b
n00b
Posts: 17
Joined: Thu Nov 06, 2003 4:20 am

  • Quote

Post by qcspinner » Fri Nov 07, 2003 4:10 am

This is in my fstab:

Code: Select all

/dev/hda2               /mnt/c          NFTS            user,umask=0222 0 0    $
when I try to mount from my user:

Code: Select all

mount /dev/hda2 /mnt/c
it says: mount: only root can do that
Top
RedBeard0531
Guru
Guru
User avatar
Posts: 415
Joined: Sat Sep 21, 2002 11:51 pm
Location: maryland

  • Quote

Post by RedBeard0531 » Fri Nov 07, 2003 4:48 am

qcspinner wrote:This is in my fstab:

Code: Select all

/dev/hda2               /mnt/c          NFTS            user,umask=0222 0 0    $
when I try to mount from my user:

Code: Select all

mount /dev/hda2 /mnt/c
it says: mount: only root can do that
NTFS should be lowercase. Also, you are bypassing fstab by mounting like that. Specify either the mountpoint or the /dev file.
OH MY GOD! Kenny just killed Kenny!
That Basterd!
Top
qcspinner
n00b
n00b
Posts: 17
Joined: Thu Nov 06, 2003 4:20 am

  • Quote

Post by qcspinner » Fri Nov 07, 2003 4:53 am

thanks so much folks, i'm in business. now I can play that bone crusher I've been dying to hear.
Top
Post Reply
  • Print view

18 posts • Page 1 of 1

Return to “Gentoo Chat”

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