From: "Alan E. Davis" <lngndvs@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Moving root filesystem to a new partition
Date: Tue, 24 Nov 2009 06:35:34 +1000 [thread overview]
Message-ID: <7bef1f890911231235q4bae0adfgcb6c881cf97e1aef@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2009-11-23 22:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-23 20:35 Alan E. Davis [this message]
2009-11-23 20:51 ` [gentoo-user] Moving root filesystem to a new partition 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
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=7bef1f890911231235q4bae0adfgcb6c881cf97e1aef@mail.gmail.com \
--to=lngndvs@gmail.com \
--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