From: John Stanley <jpsinthemix@verizon.net>
To: grub-devel@gnu.org
Subject: status grub2 port of grub-legasy map command
Date: Mon, 13 Apr 2009 21:03:55 -0400 [thread overview]
Message-ID: <49E3E0FB.1070907@verizon.net> (raw)
Hi all,
I was wondering what the current status of a grub2 port of the grub-0.97
"map" and "rootnoverify" commands is? I have found some work done to
this end in the "drivemap.patch" work, but I find nothing more recent
than drivemap.patch.8 dated around Aug 2008.
I have taken drivemap.patch.8 and made a few updates so that it builds
and works, at least partially, in grub2-r2101. I build "homebrew" linux
systems for my laptops (thinkpads) and desktops and on several of them I
have a 2nd hd installed in the cd-bay with Windows XP. For dual booting,
I've been using grub legasy w/o problems using:
title Windows XP
rootnoverify (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
For grub2-r2101, I use:
### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
menuentry "Microsoft Windows XP" {
drivemap (hd0) (hd1)
set root=(hd1,1)
chainloader --force +1
}
When I use drivemap as above, on booting Windows I get the message:
unaligned pointer 0x76697264
Aborted. Press any key to exit
I then simply hit "enter," and Windows begins to boot. So, the mapping
works, I do have dual-booting with Windows not on the (bios) first
drive, but mm.c complains about an unaligned pointer.
Could anyone give me any pointers/direction on what might be happening
here? Could it be that the "norootverify"-functionality of grub-legasy
is lacking here? Or, perhaps, that the "--force" option is not being
honored ?
Any help/suggestions/related-info would be greatly appreciated.
Thus far, I have not been able to get a Windows boot using the "-s"
switch of drivemap , e.g., "drivemap -s (hd0) (hd1)" as this results in
a grub Abort, followed by a reboot.
John
next reply other threads:[~2009-04-14 0:03 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-14 1:03 John Stanley [this message]
2009-04-14 7:33 ` status grub2 port of grub-legasy map command Felix Zielcke
2009-04-14 9:21 ` John Stanley
2009-04-14 9:04 ` phcoder
2009-04-15 8:55 ` John Stanley
2009-04-15 9:06 ` phcoder
2009-04-15 9:30 ` John Stanley
2009-04-15 9:34 ` phcoder
2009-04-17 21:20 ` Javier Martín
2009-04-17 21:42 ` Vladimir Serbinenko
2009-04-17 23:12 ` John Stanley
2009-04-17 23:46 ` Vladimir Serbinenko
2009-04-18 0:01 ` John Stanley
2009-04-18 2:18 ` Javier Martín
2009-04-18 2:36 ` Vladimir Serbinenko
2009-05-03 0:02 ` Javier Martín
2009-05-03 9:17 ` Vladimir 'phcoder' Serbinenko
2009-05-03 19:45 ` Pavel Roskin
2009-05-03 20:59 ` Pavel Roskin
2009-05-03 23:37 ` Javier Martín
2009-05-04 3:57 ` Pavel Roskin
2009-05-06 18:41 ` Javier Martín
2009-05-09 9:17 ` Vladimir 'phcoder' Serbinenko
2009-05-09 13:27 ` Javier Martín
2009-05-09 14:04 ` Vladimir 'phcoder' Serbinenko
2009-05-09 15:42 ` Javier Martín
2009-05-10 11:47 ` Vladimir 'phcoder' Serbinenko
2009-05-10 17:03 ` Javier Martín
2009-05-14 1:51 ` Pavel Roskin
2009-05-14 6:49 ` Vladimir 'phcoder' Serbinenko
2009-05-14 14:03 ` Pavel Roskin
2009-05-14 15:01 ` Vladimir 'phcoder' Serbinenko
2009-05-14 18:17 ` Pavel Roskin
2009-05-14 18:38 ` Vladimir 'phcoder' Serbinenko
2009-05-15 22:46 ` Javier Martín
2009-05-30 15:28 ` Vladimir 'phcoder' Serbinenko
2009-05-31 10:01 ` Javier Martín
2009-05-31 11:36 ` Vladimir 'phcoder' Serbinenko
2009-05-31 12:48 ` Javier Martín
2009-05-31 16:00 ` Vladimir 'phcoder' Serbinenko
2009-05-31 16:26 ` Javier Martín
2009-05-31 18:05 ` Vladimir 'phcoder' Serbinenko
2009-05-31 18:50 ` Javier Martín
2009-05-31 19:00 ` Vladimir 'phcoder' Serbinenko
2009-05-31 19:35 ` Christian Franke
2009-05-31 20:13 ` Javier Martín
2009-06-01 9:53 ` Vladimir 'phcoder' Serbinenko
2009-06-01 20:41 ` Javier Martín
2009-06-01 21:45 ` Vladimir 'phcoder' Serbinenko
2009-06-04 18:56 ` Vladimir 'phcoder' Serbinenko
2009-06-05 13:55 ` Vladimir 'phcoder' Serbinenko
2009-06-05 14:06 ` Javier Martín
2009-05-14 6:53 ` Vladimir 'phcoder' Serbinenko
2009-05-14 14:11 ` Pavel Roskin
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=49E3E0FB.1070907@verizon.net \
--to=jpsinthemix@verizon.net \
--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.