How to mount USB HD with write permission?

Booting, installing, newbie
Post Reply
Message
Author
thisorthat
Posts: 3
Joined: Mon 29 Aug 2011, 22:54

How to mount USB HD with write permission?

#1 Post by thisorthat »

I need some help. :(
My crappy acer laptop running crappy Windows 7 crashed hard core, nothing works, repair, safe mode, recovery, etc. tried them all. So I used a puppy linux boot cd and mounted the drives, worked great. I then mounted a usb external drive no prob, did all of this through gui. I was feeling really good about myself until i realized that all of the ntfs partitions were read only so I couldn't copy my files to the usb external hard drive. Can somebody tell me how to mount the drive so I can write to it? Can I do it through the gui interface or do I have to drop to command line?
I haven't used linux in about 7 or 8 years so my recollection of linux commands is basically nil. I remember "ls" and all that. I think chmod might be the command but I can't even remember how that command works. If somebody can please help me figure out if and how I can get the usb ntfs external drive to mount as read/write instead of read only I'd be forever indebted. If it can be done through the gui interface that'd be easier for me. Thanks so much.
PLEASE HELP!!!!
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#2 Post by Béèm »

Don't you think it's important to precise which puppy you use and how it is installed?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#3 Post by rcrsn51 »

If Puppy detects some problem on an NTFS partition, it will mount it as read-only. The standard solution is to run Windows and do a disk check on the drive.
Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#4 Post by Sylvander »

Below are 2 methods that can be used to scan and fix the file_system of a Windows partition, from outside of Windows.
Don't know if this works OK with Win7; it works with XP and earlier versions of Windows.

1. Run "Puppy_Linux->GParted", choose the physical HDD, right-click the partition, choose "check" [to scan and fix], and click the green tick-mark above to set it going.
On 1 occasion when I attempted to check an NTFS partition_file_system, GParted reported it was unable to fix, so I then used...

2. FalconFour's_UBCD v4.5->Mini_XP->"Check disk".
This is very good at scanning and fixing a Windows partition_file_system.
It succeeded where/when GParted failed.

WARNING
3. It's wise...
Before attempting the above...
To make a backup [image?] of [ideally] the whole of the contents of the HDD, or [not so ideal] the Windows partition and the MBR.
Just in case 1 or 2 go wrong.

4.
(a) You should get into the habit of scanning [and fixing] the Windows partition_file_system, every time you think it may have been corrupted.
Like after EACH/every improper power-off.
Windows normally attempts to fix itself after an improper power-off, but [because of the way it's made and works] isn't guaranteed to succeed, because it may not be in a fully functioning state before [and even after] the scan.
This is why it's better to restore a good recent image backup than to scan & fix.

(b) Laptops are particularly prone to improper power-offs methinks, so they need 4(a) more than most.
e.g. My son's laptop power unit wiring is always going faulty, so that he's now on his 2nd replacement unit.
thisorthat
Posts: 3
Joined: Mon 29 Aug 2011, 22:54

More information that I left out...

#5 Post by thisorthat »

Sorry it's been so long since I've asked for tech help, usually I'm the one offering assistance.

I downloaded a package from the net as an iso which I burned to a cd, when it boots it says it is version 5.2.8.
It also says welcome to Lucid 528 when the welcome screen comes up.
The drives show up as icons on the bottom of console, sda1, sda2, etc. I can right click and mount them using pmount, but like I said they end up read only.

Now it does give an error message in a red box before mounting, I probably should have included that as well.

"The ntfs-3g driver was unable to mount the NTFS partition and returned this error message:
Failed to write lock '/dev/sda1' Resource temporarily unavailable
Error opening '/dev/sda1/' : Resource temporarily unavailable
Failed o mount '/dev/sda1/: Resource temporarily unavailable
So the inbuilt kernel NTFS driver has been used to mount the partition read-only."

I have no problem seeing all the files on the ntfs partitions from linux and opening them up including the external usb drive. All I am trying to do is get the USB external hard drive to be read/write instead of read only so I can copy my data over and chuck this laptop out the window onto the head of some unsuspecting victim, j/k. But I probably will reformat it.

Anyway, any help in getting that external drive to be read/write would be greatly appreciated. I really need to get to this data.

After this I am going to set up a linux mail server, web server, dns, and all that, just because. I forgot how much I love linux.

Thanks for the suggestions thus far.
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#6 Post by Béèm »

I have a similar setup. On sda two prtitions, a ntfs one and e fat one.
On an external HSB HDD sdb a ntfs one a fat one and several ext ones.

All ntfs partitions mount r/w.
But I click on the desktop icon, not right click.

Otherwise, say your external one is sdb1, you can type in a terminal mount -t ntfs /dev/sdb1 /mnt/sdb1
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
thisorthat
Posts: 3
Joined: Mon 29 Aug 2011, 22:54

Sorry my mom had an accident so I was offline a couple days,

#7 Post by thisorthat »

I went to roxterm(console) and typed "mount -t ntfs /dev/sdb1 /mnt/sdb1"

It came back with: "mount: mounting /dev/sdb1 on /mnt/sdb1 failed: No such file or directory"

sdb1 does show up on my desktop as a usb drive and I can mount it read only with pmount.

I also tried left clicking instead of right clicking as you suggested but it did the same thing and mounted the drives read only and came up with the error message in a red dialogue box as I stated before:
"The ntfs-3g driver was unable to mount the NTFS partition and returned this error messsage: Failed to write lock '/dev/sda1' : Resource temporarily unavailable Error opening '/dev/sda1' : Resource temporarily unavailable Failed to mount '/dev/sda1' : Resource temporarily unavailalble
So the inbuilt kernel NTFS driver has been used to mount the partition read only"

It also does that for sda2, sda3, sdb1, etc. when using pmount.

If anybody has any ideas what i can do to mount this external drive with write permissions I'd be very grateful.

Thanks for your help so far.
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Sorry my mom had an accident so I was offline a couple days,

#8 Post by rcrsn51 »

thisorthat wrote:It came back with: "mount: mounting /dev/sdb1 on /mnt/sdb1 failed: No such file or directory".

Code: Select all

mkdir /mnt/sdb1
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#9 Post by Béèm »

Either you mount a partition with pmount or you mount it by left-clicking on the desktop drive icon.

This has never failed.

I think you have corruption in your installation.

Did the advise of rcrsn51 help?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Post Reply