Linux - NewbieThis 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.
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.
When I tried to do a disk check using the Disk Utility - it said 'An
error has occurred while performing an operation on "318 GB file
system (Partition 1 of ATA WDC WD 3200AAJ5-224A0: the drive is
busy.)'
I got this message when I tried it immediately after a restart and
nothing else was running (so how could the drive be busy)? Why
couldn't I do a disk check with the Disk Utility? Is there another
way to do it? (I like to check for disk problems once a week - is
this advisable for Ubuntu?
Thank you for your help.
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
You do have man pages .
Man umount gives you the syntax of the umount command
To unmount a partition you have to it as root so sudo umount /dev/??? partition name
Seriously, running fsck (which is what is executed by the Disk Utility) can be dangerous stuff. If you do it on a partition which is mounted your data can become toast. And, you cannot unmount partitions which Linux is using so...
Linux keeps track of how many times a partition has been mounted since the last fsck. Each time you boot the PC it compares this number against a threshold which was set when the partition was created and formatted (during installation in your case). You may see messages at bootup such as "...partition has been mounted xx times...check will be forced in 3 mounts" or something like that. And the third time later when you boot it will say something like "...check in process press C to cancel..." So you do not need to do the checks yourself unless you are having problems with your drive.
In that case the best policy is to boot the PC from the Ubuntu Live (installation) CD and then issue the fsck commands. With Linux running from the CD it has not mounted the partitions on the hard drive and they are safe to check.
There is a lot to learn about Linux. The best way is probably by doing. That said, here is a link to some excellent training material from Canonical - the vendor behind Ubuntu. It is based on version 8.04 so it is somewhat out of date. Some programs have changed (e.g. Libre Office replaced OpenOffice.org as the productivity suite) or disappeared (a utility to stop, start and configure services). However, a lot of the material is still relevant. https://wiki.ubuntu.com/Training/PDF...en-student.pdf It might be worth downloading a copy and browsing through it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.