Re: [gentoo-user] Re: Moving root filesystem to a new partition
On 11/29/2009 8:02 AM, Peter Humphrey wrote: On Sunday 29 November 2009 08:26:36 daid kahl wrote: I went for Xfce and have been quite happy. Things run even faster now! Yes, I'm just installing it on my home server to replace KDE. Looks quite usable now, though it wasn't a few years ago when I last tried it. This desktop might even find itself running Ubuntu. Now there's an about-face! Check out lxde, it's actually lightweight. Xfce4 is not light enough for my desktop: 2ghz pentium 4, 256mb ram. Lxde runs great, though! Marcus
Re: [gentoo-user] Re: Moving root filesystem to a new partition
On Sunday 29 November 2009 08:26:36 daid kahl wrote: > I went for Xfce and have been quite happy. Things run even faster > now! Yes, I'm just installing it on my home server to replace KDE. Looks quite usable now, though it wasn't a few years ago when I last tried it. This desktop might even find itself running Ubuntu. Now there's an about-face! -- Rgds Peter
Re: [gentoo-user] Re: Moving root filesystem to a new partition
> I'm going through a transient at the moment, having more-or-less given up on > trying to keep KDE-3 and not being ready for KDE-4 (or vice-versa). I've > been trying a few other distros, and even Gnome (shows what a parlous state > Gentoo's in; I couldn't imagine ever considering Gnome six months ago). Maybe not in line with the OP, but I had the same issue last month with using kde3 and needing to switch. I tried kde4, but my video card is garbage and I didn't want to tinker to find the reason X was so slow I went for Xfce and have been quite happy. Things run even faster now! ~daid
Re: [gentoo-user] Re: Moving root filesystem to a new partition
On Wednesday 25 November 2009 20:56:23 walt wrote: > Okay, I just can't resist asking this nosy question: Why do you need to > restore from backup "often"? I'm going through a transient at the moment, having more-or-less given up on trying to keep KDE-3 and not being ready for KDE-4 (or vice-versa). I've been trying a few other distros, and even Gnome (shows what a parlous state Gentoo's in; I couldn't imagine ever considering Gnome six months ago). So I've had cause several times to change my disk layout, and although it consumes time the easy way is to make a backup and then restore to the new layout. This is a toy box, after all. If I can't fiddle with it when I feel like it, what's the point of having it? :-) On the other hand, I suspect a hardware problem of causing k3b:4 to be unable to find the CD drives, the BIOS to report 2992MB RAM instead of 4096 and several BIOS settings to have been changed without my knowledge. That's driving me towards considering replacing the whole system. It's six years old now so it doesn't owe me anything. In the end I may revert to something like my original Gentoo layout and stay with it. -- Rgds Peter
[gentoo-user] Re: Moving root filesystem to a new partition
On 11/24/2009 09:39 AM, Peter Humphrey wrote: On Monday 23 November 2009 20:35:34 Alan E. Davis wrote: Can someone tell me what steps are necessary to move the / filesystem to a new partition? Just restore your latest backup to the new partition, then edit /etc/fstab to specify the proper layout. Easy - I do it often. Okay, I just can't resist asking this nosy question: Why do you need to restore from backup "often"?
[gentoo-user] 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 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 >