From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 28117138C9D for ; Tue, 28 Apr 2015 15:30:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8AC8E0AC2; Tue, 28 Apr 2015 15:30:42 +0000 (UTC) Received: from gw2.antarean.org (gw2.antarean.org [141.105.125.208]) by pigeon.gentoo.org (Postfix) with ESMTP id 9A37EE0A93 for ; Tue, 28 Apr 2015 15:30:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id 54B5C121546 for ; Tue, 28 Apr 2015 15:29:30 +0000 () X-Virus-Scanned: amavisd-new at antarean.org Received: from gw2.antarean.org ([127.0.0.1]) by localhost (gw2.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RE00k4s0iSOp for ; Tue, 28 Apr 2015 15:29:24 +0000 (%Z) Received: from data.antarean.org (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id B86C2121435 for ; Tue, 28 Apr 2015 15:29:24 +0000 () Received: from [10.112.127.118] (unknown [62.72.192.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id CB3F24B for ; Tue, 28 Apr 2015 17:29:52 +0200 (CEST) In-Reply-To: <553F45DC.7040409@xunil.at> References: <55390666.8070607@xunil.at> <55392A08.1050109@xunil.at> <14301216.nVGI4ympLF@andromeda> <553F45DC.7040409@xunil.at> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [gentoo-user] Re: remote installation, dual boot From: "J. Roeleveld" Date: Tue, 28 Apr 2015 17:30:30 +0200 To: gentoo-user@lists.gentoo.org Message-ID: <5188AE18-865E-4857-807A-9ED76E815BBF@antarean.org> X-Archives-Salt: d5299e5c-5207-4353-8c33-ada562d55ea2 X-Archives-Hash: f44d25e9c304f45f81cc279639491966 On 28 April 2015 10:33:32 CEST, "Stefan G. Weichinger" wrote: >On 24.04.2015 13:56, J. Roeleveld wrote: > >>> dracut has to assemble /dev/md3 at first (this is the single PV in >the >>> VG VG01) >>> >>> and /dev/VG01/genroot then is the filesystem with the new >gentoo-rootfs >>> >>> I only added stuff like rd.md=1 etc ... I think I got the assembling >>> wrong. And maybe even the root= option. >> >> This is one of the reasons why I have given up on genkernel and >dracut for >> initramfs creation and now simply build my own and have it integrated >into the >> kernel: >> $ zcat /proc/config.gz | grep INITRAMFS_SOURCE >> CONFIG_INITRAMFS_SOURCE="/usr/src/initramfs/config" >> >> If you're interested I will send you the required files. > >Yes, I am. > >I looked at generating it via dracut and get confused a bit. > >I try to generate it on another gentoo-host by editing a specific >dracut.conf whic contains the md-related lines: > >kernel_cmdline+=" rd.md.uuid=6a6226ed:87d41201:76269125:1a17f6a4" >kernel_cmdline+=" rd.md.uuid=2d6cd278:5f966c0f:ac5ed5c3:5a0bb8f5" >kernel_cmdline+=" rd.md.uuid=b492f31d:96bfca88:8cd97590:ad997d2c" >kernel_cmdline+=" rd.md.uuid=e848b637:ca2bde73:9f92f3cc:128cdbad" > >(to assemble the raid-arrays at boot) > > >I run > >dracut -m "lvm mdraid bash" -c dracut.conf -f init2.img 3.18.9-gentoo > > >and it ends with: > >*** Store current command line parameters *** >Stored kernel commandline: > rd.md.uuid=6a6226ed:87d41201:76269125:1a17f6a4 >rd.md.uuid=2d6cd278:5f966c0f:ac5ed5c3:5a0bb8f5 >rd.md.uuid=b492f31d:96bfca88:8cd97590:ad997d2c >rd.md.uuid=e848b637:ca2bde73:9f92f3cc:128cdbad > root=UUID=6eafd21c-c5f4-496d-bb90-ab4dc0a2c93c >rootflags=rw,noatime,stripe=64,data=ordered rootfstype=ext4 >*** Creating image file *** >*** Creating image file done *** > > >... so the root= is looked up from the host I run the command on and >not fitting the target machine ... etc etc > >hmm > >Does root= inside the grub-config override these lines? > >Should I use > >dracut --no-hostonly-cmdline ? > >Way too much variables in here ... especially when I can't just press >Reset and try again. > >Stefan I sent my files on a seperate thread last weekend. Did you see those? -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.