Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- To chainload a Windows OS: (on partition 2 of drive 0)
- # Entry (5) WinOS
- menuentry "WinOS" {
- insmod chain
- insmod ntfs
- set root=(hd0,2)
- chainloader +1
- }
- To chainload grub on a different partition:
- # Entry (3) TinyCore - Test
- menuentry "TC-Test" {
- insmod chain
- set root=(hd0,7)
- chainloader +1
- }
- You should not have do an insmod 'filesystem' if it is any ext2,ext3,ext4
- Otherise include insmod filesystem.mod after insmod chain, where 'filesystem' is one of the following:
- affs,afs,afs_be,befs,befs_be,btrfs,cpio,ext2,fat,hfs,hfsplus,iso9660,
- jfs,minix,minix2,nilfs2,ntfs,pxe,reiserfs,sfs,tar,udf,ufs1,ufs2,xfs,zfs
Advertisement
Add Comment
Please, Sign In to add comment