From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Alternative booting method for grub2
Date: Sun, 9 Sep 2007 13:27:43 +0200 [thread overview]
Message-ID: <20070909112743.GA29114@thorin> (raw)
In-Reply-To: <20070608040212.GA2257@ws3.vdp.com>
Works wonders. I'm using it with win32-loader [1] [2], and plans are that
this will make it to official Debian CDs/DVDs for the next major release.
I wonder if it can create a "grub.com" executable like the one grub4dos had,
so that it's possible to load GRUB directly on a Win9x without rebooting or
messing with MBR.
[1] http://packages.debian.org/sid/win32-loader
[2] http://goodbye-microsoft.com/
On Fri, Jun 08, 2007 at 12:02:12PM +0800, Bean wrote:
> It's possible to boot grub2 using the grub4dos boot loader.
>
> 1. create a kernel:
>
> grub-mkimage -d . -o core.img pc fat ntfs
>
> make sure you include the necessary file system driver.
>
> 2. add a header to core.img.
>
> cat g2hdr.bin core.img > g2ldr
>
> g2hdr.bin can be found in the grubutil package.
>
> 3. copy g2ldr to the root directory of any FAT/NTFS/EXT2 partition, and extra modules to /boot/grub/ in the same partition.
>
> 4. install the grub4dos boot loader.
>
> You need grubinst, which can be downloaded at:
>
> http://download.gna.org/grubutil/
>
> The latest build is grubutil-1.1-bin-w32-15.zip.
>
> 1) Boot using the Windows NT boot manager
>
> Generate boot file with grubinst:
>
> grubinst -2 -o C:\g2ldr.mbr
>
> Then add a line to boot.ini:
>
> C:\g2ldr.mbr="GRUB2"
>
> This is the safest method, no modification to MBR or boot sector is required.
>
> 2) Install to MBR
>
> grubinst -2 --save=mbr.sav (hd0)
>
> Be careful, backup important data before install to MBR.
>
> 3) Install to boot sector
>
> grubinst -2 --save=bs.sav (hd0,0)
>
> or
>
> grubinst -2 --save=bs.sav -p=0 (hd0)
>
> Be careful, backup important data before install to boot sector.
>
> Currently, grub4dos boot loader support FAT, NTFS and EXT2.
>
> The advantage of using grub4dos boot loader is that the location of g2ldr is calculated at boot time, this means you can move it without causing problem.
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
next prev parent reply other threads:[~2007-09-09 11:28 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-08 4:02 Alternative booting method for grub2 Bean
2007-06-09 5:37 ` Variable assignment not working as expected Bean
2007-06-09 7:01 ` Alex Roman
2007-06-09 7:24 ` Alex Roman
2007-06-09 8:44 ` Alex Roman
2007-06-09 15:08 ` Alex Roman
2007-06-09 10:54 ` Bean
2007-06-09 15:31 ` Marco Gerards
2007-06-09 16:35 ` Alex Roman
2007-06-09 16:56 ` Marco Gerards
2007-06-09 15:29 ` Marco Gerards
2007-09-09 11:27 ` Robert Millan [this message]
2011-07-19 10:41 ` Alternative booting method for grub2 김민준
2011-07-19 11:08 ` 김민준
2011-07-20 0:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
[not found] ` <22991850.525.1311095881463.JavaMail.mobile-sync@vbbfs23>
2011-07-19 17:32 ` Jérôme Poulin
2011-07-19 23:36 ` 김민준
2011-07-20 0:45 ` Cui Lei
2011-07-20 1:39 ` 김민준
2011-07-20 2:39 ` Cui Lei
2011-07-20 9:43 ` 김민준
2011-07-20 14:16 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-07-21 1:01 ` Cui Lei
2011-07-22 1:36 ` 김민준
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070909112743.GA29114@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.