Ubuntu Installation :: Choosing Kernel On GRUB Causes Reboot?
Jul 8, 2010
I recently decided to venture into the world of Linux/GNU by installing Ubuntu.
Before installing, I had a 190gb partition for windows 7 and 45gb of unallocated space. Through Wubi, I used the advanced partition editor to make a 6gb swap partition and a 22gb root partition for Ubuntu. All went well, but when I rebooted, I was unable to choose linux.
I installed Ubuntu by using Unetbootin to put the Ubuntu ISO on my USB drive. After installing, I disconnected the USB drive, and I was unable to choose the linux kernel option on the GRUB menu. When I do, my system just restarts and presents me with the GRUB menu again. However, windows 7 boots up perfectly.
I'm assuming that GRUB is somehow trying to boot the linux kernel from the USB. How do I change it to boot from the installation I made on my harddrive?
I have a new acer machine which runs fine on 10.10 mythbuntu desktop livecd. Install seemed fine.
Then I ran an update and on reboot I get a kernel panic error. Research on this reveals it as a very deep subject which can consume many hours, so I opted to reinstall.
This time with ubuntu 10.10. I've tried different CDs, liveusb. Same errors.
So, the question is this - where do I concentrate my efforts - somewhere ubuntu doesn't like this machine, or grub. Does a reinstall overwrite the grub install too? Or do I have a bogus grub install I need to purge before I will get anywhere.
I recently installed grub and windows side by side and now whenever I select windows from the grub menu it just loads grub again. I installed burg a while ago but i don't think i installed it right. I didn't check windows before then so it might not be the problem either.
Over the past few days I have been trying to install an older kernel (kernel 2.6.28.1) on ubuntu 9.10 64-bit WUBI installation. I compiled, installed, and updated my grub for the kernel. When I reboot, the grub menu correctly gives me the option of booting into the older kernel but when I do so I receive the following error message:
error: you need to load the linux kernel first.
I am at a complete loss on how to fix this. I even downgraded grub but I still get the same error.
I just installed the newest version of Xubuntu using the LiveCD, I chose to install it alongside my current installation of Windows 7, everything went well it seemed, but now when I choose Windows 7 under the GRUB menu it just restarts my system and then takes me back to the grub menu, Xubuntu works fine though and boots fine, I tried sudo update-grub, didn't fix it.Heres the boot info from a script I found, but being rather poor when it comes to diagnosing Linux, I figured it'd be best to post this and see
Code: Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ==============================
I just installed Ubuntu on the second partition of my hard drive. I have Windows 7 installed on the first partition. My problem is is that when I rebooted after a successful OS installation and apparent grub install, it went straight to boot up Windows 7. There's probably a simple way to get the grub menu to appear that I'm unaware of, right?
I updated wubi kernel(ubuntu 10.04) After restart, i selected ubuntu then my system reboots. Then i select ubuntu then my system reboots. I dont know what to do now,
I rebooted, and got a new GRUB error: recordfail=1 if [ -n ${have_grubenv} ]; then save_env recordfail; fi set quiet=1 insmod ext2 set root=(hd0,2) search --no-floppy --fs-uuid --set 7b4afbe0-28fe-4403-bd86-c4364bf10f98 linux /boot/vmlinuz-2.6.31-16-generic root=UUID=7b4afbe0-28fe-4403-bd86-c4364bf10f98 ro single initrd /boot/initrd.img-2.6.31-16-generic
Installed 10.04 on my daughters laptop from within windows Vista. All went OK but I had two boot loaders, i.e. turn on laptop and I would get the Windows loader asking if I want to boot in to windows or Ubuntu. Upon selecting ubuntu I would get the standard grub loader that I have on my PC. Did an update a few mins ago and it asked me to update grub which I did and as there was only one disk showing clicked forward. Now on reboot I have grub rescue prompt, no such device. Hard drive is a single 80 gig drive with windows on one partition and ubuntu in another. Have the live cd so can boot from that I guess. What do I do next?
I installed fedora core 11 on a dell inspiron laptop which has windows vista already installed on it. It shows that fedora is installed successfully and to reboot the system. When i reboot the system there is no grub screen and it directly boots windows.
Just got done installing F14 64 and all went well however when I rebooted the machine it boots straight into windows, where is my GRUB boot loader? Only one drive in this machine (sda) and I remember going through the GRUB settings during the install. How to get a bootloader working now because in my linux experience (since RH5) it has always just installed the bootloader and worked. Apparently ext4 is bunk for me and when using LVM settings. I am up and running and grub is working.
I installed fedora core 11 on my laptop (dell inspiron 1525), which has windows vista already installed on it. After installation it says that the installation is complete and please reboot the system. When I reboot it is directly booting into windows. The os selection screen is not shown.
I am fairly new to linux and my laptop froze so I rebooted it and now I have this error. I have tried to load the files needed using the prompt but nothing seems to work so here is my bootinfoscript thing. Any way for me to reinstall ubuntu over the sda5 partition but keep my files?
Code: Boot Info Script 0.55 dated February 15th, 2010 = Boot Info Summary: = => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #7 for /boot/grub. => Syslinux is installed in the MBR of /dev/sdb .....
The server runs# uname -r2.6.18-128.4.1.el5However, today I executed yum update kernel*due to security advisory. I was just about to reboot the system when I realized that it runs VMWare Server Instance that will most likely fail to restart after kernel upgrade (I had a hard time fixing it after previous kernel update). Now I want to keep 2.6.18-128.4.1.el5 after reboot.I see that new kernel is scheduled for booting:
I performed an upgrade via the Update Manager from 9.10 to 10.04 LTS and it seemed to go flawlessly. However, now I cannot seem to be able to remove the old Kernel from 9.10 in the package manager. It does not even show 2.6.32-21 as installed but it still shows the old Kernel in Grub. I did a sudo update-grub but it was to no avail.
I couldn't get 10.10 to boot (live or after install). I was able to install and boot 9.10 normally. Then I ran upgrade to 10.10 and I started getting the same problem trying to boot as with 10.10 disk. I found I could boot with 2.6.32 left from 9.10 but it will not boot 9.6.35 kernels. On a normal restart when automatically trying to boot the latest 9.6.35, I get this message before switching to an unresponsive black screen with no further hard drive activity:
GRUB loading syntax error Incorrect command syntax error error: file not found [Linux-bzimage, setup=0x3400, size=0x420c50]
[Code]...
I have been searching for a solution and so far have not found anything that worked. I'm a pretty basic user so I'm not sure what is going on.
After upgrading Maverick (perfect!) to Natty, I was unable to boot into anything. (kernel 2.6.38). However, through much PITA, I was able to boot into an older kernel. (2.6.35). I completely removed 2.6.38, rebooted, reinstalled it and ran update-grub. However, 2.6.38 is no longer available no matter how many times I run update-grub, and the only option left is 2.6.35. In my humble opinion, the Natty upgrade experience is rubbish. (blank screen, total PC hangs, boots into a blank screen with only a blinking cursor, NVIDIA official driver not working, bootable only into older kernels etc.)
I'm running Hardy 8.04 LTS 64bit. The Update Manager updated the kernel and then asked if I wanted to use the local version of the grub menu. The boot menu was getting so long I edited it to shorten it. Other options were also offered, like the builder's version, but I chose the local version and since then the new kernel doesn't show up in the boot menu. Sudo update-grub doesn't restore it to the menu.
How do I undo the local version of the boot menu so I can see the newest kernel?
So I have been using Ubuntu for the past couple of months using Wubi, mainly because my parent's are afraid that I'll screw something up on the computer if I partition the hard drive and stuff like that. And Today I installed the latest updates for 9.10, asked me to restart the computer, and now whenever I try to boot using the latest kernel GRUB keeps telling me to "Load kernel first". The funny thing is that I can boot with the older kernel fine, But I would really like to get the lates updates, which I can't using the older kernel.
I did the kernel update via Update Manager today. Unfortunately , after this , disaster happened whereby sh.grub> prompt appeared on screen.
I got no idea how to rescue or repair the grub. I installed Ubuntu 9.10 in my E: under Windows 7 partition and labeled as "ubuntu". It has dual boot capability.
After having patched the kernel with an ABI-patch I cannot find it in the grub2-Menu OS: Ubuntu 10.04 LTS in /boot I can see: the original and the new config-file
After installation of Ubuntu 10.10, grub loads and has the right menu list. However, Ubuntu doesn't load and I get an error message of :Gave up waiting for root device. (with a list of common problems)There is also:ALERT! /dev/disk/by-uuid/1584598e-b8e5..... does not exist.
I used the update manager to update the kernel and whatever the other recommended updates were yesterday. I shut the computer down overnight and now when i try to boot into Ubuntu 9.10 i get a basic grub shell and when i try commands like "boot" it tells me there is no kernel loaded. I installed Ubuntu with Wubi so it is a dual boot system.
I've tried to access the Linux volume with a live OpenSuse 11 CD but there is no device to mount. It sees the entire hard-drive as if it hasn't been partitioned. I don't necessarily need to fix the installation. I just need to get my files back.
I seem to have determined a few other things about my "only gets as far as a GRUB command line" problem:To recap, sda3 (GRUB hd0,2) is the main Linux partition; sda9 (GRUB hd0,8) is the boot partition.GRUB is 0.92.Installation was from an 8.04LTS live CD (at least, that's what the envelope says it is)/"/boot/grub" (i.e., "/grub" on sd9/hd0,8) contains a "menu.lst" file. I modified it (had to do a "sudo gedit" from a command line!) to (1) comment out the line that hides the boot menu, (2) change the timeout from 3 seconds to 90, and (3) add a menu line based on my succesful manual IPL of DOS.
It still boots to a GRUB command line. If I do a "configfile /grub/menu.lst," a boot menu comes up. DOS will successfully IPL, but Linux still gets a "no setup signature found," (ditto for "recovery mode"), which suggests either a bad kernel, or a kernel that's too big for the GRUB to handle.Why would it be finding its way to grub, but not finding the boot menu file?Why would the live CD come up just fine, yet the GRUB and kernel it installs fail?
I use Linux Mint, and I installed a linux-rt from the repository, but when I restart my computer no grub menu shows up. It just boots linux mint. How can I get it to show the menu so I can choose the real time kernel?
I'm currently running Karmic 9.10 in dual boot with Windows 2000. My computer has automatically updated and installed kernels 2.6.31-17, -19 and -20 (They show up in Synaptic as installed).
However, the newest kernel choice in my GRUB menu is 2.6.31-16-generic (followed by -15 and -14). These all start without any errors.
Question: Why haven't the newer updates shown up in GRUB for booting purposes?
Could it be a question that I didn't answer correctly some time back about accepting or not accepting an update or change in GRUB?
How can this be changed? The new kernels do not show up in Start-Up Manager either.
I want to avoid kernel id in Grub entry. I have searched before and one poster (can't find it again) posted a very simple Fedora Grub entry that just pointed to Fedoara's menu.lst. which worked.
For Suse I use: title openSUSE 11.1 (on /dev/sda7) by symlinks root (hd0,6) kernel /boot/vmlinuz root=/dev/sda7 splash=silent showopts vga=0x31a initrd /boot/initrd savedefault boot
I nave tried: title Fedora root (hd0,4) rootnoverify (hd0,4) chainloader +1
Where Fedora is on sda5 but, doesn't work for some reason.