LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-29-2004, 08:38 PM   #1
tidasu
Member
 
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45

Rep: Reputation: 15
copy hard disc data, with permissions


Hello,

I wanted to install linux on my dad's pc.
The installation crashed, and his data is loosly on a windows partition on his
drive, without a OS. Reinstalling doesn't work for the boot disc doesn't wants to be read.

I have attached his HD to my system and I've finaly found how to copy his
files to my system.

Everything went fine untill I went to look at those files.
The ROOT got only 2 commands: read and execute.

I need to be able to use the files ...
I need to have the files have a chmod of 7777...

Please tell me how I can help this.



Kind regards
 
Old 08-29-2004, 08:47 PM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
Are you running linux on your pc?

If you are you may be able to achieve what you are trying to do by remounting dad's hard drive in read/write mode....

Code:
su -
mount -o remount,rw /hdb1
where hdb1 is the patition on dads drive you need to re-mount as read write.

you can find out what the partition number is if you dont know it with...

Code:
sfdisk -l
hope this helps...

linux_terror
 
Old 08-29-2004, 09:03 PM   #3
tidasu
Member
 
Registered: Aug 2004
Location: Bruges - Belgium
Distribution: Mandrake 10.0
Posts: 45

Original Poster
Rep: Reputation: 15
no, it didn't worked

Could this be because I used the linking dir?
(/mnt/windows/)
or do I need to use /hdb ?
 
Old 08-29-2004, 09:30 PM   #4
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
try the device...but try this first..

Code:
sfdisk -l
take a look at the output and see if there is a partition number like hdb1...

then plug the partition number into the mount cammand i posted earlier... if you are still having problems after that please post the output of

Code:
sfdisk -l
and i'll take a look.

linux_teror
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
will removing a raid disc delete its data? nadroj Linux - Hardware 15 02-15-2006 06:15 AM
Noob asks for help in burning a data dvd disc steelyken Linux - Newbie 14 09-18-2004 12:26 AM
Mandrake 9.2/10 CD Data disc access. ruse Linux - Newbie 2 08-17-2004 05:37 PM
Disc clone/copy szak Linux - Newbie 1 01-21-2002 08:40 AM
Hard disc corruption!?! brit_spears20 Linux - Newbie 3 04-30-2001 05:54 AM


All times are GMT -5. The time now is 09:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration