Announcement

Collapse
No announcement yet.

Can't chainloader +1 Kubuntu 8.10

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't chainloader +1 Kubuntu 8.10

    I just installed Kubuntu 8.10 and I'm trying to chainloader +1 it. I have Linux Mint installed on my boot drive (my first drive) and Kubuntu is installed on my second drive.

    When I try to chainloader +1 Kubuntu I get this error message.
    Error 13: invalid or unsupported executable format

    When I installed Kubuntu I put GRUB on hd1,0 instead of the MBR. I installed Kubuntu over OpenSUSE 11 (I formatted the partitions when I installed Kubuntu) and chainloader +1 worked fine with OpenSUSE1.

    Is there something special I need to do with Kubuntu's menu.lst or fstab? Thanks for any help.

    #2
    Re: Can't chainloader +1 Kubuntu 8.10

    #3 here.

    Comment


      #3
      Re: Can't chainloader +1 Kubuntu 8.10

      and specifically, for chainloader to work, you MUST have GRUB installed to the boot sector of Kubuntu!!! (i.e., not to the MBR of the 2nd HD, although it doesn't hurt to do so)

      So, if Kubuntu is on, say (hd1,0) ( = the second hard drive, the first partition),
      you can install GRUB to the boot sector ( = the first sector) of (hd1,0)) using these GRUB commands:

      from a Live CD
      at Konsole
      sudo grub
      grub> root (hd1,0)
      grub> setup (hd1,0)
      grub> quit
      $exit

      then, in any menu.lst, you can boot that Kubuntu using this boot stanza:

      title Kubuntu whatever
      chainloader (hd1,0)+1

      (if you are at a grub> prompt doing it, you also need the boot command:
      grub> boot )

      Installing GRUB, the link dibl gave you:
      How To GRUB Methods - Toolkit
      http://kubuntuforums.net/forums/inde...opic=3081671.0

      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

      Comment


        #4
        Re: Can't chainloader +1 Kubuntu 8.10

        Dibl and Qqmike thanks for the help. I read the links but I couldn't get anything to work.

        title Kubuntu 8.10 KDE 4
        root (hd1,0)
        chainloader +1

        That didn't work.

        This is the menu.lst Kubuntu created on hd1,0
        ## ## End Default Options ##

        title Ubuntu 8.10, kernel 2.6.27-9-generic
        uuid 4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c
        kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c ro quiet splash
        initrd /boot/initrd.img-2.6.27-9-generic
        quiet

        title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
        uuid 4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c
        kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c ro single
        initrd /boot/initrd.img-2.6.27-9-generic

        title Ubuntu 8.10, kernel 2.6.27-7-generic
        uuid 4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c
        kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c ro quiet splash
        initrd /boot/initrd.img-2.6.27-7-generic
        quiet

        title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
        uuid 4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c
        kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c ro single
        initrd /boot/initrd.img-2.6.27-7-generic

        title Ubuntu 8.10, memtest86+
        uuid 4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c
        kernel /boot/memtest86+.bin
        quiet

        ### END DEBIAN AUTOMAGIC KERNELS LIST

        # This is a divider, added to separate the menu items below from the Debian
        # ones.
        title Other operating systems:
        root


        # This entry automatically added by the Debian installer for an existing
        # linux installation on /dev/sdb1.
        title Linux Mint 5 KDE CE, kernel 2.6.24-19-generic (on /dev/sdb1)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.24-19-generic root=/dev/sda1 ro quiet splash
        initrd /boot/initrd.img-2.6.24-19-generic
        savedefault
        boot


        # This entry automatically added by the Debian installer for an existing
        # linux installation on /dev/sdb1.
        title Linux Mint 5 KDE CE, kernel 2.6.24-19-generic (recovery mode) (on /dev/sdb1)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.24-19-generic root=/dev/sda1 ro single
        initrd /boot/initrd.img-2.6.24-19-generic
        savedefault
        boot


        # This entry automatically added by the Debian installer for an existing
        # linux installation on /dev/sdb1.
        title Linux Mint 5 KDE CE, kernel memtest86+ (on /dev/sdb1)
        root (hd0,0)
        kernel /boot/memtest86+.bin
        savedefault
        boot


        I copied the entries for the Kubuntu kernel to the menu.lst on the MBR of hd0,0. I looked at the entries for Linux Mint in the menu.lst and edited the entries for Kubuntu to make them more like the entries for Linux Mint.

        This is the entry for Kubuntu from the menu.lst on hd1,0.
        title Ubuntu 8.10, kernel 2.6.27-9-generic
        uuid 4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c
        kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c ro quiet splash
        initrd /boot/initrd.img-2.6.27-9-generic
        quiet

        This is the entry from the Linux Mint menu.lst on the MBR of hd0,0.
        title Linux Mint 5 KDE CE, kernel 2.6.24-19-generic
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.24-19-generic root=/dev/sda1 ro quiet splash
        initrd /boot/initrd.img-2.6.24-19-generic

        This is the edited entry for Kubuntu in the menu.lst on hd0,0.
        title Ubuntu 8.10, kernel 2.6.27-7-generic (on /dev/sdb1)
        root (hd1,0)
        kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c ro single
        initrd /boot/initrd.img-2.6.27-7-generic
        savedefault
        boot

        So, now I can boot Kubuntu from the GRUB on hd0,0 without chainloading. The chainloading didn't work before so I gave up on that. When I tried to boot Kubuntu before editing the entry for it I got an Error 13 message.


        Comment


          #5
          Re: Can't chainloader +1 Kubuntu 8.10

          I dunno, something looks odd about your menu list entries for Kubuntu. Here's what the one that I boot looks like:

          title Ubuntu 8.10, kernel 2.6.27-7-generic
          root (hd1,0)
          kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=4ee99d57-a4e3-4381-a900-7a57cfa9eea2 ro xforcevesa quiet splash
          initrd /boot/initrd.img-2.6.27-7-generic
          Is the line

          uuid 4725f4b6-7020-44dd-8f07-3ecf6ba3bd6c
          supposed to provide the same input as the line

          root (hd1,0)
          ?

          Also, the "groot=" line in /boot/grub/menu.lst should be the same partition as the default kernel that you want to boot. So, in mine it reads like this:

          # groot=(hd1,0)

          But, if it's working for you, don't change it!

          Comment

          Working...
          X