public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Moving root filesystem to a new partition
@ 2009-11-23 20:35 Alan E. Davis
  2009-11-23 20:51 ` Alex Schuster
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Alan E. Davis @ 2009-11-23 20:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]

Can someone tell me what steps are necessary to move the / filesystem to a
new partition?  I recall someone helping me with this before, but cannot
find the email.  The oldest of three drives on my system had my / partition,
/dev/sdc1.  One day recently, that partition became inaccessable.  After
quickly installing Ubuntu on a different drive, that root partition
eventually showed up again.

So I've been able to boot Gentoo again off the separate /boot partition on
/dev/sda1.  I need to move that / partition.  I have several other
partitions mounted off this one, mainly as /usr and maybe /usr/local/, and
some storage partitions mounted to my home directory.

I copied the root (/) partition with the new partition at /dev/sdb5 mounted
as /newroot, using
    # cp -ax / /newroot

I checked that /proc, /dev, and /sys are there, and empty.  I recall there
are some other steps necessary.  I changed /etc/fstab, and the grub2
grub.cfg from ubuntu, the entry for this kernel.  The boot stalls at a
certain point.

May I ask what steps are necessary to do this?

Thank you,

Alan Davis

[-- Attachment #2: Type: text/html, Size: 1157 bytes --]

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

end of thread, other threads:[~2009-11-29 17:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 20:35 [gentoo-user] Moving root filesystem to a new partition Alan E. Davis
2009-11-23 20:51 ` Alex Schuster
2009-11-23 22:51 ` Dale
2009-11-24  0:54   ` Francisco Ares
2009-11-24  2:31     ` Dale
2009-11-27  0:59       ` Alan E. Davis
2009-11-24 17:39 ` Peter Humphrey
2009-11-25 17:19   ` daid kahl
2009-11-25 20:56   ` [gentoo-user] " walt
2009-11-27 11:08     ` Peter Humphrey
2009-11-29  8:26       ` daid kahl
2009-11-29 13:02         ` Peter Humphrey
2009-11-29 17:29           ` Marcus Wanner

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