LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   copy hard disc data, with permissions (https://www.linuxquestions.org/questions/linux-newbie-8/copy-hard-disc-data-with-permissions-224081/)

tidasu 08-29-2004 07:38 PM

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

linux_terror 08-29-2004 07:47 PM

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

tidasu 08-29-2004 08:03 PM

no, it didn't worked :(

Could this be because I used the linking dir?
(/mnt/windows/)
or do I need to use /hdb ?

linux_terror 08-29-2004 08:30 PM

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


All times are GMT -5. The time now is 08:55 PM.