LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   cannot access SATA hard drive in Fedora Core 4 (https://www.linuxquestions.org/questions/linux-hardware-18/cannot-access-sata-hard-drive-in-fedora-core-4-a-407772/)

[42]Sanf0rd 01-25-2006 07:17 AM

cannot access SATA hard drive in Fedora Core 4
 
I recently installed Fedora Core 4 on my machine (because I lost my SimplyMepis disk and I'm just going to wait until 3.4 comes out to download the ISO). I was dual-booting, but found out how to get everything I need working natively in Linux or through Wine and/or Cedega. So I'm 100% straight Linux now.

Here's how my system is set up hard drive wise:

1 40GB IDE that is my OS
1 160GB SATA that is my "storage" drive.

When I was dual-booting, I had the 40GB split in half (NTFS for Win2k and ReiserFS for Mepis) and the 160GB SATA formatted as FAT32 (so that both OS's had read/write abilities).

Well when I reformatted the 40GB to just straight Linux, I'm using a distro that I'm not familiar with. With Mepis, all you have to do is click the icon to the /mnt/sda1 drive to mount it, or in terminal type
Code:

mount /mnt/sda1
But I'm not familiar with how Redhat has things going with Fedora.

I go to the "Hardware Browser" under "Applications" (I'm using Gnome btw, just to try it out) and I see both hard drives listed. The 40G is /dev/hda and the SATA is /dev/sda

So when I try to mount it:
Code:

[root@localhost ~]# mount /dev/sda
mount: can't find /dev/sda in /etc/fstab or /etc/mtab

But I can't mount it. Therefore, I can't use it.

Anyone familiar enough with Fedora to tell me how I can get to my SATA drive?

I mainly want to get everything burned off of it so when I reinstall Mepis I can use the SATA as the primary drive and the IDE one as a "backup".

Matir 01-25-2006 08:52 AM

First off, you'll be wanting to mount a partition of the whole thing, so do make sure you mount /dev/sda1, not just /dev/sda. Secondly, you may need to add a line into /etc/fstab for it, though FC4 should've done so for you.

[42]Sanf0rd 01-25-2006 08:59 AM

never manually updated FSTAB before... how exactly should i write it (don't wanna mess it up, ya know) :)


whoda thunk that Redhat would have need for more "hands-on" stuff? i thought it would've been the other way around.

Matir 01-25-2006 09:15 AM

I don't think Fedora has ever claimed to be the most user friendly.

In any case, a line for this would look something like:
Code:

/dev/sda1 /mnt/fat vfat user,noauto 0 0

RottenMutt 01-25-2006 02:33 PM

fedora seems to use /media as a replacement for /mnt, I would probably use /media/sda1 (maybe you like /media/data). don't forget to create the directory /media/sda1 (or what ever you call it).

[42]Sanf0rd 01-25-2006 05:52 PM

thanks for the suggestions guys!

I'm in class right now but when I get home, I'll give this a shot and I'll let you know if it worked or not.

[42]Sanf0rd 01-26-2006 06:06 AM

woo hoo! it worked!

and Rottenmutt, good call on mkdir - i totally would've forgotten that step.

thanks guys!

once again proving why LQ is the best damn site in the world!


of course, there's a vote on the mepis main page today as to whether or not 3.4 is ready for release, so i'll probably just be reformatting it in a few days anyway, but hey, it got me by for now :)

Matir 01-26-2006 02:37 PM

Glad you got it working. And yeah, LQ is pretty nice. :)


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