Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MrTLk-0003mB-W3 for mharc-grub-devel@gnu.org; Sat, 26 Sep 2009 05:13:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MrTLi-0003lP-EN for grub-devel@gnu.org; Sat, 26 Sep 2009 05:13:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MrTLc-0003kP-TH for grub-devel@gnu.org; Sat, 26 Sep 2009 05:13:49 -0400 Received: from [199.232.76.173] (port=39874 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrTLc-0003kI-GJ for grub-devel@gnu.org; Sat, 26 Sep 2009 05:13:44 -0400 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:53823) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MrTLb-00054p-KQ for grub-devel@gnu.org; Sat, 26 Sep 2009 05:13:44 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1MrTLb-0006DH-1P for grub-devel@gnu.org; Sat, 26 Sep 2009 09:13:43 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1MrTLa-0002MA-00; Sat, 26 Sep 2009 10:13:42 +0100 Date: Sat, 26 Sep 2009 10:13:41 +0100 From: Colin Watson To: The development of GRUB 2 Message-ID: <20090926091338.GW13423@riva.ucam.org> References: <20090926085720.GV13423@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Protection of boot sector and embedded area X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2009 09:13:50 -0000 On Sat, Sep 26, 2009 at 10:07:41AM +0100, James Courtier-Dutton wrote: > 2009/9/26 Colin Watson : > > At the moment, this is a recipe for GRUB becoming unusable, as the > > interface between the core image and grub.cfg is not yet stable. As > > such, I expect that the Ubuntu package will be changing to make this > > harder to do by accident. > > I suppose I have a special case. > My HD already has a custom boot sector and embedded area doing > something else. So I cannot install grub there at all. > I am currently installing grub onto a usb stick and booting Linux from > the usb stick, with the usb stick just doing the grub bit for me. > I want to make sure that if I do automatic upgrades in ubuntu, it will > never accidentally wipe the custom boot sector and embedded areas of > my HD. > I will manually do grub-install to update the grub on my usb stick. In future I hope that it'll be possible to tell the package to use the USB stick in a way which is safe - i.e. it definitely won't use the hard disk. Of course, it might object to the USB stick going missing ... In any case, run 'sudo dpkg-reconfigure grub-pc' and make sure no devices are selected for the "GRUB install devices:" question. -- Colin Watson [cjwatson@ubuntu.com]