LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2010, 10:30 AM   #1
OtisLinux
Member
 
Registered: Jan 2004
Posts: 108

Rep: Reputation: 15
Problems mounting linux partition as rw


Ok, I have a dual boot netbook with Ubuntu and Windows 7 on it. I want to access and change some information on my Ubuntu partition from another distro of linux.

I am running tinycore off of a flash drive and trying to mount my linux partition with write permission.

When I try to do
mount -o rw /dev/sda3 I get the error "Invalid Argument"

It will however let me mount it as read only.

I have also tried to boot in single user mode so that I can change a file, but again it only boots in read-only.

Any thoughts?
 
Old 10-27-2010, 10:46 AM   #2
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
the target mount point is missing:
Code:
mount -o rw /dev/sda3 /<some_path>
 
Old 10-27-2010, 10:51 AM   #3
OtisLinux
Member
 
Registered: Jan 2004
Posts: 108

Original Poster
Rep: Reputation: 15
Tried that, get the same error "invalid argument"
If i change it to mount -o ro /dev/sda3 /<some path> it works
 
Old 10-27-2010, 10:56 AM   #4
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
don't use the -o rw switch - try to adjust the permissions with chmod (with root, or in Ubuntu with the regular user)

Last edited by fbobraga; 10-27-2010 at 10:57 AM.
 
Old 10-27-2010, 11:00 AM   #5
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
Did you run fsck on it? It could be that the filesystem is dirty (improperly unmounted). Also is your partition formatted to ext4? some mini-distros lack ext4 support and tend to choke in funny ways when trying to mount an ext4 partition.
 
Old 10-27-2010, 11:07 AM   #6
OtisLinux
Member
 
Registered: Jan 2004
Posts: 108

Original Poster
Rep: Reputation: 15
AHH it was the fsck, it did not unmount properly. I fixed the errors and was able to mount just fine. Thanks all. I've been working on that for a bit now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems on mounting NTFS partition Fill Linux - Hardware 4 06-08-2007 02:24 AM
Problems mounting LVM-partition RacerDude Fedora 1 11-22-2005 11:04 AM
problems mounting vfat partition oDyman Slackware 6 11-11-2004 05:18 AM
Partition and mounting problems w/ thumbdrive?? partimegeek Linux - Newbie 10 05-10-2004 05:09 PM
Problems mounting a fat32 partition under linux (slack 9.1) cyberone Linux - Software 3 01-18-2004 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration