Coin, I tried to use GRUB2 on a real system, but it reboots after the welcome message. I'm using an IBM T43 laptop with XFS partitions (with no separate /boot partition).
Then, i tried to debug using grub-emu and here is the traceback when running with the "--root-device='(hd0)'" option: Program received signal SIGSEGV, Segmentation fault. 0x0805d290 in grub_device_open (name=0x0) at kern/device.c:39 39 if (*name == '\0') (gdb) bt #0 0x0805d290 in grub_device_open (name=0x0) at kern/device.c:39 #1 0x08060630 in grub_file_open (name=0x807e060 "/boot/grub/grub.cfg") at kern/file.c:74 #2 0x08068568 in read_config_file (config=0x807e060 "/boot/grub/grub.cfg") at normal/main.c:215 #3 0x08068a7b in grub_normal_execute (config=0x807e060 "/boot/grub/grub.cfg", nested=1) at normal/main.c:462 #4 0x08049a1c in grub_cmd_configfile (state=0x809bd38, argc=1, args=0x809ce18) at commands/configfile.c:38 #5 0x080602ff in grub_script_execute_cmdline (cmd=0x809cde4) at normal/execute.c:156 #6 0x0806000e in grub_script_execute_cmd (cmd=0x809cde4) at normal/execute.c:34 #7 0x080603d8 in grub_script_execute_cmdblock (cmd=0x809cde4) at normal/execute.c:185 #8 0x0806000e in grub_script_execute_cmd (cmd=0x809ce04) at normal/execute.c:34 #9 0x08060505 in grub_script_execute (script=0x809bd98) at normal/execute.c:249 #10 0x08066ff5 in grub_command_execute (cmdline=0x807cd60 "configfile /boot/grub/grub.cfg", interactive=1) at normal/command.c:216 #11 0x080662ff in grub_cmdline_run (nested=0) at normal/cmdline.c:163 #12 0x08068ad7 in grub_normal_execute (config=0x809bcc8 "(hd0)/boot/grub/grub.cfg", nested=0) at normal/main.c:476 #13 0x080686bb in grub_enter_normal_mode (config=0x809bcc8 "(hd0)/boot/grub/grub.cfg") at normal/main.c:275 #14 0x08068b4c in grub_rescue_cmd_normal (argc=0, argv=0x0) at normal/main.c:498 #15 0x08064f3c in attempt_normal_mode () at kern/rescue.c:600 #16 0x08064f5a in grub_enter_rescue_mode () at kern/rescue.c:620 #17 0x08061c3f in grub_main () at kern/main.c:134 #18 0x0806ebf7 in main (argc=Cannot access memory at address 0x8d4 ) at util/grub-emu.c:209 Hope this helps :-). -- Marc Dequènes (Duck)
pgpCgOJCTUNr9.pgp
Description: PGP signature
_______________________________________________ Grub-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel
