Re: replacing /usr with a new mountpoint



Hi,

On 5/3/07, Douglas Allan Tutty <dtutty@xxxxxxxxxxxxx> wrote:
Somewhere in the debian documentation is a warning that after going to
single-user mode a return to multi-user is not guaranteed to work.

too bad i'm trying to do all of that without actually rebooting (more
a matter of "because it should be possible" not a requirement)

Reboot into single user (with the -s option if there isn't a grub menu
item already) so that you know noting under /usr is being used, mv /usr
to /oldusr, fix fstab so that the new usr mounts on /usr, then shutdown
-r. Of course be careful not to use any binaries that reside under
/usr. Stick wit straight bash and other stuff under /bin. Use the full
path to make sure.

all of this is done and the system already works with the new /usr
mountpoint I'd just like to regain the space without rebooting - to be
honest this is the whole point of this exercise.

Of course, you can do all this under a live CD. I've only recently
acquired a computer that can even run a live CD so I never feel the
need.

Interesting point of view, running all from a live cd and don't
actually install an OS if i understand you correctly.

And of course ensure that you have good backups before you start.

naahh, backups are for wimps :)

--
Martin Marcher
martin.marcher@xxxxxxxxx
http://www.mycorners.com
https://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
http://www.studivz.net/profile.php?ids=9f83ea8c5996b8ec
http://www.amazon.de/gp/registry/wishlist/3KDAGCL2NKOIM/ref=reg_hu-wl_goto-registry/302-4432803-5146435?ie=UTF8&sort=date-added


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: replacing /usr with a new mountpoint
    ... single-user mode a return to multi-user is not guaranteed to work. ... a matter of "because it should be possible" not a requirement) ... mountpoint I'd just like to regain the space without rebooting - to be ...
    (Debian-User)
  • Re: microsoft vs opensource
    ... like a short answer that concerns the content/heart of this matter. ... deem accurate, Steef, which is why I withdrew from it. ... David Palmer. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: What causes bad inodes?
    ... a line that basically tells it to go into single-user mode? ... that, fix the issue, then reboot into normal multiuser mode. ... you can do 'sudo telinit 1' and drop into the same single-user ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: IPW3945 With Etch
    ... and I receive an eth1 with wireless properties. ... matter what I set my AP to I can't connect to it. ... I would use WPA if I were you, WEP is broken and easily cracked. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: What causes bad inodes?
    ... Single-user mode on Debian still gives you mounted filesystems and you ... can't run fsck on a filesystem that is mounted rw. ... have invented LiveCDs for Linux. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)