From: yue315012-grub2@yahoo.com.cn
To: Grub-devel@gnu.org
Subject: the order of the modules when create core image
Date: Mon, 17 Nov 2008 15:22:19 +0800 (CST) [thread overview]
Message-ID: <917276.21692.qm@web15701.mail.cnb.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]
Hi, all,
I don't know which mail list should I send this question to, so I send to here. Hope somebody will help me.
I create a MD raid0 in my VirtualBox that has two virtual disks (I create the Virtual PC according to my old PC.) Each disk has 2 partitions, one for raid, one for swap. no LVM on the raid0. and I want to use grub2 on it.
I got the src from svn 2008-11-11. and compiled it successfully. But when I install it with
grub-install --modules=mdraid /dev/hda, the grub2 can't enter into normal mode. With ls command, it don't show the md1 device.
So I changed the module order in grub-install when create core image, move the $module to after biosdisk, and install again, the it shows the md1device.
I think that I made the change in the grub-install is not a good idea, I want to know whether there is a better way to change the order of the modules when create or load the core.img.
BTW, how to debug the main.c in kern directory? If use grub-dprintf, I can't see all the debug info because the text scrolls too fast. Do you have better method?
Thanks
From Cola
___________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/
[-- Attachment #2: Type: text/html, Size: 1521 bytes --]
next reply other threads:[~2008-11-17 7:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 7:22 yue315012-grub2 [this message]
2008-11-22 20:00 ` the order of the modules when create core image Robert Millan
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=917276.21692.qm@web15701.mail.cnb.yahoo.com \
--to=yue315012-grub2@yahoo.com.cn \
--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.