Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-20-2004, 09:54 PM   #1
LQ Newbie
Registered: Aug 2004
Location: Sacramento, CA
Distribution: Fedora2
Posts: 2

Rep: Reputation: 0
installing rpm files/ hard drive question

Alright, I decided to make the switch from windows to linux and made a dual boot option with a 15GB ext2 linux partition and a 1GB swap partition, so this way I can come into windows if I need anything, and whatnot. Let me get to the easier question first..oh by the way my distro is Fedora2.

I heard Linux has problems reading and writing NTFS drives, so I converted my partitions to FAT32, although I cannot see these when I am logged in Fedora. Maybe I can create a shortcut of somesort or view it through the terminal? This is probably a simple question to answer for some of the linux knowers out there.

Since I started Linux yesterday, I have absolutely ZERO knowledge in any of its workarounds and such, and decided to TRY to install the linux version of AIM. It took me about an hour to figure out that I had to type:

rpm -i aim-1.286-5.i386.rpm (or whatever the filename is)

Then it asked for an updated version of another RPM, which I found, and installed. Then I re-typed the command above, and as I noticed with the other one, it didn't show an error after installing. So I figured it installed and I go to usr/bin/aim, and nothing is in the folder. What did I do wrong? If I can figure out how to do this simple thing I should have an easier time installing other applications and whatnot. Although I'm glad there is a newbie forum for people like me

Also, I am very fluent in MS-DOS and would like if anyone had any references for what linux commands are comparable to DOS.. if that made sense. Like what linux command is the same as the "cd" command in DOS or the "dir" command, etc.

Thanks and hope to post more


edit: I am logged in as root when I try to install

Last edited by ColtWanger; 08-20-2004 at 09:55 PM.
Old 08-20-2004, 10:07 PM   #2
LQ Newbie
Registered: Aug 2004
Location: Pittsburgh, PA
Posts: 6

Rep: Reputation: 0
Your first question: The technical term(I don't know if it's really the technical term, but it's the one thats used, and the name of the command) is mounting... You mount devices, which include floppys, cdroms, and harddrive partitions, to name a few... You'll first want to root... Then, with the mkdir command, make some directories in /mnt which represent where you want the partitions to be mounted to(IE cd /mnt; mkdir C E F)
Then, you want to use use the mount command(man mount for more info) like this
mount -t <fs-type> /dev/hda<partition number> /mnt/<directory>
So, for example, to mount a FAT32(vfat) filesystem, which just so happens to be the first partition on your drive, and you want it mounted to /mnt/C... The command is
mount -t vfat /dev/hda1 /mnt/C
(NOTE: I might have mixed up /dev/hda1 and /mnt/C)
To have it auto-load, edit the /etc/fstab file

As for your AIM question, Fedora uses GAIM as a multi-client instant messaging service... But (I think) it is normal not to get any response from rpm... If you want to see whats going on, use "rpm -iv aim-<tab>"
The <tab> is for auto-completion when using the bash shell, and will finish the filename for you... If there is more than one(aim-37495-489054.rpm and aim-484695-37574.rpm), it will list up to the point where they are the same... Hit tab again and it will show all possibilities
The v stands for verbose, which echos what it is doing
Old 08-21-2004, 01:23 AM   #3
LQ Newbie
Registered: Aug 2004
Location: Sacramento, CA
Distribution: Fedora2
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply, I got my hda1 drive mounted, which is the C:\ drive in windows, on my primary master. I also go the rest of that hard drive mounted because I recognize the folders in it. I am trying to get my slave mounted, which is about 100GB now that I took 15GB from it to make the ext2 partition for linux. I typed 'df' in the terminal and got this:

[root@localhost mnt]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb3 13994212 2150644 11132692 17% /
/dev/hdb2 101105 5948 89936 7% /boot
none 258580 0 258580 0% /dev/shm
/dev/hda1 101827168 53615648 48211520 53% /mnt/H

hda1 is the drive with the rest of my information on my slave (my d: partition in windows)

I was thinking that hdb3 is my 100GB partition, i can tell that hdb2 is the 15GB ext2 partition because themount is /boot

Am I right about this.. is hdb3 my 100GB partition? and if it is, I tried to mount it and I get this:

[root@localhost mnt]# mount -t vfat /dev/hdb3 /mnt/C
mount: /dev/hdb3 already mounted or /mnt/C busy
mount: according to mtab, /dev/hdb3 is mounted on /

What's goin' on here? I'm going to play around with it for a while so I'll keep this thread updated if anything happens. I found a handy DOS to linux command guide and I am in heaven right now! I can move freely

edit: How would I unmount a drive?
edit2: got it working, went to hardware browser and found out it was hdb1, thanks for all the help, i think i'm good to carry on by myself now, hopefully

Last edited by ColtWanger; 08-21-2004 at 02:50 AM.
Old 08-21-2004, 12:58 PM   #4
LQ Newbie
Registered: Aug 2004
Location: Pittsburgh, PA
Posts: 6

Rep: Reputation: 0
Just for a bit of explanation
mount: /dev/hdb3 already mounted or /mnt/C busy
Either /dev/hdb3 is already mounted(Obviously), or /mnt/C has something mounted to it

mount: according to mtab, /dev/hdb3 is mounted on /
/dev/hdb3 is mounted as the root partition

'unmount' a device. The command umount (no 'n') unmount's a device. It removes it from the file-system hierarchy (the tree ( / )). This needs to be done before you remove a floppy/cdrom or any other removable device. (see below: Section 9.1 for an example).
So it would be umount /mnt/C
umount /mnt/floppy
(From )

Last edited by IceMouse; 08-21-2004 at 01:33 PM.


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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
Moving Hard Drive Files Zawi Linux - General 10 08-17-2005 12:08 PM
NForce2 motherboard with ATA 133 (7200 rpm) hard drive nirvanix Linux - Hardware 2 01-30-2005 07:16 AM
How I got a hard drive to accept files again jonr Member Success Stories 2 11-13-2004 07:04 PM
Just a quick question reguarding installing a hard drive. reesee Linux - Newbie 1 02-02-2004 05:19 AM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration