From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1d2L1l-0007gG-4E for mharc-grub-devel@gnu.org; Sun, 23 Apr 2017 13:10:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2L1i-0007g8-7i for grub-devel@gnu.org; Sun, 23 Apr 2017 13:10:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2L1e-0001a9-Tc for grub-devel@gnu.org; Sun, 23 Apr 2017 13:10:22 -0400 Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]:35467) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2L1e-0001Zb-Ol for grub-devel@gnu.org; Sun, 23 Apr 2017 13:10:18 -0400 Received: by mail-io0-x231.google.com with SMTP id r16so155258298ioi.2 for ; Sun, 23 Apr 2017 10:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=XPfqcU37wR5I6Mw8hhyC+ymQ5yeCNM+cT8ILmC89O1U=; b=L6dt2dShfYpRztKBGzbxAMGzfUQCnInDiXINSjImkyGUt/hTo6Mk9scvFTQNE214Xc Zd54ECzGItdbfAZor3t+xLzEzUKunhPVdAKhUQXLHsYAYyAi+r8OFImHG7l0ukP1Tx/Q antFmEyQ87M/HQgDkdv9pzELfvpQnm6PmeY/WhBhhLUEN7b6ZmP7Am/hNJUs+l3Avn50 za6bjgckHW3hmRiAF76bdyrTd1zGUaQOgkyWwNBLmXFtC6sKIcYNs7t5iviLwe3qKyxX FtQzyrXtWGUrzaFOETIvP2VOHIm/5Q/kvHmrVRdk+Js1WSEfUoFg9KO6N6TV9G3EJEcK 5ecw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=XPfqcU37wR5I6Mw8hhyC+ymQ5yeCNM+cT8ILmC89O1U=; b=uchbZGe2Vjyb5jwEMixQlQG+suGn595mTmZvufUdEwj8IMcbIQnD1Jo2NdQ+xdIxmp 27uJcOHZGHv8PxpQ4x+sAZpWdySJT4eHFmRQsx5rkg/DqWb4yCwAiSwg9RTpkucIYMbb zZQ16vLUzp96Ru3ipDYx4YZKjSvnS2Mg812x2cdVZOJw9vInJgSOj/fErtiZEAV23PBX yG27GNIPdEbf3+wF7BklfvdofapjAk5CXb7iUjdAgMs10OdxKpughdBWqk8U2oIOk9b7 M96TR6Xztg00zBCGraxf3c+1a+wZ334+cSH6p0Z0icSS8MFQO607xb/ms6/iiWyPwTJD YPPQ== X-Gm-Message-State: AN3rC/5Q/L9zOTWKtQ/Xq2KhK63txjuKm16fB7eb+W5C1lUxnbiydp+I xlvti7C5romr3D2A X-Received: by 10.157.1.2 with SMTP id 2mr12011767otu.168.1492967416387; Sun, 23 Apr 2017 10:10:16 -0700 (PDT) Received: from [192.168.0.76] (cpe-70-123-251-100.satx.res.rr.com. [70.123.251.100]) by smtp.gmail.com with ESMTPSA id d198sm7106397oig.20.2017.04.23.10.10.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Apr 2017 10:10:15 -0700 (PDT) Subject: Re: grub2-common: grub.cfg gains wrong root settings for multi-OS system To: The development of GNU GRUB References: <21df0a9e-3270-25d0-f05c-1b4e1c426a0c@gmail.com> <4d48cdcb-78aa-b1da-054f-2a50463a8995@gmail.com> From: Bruce Dubbs Message-ID: <58FCDFF7.9030203@gmail.com> Date: Sun, 23 Apr 2017 12:10:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <4d48cdcb-78aa-b1da-054f-2a50463a8995@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::231 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2017 17:10:23 -0000 Andrei Borzenkov wrote: > 23.04.2017 08:43, Ralph Ronnquist пишет: >> For all installs, I made it mount /dev/sda1 at /boot but only the >> first install formatted it. > > Shared /boot never worked reliably. With or without grub. Sorry. It works perfectly if you don't use grub-mkconfig. For those using multiple kernels/partitions, grub.config can be quite simple to maintain with an editor. http://www.linuxfromscratch.org/lfs/view/stable/chapter08/grub.html That page shows a 7 line grub.cfg. For a new system you only need to add: menuentry "New title" { linux / root=/dev/ ro } An initrd line is only needed if you need an initial ram disk. You do need to keep a backup as distros always want to overwrite grub.cfg by running grub-mkconfig. -- Bruce