Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
How do i access windows files from linux? I tried one that said this: 1. OPEN a terminal emulator. 2. TYPE cd/. 3. TYPE mkdir /Winroot 4. TYPE ls -l ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2003
    Posts
    15

    axs windows files from linux ((mkdir /winroot) axs denied)


    How do i access windows files from linux? I tried one that said this:
    1. OPEN a terminal emulator.
    2. TYPE cd/.
    3. TYPE mkdir /Winroot
    4. TYPE ls -l winroot

    well.....When i tried to do step 3 i didnt have permission to. So how do i loggin in as the administrator or how do i set my account to have permission to do everything? or is there an easier way to do it?


    -haryy

  2. #2
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    mount -t ntfs /dev/hdX /mnt/point
    hdX=drive/partition that your windows is on
    exchange ntfs with fat32 if you use that fs

  3. #3
    Just Joined!
    Join Date
    Feb 2003
    Posts
    15

    I just tried that

    I tried that and i got the error: mount: only root can do that


    what does that mean?


    -haryy

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    you need to be root

  6. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    To log in as root in a shell as a normal user, run "su -".

  7. #6
    Just Joined!
    Join Date
    Aug 2002
    Location
    New Jersey
    Posts
    28
    stupid newb question time. why 'su -' and not just 'su'? Genlee used the same syntax in another post, and i've seen the trailing '-' in other situations as well. Just wondering what the '-' does.

    thanks again

  8. #7
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    The extra - specifies that su should do a full log in (eg. setting PATH, cwd, etc.) instead of just forking a new shell that has EUID 0.
    Are you aware that you could find that out using man su?

  9. #8
    Just Joined!
    Join Date
    Aug 2002
    Location
    New Jersey
    Posts
    28
    i was thinking that '-' was a character that had special meaning like '>' or '|' because ive seen it used with other commands as well.

    thanks for clearing that up

  10. #9
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Other commands? Such as what?

  11. #10
    Just Joined!
    Join Date
    Feb 2003
    Posts
    15
    I have a another question for you guys. I did all the steps that i listed, after i got axs to make dirs on the root. Then i had one more set of actions which are these:
    1. TYPE B.
    2. ls /winroot
    It says that, that should be it but when i do step one it says it is invalid or something wierd.
    When i typed what genlee said (mount -t ntfs /dev/hdX /mnt/point) it said that it was an invalid point. what am i supose to put inplace of the word point? thanks. Also the hard disk that i have linux on is a 4 gig and then i have another 80 gig full of mp3's and stuff that i want to be ablet o use on linux. thanks


    -haryy

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •