Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: [SOLVED] sabayon fried my bootloader

  1. #1
    Join Date
    Jun 2007
    Location
    AU
    Beans
    590
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    [SOLVED] sabayon fried my bootloader

    ok, so i wanted to install sabayon on my "safe" pc (the one i dont experiment on), figuring that i know how to use sabayon well enough to stay clear of any trouble...

    WRONG!
    During the installation i added my ubuntu as my default boot option, and probably got the path wrong or something like that; since booting sabayon works fine, but booting ubuntu gives the following output:
    rootnoverify (hd0,1)
    chainloader +1
    Error 13: Invalid or unsupported executable format
    My ubuntu installation is still intact, so the bootloader is the only problem. I just followed a guide from the forums on how to reinstall your grub from a livecd, and guess what, nothin happened.

  2. #2
    Join Date
    Sep 2006
    Location
    Calgary, Canada
    Beans
    4,394
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: sabayon fried my bootloader

    You need a line that says 'title' above the root line. You probably don't need the rootnoverify either. I just use root for chainloading distros.

  3. #3
    Join Date
    Jun 2007
    Location
    AU
    Beans
    590
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: sabayon fried my bootloader

    say what?

    ..... so what exactly should i do to get this up and running again, i know how to edit the sabayon grub entries.... but didnt quite understand what you said i should add

  4. #4
    Join Date
    Sep 2006
    Location
    Calgary, Canada
    Beans
    4,394
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: sabayon fried my bootloader

    OK, post your grub.conf and we'll figure it out.

  5. #5
    Join Date
    Jun 2007
    Location
    AU
    Beans
    590
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: sabayon fried my bootloader

    voilà
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You do not have a /boot partition. This means that
    # all kernel and initrd paths are relative to /, eg.
    # root (hd0,2)
    # kernel /boot/kernel-genkernel real_root=UUID=cdab712a-5058-4f37-b7c5-8128e5047950
    # initrd /boot/initramfs-genkernel
    #boot=sda
    default=1
    timeout=6
    splashimage=(hd0,2)/boot/grub/splash.xpm.gz
    title Sabayon Linux x86-64 3.4
    root (hd0,2)
    kernel /boot/kernel-genkernel-x86_64-2.6.22-sabayon root=/dev/ram0 ramdisk=8192 real_root=UUID=cdab712a-5058-4f37-b7c5-8128e5047950 quiet init=/linuxrc splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 pci=nomsi
    initrd /boot/initramfs-genkernel-x86_64-2.6.22-sabayon
    title Ubuntu
    rootnoverify (hd0,1)
    chainloader +1
    title Other
    rootnoverify (hd1,0)
    chainloader +1

  6. #6
    Join Date
    Jun 2007
    Location
    AU
    Beans
    590
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: sabayon fried my bootloader

    soooo....?

  7. #7
    Join Date
    Jul 2005
    Location
    2 exits past crazy
    Beans
    4,222
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: sabayon fried my bootloader

    Do you plan to keep using Sabayon on that machine? If so, boot Sabayon then mount your ubuntu partition. Look at the menu.lst in the boot/grub directory of your mounted ubuntu partition. Copy the first entry from that file and add it to your grub.conf (or menu.lst whichever sabayon uses) in your Sabayon's /boot/grub directory.

    If you don't wish to keep Sabayon, post the output of running "fdisk -l" and tell us which of the listed partitions contains your ubuntu system.

  8. #8
    Join Date
    Nov 2006
    Beans
    1,298

    Re: sabayon fried my bootloader

    In Sabayon, or a live CD, mount your ubuntu partition and copy the grub/menu.lst part over to your Sabayon grub file.

    eg:

    1) mkdir /home/yourname/Desktop/here
    2) sudo mount /dev/hda2 /home/yourname/Desktop/here

    Then scoot through the 'here' folder to the /boot/grub/menu.lst file -- and copy the relevant stanza over.

  9. #9
    Join Date
    Jun 2006
    Location
    ga
    Beans
    426

    Re: sabayon fried my bootloader

    Try changing the Ubuntu section to this:
    Code:
    title           Ubuntu, kernel 2.6.20-16-generic
    root            (hd0,1)
    kernel          /boot/vmlinuz-2.6.20-16-generic root=UUID=cdab712a-5058-4f37-b7c5-8128e5047950 ro quiet splash
    initrd          /boot/initrd.img-2.6.20-16-generic
    savedefault
    Make sure you save backups of Grub before you take anyone's advice.
    The moon will illuminate my room and soon I'm consumed by my doom.

  10. #10
    Join Date
    Jun 2007
    Location
    AU
    Beans
    590
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: sabayon fried my bootloader

    ok hope this works....

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •