From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RB6cu-0007GN-9Q for garchives@archives.gentoo.org; Tue, 04 Oct 2011 15:09:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A329021C273; Tue, 4 Oct 2011 15:09:29 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id BC9F421C2D6 for ; Tue, 4 Oct 2011 15:08:17 +0000 (UTC) Received: by wyf19 with SMTP id 19so770697wyf.40 for ; Tue, 04 Oct 2011 08:08:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=lSXeP8sUjQjwzRL+/+whm37YxpZk5nHl1pbypUlRwZg=; b=Q370bUeNgWyVwf/wnApedTja34ikI8zW7Pe29mIfoFrf6MCisQDDMVRMhqSdgiyV6s i29lDwPte/bnp3rAWes9LwmyBrPSwfwVGojvpa3oqzEawoqbfPWFqSbiOqy+u52DI9Ey q/X78/la/BNgF+VzMeZbfZg2dld5eu2V/Cw4c= 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 Received: by 10.216.183.70 with SMTP id p48mr1488165wem.109.1317740896925; Tue, 04 Oct 2011 08:08:16 -0700 (PDT) Received: by 10.216.132.80 with HTTP; Tue, 4 Oct 2011 08:08:16 -0700 (PDT) In-Reply-To: References: <4E8AD6C4.7070901@gmail.com> <20111004110746.395635e0@zaphod.digimed.co.uk> Date: Tue, 4 Oct 2011 08:08:16 -0700 Message-ID: Subject: Re: [gentoo-user] Re: Is grub2 stable and who uses it? From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 0de5b88be1836d05c36fa5eb554f8f13 On Tue, Oct 4, 2011 at 7:35 AM, Grant Edwards w= rote: > On 2011-10-04, Neil Bothwick wrote: >> On Tue, 04 Oct 2011 04:49:56 -0500, Dale wrote: >> >>> Subject line says it pretty well. =C2=A0Is grub2 stable, who uses it an= d can >>> you post your experience on the switching process? =C2=A0Was it difficu= lt? >> >> I use it on my netbook, which I admittedly don't boot more than a couple >> of times a month. It's stable, I can't comment on the switching process >> as I used GRUB2 from the start with this machine, it seemed a good time >> to get to grips with it. >> >> GRUB2 is neither complicated nor difficult, but it is different. > > I've only used it on Ubuntu, and maybe it's just Ubuntu's > implementation -- but it was both complicated and difficult. =C2=A0There > are 10X as many files, and to change anything you edit a whole set of > configuration files and run a utility that generates _another_ set of > configuration files. > > Compared to "vi /boot/grub/menu.lst; reboot", that's complicated. > >> If you try to think in terms of legacy GRUB, you will have more >> problems than if you approach is as learning a new system. > > At first glace, grub2 looks like a minature Unix installation whose > purpose is to boot a bigger Unix installation. =C2=A0It's got it's own in= it > system and it's own set of init scripts. That it's not true. It connects to whatever init system do you have (OpenRC, SysV, systemd, Upstart), and it has scripts to *generate* the config file. The thing is that GRUB2 needs to understand several filesystems to grab the kernel image from. It also wants to be able to use a more interesting resolution than 640x480. This means that it has to reimplement all the code for any filesystem, and all the code for video handling. The scripts are for semi automatic generation of the config file, which is more complicated than the one from grub-legacy. On the other hand, you only need to configure once, and run it every time you compile and put a new kernel in /boot. But if you just change your current kernel (same image file), you don't have to do anything. Note that the version is 1.99, not 2.0. It is not finished: when 2.0 is reached, hopefully you will be able to disableat ./configure time what video drivers and filesystems do you want to use. Also, the scripts to generate the config file will be standardized by then. However, in the last LPC, it was suggested that replicating filesystem and video code on the kernel and grub was a terrible idea, and some developers have suggested to use a /firstboot partition with a simple filesystem, and populated with a kernel image and an initramfs. That will mean that to boot Linux, we would use Linux. You can read an article about it here: http://lwn.net/Articles/458789/ It was only a proposal: I don't know what will be the standard in the futur= e. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico