Find the answer to your Linux question:
Results 1 to 5 of 5
Is this possible? Can one access and edit a file in one OS from the command line terminal open in another OS on another partition? thx in advance...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2013
    Posts
    6

    global control of entire HDD & multiple OS from command line


    Is this possible?
    Can one access and edit a file in one OS from the command line terminal open in another OS on another partition?

    thx in advance

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,227
    If there is network or another useable connection, then there are multiple ways of achieving this.
    e.g. via networkmounts with nfs or cifs, or by accessing the other machine via telnet or ssh or via an automation tool like puppet or chef or ...

    So: yes, but depends on what your usecase, environment and restrictions are.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jun 2013
    Posts
    6
    thanks for the respons!

    I am a humble desktop user, with a couple of different linux distros on my home pc; I simply want to know what command line control I have on one partition from inside another?

    nice of you to respond

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,227
    Ah sorry. Got the question wrong.
    I was thinking about multiple machines in a network,
    but you are talking about one with multiple partitions.

    Essentially you need to mount the partitions to directories in order to be able to access them.

    First see what is already mounted (do this in a root terminal)
    Code:
    mount
    Then find out which partitions you have
    Code:
    parted -l
    Then identify the partitions you want to have mounted additonally and decide on directories to mount them to.
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Jun 2013
    Posts
    6
    Quote Originally Posted by Irithori View Post
    Ah sorry. Got the question wrong.
    I was thinking about multiple machines in a network,
    but you are talking about one with multiple partitions.

    Essentially you need to mount the partitions to directories in order to be able to access them.

    First see what is already mounted (do this in a root terminal)
    Code:
    mount
    Then find out which partitions you have
    Code:
    parted -l
    Then identify the partitions you want to have mounted additonally and decide on directories to mount them to.
    You are a legend!
    Thanks Iri.
    You have helped me on my track through the beautiful forest of Linux!
    Auf viedesein (spelling?!)

Posting Permissions

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