Linux Partition

Discussion in 'Linux & BSD' started by Bman, Jun 1, 2006.

  1. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    Alright, I have a 200GB harddrive,160GB is for windows, and i have made 40GB for linux SUSE 10, is there anyway I can get some files from within linux, from the windows partition?
     
  2. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
  3. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    i checked that out, and typed in the first thing I was soppose too,

    and it sayed, no such directory? what do I do, I have an ntfs filesystem, i dont see anything for ntfs


    **also, when I set my monitor perfect (using controls on the monitor) in linux, and then boot into windows, the screen is all screwed up, so I fix it....then when I go back into linux its all screwed again.......why is this happening HOW DO I FIX ITATINAG???
     
    Last edited: Jun 1, 2006
  4. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    OK, just assume you have NTFS support in the kernel, you probably do. Follow the rest of the directions to mount your drive.
     
  5. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    ok, i'll give that a try, get backt to you soon....


    *edit....I just relised that the rest of the instructions use vfat...?
     
  6. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    The 1st part is fat32, the 2nd in NTFS.
     
  7. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    I should really read the whole thing before posting, do I also in put the # with the mkdir /mnt/winc
     
  8. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    no, that just signifies you have to do it as root,
    # <-- root
    $ <-- reg user
     
  9. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    how do I make sure I'm in root....(sry still abit new at this)
     
  10. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    Open a console and type in su then type in your root password. By default it should show the prompt as blah$ when you are a normal user and blah# when you are root.
     
  11. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    mkdir /mnt/winc
    mount -t ntfs -o umask=0222 /dev/hda1 /mnt/winc
    I tyed both those in, no errors came up, but nothing else showed up either....is it done?

    I also don't understand the mount at startup thing, do I type this in to do that

    /dev/hda1 /mnt/winc ntfs defaults,umask=0222 0 0??
     
  12. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    If you didn't see any error messages, it probably succeeded.
    Just type "ls /mnt/winc" at the prompt and see if you get a listing of the files and directories on your Windows partition.

    You need to add that line to the /etc/fstab file. Open it in your favorite text editor, add the line, save the file. Done.
     
  13. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    i typed in /mnt/winc, and i get bash: /mnt/winc: is a directory
     
  14. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    Read my post again...carefully this time. :D
     
  15. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    lmao, man I'm having some troubles tonight lol

    yea the file list came up, I opened up tthat file, but its read only??
     
  16. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    You can only mount NTFS read only. There is read-write support, but it is risky at best. Fat32 can be mounted read-write.
     
  17. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    so i can't have it automaticly mount on startup?

    now how do i get to those files?
     
  18. LeeJend

    LeeJend Moderator

    Messages:
    5,291
    Location:
    Fort Worth, TX
    The "easy" method to pass bidirectionally between linux and windows is to create a fat32 partition and use it as a swap area. It's cheating, but life is too short...
     
  19. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    Yes you can, I'm confused.

    /etc/fstab can only be modified by root, pretty much everything that lives outside of your /home/username directory can only be modified by the root account. From the terminal, as root, use a text editor and modify the file, nano, vi, emacs will all work.
     
  20. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    I am in the terminal as root, do I need to open a text editor using the terminal, or just be in root, if i do need to use the terminal to open it, give me a small lesson on commands,

    open, get, close?>???

    (when this is all done, much reps going around for sticking with my stupidness)