LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-01-2011, 03:58 PM   #1
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Rep: Reputation: 4
How do I mount a Hard Drive on Fedora 14?


I remember seeing it a LOT on Windows Vista *Formerly the primary before it was mine* and later on Ubuntu, it was just there, I wasn't able to install Ubuntu to it nor install Fedora to it, it was just there. The laptop was originally supposed to have up to 160GBs but instead all I get is a 60GB HDD and another 60GB HDD that I couldn't do much but put media on it... In which I plan on doing now, but on Fedora it isn't automatically mounted so... What do I do to mount the HDD? I've found a guide about it but it was outdated, I think around 2004,and I don't want to trust it unless I know it's safe. Any way, what do I have to do? Also, I've a question I've asked myself over and over, 60 and 60 don't add up to 160, where's the other 40GBs?
 
Old 06-01-2011, 04:24 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,539

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
You use the word "it" a lot and I'm not sure what you are referring to? Do you have Fedora or some other OS installed? You don't mount hard drives, you mount filesystems on partitions. A partition can take up the whole dirve if you wish.

Post the link you were looking at and someone should be able to tell you if it's good.
 
Old 06-01-2011, 04:41 PM   #3
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by yancek View Post
You use the word "it" a lot and I'm not sure what you are referring to? Do you have Fedora or some other OS installed? You don't mount hard drives, you mount filesystems on partitions. A partition can take up the whole dirve if you wish.

Post the link you were looking at and someone should be able to tell you if it's good.
http://fedoranews.org/tchung/storage/

I have a second hard drive and on Ubuntu it showed up without me having to prompt it to. I'm asking how to make it show up on Fedora.
 
Old 06-01-2011, 05:36 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
1) $ su -c 'fdisk -l' (enter root password when prompted)
2) note which device node is the hard drive and which partition (probably /dev/sdb partition 1 or /dev/sdb1)
3) create a mount point for your hard drive ($ su -c 'mkdir /media/{something}' where something is any name you want to givethe folder
4) $ su -c 'vi /etc/fstab'
5) add line /dev/sdXx /media/{something} {filesystem} defaults 0 0 (where X is the letter (/dev/sda /dev/sdb) and x is the partition number, {filesystem} is the filesystem used (one of ext2,ext3,ext4,ntfs etc..)
6) make sure there is a blank line at the end of the fstab file, save
7) then issue the command $ su -c "mount /media/{something}", the drive should mount and if done correctly will persist on reboot
 
Old 06-01-2011, 06:42 PM   #5
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by frieza View Post
1) $ su -c 'fdisk -l' (enter root password when prompted)
2) note which device node is the hard drive and which partition (probably /dev/sdb partition 1 or /dev/sdb1)
3) create a mount point for your hard drive ($ su -c 'mkdir /media/{something}' where something is any name you want to givethe folder
4) $ su -c 'vi /etc/fstab'
5) add line /dev/sdXx /media/{something} {filesystem} defaults 0 0 (where X is the letter (/dev/sda /dev/sdb) and x is the partition number, {filesystem} is the filesystem used (one of ext2,ext3,ext4,ntfs etc..)
6) make sure there is a blank line at the end of the fstab file, save
7) then issue the command $ su -c "mount /media/{something}", the drive should mount and if done correctly will persist on reboot
Ooops... Nothing seems wrong with it so far, but I just realized that not only am I missing 20GBs of space for some reason, but I have all 140GBs that I should have so before when I partitioned Ubuntu, I dual-booted with Vista but when I installed Fedora I overwritten the entire HDD... So basically I just messed up /dev/sda2 which is... what? The Swap? It boots fine and everything works, so perhaps I didn't do too much harm. I should have done a bit of research first...

Last edited by colucix; 06-02-2011 at 06:38 AM. Reason: Removed colorful language
 
Old 06-01-2011, 06:46 PM   #6
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Another thing, I have something called "vg_theif519" that I can't open at all. I have 3 things, CD/DVD Drive, vg_theif519, and File System
 
