{"id":266,"date":"2013-08-21T07:35:07","date_gmt":"2013-08-21T07:35:07","guid":{"rendered":"http:\/\/neosmart.net\/kb\/?page_id=266"},"modified":"2013-09-06T10:08:38","modified_gmt":"2013-09-06T15:08:38","slug":"linux","status":"publish","type":"page","link":"https:\/\/neosmart.net\/wiki\/easybcd\/neogrub\/linux\/","title":{"rendered":"NeoGrub Linux"},"content":{"rendered":"<h2>Adding a Linux Entry to NeoGrub<\/h2>\n<p>NeoGrub is especially useful when it comes to adding a *nix-based operating system to the Windows Vista\/7\/8 bootloader without ever having to install GRUB or Lilo anywhere &#8211; not to the bootsector and most certainly not to the MBR either.<\/p>\n<p>Sample menu.lst for booting into Ubuntu (compatible with almost all other Linux distros too, though):<\/p>\n<pre># NeoSmart NeoGrub Bootloader Configuration File\r\n#\r\n# This NeoGrub menu.lst file should be located at \\NST\\menu.lst of the boot drive.\r\n# Please see the EasyBCD Documentation for information on how to create\/modify entries\r\n\r\ntitle Ubuntu\r\nfind --set-root \/boot\/vmlinuz-2.6.17-10-generic\r\nkernel \/boot\/vmlinuz-2.6.17-10-generic ro root=\/dev\/sda2\r\ninitrd \/boot\/initrd.img-2.6.17-10-generic<\/pre>\n<p>Given the sample file above, NeoGrub would display a menu with one entry (Ubuntu). When you select Ubuntu from the NeoGrub list, it&#8217;ll try to find the second partition of the second hard drive, and boot from it.<\/p>\n<p>You&#8217;ll need to change a couple of things (everything in red) to make this work on your machine though:<\/p>\n<ol>\n<li>Replace all occurrences of\u00a0<code>2.6.17-10-generic<\/code>\u00a0with your current kernel. You can either browse through the \/boot\/ folder and find the right number, or use the\u00a0<code><a href=\"http:\/\/www.mediacollege.com\/cgi-bin\/man\/page.cgi?topic=uname\">uname<\/a><\/code>\u00a0command in Linux.<\/li>\n<li>Replace\u00a0<code>\/dev\/sda2<\/code>\u00a0with the correct name for your &#8220;\/&#8221; partition. See our document on\u00a0<a href=\"https:\/\/neosmart.net\/wiki\/easybcd\/drive-letters-and-disk-numbers\/\">drive letters and numbers<\/a>\u00a0for more info.<\/li>\n<\/ol>\n<p>Since NeoGrub uses GRUB as the base framework, you can refer to the\u00a0<a href=\"http:\/\/www.gnu.org\/software\/grub\/manual\/html_node\/\">official GRUB documentation<\/a>\u00a0for help with any specific syntax issues. Any code that works in GRUB will work in NeoGrub without a problem. However, you cannot use code from NeoGrub in GRUB, since NeoGrub has a couple more features not available in the vanilla GRUB code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding a Linux Entry to NeoGrub NeoGrub is especially useful when it comes to adding a *nix-based operating system to the Windows Vista\/7\/8 bootloader without ever having to install GRUB or Lilo anywhere &#8211; not to the bootsector and most certainly not to the MBR either. Sample menu.lst for booting into Ubuntu (compatible with almost [&hellip;]<\/p>\n","protected":false},"author":505,"featured_media":0,"parent":262,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-266","page","type-page","status-publish","hentry"],"aioseo_notices":[],"jetpack_shortlink":"https:\/\/wp.me\/P3SlTq-4i","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/pages\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/users\/505"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/comments?post=266"}],"version-history":[{"count":2,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/pages\/266\/revisions"}],"predecessor-version":[{"id":1320,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/pages\/266\/revisions\/1320"}],"up":[{"embeddable":true,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/pages\/262"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/media?parent=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}