Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

Re: Moving root filesystem to a new partition [SOLVED]

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


lngndvs at gmail

Nov 23, 2009, 12:48 PM

Post #1 of 1 (140 views)
Permalink
Re: Moving root filesystem to a new partition [SOLVED]

I found the email from some years ago, advising to bind mount / and copy
/dev to the new partition from the bind mounted / partition. It worked
again this time. Thank you again.

Alan

On Tue, Nov 24, 2009 at 6:35 AM, Alan E. Davis <lngndvs [at] gmail> wrote:

> 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
>

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.