From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4OLBLMO032053 for ; Tue, 24 May 2005 21:11:22 GMT Received: from [67.188.97.211] (c-67-188-97-211.hsd1.ca.comcast.net[67.188.97.211]) by comcast.net (rwcrmhc12) with ESMTP id <2005052421112001400sr1lte>; Tue, 24 May 2005 21:11:20 +0000 Message-ID: <42939879.1050608@comcast.net> Date: Tue, 24 May 2005 14:11:21 -0700 From: Jim Northrup User-Agent: Mozilla Thunderbird 1.0 (X11/20050112) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] i have an idea ! (erescue) ro-overlays References: <200505151718.06501.vapier@gentoo.org> <1116192710.8413.6.camel@TesterBox.tester.ca> <1116251834.14448.77.camel@cgianelloni.nuvox.net> <1116290915.10849.8.camel@TesterBox.tester.ca> <1116348700.14290.32.camel@cgianelloni.nuvox.net> <428A2AEA.40001@gentoo.org> <1116352313.14290.34.camel@cgianelloni.nuvox.net> In-Reply-To: <1116352313.14290.34.camel@cgianelloni.nuvox.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 0512f111-8e2c-4d05-bfd5-763821d75982 X-Archives-Hash: 5e8067faa56e12bde9c5bf3332aeff93 I had smashing success migratingraid volumes to a new motherboard by building a readonly loopback boot-cd rootfs volume, and using cp -sr /mnt/rescue /mnt/newroot before building stage2,3; with minor /etc grumbling, the system bootstrapped flawlessly while still borrowing a few sensitive static utils where combinations of kernel, gcc and libc could otherwise wreak havoc I'm very happy with new GUID-based volume mounting and more stable raid tools, but a CF-based or initrd root available when /lib goes to hell is an absolute must for supporting fault tolerance. Chris Gianelloni wrote: >On Tue, 2005-05-17 at 10:33 -0700, Donnie Berkholz wrote: > > >>-----BEGIN PGP SIGNED MESSAGE----- >>Hash: SHA1 >> >>Chris Gianelloni wrote: >> >> >>>A much better approach would be for there to be a rescue build, >>>completely independent of the stages, since it doesn't need to mirror >>>them in any way. It should be extracted (self-extracted?) to something >>>like /rescue and executed from there, being completely self-contained. >>>This keeps it from stomping on system files and breaking >>>collision-protect or doing anything else nasty like hosing configuration >>>files (ever made the mistake of extracting a stage onto a live >>>filesystem?) when unpacked. >>> >>> >>This sounds a lot like saying, use an initrd, but when you pivot roots >>to the live filesystem, leave it mounted somewhere. >> >> > >Kinda... This wouldn't require a reboot, though. When the user is done, >they simply rm -rf /rescue and their system is clean again. > > -- gentoo-dev@gentoo.org mailing list