Old 06-01-2011, 09:54 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Drexel HIll, PA
So English is your primary language ?
Quote:
I remember seeing it a LOT on Windows Vista *Formerly the primary before it was mine* and later on Ubuntu, it was just there, I wasn't able to install Ubuntu to it nor install Fedora to it, it was just there.
??? what is "a LOT on Windows Vista" ?
"it was just there" ?? what was "just " there ?
"I wasn't able to install Ubuntu to it nor install Fedora to it, it was just there" WHAT was ?

Quote:
In which I plan on doing now, but on Fedora it isn't automatically mounted so
? so you DO have fedora ?? fedora what 14 or 15 ? installed ?????

Quote:
I have a second hard drive and on Ubuntu it showed up without me having to prompt it to. I'm asking how to make it show up on Fedora.
And you have Ubuntu installed ALSO on a second dreve

so fedora is on 1
ubuntu is on 2
so what is not "there" ?


can you please post the output of
Code:
su -
fdisk -l
that will output the partition and hard drive layouts

then be a bit more specific about what "it" and "there" and "not there" are
 
Old 06-02-2011, 05:20 AM   #8
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by John VV View Post
So English is your primary language ?

??? what is "a LOT on Windows Vista" ?
"it was just there" ?? what was "just " there ?
"I wasn't able to install Ubuntu to it nor install Fedora to it, it was just there" WHAT was ?


? so you DO have fedora ?? fedora what 14 or 15 ? installed ?????


And you have Ubuntu installed ALSO on a second dreve

so fedora is on 1
ubuntu is on 2
so what is not "there" ?


can you please post the output of
Code:
su -
fdisk -l
that will output the partition and hard drive layouts

then be a bit more specific about what "it" and "there" and "not there" are
1. English is my primary, why do you ask?
2. "I saw it a lot on Windows Vista" is referring to the second partition that showed up whenever I browsed "My Computer"
3. "I wasn't able to install Fedora nor Ubuntu to it" is referring to the 2nd HDD I thought I had that was actually a partition someone else made before I received the laptop and when I dual-booted Ubuntu 10.10 I didn't or wasn't able to touch the second partition.
4. If you noticed that I live in Drexel Hill Pennsylvania, how can you not also notice it says "Fedora 14" where it lists my distribution
5. No, Ubuntu is not on one drive and Fedora is not on the other... Well, you could say that they are on separate hard drives because Ubuntu 11.04 is on my desktop and Fedora 14 is on my laptop.
6. I told you already I tried that and I found out that I only had /dev/sda1 and /dev/sda2 in which are partitions, 1 is swap and the other is for root and home directory, and I tampered with the second one.
 
Old 06-02-2011, 07:20 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,748

Rep: Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927Reputation: 5927
Quote:
English is my primary, why do you ask?
We ask because your posts are more like random thoughts that jump around then complete sentences. I also have found it very difficult to understand your real problem. Slow down. It is difficult to help when you do not provide clear logical information.

Lets start over. I will try to read between the lines...
Since you finally mention a desktop and laptop shall we assume that the hard drive is external and connects via USB and that is formatted NTFS? Where as Ubuntu includes NTFS drivers Fedora does not and so will not be automatically mounted. You need to install ntfs-3g.

Without seeing the actual output of the fdisk command it we do not know how the drives on the laptop are actually partitioned so it is difficult to say what is going on. The installer may not automatically partition a second internal hard drive nor and it may not be automatically mounted.

Last edited by michaelk; 06-02-2011 at 07:26 AM.
 
Old 06-02-2011, 02:39 PM   #10
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by michaelk View Post
We ask because your posts are more like random thoughts that jump around then complete sentences. I also have found it very difficult to understand your real problem. Slow down. It is difficult to help when you do not provide clear logical information.

Lets start over. I will try to read between the lines...
Since you finally mention a desktop and laptop shall we assume that the hard drive is external and connects via USB and that is formatted NTFS? Where as Ubuntu includes NTFS drivers Fedora does not and so will not be automatically mounted. You need to install ntfs-3g.

Without seeing the actual output of the fdisk command it we do not know how the drives on the laptop are actually partitioned so it is difficult to say what is going on. The installer may not automatically partition a second internal hard drive nor and it may not be automatically mounted.
I apologize then if I ramble, but I normally do so when I get excited about something, so I'll try to calm down a bit. *Takes a deep breath* No, the hard drive is not an external one, I thought it was an internal hard drive. I originally asked my friend "Why is there only 60GBs available on this hard drive when *On the sticker that tells it's specs* it states that it has 160GBs. I also found another... hard drive icon which made me initially believe that it was a partition, but when I asked my friend about he said it sounded like another HDD. At first I was a bit skeptical, thinking "Why would an old laptop like this originally come with a second hard drive? If so, where is the remaining 40GBs that it promised" but remember, this was on Windows VISTA, which was the original Operating System on the laptop. How I obtained the laptop is apart of another story, any way, I installed Ubuntu 10.10 on it at first, but instead of overwriting the entire HDD, I decided to "Install alongside another Operating System" instead of overwriting the entire Hard Drive. After upgrading to 11.04 on the laptop, I decided that it wasn't worth having the same OS on both my DESKTOP and Laptop, in which both have nothing to do with each other in this story, my desktop is completely fine... I decided to expand my knowledge of GNU/Linux by installing Fedora Core 14, but instead of installing ALONGSIDE the OS, it proved to be a bit... difficult to do, so I decided to overwrite the entire Hard Disk and remove Windows Vista and all of it's files entirely. Now, this is a side note, but on Ubuntu 10.10, when I installed alongside the OS, I could still access the partition that I was originally talking about, you know, the one I confused with the hard drive? Well, I lost the partition *Or so I realize now* and I thought that Fedora just didn't detect the other "Hard Drive" so that was when I decided to ask this question.

Now to reiterate, I'll summarize it to make sure that I'm clear enough this time... At first I thought it was a hard drive but it wasn't, the hard drive was just partitioned awkwardly in such a way that 20GBs was lost in unallocated space and 60GBs was for the primary partition and 60GBs labeled "ACER" for the secondary partition labeled "DATA". I install Ubuntu alongside Windows Vista and it *Ubuntu* could still detect both partitions taken up by Windows Vista. After installing Fedora by overwriting the entire hard disk, I lost the ability to access the data I put on the secondary partition and lost everything on it.

Now, lastly, I kind of tried to take the initiative and switch to the next distro I was trying, I thought I saved the data on my desktop but I must not have, and for that I apologize. Thank you for your help.
 
Old 06-02-2011, 09:10 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
so the laptop ONLY is the issue
It had ubuntu 10 AND 11
Then you tried to put Fedora 14 on the laptop ,and it failed
So there is NO operating system on the laptop
-- if the above is correct then --

on the fedora 14 desktop download and burn the Gparted cd
http://gparted.sourceforge.net/

use it to 100% remove ALL partitions on the laptop
leave the laptop unformated
then use the fedora install dvd to set it up
HOWEVER i would recommend on using the custom layout and NOT the fedora default LVM

/boot --- 1 gig
/ ------ 20 to 50 gig
SWAP ----- 2 gig
-- extended partition --
/home --- 5 to 10 gig
DATA --- the rest of the drive
 
  


Reply



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
udev rules to mount external hard drive at mount point akamikeym Gentoo 3 03-31-2010 01:12 PM
fedora 11 do not auto mount some of fat32 partitions in my hard drive. akram Linux - Newbie 4 10-14-2009 03:05 AM
Removed bad hard drive from computer, now flash drive won't mount. checkmate3001 Linux - Hardware 6 08-15-2008 12:03 AM
Want to mount the hard drive on the fedora core 6 fedoraman Linux - Newbie 7 01-16-2008 07:10 AM
Help writing script file to mount / mount hard drive Rustylinux Linux - General 6 06-27-2006 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:55 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
Open Source Consulting | Domain Registration