LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 10-25-2003, 03:45 PM   #1
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
need help with mount points!


ok so i have a win XP and suse 8.2 dual boot.
now i wanted to transfer some of my windows HD space to linux...so i used partition magic to unallocate space from the XP partition and then i used suse's partitioner to allocate that space as an EXT 3 format at the mount point /usr. now i know i messed up somewhere here...'cause apparently all my executables are not working incuding the console terminal.
is there neway i can fix this?i might as well add that my X is not working either so i am using only the console now.
thanks
 
Old 10-25-2003, 03:57 PM   #2
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
I'm not sure exactly what you did but I'm thinking maybe you're mounting a new empty partition over /usr. To see if this is the case you can use the command mount with no arguments. You will see a list of mounted filesystems. If you see the new partition being mounted at /usr then that is indeed what is happening. If so you can try the command (as root) :

# umount /usr

With luck you'll have your files back.

If this is works you should then edit your /etc/fstab file and comment out (initial #) the line mounting the new partition at /usr.

Tim
 
Old 10-26-2003, 04:23 PM   #3
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
If you made it a new partition with the label (mount-point)/usr you probably did just as the above post suggests. If you know the partition number of the new partition, you can umount it as /dev/hdXx. This would be "safer" than using a volume name. Then e2label the partition to something else--say /usr2-- if you are planning to extend or copy /usr to it.

If it refuses to umount because it is busy, boot up to the partition magic and relabel the volume. Then, you will have to edit /etc/fstab (check /etc/mtab as well).

After changing the label on the volume you may want to reformat it to be sure everything is OK. That is, unless you already put some new files in there.

There should be no damage to the existing /usr unless you did something you didn't say.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
two mount points for same hardware? cadkins Linux - Newbie 4 04-15-2004 10:54 PM
help with mount points rmanocha Linux - Software 12 10-26-2003 02:32 PM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 06:48 AM
Mount Points? Mr_Floppy4 Linux - General 2 10-14-2002 11:03 PM
mount points... Jeffrey Linux - General 6 02-24-2001 01:09 PM


All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration