Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th June 2005, 10:43 PM
92b16vx Offline
Registered User
 
Join Date: Jun 2005
Location: Texas
Age: 41
Posts: 676
Help removing some stuff

Ok, I reinstalled FC4 on a brand new 80G, and started getting things like they were But I messed something up during mounting my Windows and external NTFS drives. When I open Windows it goes to my external (even thoguh in properties it says /dev/hda1) and my external just sits there and thinks, but never opens. I want to start over and unmount everything, but when I try to unmount my windows, I get this
[error]Could not unmount device.
The reported error was:
umount: it seems /mnt/windows is mounted multiple times[/error]

I have tried...., but I can't seem to get the right command...
Code:
[john@localhost ~]$ -e /mnt/johnsHDD
bash: -e: command not found
[john@localhost ~]$ delete /mnt/johnsHDD
bash: delete: command not found
[john@localhost ~]$ remove /mnt/johnsHDD
bash: remove: command not found
What do I need to do to roll back teh clock to where I "mkdir /mnt/windows" for the first time?


And I also need to know how to remove the jre1.5.0_04 files I moved into opt because for some reason Java didn't take, and I want to start over, but it just keeps using the same file, and not overwriting it.
__________________
Windows 7 x64 | Ubuntu | i7 920 | EVGA x58 E758 | HIS HD 6870 | 12GB RAM | 6TB Storage

Last edited by 92b16vx; 27th June 2005 at 10:52 PM.
Reply With Quote
  #2  
Old 27th June 2005, 11:17 PM
92b16vx Offline
Registered User
 
Join Date: Jun 2005
Location: Texas
Age: 41
Posts: 676
I know why Java didn't take, when I added the file to my browser, I didn't replace the i386 to i586 and didn't change jre1.5.0_03 to jre1.5.0_04...silly me. But it still won't let remove the old ones.
__________________
Windows 7 x64 | Ubuntu | i7 920 | EVGA x58 E758 | HIS HD 6870 | 12GB RAM | 6TB Storage
Reply With Quote
  #3  
Old 27th June 2005, 11:36 PM
92b16vx Offline
Registered User
 
Join Date: Jun 2005
Location: Texas
Age: 41
Posts: 676
I have now tried

-r
rm
rm -f
rm-fr
rmdir
all for /mnt/windows

I haven't tried on the opt directory because I don't know if this is a good idea.
Nothing works because it is still being used

