LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Linux Recongnizing SATA Drives? (https://www.linuxquestions.org/questions/linux-desktop-74/linux-recongnizing-sata-drives-476456/)

LegacyofPhoenix 08-23-2006 12:54 AM

Linux Recongnizing SATA Drives?
 
I have a Serial ATA Drive with all of my saved data, like videos/applications/school work etc. I have recently installed Fedora Core 2.6.12 on my main drive IDE. I'm not sure exactly how to get linux to recognize the SATA drive, i've tried many things, but with no success. Is it because my SATA drive is formated in NTFS? I've tried getting an NTFS driver from linux-ntfs.org but that seems to not have worked either. If anyone knows how to help it would be greatly appreciated. Thanks

Nathanael 08-23-2006 02:24 AM

sata drives are accessible via sda, sdb, sdc etc. instead of hda, hdb ...
you can run sfdisk -l to have the system list all drives, ide hdd's, sata hdd's, scsi hdd's and even usb storeage.

you will be able to read a ntfs filesystem, though you will not be able to write to it.

LegacyofPhoenix 08-23-2006 09:34 AM

How exactly do I access the files on the SATA drive. I did the sfdisk -l and it only listed hda. But in Hardware browser it shows my Serial drive sda. should the drive be showing up somewhere for me to access the files?

Nathanael 08-23-2006 09:41 AM

you need to mount it.

mkdir -p /mnt/win
mount /dev/sda1 /mnt/win

you can read the mount manpage for more options (or run mount --help)

Abomb 08-23-2006 01:59 PM

I can't remember if write support has been implemented but there is a good chance that mounting an NTFS drive will be read-only. You could always try and mount the drive using samba. Kinda like:

$ mount -t smbfs /dev/sda1/ /mnt/win/

I could be wrong, but that's just off the top off my head. When I do this for remote ntfs drives, it gives me reading and writing support.

LegacyofPhoenix 08-25-2006 11:47 PM

More Problems -_-
 
I figured out all that, thanks for the help guys. It seems like such an easy thing now.

Ok...now I got another question Hopefully someone can help.
I just updated to Fedora Core 5 from 3 and now i'm having another problem with my SATA drive. Under 'Computer' My serial drive shows up as being recognized, like...Filesystem,Serial Drive, CD-RW Drive, Network. When I double click to access the Serial drive it says
'Error' Cannot mount Volume - You are not privileged to mount thie volume 'Serial Drive'
I've tried mounting it many different ways, I got ntfsmount and such, but it seems I can only access the drive when i'm logged in under 'root'.
Do I need to change /etc/fstab/ for it to mount correctly? I tryed mounting with ntfsmount and it says:

Volume is dirty.
Run chkdsk and try again, or use the force option.
Mount Failed.

When I log in under root and right click the drive to change the permissions, it says something like The drive is read-only or something like that.
If anyone knows how to help I would greatly appreciate it :)

jerkface 09-23-2006 03:26 PM

Here is the line I have in my fstab so I can mount my mp3 player/usb thumbdrive.

/dev/sda1 /mnt/mp3 vfat noauto,users 0 0

You need to be in the users group and you will want to change the mount point and file system type.


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