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! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-29-2007, 12:32 PM
|
#1
|
LQ Newbie
Registered: Sep 2007
Posts: 7
Rep:
|
Mounting/Unmounting Issues
I just installed Kubuntu on a dedicated hard drive, and I went to mount my Windows partition via modifying fstab and using mount from the konsole. I did this, and it mounted my Windows partition, but now it won't let me unmount my Windows partition. I heard that shutting down Linux without unmounting the Windows partition could mess up the Windows partition. If this is true, how can I unmount my Windows partiton? Also, when I go to browse the hard drive, it says I do not have permission. How can I browse the mounted hard drive?
Any help is appreciated...
|
|
|
09-29-2007, 01:24 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,353
|
Quote:
Originally Posted by JAlexBrown
I just installed Kubuntu on a dedicated hard drive, and I went to mount my Windows partition via modifying fstab and using mount from the konsole. I did this, and it mounted my Windows partition, but now it won't let me unmount my Windows partition. I heard that shutting down Linux without unmounting the Windows partition could mess up the Windows partition. If this is true, how can I unmount my Windows partiton? Also, when I go to browse the hard drive, it says I do not have permission. How can I browse the mounted hard drive?
Any help is appreciated...
|
Whether you can unmount something mounted in fstab is an option in your fstab entry. Could you post your /etc/fstab?
During normal shutdown all partitions are unmounted. You only have to worry about corrupt partitions when you crash without a normal shutdown.
"Also, when I go to browse the hard drive, it says I do not have permission. How can I browse the mounted hard drive?"
Change the permissions in /etc/fstab or change the permissions on the mount point of the partition in question.
----------------
Steve Stites
|
|
|
09-29-2007, 01:50 PM
|
#3
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
It can depend if you have an open gui window or terminal where the mounted partition is it may not unmount. It may say busy or so. You can use this command to see who is still using the mount point. lsof is the command. I forget the exact options to use. Haven't the time to search or the internet for the command. Someone may know it off the top of their head or searched it out.
Brian
|
|
|
09-29-2007, 10:21 PM
|
#4
|
LQ Newbie
Registered: Sep 2007
Posts: 7
Original Poster
Rep:
|
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hdb1
UUID=5e037a87-ffd0-4930-a673-8879d2a4ff22 / ext3 defaults,errors=remount-ro 0 1
# /dev/hdb5
UUID=fab924d2-fbc7-4a69-a738-69985637f44e none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hda1 /mnt/hda1 ntfs sw 0 0
This is my fstab. Where is the permission? The last line (/dev/hda1) is my Windows partition.
Also, thank you. I'm glad to hear my Windows won't corrupt if I shutdown.
|
|
|
09-30-2007, 03:40 AM
|
#5
|
Member
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471
Rep:
|
Read man mount. Pay attention on user/users options.
|
|
|
09-30-2007, 09:05 AM
|
#6
|
LQ Newbie
Registered: Sep 2007
Posts: 9
Rep:
|
ntfs? That explains it all... Well, I guess you can use ntfs-3g to manage the NTFS partition. And I suscribe to prior comment about reading man mount, specially the user section.
|
|
|
09-30-2007, 09:54 AM
|
#7
|
LQ Newbie
Registered: Sep 2007
Posts: 7
Original Poster
Rep:
|
I've got it to let me browse my NTFS Windows partition by changing the last line to
/dev/hda1 /mnt/hda1 ntfs nls=utf8,umask=0222 0 0
. Now I can browse my windows partition without being in root. I can also unmount my Windows partition using sudo umount /mnt/hda1, so I suppose all my questions have now been answered.
On a different note (mainly since I'm too lazy to create a new thread)...
I'm totally new to Linux, and it's overwhelming. All these packages and libraries and stuff...I don't understand. Every time I go to install any program I get a long list of dependencies it says I don't have. Where can I get these dependencies so I can install my programs. Surely I don't have to download every single dependency manually. Can someone help me with this, because I feel overwhelmed, and I'm afraid I'm installing something either that I don't need and it's wasting hard drive space or I'm installing something the wrong way.
|
|
|
09-30-2007, 10:34 AM
|
#8
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
When you apt-get install <software> it looks after all the dependencies for you. Why worry about them?
|
|
|
09-30-2007, 12:15 PM
|
#9
|
LQ Newbie
Registered: Sep 2007
Posts: 7
Original Poster
Rep:
|
When I try apt-get install <program> I get an error saying "E: Couldn't find package". What does this mean? Also, does the apt-get install <program> automatically install any libraries needed to install the program?
|
|
|
09-30-2007, 12:24 PM
|
#10
|
LQ Newbie
Registered: Sep 2007
Posts: 7
Original Poster
Rep:
|
Let me give an example. I'm trying to install gimp_3.2.17-1_i386.deb. I type into the konsole "apt-get install gimp_3.2.17-1_i386.deb". I get a the package not found error. I tried just typing "apt-get install gimp" and it completed without error, but I still cannot install the gimp_3.2.17-1_i386.deb file. Maybe I'm not installing things right. Do you right-click on the .deb file and click install package? If this is wrong, someone let me know. I'm very confused.
PS: Sorry for being such a noob, but this is my first time with Linux.
|
|
|
09-30-2007, 01:17 PM
|
#11
|
Member
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419
Rep:
|
if you did a apt-get install gimp and it completed succesfully then the deb file is installed and should be in /var/cache/apt/archives/
Last edited by AAnarchYY; 09-30-2007 at 01:19 PM.
|
|
|
10-02-2007, 09:52 PM
|
#12
|
LQ Newbie
Registered: Sep 2007
Posts: 7
Original Poster
Rep:
|
I found the file gimp_2.2.19-1ubuntu4.3_i386.deb file in the /var/cache/apt/archives folder, and I clicked Install Package. It then goes through and the Konsole says "Setting up gimp" and then "Press <enter> to exit". Is it installed, and if so, where, because I can't seem to find it anywhere.
|
|
|
10-02-2007, 10:04 PM
|
#13
|
Member
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419
Rep:
|
try typing "whereis gimp" in a terminal
|
|
|
10-03-2007, 07:47 AM
|
#14
|
LQ Newbie
Registered: Sep 2007
Posts: 7
Original Poster
Rep:
|
I've got everything figured out now, thank you. Well, one more question. I've finally figured out it's easier to use the Add/Remove Programs link (Adept). When you remove programs, does it remove ALL files associated with that program, or just the actually installation files? In other words, if I go into Adept and remove, say, OpenArena, is there any files that I need to go in and manually delete?
|
|
|
All times are GMT -5. The time now is 12:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|