Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > From Hard Drive to Removable Media

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 09-10-2006   #1 (permalink)
Just Joined!
 
DJ Bless One's Avatar
 
Join Date: Sep 2006
Posts: 6
Question From Hard Drive to Removable Media

Hey guys, Ive been using Knoppix for quite some time now. I recently bought an 80 gig Comstar USB 2.0 Mobile Hard Drive.

I am familiar with mounting it, and setting its writing capabililties, but for some reason, whenever I try and transfer files over, it randomly causes an error half way through, and the device changes itself from writable to read-only without me doing anything. Is it mounted properly?

This is what I do:
1) mkdir /mnt/media
2) mount -rw /dev/sda1 /mnt/media

But it reverts back to read only half way through the transfer process!? I can get some files to transfer, but alot don't. Any ideas?
DJ Bless One is offline  


Reply With Quote
Old 09-11-2006   #2 (permalink)
Just Joined!
 
Join Date: Sep 2006
Posts: 20
try reformating the hard drive; if it is using FAT32 (which i assume is the default that it was formated as at the factory) then the file system could very well have become corrupted (reformat is as fat32 if you want to use it with windows)
Tiberious726 is offline   Reply With Quote
Old 09-11-2006   #3 (permalink)
Just Joined!
 
DJ Bless One's Avatar
 
Join Date: Sep 2006
Posts: 6
Quote:
Originally Posted by Tiberious726
try reformating the hard drive; if it is using FAT32 (which i assume is the default that it was formated as at the factory) then the file system could very well have become corrupted (reformat is as fat32 if you want to use it with windows)
Yes both my Hard drive and Removable Media Storage is FAT32. I can't reformat the hard drive yet because the whole reason why I need to transfer files is to save some necessary stuff I want BEFORE i reformat.

Edit: I think what I'm trying to do is to make myself run in owner, not just in the shell by typing SU, but in the entire operating system. I think that is causing my permission problems.
DJ Bless One is offline   Reply With Quote
Old 09-11-2006   #4 (permalink)
Just Joined!
 
Join Date: Sep 2006
Posts: 20
i dont see how that would help but if you want to run the whole thing as root just type root in at the logon prompt then your root password

and by format your hard drive i ment the removable one
Tiberious726 is offline   Reply With Quote
Old 09-11-2006   #5 (permalink)
Just Joined!
 
DJ Bless One's Avatar
 
Join Date: Sep 2006
Posts: 6
Quote:
Originally Posted by Tiberious726
i dont see how that would help but if you want to run the whole thing as root just type root in at the logon prompt then your root password

and by format your hard drive i ment the removable one
Where is this log in prompt? I'm running in knoppix, it doesn't not ask you to log in.

But I followed your advice and reformatted my external hard drive. Currently, I am transfering files over. I'm just crossing my fingers hoping it does not cause any errors
DJ Bless One is offline   Reply With Quote
Old 09-11-2006   #6 (permalink)
Just Joined!
 
Join Date: Sep 2006
Posts: 20
oh, well in distros that dont offer a login prompt you can press CONTROL+ALT+F1 then log in as root then type startx -- :1 to get a gui where you are root; then press CONTROL+ALT+F7 to get back to your origanal desktop (the non-root one)
Tiberious726 is offline   Reply With Quote
Old 09-11-2006   #7 (permalink)
Just Joined!
 
DJ Bless One's Avatar
 
Join Date: Sep 2006
Posts: 6
Quote:
Originally Posted by Tiberious726
oh, well in distros that dont offer a login prompt you can press CONTROL+ALT+F1 then log in as root then type startx -- :1 to get a gui where you are root; then press CONTROL+ALT+F7 to get back to your origanal desktop (the non-root one)
Cool thanks. I'll try that out.

After playing around with it, I relized what had happened. I unplugged the harddrive without unmounting it, and I caused to the partitions to be currupt. That is why it kept changing from read-only to writable and viceversa without me doing anything.

What I suggest is if something similar happens to you, simply reformat the hard drive and mount and unmount properly to ensure no problems arise.

To reformat, this worked for me: mkfs.vfat -F 32 /dev/sda1
DJ Bless One is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:52 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2