home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.mandriva      Somewhat decent but also getting bloated      29,919 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,979 of 29,919   
   unruh to grimble   
   Re: Moving /usr to a new partition   
   07 Feb 13 17:13:11   
   
   From: unruh@invalid.ca   
      
   On 2013-02-07, grimble  wrote:   
   > On 06/02/13 22:37, Aragorn wrote:   
   > ...   
   >> I would suggest the following...  First, drop down to single-user   
   >> maintenance mode, i.e. runlevel 1 [*].  At this point, you are the root   
   >> user - you may need to supply the root password, depending on the   
   >> security level settings for your local system.   
   >>   
   >> A trick I've picked up from "The Definitive Guide To Mandrake Linux 9.2"   
   >> is to use the following command, provided that the new filesystem is   
   >> mounted where you say it is. ;-)   
   >>   
   >>      (cd /usr && tar cf - .) | (cd /newusr && tar xpvf -)   
   > Thanks for your reply, Aragorn. After investigating a few systemctl   
   > isolate and start commands, I started the tar process in single user mode.   
   >   
   > A fairly disasterous outcome, I'm sorry to say. The tar process started   
   > to throw "insufficient space"  and "can't perform mkdir" messages. I   
      
      
   It sounds to me like you forgot to mount the new partition on /newusr   
   and were filling up your / directory. Which is a disaster. And since you   
   did it as root, you filled everything up totally and completely leaving   
   no room for even root to log in. Youwill need a live CD. I think you   
   will discover that /newusr on the old / directory is full.   
      
   > can't find any reference to tar using temporary files, and in single   
   > user mode, I couldn't see any obvious temp files.   
      
   It should not. It is a pipe. The data that goes inone end should be   
   extracted from the other by the other tar.   
      
   > I deleted a few MBs from /tmp and restarted; now I get to the graphical   
   > login screen but my password isn't recognised (nor can I log in as   
      
   Log in as single usr, NOT in graphical login.   
      
   On lilo it is   
   linux 1   
   at the boot prompt ( hit esc when it asks what you want to boot to)   
   On grub I do not know.   
      
   > postgres, which has no password). So I'm about to boot from a Live Disk   
   > to see what I can see.   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca