public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sergio Polini <sp_rm_it@yahoo.it>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] moving /usr
Date: Fri, 10 Mar 2006 19:49:52 +0100	[thread overview]
Message-ID: <200603101949.52686.sp_rm_it@yahoo.it> (raw)
In-Reply-To: <5bdc1c8b0603100943r6639e727nbf68b0e1760bc140@mail.gmail.com>

Mark Knecht:
> Well...I did my best, but it wasn't good enough. The machine no
> longer boots to any level that a user could use. I'm told there are
> lots of messages on the screen about being unable to find files.
> (/usr/bin, /usr/sbin sort of things...)

That happened to me too ;-)
But the reason was quickly clear: I had deleted /usr instead 
of /usr/*!
Remember:

> 9. delete the old /usr directory to free the unused space:
> cd /mnt/something/usr
> rm -rf *
> NB: do not delete /usr itself, just its contents, as /usr is the
> mount point for the new partition;

Let us suppose that your /etc/fstab looks like:

/dev/hda1 /boot <type> <opts> <dump/pass>
/dev/hda2 / <type> <opts> <dump/pass>
/dev/hda3 /usr <type> <opts> <dump/pass>

The first and simplest try: reboot from a livecd, then:

mount /dev/hda2 /mnt/something
ls /mnt/something/usr

If /mnt/something/usr doesn't exist, then:

mkdir /mnt/something/usr
reboot

You could check that the new /usr partition is there, before 
rebooting:

mount /dev/hda3 /mnt/something_else
ls /mnt/something_else

The old /usr contents should be there. Why not?
So, if your reboot doesn't work, reboot again from a livecd and 
check /etc/fstab.

Let me/us know!

Sergio
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-03-10 19:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-10 15:43 [gentoo-user] moving /usr Sergio Polini
2006-03-10 17:43 ` Mark Knecht
2006-03-10 17:56   ` Alexander Skwar
2006-03-10 18:05   ` Eric Bliss
2006-03-10 11:17     ` Josh Helmer
2006-03-10 18:39       ` Eric Bliss
2006-03-10 18:43         ` John Jolet
2006-03-10 18:49   ` Sergio Polini [this message]
2006-03-10 19:37     ` Mark Knecht
2006-03-11 18:36       ` Mark Knecht
  -- strict thread matches above, loose matches on Subject: below --
2006-03-10 14:53 Mark Knecht
2006-03-10 15:04 ` Ghaith Hachem
2006-03-10 16:16 ` Hemmann, Volker Armin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200603101949.52686.sp_rm_it@yahoo.it \
    --to=sp_rm_it@yahoo.it \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox