All of lore.kernel.org
 help / color / mirror / Atom feed
* the order of the modules when create core image
@ 2008-11-17  7:22 yue315012-grub2
  2008-11-22 20:00 ` Robert Millan
  0 siblings, 1 reply; 2+ messages in thread
From: yue315012-grub2 @ 2008-11-17  7:22 UTC (permalink / raw)
  To: Grub-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-22 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-17  7:22 the order of the modules when create core image yue315012-grub2
2008-11-22 20:00 ` Robert Millan

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.