Grub not showing in Lubuntu-OpenELEC dual boot
I'm building an HTPC from an old desktop computer. My plan was to dual-boot LUBUNTU and openELEC. Being kind of new to Linux, I've been working over a week on this project and now I'm stuck. I've followed the instruction from (the 4.1 "old" section) to the letter. My Lubuntu worked very well, then install OpenELEC which also work very well, but my Grub interface is not showing up. Since I've install OpenELEC, I don't have access to Lubuntu anymore.
I've reinstall/repair grub with a live cd following: but it didn't help. I've look around online but most people having this problem are dual booting Windows, which I don't.
Here is some info:
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 293083135 293081088 139.8G 83 Linux
/dev/sda2 293083136 298942463 5859328 2.8G 82 Linux swap / Solaris
/dev/sda3 480204800 488396799 8192000 3.9G 83 Linux
/dev/sda4 298942464 480204799 181262336 86.4G 83 LinuxMy Lubuntu is on sda1 and my OpenELEC System is on sda3. The 40_custom file:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "OpenELEC.tv" { set root=(hd0,3) linux /KERNEL boot=/dev/sda3 disk=/dev/sda4 quiet
}
menuentry "OpenELEC.tv (Textmode)" { set root=(hd0,3) linux /KERNEL boot=/dev/sda3 disk=/dev/sda4 textmode quiet
}
menuentry "OpenELEC.tv (Debugmode)" { set root=(hd0,3) linux /KERNEL boot=/dev/sda3 disk=/dev/sda4 debugging textmode quiet
}And finally the default:
GRUB_DEFAULT="0"
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""FYI, I've started with GRUB_DEFAULT="OpenELEC.tv" but it wasn't working, I've put "0" with the hope it would boot Lubuntu by default at least.
I've also tried to boot with holding down shift but it didn't help.
Any idea what my next step could be? I'm stuck... Thanks
11 Answer
Try holding shift while booting up, this is the solution I see everywhere. OR if you don't care about data (or you could get a liveboot and copy files from your home directory to a thumb drive), just reinstall ubuntu beside WinXP and copy your /boot dir to a data disk in case this were to happen again, then you would have a quite handy liveboot disk and an extra /boot partition to copy/ use to fix broken files
good luck fixing your grub installation