public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Moving root
@ 2002-03-19  1:52 Fuper
  2002-03-20  4:15 ` [gentoo-dev] Further observations on moving root Fuper
  0 siblings, 1 reply; 4+ messages in thread
From: Fuper @ 2002-03-19  1:52 UTC (permalink / raw
  To: gentoo-dev

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]



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-03-20 19:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-19  1:52 [gentoo-dev] Moving root Fuper
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox