ABN 25 173 915 011 markomedia - web development

markomedia - web development

  • Home
  • Contact
  • Blog

2010 October

  • markomedia
    • 2010
      • October
Share |
  • October 5, 2010

    Load kernel and boot your system with GRUB2

    Author
    Marko Tomic

    I installed a new verison of Ubuntu Lucid Lynx the other day on a brand new formatted hard drive.  Installation went smoothly as you’d expect, but when I rebooted the server I was stuck on GRUB menu (my worst nightmare).  The server just wouldn’t load the operating system and typing ‘boot’ in GRUB gave me a No Loded Kernel error.

    I tried re-installing, re-formating, various GRUB commands and nothing worked.  Thankfully, I found a solution on a lengthy GRUB2 documentation page.  In summary, I had to tell GRUB to boot from the most recent kernel and this is the way to do it:

    set root=(hdX,Y)
    linux /vmlinuz root=/dev/sdXY ro
    initrd /initrd.img
    boot

    Remember to specify correct X,Y values. For example, GRUB counts the first hard drive as 0, the first partition as 1. If your Ubuntu system is on sda1, enter set root=(hd0,1). You can list your partitions in GRUB2 using “ls” command.

    Marko

    Top

    Navigation

    • Home
    • Contact
    • Blog

    Archives

    • February 2012
    • January 2012
    • December 2011
    • November 2011
    • October 2011
    • September 2011
    • August 2011
    • July 2011
    • May 2011
    • December 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009

    From the blog

    • IE6, IE7, IE8, & IE9 on OS X in Virtual Machine

    • opendiff and FileMerge on OS X

    • Bandwidth throttling on OS X

    • bash script useful tips

    • apr_sockaddr_info_get() failed for mydomain.com

    About us

    Marko Tomic - Web professional and an Adobe Certified Expert with over 10 years of commercial experience using variety of technologies.

    Connect

    Facebook icon Twitter icon Email icon RSS icon