Ubuntu :: Grub Displays Each Kernel Twice
Jan 25, 2011
I have removed all the kernels other than 35-25 and 32-28. I want to keep them but even though I can see only those two when I look in Synaptic, when I run update-grub I get two entries for each kernel. I have added the result of update-grub. This makes my grub list really long. Any ideas? Can one of them be custom compilation generated while installing something. May be then it would have exactly the same number but not show on synaptic package manager? How can I check if that is so or not?
View 8 Replies
ADVERTISEMENT
Dec 3, 2010
I am using Ubuntu 10.10, manually installed, on a Dell Studio 15 laptop, dual booting with Windows 7.While a few kids were playing nearby where I was working, one of the pillows they were playing with hit my laptop's screen and moved the screen's hinge backwards, applying pressure past where the hinge ends. This didn't seem to cause any physical harm to the computer, but I moved away from where they were playing, and in the process, shut the laptop, putting it into sleep mode. I opened the laptop and entered my password to unlock it. About half a second after entering my password and displaying the desktop and open windows, it brought up the password prompt again, as if I'd just opened my laptop up and removed it from standby, although I had not in fact touched it since I had entered my password a mere half second before. I thought that that was strange, and then attempted to continue my work. However, although the mouse worked fine, when I attempted to apply a keyboard shortcut (Ctrl+Alt+2, which runs a 2-finger scroll script and has to be run every time I take the computer out of standby), Ubuntu didn't register it (I didn't touch the keyboard otherwise, although I should have checked whether it worked all =).
I tried it again, and it still did not apply the script. Then I thought, "Oh, the pillow must have knocked something out of whack. I'll restart." When I restarted, grub loaded as usual, but the timeout ("loading the primary in Xs." sort of thing) that it usually displays did not display this time. I didn't notice it at the time; I selected Ubuntu, and it appeared to be loading it, removing the grub menu, but then hung. I waited 5 minutes for the computer to display the login screen, but it did not, so I restarted again, thinking that it might just be something stupid. It didn't work again, hanging again. I tried this with both the most recent linux kernel and the second most recent kernel, neither of which worked. But what was interesting is that Windows 7, which is also on the grub menu, loaded and displayed perfectly, as did GRUB Invaders, a game that can be loaded directly from grub.After this little escapade, I thought something was just wrong in grub.cfg, and it somehow wasn't mapping the Ubuntu menu entries to the appropriate OS and kernel. So I loaded up a live CD, and attempted to look at the linux entries. These are the menu entries 10_linux, 00_header, and 20_linux_xen.
10_linux:
Code:
#! /bin/sh
set -e
# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
[code]....
View 9 Replies
View Related
Jan 9, 2010
I have a Compaq Presario CQ60 with Nvidia GeForce 8200M graphics card. When I first installed Windows 7 followed by Karmic in dual boot I could boot into both OS. Now when I try to boot into Windows, it displays the Windows logo and then drops back to the grub menu. It may have started happening after Windows 7 installed updates. I tried reinstalling both Windows and Karmic again and it again worked initially but now Windows no longer boots. Does anyone have any suggestions about what may be causing this or how I can fix the problem without reinstalling?
View 9 Replies
View Related
Mar 4, 2011
On my notebook there was a preinstalled OEM Windows 7 Home Basic (disk C, sda1). I installed Ubuntu 10.10 on disk D, and was not using Windows 7 any more, although the "seventh" was present n main loading menu and in grub menu. 2 days ago I discovered, that in grub menu appeared "Windows Vista (Loader) - sda1" ! I didn't install it, and I'm sure that nobody else had access to my notebook. "Windows 7 (Loader)" now links to sda2.
When I try to run this strange "Windows Vista (Loader)", appears the Windows loading screen, than the empty Windows desktop background, and than the system reboots. How can Windows Vista (Loader) appear in grub, if nobody installed it? Can it be an imitation of Vista loader, made by some malware? How to remove this item from grub?
View 4 Replies
View Related
Jan 4, 2010
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.
View 2 Replies
View Related
Jun 29, 2010
Can i add another kernel 2.4 in grub while kernel 2.6.31 of ubuntu 9.10 exists
View 10 Replies
View Related
Oct 21, 2010
my grub2 start-up has every kernel for ubuntu since 9.10 in the list. can i safely delete these older kernels without screwing something up? also, where do they live?
View 3 Replies
View Related
Mar 11, 2011
I have Kubuntu 10.10 and Back Track 4 (BT4) Linux installed on my system. I think BT4 is based on Ubuntu 8.10.
I have the following line for my kernel boot options in /etc/default/grub file.
Code:
I need the rootdelay option for the Kubuntu 10.10 kernel but the BT4 kernel does not need it. But looks like setting this has a global effect and it waits for 80 (seconds ?) even when starting the BT4 kernel which is not required.
So is there a way to give the rootdelay option only to the Kubuntu 10.10 kernel and not to the BT4 kernel.
View 2 Replies
View Related
Jan 3, 2010
I have been learning about Ubuntu since 8.10. I have my two computers running dual boot (W7 + 8.04 & Vista + 9.10).
Sorry if this is a noob question, but I have noticed that each time there's a new kernel (now I have 2.6.31.16-generic), the grub OS selection screen adds 2 lines:
- One for the new kernel
- One for the new kernel - recovery mode
So, since I installed Karmic (2.6.31.14) Ubuntu Update has added 4 rows and shows code...
What is the rationale behinf this?
Why would I want to boot using the previous kernel versions?
In my laptop, it's GRUB 2. How can I eliminate the unused options?
View 1 Replies
View Related
Feb 5, 2010
I had Windoze 7 on my wife's laptop, it started running crappy so I install Ubuntu 9.10 via Wubi (so it is not a partitioned dual-boot). I did the latest update, which I think included a kernel update. When I rebooted and chose Ubuntu from the windows dual boot window, instead of loading the GRUB I see an error message flash:
Code:
TRY hd0: NTFS no Wubi(something-or-other)
it flashed almost too fast for me to catch - it took about 10 reboots to figure out that much... and then it goes to a screen that says
Code:
GNU GRUB version 1.97~beta4
sh:grub
I tried several different commands (you can prompt it to give you available commands by hitting TAB), but it said it couldn't detect a kernel. Also, before I updated, I had tried to install iTunes via these instructions. iTunes seemed to have installed fine, but I hadn't tried it yet.
View 3 Replies
View Related
Mar 17, 2010
I have Ubuntu installed in my machine, I also have Windows Vista.I have been using Ubuntu perfectly well, today I received the following message when chose to boot Ubuntu:GNU GRUB version 1.97 beta 4[Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device/flies completions]
View 6 Replies
View Related
Mar 20, 2010
I have been running Ubuntu 9.10 ever since it was released, on my HTPC. However, for some reason when a new kernel comes out and I upgrade to it GRUB 2 doesn't load the newest kernel but just loads the old original kernel that came with it when I originally installed 9.10. I have confirmed that the newer kernels are installed by editing the GRUB 2 command line at startup (just a temporary fix) and all worked well with the newer kernels. How can I make GRUB 2 load the newest kernel by default. On my laptop running 9.10 it has loaded the newest kernel by default ever since I installed it but my HTPC just won't cooperate.
View 3 Replies
View Related
May 12, 2010
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.
View 1 Replies
View Related
Jul 5, 2010
How do i choose a previous Kernel without a GRUB?? I have a netbook with only Ubuntu (UNR) installed so every time i update my kernel and so on i cannot see/choose the kernel version i want (i believe it enters the most recent one by default). Is there a way to do that without a grub or i have to install it even if i dont have a second OS?
View 3 Replies
View Related
Jul 21, 2010
I have Lucid on my laptop. Unfortunately, with the various 2.6.32 kernels neither hibernate nor suspend work, so I've installed and use the last 2.6.31 kernel that came with Karmic.Now, I'd like to set it as default, so that I don't need to actively choose it when I boot. The problem is that I can't find a way to set Grub (version 2.0, or 1.96rc, can't remember) to pick the 2.6.31 kernel and if I try to uninstall the 2.6.32-23 kernel synaptic says that linux-generic and linux-headers will also be uninstalled (not just the parts specific to 2.6.32-23).
View 2 Replies
View Related
Sep 2, 2010
Every time I update my kernel (today with 2.6.32-25-generic), I always have to manually run "sudo update-grub" or ells the new kernel does not show up on reboot??? Is there a config some place to get it back to automatic?
View 6 Replies
View Related
Mar 3, 2011
Last week i decided to give the 11.04 alpha 2 a go on my laptop but compiz is currently too unstable for the OS to be of any use so I reinstalled 10.10. In doing this I deleted all partitions and started completely afresh. Strangely since then I have kernel image 2.6.38-1 at the top of my grub menu but if i try to boot it i get either a single blinking cursor or a kernel freeze. I cant find any reason why 2.6.38-1 should be in grub on 10.10.
removing it from the config files as im not used to Grub2 and have been told i cant just directly remove it from /boot/grub/grub.cfg.
View 1 Replies
View Related
Apr 2, 2011
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.
View 2 Replies
View Related
Apr 16, 2011
it turns out that I don't have my Ubuntu option in GRUB any more. I need the kernel version in order to add it to my list file. Any help? I can't boot it to find out because GRUB doesn't recognize it as an option.
View 4 Replies
View Related
Apr 27, 2011
We're using 10.10-server. We are trying to make grub boot changes permanent. I've already looked at thread [URL]. We updated /etc/default/grub, and update-grub propagates those changes into /boot/grub/grub.cfg, but not into menu.lst. It appears to use menu.lst as the source at boot, so our change doesn't show up as a linux parm.
View 3 Replies
View Related
May 15, 2011
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.)
View 7 Replies
View Related
Jun 13, 2011
On my laptop running Ubuntu 10.04 I have edited /boot/grub/grub.cfg in order for the shortcut keys for changing brightness and volume to work. I added
Code:
acpi_osi=Linux
at the end of every kernel image line, and it works ok. The only problem is that every kernel update overrides the grub.cfg and therefore I have to reedit the file over and over again. So the question is, where could I put the mentioned kernel startup parameter, so that it doesn't get lost on every kernel update.
View 3 Replies
View Related
Aug 26, 2010
I recently upgraded to 10.04, but it gave me a heap of problems, so I've reinstalled 9.10. Everything seems to be working again, but Grub seems to think that the 2.6.32-24 kernel is installed.When I try to boot it, it gives me a ton of errors that basically say it can't find what it's supposed to mount, so I'm assuming that it's left over from Lucid.Thing is, I can't find the kernel in synaptic to uninstall it, but when I update grub, it still lists it as being there.
View 8 Replies
View Related
Jan 12, 2010
I'm running a dual boot Vista/Ubuntu Jaunty. I made some changes to the grab menu so that my windows OS would appear at the top of the list .I know I could have changed the default so that Vista would have been highlighted instead of Jaunty. But the reason I moved it to the top is because when I do a kernel update, I would still want Vista to be the default booting OS. Anyways, after the update my Vista OS disappeared from grub. It didn't get deleted because the Vista partition is still accessible from Jaunty. Can anyone help me boot into Vista and preferably make it the default OS even after a Kernel update? I attached part of my menu.lst .
View 9 Replies
View Related
Feb 20, 2010
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?
View 9 Replies
View Related
Mar 25, 2010
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.
View 9 Replies
View Related
Mar 27, 2010
I'm remote from my system and so have to wait 2-3 days before I can get access directly, but I've noticed that when the kernel updates automatically (or forced by me), the next reboot stops at the grub page awaiting confirmation of the kernel I want to boot. grub.conf doesnt seem significantly different from that of fedora (my previos distro for this machine) and even has the default lines and times spec'd, so I can't see what's holding it up. Any ideas how I can prevent this so I can have my system auto-updating the kernel AND safe to reboot remotely?
View 1 Replies
View Related
May 18, 2010
I'm using Ubuntu 10.04 Lucid LTS. I have problem with my Ubuntu,Whenever I ran "sudo update-grub" command it did not detect my Ubuntu kernel nor Windows XP installation on another drive (I installed Ubuntu and Windows in different drive).It just display "Generating grub.cfg" and then "done". No "Found kernel..." message.
View 1 Replies
View Related
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?
View 9 Replies
View Related
Sep 6, 2010
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.
View 6 Replies
View Related