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.
I have written about this problem before, and I was finally
able to get my Windows partition mounted.
I noticed something though, when I booted into Windows
and went to the C: drive there was a folder there named
" .Trash-root ". Why did Linux create this? Is it safe to
delete and is there a way to stop Linux from creating this folder?
Also I used shell commands to create a dir named Windows
so that I could see my Windows drive, and also experimented
with editing my fstab file, but one of my other problems is
that I can not unmount the dir, I get an error saying folder
is busy. I have used various options of the umount command
and still cant get this damned thing unmounted!
Can anyone tell me the "proper" way to mount my windows
partition safely?
If possible I would like an icon to it on my desktop.
but one of my other problems is
that I can not unmount the dir, I get an error saying folder
is busy. I have used various options of the umount command
and still cant get this damned thing unmounted!
Show us the fstab? :)
Most likely you're in the directory
somewhere (in some other window,
maybe in a console, maybe holding
a file open, ...)
It would be useful to know what distribution of Linux you're using, and what version of Windows you're using. And yeah, if you're unable to mount a drive, you're probably still using it.
Sorry I havent posted back, I have been busy at work and
family issues.
I have Redhat 8. 40 gig dirve partitioned into 2 20 gig drives.
Windows 2000 on one and Linux on the other.
I cant access the web because I have a winmodem, and I
havent been able to scrape together the $$$ for a new one.
I created the mount point a few times, but I still have trouble,
such as not being able to unmount it.
I would also like to have an icon on the desktop for my
"C" drive.
I also need to know about the folder Linux adds to the drive
that is named .Trash-root
Thanks guys.
That is the link I used to get it to work. I just fallowed everything on their site, and I got it to work. You have to install the NTFS drivers because RH does not support it I believe.
Anyways, hope you get it to work with that, I am a newbie also, but found that this page told me everything I needed to know on how to mount it.
To Mount a FAT32 Filesystem on boot-up were All users have Read, Write, Execute access you'll have to create a line in your /etc/fstab file (just substitue in your Partition and Mount point)
Thanks for the help skyline, I forgot to mention the disk is
fat32.
I still cant figure out why when I use the umount command
it tells me the dir is busy. No matter where I cd to I get this
error.
does the drive get mounted at startup? (if it does, get rid of that)
if not, and u just manually mount it, try mounting the drive and then unmounting it (don't actually access the drive) and see if u still have a problem
about the .trash-root, don't worry about it, it just means that you've gone inside your windows fat32 drive and deleted something, that folder is basically a trash bin, so yes u can safely delete it
One of the times I experimented with it I did have it set to
auto, then I tried playing around with the fstab and
set it to noauto.
I noticed when I use my user account with the KDE desktop
my floppy and cdrom have icons even when unmounted.
I use Gnome as root, and I was wondering if maybe there
was something keeping Gnome from making an icon on the
desktop when I mounted the folder.
I still cant figure out why I cant unmount it no matter what
dir I am in.
I cant access the internet because of my modem, so I have
to boot back and forth. I'll mount my Windows dir and copy
the fstab and post it, maybe I'll take some screen shots
if that will help.
Oh, and I'll try Skylines advice. Hope it works.
[root@localhost root]# umount /dev/hda1 /mnt/Windows
umount: /mnt/Windows: device is busy
umount: /mnt/Windows: device is busy
[root@localhost root]# umount /mnt/Windows
umount: /mnt/Windows: device is busy
[root@localhost root]# umount -a
umount: /mnt/floppy: device is busy
umount: /mnt/Windows: device is busy
umount: /dev/pts: device is busy
umount: /: device is busy
[root@localhost root]#
No matter what I try it is always busy, even though I am not in
that dir.
Strange, I just noticed something. I used the locate command to
try to find a file. When I did, it showed me only items from my
"Windows" dir even though I am in the root dir.
I didnt want to use Skyline's tip because of what my mtab said.
I dont want to add anything into my fstab so I wont screw anything
up more than it is.
When I right click in Gnome I can choose which disk I can mount,
either cdrom or floppy. Is there also a way to have "Windows" in
that list?
Distribution: can't say cause i do my browsing at different shops
Posts: 1
Rep:
dear jsin,
I don't know what position i hold in this linux world but i recently loged on to the site.Coming to ur problem.I had the same when i tried to mount a win harddisk. but i figured it out and it worked fine.
This is what i did. i first went to the system section of the startupmenu(KDE) and opened the hardware browser. this is to find out on what position of the /dev/hd??, was my harddisk i was trying to mount was located under where the first ? stands for a character assigned by the os to my harddisk and the second ? stands for the partition number of the hardisk i did similar to that in windows (but only in numbers from 1 2 3....). Now go to any directory and creat a new folder (I preffered the /usr/win123.. ) for each number of harddisk partition u want to mount. Then there are two options either go to the terminal or the run window in startup menu and type the command which is similar in both cases.
mount -t vfat /dev/hdd1 /usr/win 1 (if hardisk is under /dev/hdd and the partition i want to mount is the hdd1)
the above is to mount a vfat file system on the hardisk of given partion number to a given created directory. I have not mounted ntfs but after reading skyline's letter i am sure u can (thanks.......... a lot pal) mount even ntfs . he is given a good explanation of things only u didn't mention that u didnt know where to find the hardisks. for the rest refer his letter for more know how. and to unmount just type umount instead of mount and there u have it walla.good luck hunting win
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.