Code:
[root@localhost ~]# rmdir /opt/jre1.5.0_04
rmdir: `/opt/jre1.5.0_04': Directory not empty
[root@localhost ~]# rmdir -p  /opt/jre1.5.0_04/parent/child
rmdir: `/opt/jre1.5.0_04/parent/child': No such file or directory
[root@localhost ~]# rmdir -p /opt/jre1.5.0_04
rmdir: `/opt/jre1.5.0_04': Directory not empty
[root@localhost ~]# rmdir -p /opt/jre1.5.0_04/*
rmdir: `/opt/jre1.5.0_04/bin': Directory not empty
rmdir: `/opt/jre1.5.0_04/CHANGES': Not a directory
rmdir: `/opt/jre1.5.0_04/COPYRIGHT': Not a directory
rmdir: `/opt/jre1.5.0_04/javaws': Directory not empty
rmdir: `/opt/jre1.5.0_04/lib': Directory not empty
rmdir: `/opt/jre1.5.0_04/LICENSE': Not a directory
rmdir: `/opt/jre1.5.0_04/man': Directory not empty
rmdir: `/opt/jre1.5.0_04/plugin': Directory not empty
rmdir: `/opt/jre1.5.0_04/README': Not a directory
rmdir: `/opt/jre1.5.0_04/THIRDPARTYLICENSEREADME.txt': Not a directory
rmdir: `/opt/jre1.5.0_04/Welcome.html': Not a directory
[root@localhost ~]# rmdir -p /opt/jre1.5.0_04/parent*
rmdir: `/opt/jre1.5.0_04/parent*': No such file or directory
Still there
__________________
Windows 7 x64 | Ubuntu | i7 920 | EVGA x58 E758 | HIS HD 6870 | 12GB RAM | 6TB Storage

Last edited by 92b16vx; 27th June 2005 at 11:42 PM.
Reply With Quote
  #4  
Old 27th June 2005, 11:44 PM
92b16vx Offline
Registered User
 
Join Date: Jun 2005
Location: Texas
Age: 41
Posts: 676
And here is my /etc/fstab
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
/dev/devpts             /dev/pts                devpts  gid=5,mode=620  0 0
/dev/shm                /dev/shm                tmpfs   defaults        0 0
/dev/proc               /proc                   proc    defaults        0 0
/dev/sys                /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/hda1 /mnt/windows auto gid=500,umask=002,noexec,nosuid 0 0
/dev/sdb1 /mnt/johnsHDD auto gid=500,umask=002,noexec,nosuid 0 0
/dev/sda1               /media/MINIHDD          vfat    pamconsole,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto    pamconsole,exec,noauto,managed 0 0
/dev/hdd                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
/dev/hdc                /media/cdrecorder1      auto    pamconsole,exec,noauto,managed 0 0
I don't know, looks right to me.
__________________
Windows 7 x64 | Ubuntu | i7 920 | EVGA x58 E758 | HIS HD 6870 | 12GB RAM | 6TB Storage
Reply With Quote
  #5  
Old 28th June 2005, 12:10 AM
VN-Frank Offline
Registered User
 
Join Date: Jun 2005
Location: Viet Nam
Posts: 118
I suggest, go sleep and clear your mind first.

Tomorrow the first thing you do: review your own 4 postings

(this is unreal....)
Reply With Quote
  #6  
Old 28th June 2005, 12:17 AM
92b16vx Offline
Registered User
 
Join Date: Jun 2005
Location: Texas
Age: 41
Posts: 676
I am wide awake thanks though, if you can see what my problem is, than please post it, if not....whatever
__________________
Windows 7 x64 | Ubuntu | i7 920 | EVGA x58 E758 | HIS HD 6870 | 12GB RAM | 6TB Storage
Reply With Quote
  #7  
Old 28th June 2005, 12:44 AM
brianmsu80 Offline
Registered User
 
Join Date: Aug 2004
Location: Michigan
Posts: 182
I guess I don't understand what you are trying to do...

to remove a directory:
rm -rf /mnt/windows
rm -rf /mnt/johnsHDD


to unmount, force unmount, where /dev/hda is the device you are trying to unmount, df -h and mount
umount /dev/hda
umount /dev/hda -l


Is that what you are looking for?
Reply With Quote
  #8  
Old 28th June 2005, 12:45 AM
brianmsu80 Offline
Registered User
 
Join Date: Aug 2004
Location: Michigan
Posts: 182
Quote:
umount /dev/hda -l
..where the ending is a lowercase L
-l
Reply With Quote
  #9  
Old 28th June 2005, 01:10 AM
92b16vx Offline
Registered User
 
Join Date: Jun 2005
Location: Texas
Age: 41
Posts: 676
Quote:
Originally Posted by brianmsu80
I guess I don't understand what you are trying to do...

to remove a directory:
rm -rf /mnt/windows
rm -rf /mnt/johnsHDD


to unmount, force unmount, where /dev/hda is the device you are trying to unmount, df -h and mount
umount /dev/hda
umount /dev/hda -l


Is that what you are looking for?
Force unmount might have worked, boot I just reinstalled.

I had tried rm -rf /mnt/windows but it told me it couldn't do it, I was forgetting the force unmount option.

What I was trying to do was get rid of the java install, because I screwed up and was copy pasting from teh how to, I changed the first two parts, but not the last when you actually add it to Firefox, so it wasn't working, but I couldn't get the files to remove to let me reinstall the right way.

And the NTFS issue, I was trying to mount my Windows and external, both of which are NTFS, but I mounted /mnt/windows an extra time by mistake when adding the external, so when I was trying to unmount it to go back, I couldn't. Thanks for your response though, I'll remember the force unmount if sopmethinglike this happens again. It sucks trying to read through a bunch of PDFs to find how to do one thing.
__________________
Windows 7 x64 | Ubuntu | i7 920 | EVGA x58 E758 | HIS HD 6870 | 12GB RAM | 6TB Storage
Reply With Quote
  #10  
Old 28th June 2005, 02:16 AM
brianmsu80 Offline
Registered User
 
Join Date: Aug 2004
Location: Michigan
Posts: 182
I guess I also don't understand how you "mounted something an extra time". You shouldnt need to reinstall for some drive mount points. Just comment out the line in /etc/fstab by putting a # at the beginning, and rebooting or mount -a to sync fstab.
Reply With Quote
Reply

Tags
removing, stuff

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
need 32-bit stuff for 64-bit F7 indietrash Using Fedora 1 24th November 2007 05:19 PM
Help with yp stuff. nivis Using Fedora 0 26th August 2005 08:18 PM
gyum/yum question about removing stuff marknewlyn Using Fedora 4 1st June 2005 09:34 PM
Okay, Where's My Stuff? i feel stupid Using Fedora 5 29th November 2004 04:06 PM
I got all this stuff and I don't know what's going on! leaded Using Fedora 7 21st June 2004 05:10 AM


Current GMT-time: 14:18 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat