LinuxQuestions.org
Help answer threads with 0 replies.
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 02-28-2005, 11:13 PM   #1
nighthawk15
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Rep: Reputation: 0
Exclamation File Permissions


My hard disk went nuts on me last saturday. Windows wouldnt boot, my files couldnt be recovered with Symantec Ghost, and it seemed like the disk was completely dead. I booted up my PC using a bootable Linux disk (Knoppix 3.4) and it somehow reads my HDD. The HDD runs REALLY slow but still works for some reason in linux. The problem is it says that I dont have enough permissions to view the files. Is there any way to get around this? If anybody can tell me how to get at the files so I can back them up I would appreciate it a lot. Thanks for taking the time to read my post.



-nighthawk15
 
Old 02-28-2005, 11:31 PM   #2
digitalhead
Member
 
Registered: Jun 2004
Location: West Virginia, US, Earth, Milky Way
Distribution: Ubuntu
Posts: 121

Rep: Reputation: 15
What version of Windows? If it's an XP drive or 2000 with NTFS filesystem, you can only read, but not write. This can be good however, because if you get another drive to install onto, you can always use Knoppix to copy files to the new drive (if it's vfat instead of NTFS). I had the same issue about a year ago, but by the time I got a new drive ready, the old one started making a really loud grinding sound... I took it apart and started using it as an example to people that have me work on their computers. No big loss, but would have liked to get my text documents off first.
 
Old 03-01-2005, 12:21 AM   #3
nighthawk15
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by digitalhead
What version of Windows? If it's an XP drive or 2000 with NTFS filesystem, you can only read, but not write. This can be good however, because if you get another drive to install onto, you can always use Knoppix to copy files to the new drive (if it's vfat instead of NTFS). I had the same issue about a year ago, but by the time I got a new drive ready, the old one started making a really loud grinding sound... I took it apart and started using it as an example to people that have me work on their computers. No big loss, but would have liked to get my text documents off first.

Thanks for the quick reply. The drive is formatted for xp and yes I am getting a new drive. I have two Seagate Barracudas (7200RPM SATA) on the way and they will probably be here tomorrow or wednesday. Last time I had a drive die on me I just let it go but this time I have a lot more stuff that I really dont want to lose. Thanks a lot for the info.
 
Old 03-01-2005, 05:43 AM   #4
kadissie
LQ Newbie
 
Registered: Jul 2003
Location: UK
Distribution: Fedora 5, Knoppix, Ubuntu
Posts: 27

Rep: Reputation: 15
I'm no expert on this, but Knoppix should give you ownership of files on any hard drive on the system - and by "you" I mean either user knoppix or the root user. I have not had to deal with rescuing NTFS drives, so I'm not sure what the deal with file ownership is, but if the worst comes to the worst you could always do a "chown -R knoppix /mnt/hda1" or whichever hard drive you're mounting (perhaps followed by a "chmod -R u+r /mnt/hda1") to explicitly give yourself permission to view all the files on the drive.

I recently helped out a friend with a non-booting Windows machine by starting the Samba server from the KDE menu (I was using Knoppix 3.7, I'm not sure if it's this easy on other versions) and then using another Windows machine connected through his router to download files from the bad HDD. He was astounded by the power and majesty of Linux in general and Knoppix in particular - and this is a bloke who works in IT!

R.
 
Old 03-01-2005, 06:48 AM   #5
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
also use ubunto live linux it is good

Last edited by bruse; 03-01-2005 at 06:50 AM.
 
Old 03-01-2005, 07:59 AM   #6
pvs
Member
 
Registered: Jan 2005
Location: Lviv, Ukraine
Distribution: Something self-made
Posts: 69

Rep: Reputation: 16
just type "su", type root's password and you have maximum permissions
 
Old 03-01-2005, 09:13 AM   #7
jasonl
LQ Newbie
 
Registered: Apr 2004
Location: bogota
Distribution: mandrake 10
Posts: 2

Rep: Reputation: 0
ok here's what u got to do
first of all if u can get a newer version of knoppix that could be a plus, either way never mind!

try this ... just enter in level 3 (only console) like this:
knoppix 3 at the first boot screen

so verify that u r root, or, simply type su at the console screen
mount the file systems like this

mount -t auto /dev/hd(a,b,c,d,) /mnt/hd(a,b,c,d)

then u r gonna need a fat 32 partition to be able to write in...

or try using samba if u don't have or can't get a fat32 partition in some other disk!!!

cheers!
 
Old 03-01-2005, 09:53 AM   #8
mikeheggy
Member
 
Registered: Jan 2005
Posts: 37

Rep: Reputation: 15
Sorry nighthawk, I don't really have an answer to your question.

But, I know that modern PC bios' as well as some hard drives have support for S.M.A.R.T. Was that enabled?

If it was, shouldn't that have warned you before the hd failure?
 
Old 03-02-2005, 09:50 AM   #9
christian.vrl
LQ Newbie
 
Registered: Nov 2003
Location: Fortaleza - CE - Brazil
Distribution: CentOS
Posts: 7

Rep: Reputation: 0
I really hope you already have got your files back... But if you still need some help, here goes my 2cents :

There is a program called partimage that can backup (like Ghost does) the entire NTFS partition this way you can restore it on another drive.

Or you can go on http://linux-ntfs.sf.net/ download the kernel module and read your files from NTFS.
 
  


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
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 05:35 AM
CVS - file permissions and file ownership Osten Linux - Software 3 01-18-2004 04:08 PM
file permissions and file owner won't change Nadim Slackware 5 11-29-2003 06:03 PM
Changing file permissions on a SAMBA file share apenney Linux - Software 0 02-11-2002 04:42 PM

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

All times are GMT -5. The time now is 08:15 AM.

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