public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fuper <futurist@directvinternet.com>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Moving root
Date: Mon, 18 Mar 2002 19:52:15 -0600	[thread overview]
Message-ID: <20020319015020.344272015D8D@chiba.3jane.net> (raw)

Tomorrow I'm taking the LPI 101 certification exam but tonight I'm feeling
stupid because I'm not sure how to move the root partition under Gentoo
Linux.  It's the devfs that confuses me.  

I replicated the / partition onto a new SCSI partition using 
   star -c /etc | star -x -C /mnt/partition
and so forth.  I replicated /dev this same way.

Of course I edited the /etc/fstab file on the new root.

when I first booted the new partition I noticed a message
at the end, after executing my /etc/runlevels/default/local
script, complaining that
   cat:  mounts  # no such file or directory
I looked at /sbin/rc and saw there that it contains a line
to "cat mounts" which I changed to "cat /proc/mounts".
The error message is no longer produced, but in 
checking the mounted filesystems I see that I now have
a "new" filesystem that I didn't have before.  I.e.
# df -h
   /dev/sdb1    471M   153M   293M   35%   /
   none           471M    153M  293M   35%  /dev

What the heck is this "none" device mounted at /dev??

Q:  is the "cat mounts" command in /sbin/rc an error?
Q:  how should I properly populate /dev on a new 
    root partition?
Q:  what can explain the "none" filesystem mounted
   at my new /dev

[I'm still booting the old root partition until I understand
what's going on]



             reply	other threads:[~2002-03-19  1:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-19  1:52 Fuper [this message]
2002-03-20  4:15 ` [gentoo-dev] Further observations on moving root Fuper
2002-03-20 17:55   ` Martin Schlemmer
2002-03-20 19:10     ` Christian HOFFMANN

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=20020319015020.344272015D8D@chiba.3jane.net \
    --to=futurist@directvinternet.com \
    --cc=gentoo-dev@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