From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VtgVQ-0002tt-Hd for mharc-grub-devel@gnu.org; Thu, 19 Dec 2013 11:31:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtgVI-0002rC-Oh for grub-devel@gnu.org; Thu, 19 Dec 2013 11:31:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtgVC-0001A2-Pm for grub-devel@gnu.org; Thu, 19 Dec 2013 11:31:16 -0500 Received: from mout.gmx.net ([74.208.4.200]:55734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtgVC-00019y-JX for grub-devel@gnu.org; Thu, 19 Dec 2013 11:31:10 -0500 Received: from mailout-us.gmx.com ([172.19.198.45]) by mrigmx.server.lan (mrigmxus001) with ESMTP (Nemesis) id 0LjZi0-1VMoej29lI-00bbWS for ; Thu, 19 Dec 2013 17:31:09 +0100 Received: (qmail 5969 invoked by uid 0); 19 Dec 2013 16:31:09 -0000 Received: from 174.119.247.117 by rms-us004 with HTTP Content-Type: multipart/alternative; boundary="========GMXBoundary94131387470667671507" Date: Thu, 19 Dec 2013 11:31:07 -0500 From: "joe fresh" Message-ID: <20131219163107.94130@gmx.com> MIME-Version: 1.0 Subject: Re: [RFC] Allow separate boot block and core.img location? To: "The development of GNU GRUB" X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 X-GMX-UID: HHrBcqFF3zOlOnh9+n8h6Vp+IGRvb4A+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 74.208.4.200 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2013 16:31:22 -0000 --========GMXBoundary94131387470667671507 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit sda1 was just an example taken from the original request:grub-install --boot-block-location=/dev/sda1 --core-img-location=/dev/sda The intent there was to install the boot block (boot.img) into the first sector of sda1, which is what my suggested workaround would have done as well. Also, if sda1 happens to be a fat or ntfs volume, this would need to be tweaked to ensure that the critical volume parameters are preserved. The assumption in both cases is that the user knows what they are doing... Cheers! ----- Original Message ----- From: Lennart Sorensen Sent: 12/19/13 09:34 AM To: The development of GNU GRUB Subject: Re: [RFC] Allow separate boot block and core.img location? On Thu, Dec 19, 2013 at 05:28:16AM -0500, joe fresh wrote: > Isn't this as simple as: > > grub-install /dev/sda > dd if=/dev/sda of=/dev/sda1 bs=512 count=1 > followed by restoring DOS MBR... ? sda1 might not like having it's first sector overwritten. -- Len Sorensen _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel --========GMXBoundary94131387470667671507 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable sda1 was= just an example taken from the original request:
grub-install --boot-block-locat=
ion=3D/dev/sda1 --core-img-location=3D/dev/sda 
The inte= nt there was to install the boot block (boot.img) into the first sector of = sda1, which is what my suggested workaround would have done as well.
A= lso, if sda1 happens to be a fat or ntfs volume, this would need to be twea= ked to ensure that the critical volume parameters are preserved.
The a= ssumption in both cases is that the user knows what they are doing...
=
Cheers!

=C2=A0

----- Original Message -----

From: Lennart Sorensen

Sent: 12/19/13 09:34 AM

To: The development of GNU GRUB

Subject: Re: [RFC] Allow separate boot block an= d core.img location?

=C2=A0
On Thu, Dec 19, 20=
13 at 05:28:16AM -0500, joe fresh wrote:=20
> Isn't this as simple as:=20
>=20
> grub-install /dev/sda=20
> dd if=3D/dev/sda of=3D/dev/sda1 bs=3D512 count=3D1=20
> followed by restoring DOS MBR... ?=20

sda1 might not like having it's first sector overwritten.=20

--=20
Len Sorensen=20

_______________________________________________=20
Grub-devel mailing list=20
Grub-devel@gnu.org=20
https://lists.gnu.org/mailman/listinfo/grub-devel

=C2=A0

 


  --========GMXBoundary94131387470667671507--