Fedora Linux Support Community & Resources Center
  #1  
Old 4th January 2005, 12:54 PM
telmo Offline
Registered User
 
Join Date: Nov 2004
Location: Braga -Portugal
Age: 40
Posts: 107
Unhappy Error formatting partitions...

I've just reinstalled FC3 (again!) and made an error formatting the partitions manually...
I wanted an empty VFAT partition in my disk, so i accidentaly formated it in /usr/share. But i don't want it to be there! I want to use it for Windows and other OS to share files.

Can i Undo this safely? Can i move /usr/share to another place safely?

thx
__________________
Keep it simple!
Reply With Quote
  #2  
Old 4th January 2005, 09:34 PM
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 48
Posts: 8,255
Its now part of the directory so I dont think you can but I can be wrong. Now this may come handy: http://www.partimage.org/
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #3  
Old 4th January 2005, 09:49 PM
telmo Offline
Registered User
 
Join Date: Nov 2004
Location: Braga -Portugal
Age: 40
Posts: 107
Thanks anyway.
__________________
Keep it simple!
Reply With Quote
  #4  
Old 5th January 2005, 01:21 AM
james_in_denver Offline
Registered User
 
Join Date: Oct 2004
Posts: 1,227
sure you can move it.

boot into single user mode,
mount the partition under "/usr/share" normally.
make a temp directory "mkdir /usr/share2"
copy over the entire "/usr/share" folder with this "cp -rvf /usr/share/* /usr/share2"
unmount the "/usr/share" partition "umount /usr/share"
rename the temp folder we just created to "/usr/share" "mv /usr/share2 /usr/share"
make sure that all of "/usr/share" has the right permissions, "chmod -R 755 /usr/share"
make sure that root owns everything in "/usr/share", "chown -R root /usr/share"
edit your "/etc/fstab" file to NOT mount a partition on "/usr/share" (either comment out the line with the "#" at the start of the line, or just delete it.

reboot normally.

Most everything should be okay now, and you can reformat the partition.
__________________
Only dead fish go with the flow....

Hmmm, what did I miss?
Reply With Quote
  #5  
Old 5th January 2005, 02:38 AM
telmo Offline
Registered User
 
Join Date: Nov 2004
Location: Braga -Portugal
Age: 40
Posts: 107
I just did that! Thanks.
Marked as solved! lol
__________________
Keep it simple!
Reply With Quote
Reply

Tags
error, formatting, partitions

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
Error formatting dvdrw daviddoria Using Fedora 0 17th February 2009 02:16 AM
error while formatting external usb hard drive daviddoria Hardware & Laptops 0 12th November 2008 06:17 PM
Formatting partitions CopyrightPhilly Using Fedora 1 31st March 2008 09:16 AM
Help with formatting and partitions mooksta13 Using Fedora 2 30th October 2007 06:36 PM
Formatting a floppy disk error! hermouche Hardware & Laptops 0 28th March 2007 10:45 PM


Current GMT-time: 12:51 (Friday, 18-08-2017)

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