Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
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
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
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
??? 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.
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.
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.
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 --
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.