Announcement

Collapse
No announcement yet.

Command to mount read/write?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Command to mount read/write?

    Hello. Quick, easy question, but it's driving me a bit barmy.

    My Kubuntu won't get past the login screen. There are various solutions, but I'm going to try a fresh install and start again. I just need to rescue some files first.

    If I use the latest Kubuntu CD, none of my drives are mounted and the fstab is pretty much empty. If I use Knoppix all of the drives are mounted but they are still read only, and I want to dive in and delete/copy/move a few between partitions.

    I think I can mount the drives read/write with something like
    Code:
    sudo mount /dev/hda6 /media/drivename ext3 -rw
    but I seem to be getting something wrong in there because the manual help file keeps coming up. Can anyone sort me out?

    Thanks in advance.

    #2
    Re: Command to mount read/write?

    Hmm - if you are using kubuntu from CD (Start Kubuntu in safe graphic mode)

    You want mount just hda6:
    Code:
    sudo mount /dev/hda6 /media/

    If you want mount to media/drivename

    make dir:
    Code:
    sudo mkdir /media/drivename
    mount:
    Code:
    sudo mount dev/hda6 /media/drivename
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Command to mount read/write?

      Knoppix has a Konqueror Super User Mode launcher in the KMenu somewhere.

      If you can't find that, just do this:
      Code:
      su
      konqueror
      Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

      Comment


        #4
        Re: Command to mount read/write?

        Thanks for the responses. Much appreciated.

        I still need to sort out the read/write part though. Any ideas? I'm sure it's very easy ;-)

        Comment


          #5
          Re: Command to mount read/write?

          Originally posted by edwina
          I still need to sort out the read/write part though. Any ideas? I'm sure it's very easy ;-)
          The correct format for specifying filesystem and mount options is:
          Code:
          sudo mount -t <fstype> -o <mountoptions> /dev/hda6 /media/drivename
          (Of course if you have an fstab line you don't need to define them, just sudo mount /dev/hda6 is enough)

          Read-write 'rw' is the default, though, so you should be able to write to it with sudo

          Comment

          Working...
          X