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 500A21381FA for ; Sat, 3 May 2014 18:41:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25191E0B2E; Sat, 3 May 2014 18:41:37 +0000 (UTC) Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by pigeon.gentoo.org (Postfix) with ESMTP id 1B06BE0B21 for ; Sat, 3 May 2014 18:41:36 +0000 (UTC) Received: from [212.54.42.134] (helo=smtp3.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1WgesR-000560-Lt for gentoo-user@lists.gentoo.org; Sat, 03 May 2014 20:41:35 +0200 Received: from 53579160.cm-6-8c.dynamic.ziggo.nl ([83.87.145.96] helo=data.antarean.org) by smtp3.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1WgesR-0004hb-Ca for gentoo-user@lists.gentoo.org; Sat, 03 May 2014 20:41:35 +0200 Received: from andromeda.localnet (unknown [10.20.13.150]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id EDDE24C for ; Sat, 3 May 2014 20:41:03 +0200 (CEST) From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] boot problems Date: Sat, 03 May 2014 20:40:47 +0200 Message-ID: <2834223.fuPElFHo4d@andromeda> User-Agent: KMail/4.11.5 (Linux/3.10.25-gentoo; KDE/4.11.5; x86_64; ; ) In-Reply-To: <4501961.7xILSQu8oi@wstn> References: <5364C0F9.3000906@xunil.at> <7731849.eMA4RVPVz5@andromeda> <4501961.7xILSQu8oi@wstn> 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: 7Bit Content-Type: text/plain; charset="us-ascii" X-Ziggo-spambar: ---- X-Ziggo-spamscore: -4.8 X-Ziggo-spamreport: ALL_TRUSTED=-1,BAYES_00=-1.9,PROLO_TRUST_RDNS=-3,RDNS_DYNAMIC=0.982,TW_LV=0.077 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Archives-Salt: d74349de-090d-4787-b0b1-b6aecbab9911 X-Archives-Hash: 546b1c4b877c1574419a2857e501d9d3 On Saturday, May 03, 2014 06:09:21 PM Peter Humphrey wrote: > On Saturday 03 May 2014 14:17:53 J. Roeleveld wrote: > > With genkernel, I have a lvm and mdadm boot parameter. > > With dracut, that might also be necessary. > > > > I would prefer the initramfs to do it automagically without extra > > parameters. > > Hope I'm not butting in here, but... > > Although I don't run systemd nor do I have an initramfs, the grub.conf entry > for my LVM2 setup is just these two lines: > > title=Gentoo Linux 3.12.13 > kernel /boot/kernel-x86_64-3.12.13-gentoo root=/dev/md5 > net.ifnames=0 That works with metadata=0.9 when creating the raid-1 device and not having " / " on LVM. I only have /boot on a raid-1 with metadata=0.9. All the other partitions are LVs with the lvm layer ontop of a raid-0. (no important data is stored locally on the desktop machines) > I've noticed several times (often much to my annoyance before I discovered > what to do about it*) that starting of the raid arrays is automatic, > apparently done by the kernel though I could be wrong about that. In fact I > was astonished to find not long ago that I'd been running for a year or two > with neither lvm2 nor mdraid installed! Something must have handled the LVM part. Afaik, there is no kernel auto- detect for LVM. > * SystemRescueCD and the Gentoo minimal installation CD both start any raid > arrays they find and apply their own names to them. It is then impossible, > or so I thought, to resume an interrupted installation process. Of course, > all I had to do was "mdadm --stop /dev/md127" etc. Yes, I noticed that annoyance myself. I would much prefer it to default to more logical names. -- Joost