ardoRic wrote, on 14/02/08 05:20:
Hi.
I tried it and didn't exactly work.
the grub entry you are looking for is:
title Chainload Grub2
root (hd0,0) # or whatever your root is
kernel /boot/grub/core.img
savedefault
This is what i had before commenting it out, and i tried it out and works.
This doesn't work for me )-:
To reiterate, I installed grub-pc with an existing grub-legacy on Debian
unstable on a Pentium II machine:
# ls -al /boot/grub
total 676
drwxr-xr-x 2 root root 4096 2008-02-18 22:41 .
drwxr-xr-x 3 root root 4096 2008-02-13 17:02 ..
-rw-r--r-- 1 root root 2168 2007-05-08 21:27 acorn.mod
-rw-r--r-- 1 root root 4756 2007-05-08 21:27 affs.mod
-rw-r--r-- 1 root root 2512 2007-05-08 21:27 amiga.mod
-rw-r--r-- 1 root root 2652 2007-05-08 21:27 apple.mod
-rw-r--r-- 1 root root 2512 2007-05-08 21:27 bitmap.mod
-rw-r--r-- 1 root root 2040 2007-05-08 21:27 blocklist.mod
-rw-r--r-- 1 root root 512 2007-05-08 21:27 boot.img
-rw-r--r-- 1 root root 1276 2007-05-08 21:27 boot.mod
-rw-r--r-- 1 root root 1800 2007-05-08 21:27 cat.mod
-rw-r--r-- 1 root root 2232 2007-05-08 21:27 _chain.mod
-rw-r--r-- 1 root root 1640 2007-05-08 21:27 chain.mod
-rw-r--r-- 1 root root 2132 2007-05-08 21:27 cmp.mod
-rw-r--r-- 1 root root 515 2007-05-08 21:27 command.lst
-rw-r--r-- 1 root root 1816 2007-05-08 21:27 configfile.mod
-rw-r--r-- 1 root root 27193 2007-05-08 21:27 core.img
-rw-r--r-- 1 root root 4 2006-06-14 15:06 default
-rw-r--r-- 1 root root 45 2008-01-08 18:01 device.map
-rw-r--r-- 1 root root 512 2007-05-08 21:27 diskboot.img
-rw-r--r-- 1 root root 8000 2004-06-23 17:01 e2fs_stage1_5
-rw-r--r-- 1 root root 4440 2007-05-08 21:27 elf.mod
-rw-r--r-- 1 root root 4184 2007-05-08 21:27 ext2.mod
-rw-r--r-- 1 root root 4816 2007-05-08 21:27 fat.mod
-rw-r--r-- 1 root root 7728 2004-06-23 17:01 fat_stage1_5
-rw-r--r-- 1 root root 7040 2004-06-23 17:01 ffs_stage1_5
-rw-r--r-- 1 root root 2492 2007-05-08 21:27 font.mod
-rw-r--r-- 1 root root 2504 2007-05-08 21:27 fshelp.mod
-rw-r--r-- 1 root root 56 2007-05-08 21:27 fs.lst
-rw-r--r-- 1 root root 6628 2007-05-08 21:27 gfxterm.mod
-rw-r--r-- 1 root root 2744 2007-05-08 21:27 gpt.mod
-r--r--r-- 1 root root 1794 2008-02-18 22:41 grub.cfg
-rw-r--r-- 1 root root 8148 2007-05-08 21:27 gzio.mod
-rw-r--r-- 1 root root 1452 2007-05-08 21:27 halt.mod
-rw-r--r-- 1 root root 1200 2007-05-08 21:27 hello.mod
-rw-r--r-- 1 root root 1904 2007-05-08 21:27 help.mod
-rw-r--r-- 1 root root 6416 2007-05-08 21:27 hfs.mod
-rw-r--r-- 1 root root 6312 2007-05-08 21:27 hfsplus.mod
-rw-r--r-- 1 root root 5108 2007-05-08 21:27 iso9660.mod
-rw-r--r-- 1 root root 7008 2004-06-23 17:01 iso9660_stage1_5
-rw-r--r-- 1 root root 5056 2007-05-08 21:27 jfs.mod
-rw-r--r-- 1 root root 8544 2004-06-23 17:01 jfs_stage1_5
-rw-r--r-- 1 root root 31256 2007-05-08 21:27 kernel.img
-rw-r--r-- 1 root root 4788 2007-05-08 21:27 _linux.mod
-rw-r--r-- 1 root root 1492 2007-05-08 21:27 linux.mod
-rw-r--r-- 1 root root 3124 2007-05-08 21:27 loopback.mod
-rw-r--r-- 1 root root 3780 2007-05-08 21:27 ls.mod
-rw-r--r-- 1 root root 5044 2007-05-08 21:27 lvm.mod
-rw-r--r-- 1 root root 5026 2008-02-18 23:14 menu.lst
-rw-r--r-- 1 root root 4973 2008-02-18 22:32 menu.lst~
-rw-r--r-- 1 root root 4973 2008-02-18 22:32
menu.lst_backup_by_grub2_prerm
-rw-r--r-- 1 root root 4240 2007-05-08 21:27 minix.mod
-rw-r--r-- 1 root root 7232 2004-06-23 17:01 minix_stage1_5
-rw-r--r-- 1 root root 673 2007-05-08 21:27 moddep.lst
-rw-r--r-- 1 root root 5092 2007-05-08 21:27 _multiboot.mod
-rw-r--r-- 1 root root 1544 2007-05-08 21:27 multiboot.mod
-rw-r--r-- 1 root root 39376 2007-05-08 21:27 normal.mod
-rw-r--r-- 1 root root 3288 2007-05-08 21:27 pc.mod
-rw-r--r-- 1 root root 2152 2007-05-08 21:27 play.mod
-rw-r--r-- 1 root root 1024 2007-05-08 21:27 pxeboot.img
-rw-r--r-- 1 root root 4212 2007-05-08 21:27 raid.mod
-rw-r--r-- 1 root root 1184 2007-05-08 21:27 reboot.mod
-rw-r--r-- 1 root root 9472 2004-06-23 17:01 reiserfs_stage1_5
-rw-r--r-- 1 root root 3080 2007-05-08 21:27 search.mod
-rw-r--r-- 1 root root 4276 2007-05-08 21:27 sfs.mod
-rw-r--r-- 1 root root 512 2004-06-23 17:01 stage1
-rw-r--r-- 1 root root 107250 2004-06-23 17:01 stage2
-rw-r--r-- 1 root root 2468 2007-05-08 21:27 sun.mod
-rw-r--r-- 1 root root 1792 2007-05-08 21:27 terminal.mod
-rw-r--r-- 1 root root 6952 2007-05-08 21:27 terminfo.mod
-rw-r--r-- 1 root root 1580 2007-05-08 21:27 test.mod
-rw-r--r-- 1 root root 2868 2007-05-08 21:27 tga.mod
-rw-r--r-- 1 root root 7296 2004-06-23 17:01 ufs2_stage1_5
-rw-r--r-- 1 root root 4640 2007-05-08 21:27 ufs.mod
-rw-r--r-- 1 root root 2112 2007-05-08 21:27 vbeinfo.mod
-rw-r--r-- 1 root root 13860 2007-05-08 21:27 vbe.mod
-rw-r--r-- 1 root root 2988 2007-05-08 21:27 vbetest.mod
-rw-r--r-- 1 root root 3736 2007-05-08 21:27 video.mod
-rw-r--r-- 1 root root 2700 2007-05-08 21:27 videotest.mod
-rw-r--r-- 1 root root 6688 2004-06-23 17:01 vstafs_stage1_5
-rw-r--r-- 1 root root 6828 2007-05-08 21:27 xfs.mod
-rw-r--r-- 1 root root 9512 2004-06-23 17:01 xfs_stage1_5
# ls -al /usr/lib/grub/i386-pc
total 532
drwxr-xr-x 2 root root 4096 2008-02-18 22:40 .
drwxr-xr-x 3 root root 4096 2008-02-18 22:40 ..
-rw-r--r-- 1 root root 2160 2008-02-17 10:58 acorn.mod
-rw-r--r-- 1 root root 4792 2008-02-17 10:58 affs.mod
-rw-r--r-- 1 root root 2492 2008-02-17 10:58 amiga.mod
-rw-r--r-- 1 root root 2612 2008-02-17 10:58 apple.mod
-rw-r--r-- 1 root root 4572 2008-02-17 10:58 ata.mod
-rw-r--r-- 1 root root 4060 2008-02-17 10:58 biosdisk.mod
-rw-r--r-- 1 root root 2516 2008-02-17 10:58 bitmap.mod
-rw-r--r-- 1 root root 2064 2008-02-17 10:58 blocklist.mod
-rw-r--r-- 1 root root 512 2008-02-17 10:58 boot.img
-rw-r--r-- 1 root root 1276 2008-02-17 10:58 boot.mod
-rw-r--r-- 1 root root 1808 2008-02-17 10:58 cat.mod
-rw-r--r-- 1 root root 512 2008-02-17 10:58 cdboot.img
-rw-r--r-- 1 root root 2340 2008-02-17 10:58 _chain.mod
-rw-r--r-- 1 root root 1624 2008-02-17 10:58 chain.mod
-rw-r--r-- 1 root root 2128 2008-02-17 10:58 cmp.mod
-rw-r--r-- 1 root root 634 2008-02-17 10:58 command.lst
-rw-r--r-- 1 root root 1816 2008-02-17 10:58 configfile.mod
-rw-r--r-- 1 root root 3056 2008-02-17 10:58 cpio.mod
-rw-r--r-- 1 root root 1504 2008-02-17 10:58 cpuid.mod
-rw-r--r-- 1 root root 512 2008-02-17 10:58 diskboot.img
-rw-r--r-- 1 root root 1904 2008-02-17 10:58 echo.mod
-rw-r--r-- 1 root root 4420 2008-02-17 10:58 elf.mod
-rw-r--r-- 1 root root 4180 2008-02-17 10:58 ext2.mod
-rw-r--r-- 1 root root 4816 2008-02-17 10:58 fat.mod
-rw-r--r-- 1 root root 2532 2008-02-17 10:58 font.mod
-rw-r--r-- 1 root root 2488 2008-02-17 10:58 fshelp.mod
-rw-r--r-- 1 root root 75 2008-02-17 10:58 fs.lst
-rw-r--r-- 1 root root 8472 2008-02-17 10:58 gfxterm.mod
-rw-r--r-- 1 root root 2720 2008-02-17 10:58 gpt.mod
-rw-r--r-- 1 root root 8224 2008-02-17 10:58 gzio.mod
-rw-r--r-- 1 root root 1440 2008-02-17 10:58 halt.mod
-rw-r--r-- 1 root root 1200 2008-02-17 10:58 hello.mod
-rw-r--r-- 1 root root 1912 2008-02-17 10:58 help.mod
-rw-r--r-- 1 root root 2524 2008-02-17 10:58 hexdump.mod
-rw-r--r-- 1 root root 6368 2008-02-17 10:58 hfs.mod
-rw-r--r-- 1 root root 6244 2008-02-17 10:58 hfsplus.mod
-rw-r--r-- 1 root root 5108 2008-02-17 10:58 iso9660.mod
-rw-r--r-- 1 root root 5092 2008-02-17 10:58 jfs.mod
-rw-r--r-- 1 root root 6076 2008-02-17 10:58 jpeg.mod
-rw-r--r-- 1 root root 30324 2008-02-17 10:58 kernel.img
-rw-r--r-- 1 root root 4768 2008-02-17 10:58 _linux.mod
-rw-r--r-- 1 root root 1492 2008-02-17 10:58 linux.mod
-rw-r--r-- 1 root root 1024 2008-02-17 10:58 lnxboot.img
-rw-r--r-- 1 root root 3104 2008-02-17 10:58 loopback.mod
-rw-r--r-- 1 root root 3752 2008-02-17 10:58 ls.mod
-rw-r--r-- 1 root root 4068 2008-02-17 10:58 lspci.mod
-rw-r--r-- 1 root root 5016 2008-02-17 10:58 lvm.mod
-rw-r--r-- 1 root root 2128 2008-02-17 10:58 memdisk.mod
-rw-r--r-- 1 root root 4320 2008-02-17 10:58 minix.mod
-rw-r--r-- 1 root root 918 2008-02-17 10:58 moddep.lst
-rw-r--r-- 1 root root 11360 2008-02-17 10:58 _multiboot.mod
-rw-r--r-- 1 root root 1572 2008-02-17 10:58 multiboot.mod
-rw-r--r-- 1 root root 40884 2008-02-17 10:58 normal.mod
-rw-r--r-- 1 root root 3340 2008-02-17 10:58 ntfscomp.mod
-rw-r--r-- 1 root root 8300 2008-02-17 10:58 ntfs.mod
-rw-r--r-- 1 root root 852 2008-02-17 10:58 pci.mod
-rw-r--r-- 1 root root 3216 2008-02-17 10:58 pc.mod
-rw-r--r-- 1 root root 2112 2008-02-17 10:58 play.mod
-rw-r--r-- 1 root root 6100 2008-02-17 10:58 png.mod
-rw-r--r-- 1 root root 1024 2008-02-17 10:58 pxeboot.img
-rw-r--r-- 1 root root 5096 2008-02-17 10:58 raid.mod
-rw-r--r-- 1 root root 1604 2008-02-17 10:58 read.mod
-rw-r--r-- 1 root root 1184 2008-02-17 10:58 reboot.mod
-rw-r--r-- 1 root root 9508 2008-02-17 10:58 reiserfs.mod
-rw-r--r-- 1 root root 3068 2008-02-17 10:58 search.mod
-rw-r--r-- 1 root root 5544 2008-02-17 10:58 serial.mod
-rw-r--r-- 1 root root 4360 2008-02-17 10:58 sfs.mod
-rw-r--r-- 1 root root 2048 2008-02-17 10:58 sleep.mod
-rw-r--r-- 1 root root 2464 2008-02-17 10:58 sun.mod
-rw-r--r-- 1 root root 1792 2008-02-17 10:58 terminal.mod
-rw-r--r-- 1 root root 6888 2008-02-17 10:58 terminfo.mod
-rw-r--r-- 1 root root 1580 2008-02-17 10:58 test.mod
-rw-r--r-- 1 root root 2856 2008-02-17 10:58 tga.mod
-rw-r--r-- 1 root root 5056 2008-02-17 10:58 ufs.mod
-rw-r--r-- 1 root root 3021 2008-02-17 10:58 update-grub_lib
-rw-r--r-- 1 root root 2112 2008-02-17 10:58 vbeinfo.mod
-rw-r--r-- 1 root root 13996 2008-02-17 10:58 vbe.mod
-rw-r--r-- 1 root root 2988 2008-02-17 10:58 vbetest.mod
-rw-r--r-- 1 root root 3792 2008-02-17 10:58 vga.mod
-rw-r--r-- 1 root root 3996 2008-02-17 10:58 video.mod
-rw-r--r-- 1 root root 2696 2008-02-17 10:58 videotest.mod
-rw-r--r-- 1 root root 7384 2008-02-17 10:58 xfs.mod
What should be the correct lines in /boot/grub/menu.lst to start grub 2
from grub legacy?
Arthur.
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel