Ubuntu Installation :: GRUB2 Not Finding Kernels After Kernel Upgrade

Jun 9, 2011

I have recently installed the Maverick backport kernel (2.6.35 - from the lucid-updates/main repo) and while I was at it I also manually (through synaptic) got rid of some old kernels. I made sure that I kept the current Lucid kernel though (that was working fine). All seemed well (although I didn't actually check - just no errors) so I rebooted.On reboot I have lost all my Ubuntu kernel options!

I rebooted with a live cd, mounted, etc and ran

Code:

sudo update-grub

but it doesn't seem to find any kernels!

Code:

grub-install --recheck --root-directory=/media/mnt /dev/sda

Checked /boot to see if the kernels are there:

Code:

jed@lightning:/boot$ ls
abi-2.6.32-31-generic memtest86+.bin
abi-2.6.32-32-generic System.map-2.6.32-31-generic

[code]....

Even reinstalled burg (used to use it but it got broken by a kernel update long ago and never bothered to fix it as I only use Linux these days anyway)Funny thing is that BURG finds the kernels and reports no problem, but then drops to the grub-error prompt on boot.

View 9 Replies


ADVERTISEMENT

Ubuntu Installation :: Upgrade To 10.04 Hangs When Finding Existing Kernels?

May 5, 2010

The title's not especially clear, so I'll post a screenshot of what's happening. The upgrade keeps finding instances of the same kernel; the list in the terminal is constantly scrolling down, finding 'new' instances.

It's been doing this for about half an hour now. BTW, upgrading from 64bit 9.10 to 64bit 10.04.

View 1 Replies View Related

Ubuntu Installation :: Old Kernels In Grub2 Don't Exist?

May 10, 2010

I just installed 10.04 over my previous dual boot with Windows7 and 9.10. Went well. Now, in the Grub2 menu, there are like 14 kernels. I tried to find them in Synaptic to delete them, but they are not there! So, I went to grub.cfg and deleted the entries, updated grub, and they were back! How do I get rid of these entries?

View 6 Replies View Related

Ubuntu Installation :: Only See Recovery Kernels In GRUB2 After Plymouth Script - Can't Boot Normally

Oct 19, 2010

I am using a Dell XPS m1330 with ubuntu Maverick 10.10 and with a Nvidia card. Recently I wanted to add plymouth support to my boot screens via this script: [URL].... but maybe i did something that ruined my pc and now, in GRUB, i can only see recovery kernels. The situation is this: in grub i see

linux recovery kernel 1
linux recovery kernel 2 (old one)
memtest
windows 7

My "normal" linux kernels disappeared. When I want to boot linux I use a recovery kernel, then I simply hit "resume" in the process, do the textual login and than use the command "startx" to start the system. However i'm getting no Plymouth and no normal boot. I have already tried to fix grub recreating the linux kernels, but they just don't show.

View 1 Replies View Related

Ubuntu Installation :: 10.10 - Remove Old Kernels From The Grub2 Boot Screen - Error "awk: 1: Unexpected Character 0xe2"

Nov 1, 2010

I am running a dual boot system with windows 7 and Ubuntu. Both have run smoothly on my machine (Core 2 quad core on Gigabyte board) I recently upgraded to 10.10 from 10.04 via the update manager within 10.04. Following the upgrade the initial boot failed at the login screen ( i simply got the purple colored screen with a white box in the center of it). Instead of trying to figure out what went wrong, I simply re-installed 10.10 from live CD on top of the upgraded Ubuntu that was failing at the login screen. The live CD install seemed to fix everything for the most part ( I did notice some quickly flashing text right before the login screen. I think it was an error message but it was too fast to read)

My problem now is that I am trying to remove some of my old kernels from the Grub2 boot screen and I cant. I have read many posts on how to remove the old kernels, but my system is proving to be difficult. The old kernels definitely show during boot, but whenever I go into Synaptic they are not there. I have downloaded Ubuntu Tweak, and they do not show in it either. I have read the information at [URL] I went to http://www.fixthecode.com/remove-hug...sts-in-ubuntu/ and thought this would fix my problem but I keep getting an error: "awk: 1: unexpected character 0xe2" when i try to run: "dpkg -l | grep ^ii | grep 2.6.3x-xx | awk -F{print $2} I am running kernel 2.6.35-22 The kernels i want to remove are 2.6.32-23 and 2.6.32-24.

View 7 Replies View Related

Ubuntu Installation :: Upgraded Kernel - Lost Previous Kernels?

Aug 5, 2011

I upgraded to 2.6.35-30.56 last night and now my system's a little flaky. Everything seems to be running ever-so-slightly slower and fullscreen flash is now choppy. The weird thing is the Grub menu upon bootup only shows the latest kernel, but not the previous kernels. Doing an "ls" of the /boot folder only shows this newest kernel. I'd like to revert back to the previous kernel but don't know how.

View 2 Replies View Related

Ubuntu :: Grub2 - Removing All Old Kernels From List

May 21, 2010

I'm simply trying to remove old kernels and second rename things that are on the list. It used to take me 10 seconds with grub1, but having some difficultly with grub2. So far I went into /boot/ and removed the old kernels and then did a sudo update-grub2 and it seemed to remove all the old kernels from the list. Is this the best way or doing it or any issues on doing it this way? Second I just want to rename what boots up like Ubuntu 2.6.32-22-generic to something else. I keep read not to modify the grub.cfg, but not sure what to do? I poked around the files in /etc/grub.d/, but not sure what to do?

View 2 Replies View Related

Ubuntu :: Grub2 - How To Remove Removed Kernels From Grub.cfg?

Nov 25, 2010

I followed the Grub 2 Basics steps to remove Grub 2 kernel listings.

However I'm stuck with 3 older versions that was completely_removed from Synaptic (kernel/headers/generic), but remain in grub.cfg.

Quote:

Here is my current grub.cfg:

(How do I remove *.14 *.21 *.22 from my menu entries Ubuntu-tweak is not an option for me. I like it old-school or with the tools at hand.)

Code:

I considered changing permissions for grub.cfg, but update-grub and new kernels will revert my changes.

View 3 Replies View Related

Ubuntu :: Grub2 Configuration - Adding Entries For Other Kernels

Mar 5, 2011

Is it possible to add menu entries for older kernels to boot instead of the latest?

I have tried this in Ubuntu 10.04 and it hasn't worked.

This used to be possible with ease in grub legacy.

I copied the current menu entry from /boot/grub/grub.cfg and pasted it in the /etc/grub.d/ 20_custom file.

Then I changed the kernel number to the older kernel number and the initrd number too. #update-grub puts this entry into 'grub.cfg', but it doesn't work.

I get:

The old kernel is in /boot as well as the respective initrd and config files.

View 1 Replies View Related

Debian :: Finding Advantages Of Low Latency Kernels?

Feb 26, 2011

As I am trying to understand if there are any advantages using a kernel optimized to have low latency for the desktop, it would very helpful if anyone using one could give me his opinion. I read about the liquorix kernel and found a controversy and used google to find more information.

View 2 Replies View Related

Ubuntu Installation :: How To Add A Kernel Parameter In Grub2

Apr 16, 2010

I have not dug into Ubuntu for almost a year now (Since Jaunty, really). I am trying to come to grips with Grub2, but have just now encountered it in Lucid. I am having a terrible time with the graphics chipset, and it may well be that Ubuntu cannot be used on this computer (an older laptop with the dreaded Intel 82845G graphics chip). There are a number of older bug reports that it is unsupported, but some success in more recent versions.

Anyway, one suggestion has been to add i915.nomodset=1 to the kernel boot line. Now, this was a cinch in Legacy Grub, but I have been reading Grub2 wikis and tutorials for two days now, and I know about the config files, but I cannot find anything which tells me specifically how to add a parameter to the kernel boot line.

View 2 Replies View Related

Ubuntu Installation :: Removing Kernel From Grub2?

Apr 28, 2011

How do you go about removing old kernel from other distros from the grub menu. For example I have lucid and ubuntu studio installed. Lucid controls the grub2. So how would I remove the old kernel out of the ubuntu studio?

View 9 Replies View Related

Ubuntu Installation :: GRUB2: Error: You Need To Load The Kernel First

Mar 7, 2010

I've been using Ubuntu since 7.10 Gutsy Gibbon. I only recently fully switched to Linux OS's, and Ubuntu is now my primary. I currently have 9.10 installed. CURRENTLY I also have Backtrack 4, and Fedora 12 (Ugh!).Previously, I thought something was wrong with my my filesystem in Ubuntu 9.10, and after an upgrade of the linux kernel, I started to get Error: You need to load the Kernel First. That's where my problems started. I had upgraded to 9.10 from 9.04 and I still had Grub Legacy, so I went through hoops to try and get it to work, but eventually everything just kind of broke, and I completely wiped off my partitions on it and started fresh installs of all 3.

And now that the new linux kernel is released, 2.6.31-20 generic (I think... That's what the highest number on a file I can find in /boot is)I went through a few more hoops and ladders and tried to get it to work, but to no avail. I've looked the internet for a solution to this and tried just about everything but there is no unified answer, and I've seen on Launchpad there are alot of bugs that are classified as 'Fixed', but the problem still remains.I took out the 'quiet splash' part in the GRUB2 line for the newest kernel and it didn't do anything. It only changed it to "Error: Couldn't find file".This is the top two kernels (Main and Recovery for the new, and Main and Recovery for the previous working one)

Quote:

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
recordfail=1

[code].....

View 9 Replies View Related

Ubuntu Installation :: 2.6.31-19 Upgrade Broke Grub2

Feb 7, 2010

I upgraded yesterday ubuntu 9.10 to 2.6.31-19 kernel. After reboot, I get stack to GRUB black screen. No possibilities.

My set-up is triple boot 9.04, 9.10 and winxp. The MBR is handled by win boot.ini with no problems. Each ubuntu partition has a grub installed in it.

9.04 is on sda5 with grub installed on it ext3
9.10 is on sda9 with grub2 installed on it ext4

I am able to boot into sda9, via grub of sda5 obviously passing the correct kernel parameters and UUID.

View 3 Replies View Related

Installation :: Grub2 Not Passing Parameters To Kernel?

Sep 8, 2010

I have installed grub2 on a flash drive to boot some os's that I want to carry around. But in grub.cfg when i put this:

Code: menuentry "BackTrack Persistent" {
set gfxpayload=1024x768
linux/backtrack/boot/vmlinuz BOOT=casper boot=casper persistent rw quiet
initrd/backtrack/boot/initrd.gz
} it does exactaly the same thing as this

[Code]....

I'm thinking of filing a bug report but I want to make sure i'm not doing something wrong first.

View 4 Replies View Related

Ubuntu Installation :: Grub2 Removing Old Kernel Versions Forever

Apr 14, 2010

Here's how to always have only the latest kernel version in your grub:
Code:
sudo gedit /etc/grub.d/10_linux

Find these lines:
Code:
list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done`

And change it with this:
Code:
for ver in /boot/vmlinu[xz]-* ; do
list="$ver"
done

Notice two differences.
1. There's no ` before "for" and after "done" keywords.
2. There's no list= before "for"

If you want to change the name of entry, scroll down to the end of the file and find last two occurrences of:
Code:
linux_entry
${OS} stands for Ubuntu and ${version} stands for your kernel version. I changed this into:
Code:
linux_entry "${OS} 9.10 Karmic Koala"

You can use your own imagination. If you want to have specific name for your Windows entry, in /boot/grub/grub.cfg copy everything between:
Code:
### BEGIN /etc/grub.d/30_os-prober ###
and
Code:
### END /etc/grub.d/30_os-prober ###
paste it in
/etc/grub.d/40_custom

Change the text between double quotes right after menu entry. (For example, my 40_custom looks like this now:
Code:
#!/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 "Windows 7" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set bcdc24dddc249424
chainloader +1
}
)
and make 30_os-prober not executable:
Code:
sudo chmod -x 30_os-prober

If you want to remove recovery mode entry, just uncomment this line in /etc/default/grub:
Code:
#GRUB_DISABLE_LINUX_RECOVERY="true"
PS Don't forget to run
Code:
sudo update-grub
After you finish editing everything! And check in /boot/grub/grub.cfg if everything is ok!

View 9 Replies View Related

Ubuntu Installation :: 10.04 Upgrade - Grub2 And Windows Partitions

May 7, 2010

I upgraded from 9.10 to 10.04 (no fresh install, an upgrade). During the upgrade, the installer asked me for the harddisks and partitions to include. I gave him the following ones:

Harddisk 1
1. Windows XP
2. Windows 2000

Harddisk 2
3. Ubuntu 10.04

After the installation was complete, I could only start Ubuntu. Both Windows versions just showed a flashing cursor at the left upper top screen. No HDD activity! How can I get WinXP and Win2000 selectable within grub2?

View 2 Replies View Related

Ubuntu Installation :: Grub2 Overwrite Grub On Upgrade From 8.04 To 10.4?

Jun 21, 2010

I have been running a dual boot XP and Ubuntu 8.04 on two separate hard drives for a while now without any problems. I used the method posted http://ubuntuforums.org/showthread.p...light=dualboot. I will be upgrading to 10.4 soon (probably after the re-spin in July) and was wondering if I will have problems after upgrading dual booting.

I do not know if while upgrading Grub remains or if Grub2 tries to overwrite. I have read that Grub2 will try to install onto all partitions and hard drives in a fresh install but do not know about upgrading. If it does try I think I need to put it in hda,1 which is the primary drive where Ubuntu is located.

This is not something I have been able to find the answer to with google. I also have Kubuntu on the system which I can change with session manager and am not sure what will happen to that once I upgrade Ubuntu.

View 1 Replies View Related

Ubuntu Installation :: GRUB2 Broken After Upgrade To 10.04 - No Signature?

Jul 8, 2010

I took the distribution upgrade from the update manager and can't boot now. Boot into a Live CD (ver. 9.10 - does that matter?), and go through the following steps.

ubuntu@ubuntu:~$ sudo fdisk -l
Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000ad56f

[Code]...

Anyone have an idea here? I have searched a lot and have only found a few references to this issue. Does the invalid flag message relate here? The partition is flagged as 'boot'.

View 9 Replies View Related

Ubuntu Installation :: Windows Not Booting From GRUB2 After Upgrade?

Jul 18, 2010

My girlfriend upgraded from Karmic 9.10 to Lucid 10.04 when the upgrade became available. She did it from Update Manager as opposed to a clean install.

I have no idea what she did, or how the process works (I installed from a Live CD on my own computer) and ever since she did it, she hasn't been able to boot into Windows XP from GRUB2.

GRUB2 loads up fine, with Ubuntu and Windows listed. It'll boot into Ubuntu with no problems. Selecting Windows will just re-load GRUB2.

I've tried re-installing GRUB2 but that hasn't worked. My lack of imagination means I have no idea what to type in to Google, or the forum search.

View 5 Replies View Related

Ubuntu Installation :: Grub2 Missing Files After Upgrade?

Jan 28, 2011

Last night I attempted to upgrade my Ubuntu 10.10 (amd64) machine. After reboot (it installed a new kernel), the grub menu only had the memtest. Booted into a livecd and it seems that I was missing most of the files in /etc/grub.d/. Reinstalled grub-common and grub-pc didn't seem to restore the files. I ended up having to download the dpkg, expand it and copy the files manually so I could get the box generate grub.conf and boot up. I think grub may have been broken before the upgrade but exhibited the problem when it upgraded the kernel and reran upgrade-grub but I can't seem to figure out why reinstalling grub doesn't add the files back.

View 2 Replies View Related

Ubuntu Installation :: How To Upgrade Grub2 EFI Boot Loader

Mar 31, 2011

I installed UEFI Ubuntu 10.10. Its grub2 version is 1.98. I want to upgrade it to 1.99.I try to use 'grub-install' and 'grub-setup' commands but I faild to upgrade the grub2.

And, when I add my ram to 4G, the system hangs and displays 'Not syncing: VFS: Unable to mount root fs on unknow-block(1,0)'

View 2 Replies View Related

Ubuntu Installation :: GRUB2 / RAID 10.10 To 11.04 Upgrade Fail

Apr 30, 2011

GRUB2 / RAID 10.10 to 11.04 Upgrade Fail.....

View 9 Replies View Related

Ubuntu Installation :: Grub2 Onto /boot In Prep For A Windows Upgrade?

Apr 9, 2011

I've currently got a dual-boot setup with Vista and 10.10 (using grub2 on MBR).I'm about to install Windows 7 and would like for a change to use the Windows bootloader. I currently have a separate /boot partition and believe I can install grub2 there so that I can chainload it using EasyBCD.

I'd like to do this from my running system as I don't have a spare USB drive right now. confirm the command I should use baring in mind the separate /boot.If I have to wait and do it from the Live CD - is the command to use any different? FYI here is my current layout:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_root-root
37735960 15719388 20099644 44% /
none 1023876 316 1023560 1% /dev

[code]....

View 4 Replies View Related

Ubuntu Installation :: Failure After Trying To Upgrade From Legacy Grub To Grub2

May 21, 2011

I moved from 8.04.2 to 10.04.2 and tried to upgrade from GRUB Legacy to Grub2. I must have made a mis-step somewhere in the process as on boot it now tells me

Code:
GRUB Loading stage1.5.
GRUB Loading,
Error 15
_
Is there a nuke from orbit, no finesse way of just ripping all the existing GRUB mess out and installing GRUB2 from Boot disk? for instance should I be just be able to boot with a LIVE CD mount the primary disk of this machine and enter the below in a terminal without messing up any further?

Code:
sudo grub-install --root-directory=/media/PRIMARY_DISK /dev/sda

View 3 Replies View Related

Ubuntu :: Grub2 Not Finding All OS's?

Apr 13, 2010

I am in the process of trying out different Linux distros. This is what my hard drive partitions look like:

sda1 - Ubuntu
(Free space - about 150 GB)
sda3 - Windows (sadly)
sda4 - Windows Recovery

I successfully installed Fedora to the free space, which is now sda2, but when I was installing, I chose to keep my current bootloader so it wouldn't mess anything up. Now, I can't get Grub to detect my Fedora install, even after running 'update-grub' from the current Grub root (sda1).How can I get Grub to detect my Fedora install?

View 6 Replies View Related

Ubuntu Installation :: Unable To Boot Windows XP After Upgrade To Grub2 From Grub?

Jul 24, 2010

yestoday,after I upgrade,unable to boot windows xp. if I use grub ,windows xp can boot up.but now I want to use grub2, boot info script's results.txt is at below.

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 #6 for /boot/grub.
sda1:
File system: vfat
Boot sector type: Fat16
Boot sector info: No errors found in the Boot Parameter Block.

[Code]....

View 1 Replies View Related

Fedora :: Wrong Kernel Files In /usr/src/kernels?

Jan 9, 2010

Just installed Fedora 12 on my Dell Precision M4400 and I'm trying to install the Broadcom wireless driver. When I try to compile the driver, I get:make: *** /lib/modules/2.6.31.5-127.fc12.i686/build: No such file or
directory. Stop.So I followed the link and /lib/modules/2.6.31.5-127.fc12.i686/build is a soft link:lrwxrwxrwx. 1 root root 47 2009-11-09 14:17 build -> ../../../usr/src/kernels/2.6.31.5-127.fc12.i686But in /usr/src/kernels all I see is:

total 12
drwxr-xr-x. 3 root root 4096 2010-01-09 11:56 .
drwxr-xr-x. 4 root root 4096 2009-11-09 14:10 ..

[code]....

View 5 Replies View Related

Fedora Installation :: Upgrade F 12 Kernel-2.6.31.5 To Kernel-2.6.31.6 Only?

Jul 26, 2010

If i use yum update option it upgrades to latest kernel but i only want to upgrade to kernel-2.6.31.6.

View 8 Replies View Related

Red Hat :: Install Ethernet Adapter Driver - Not Finding Kernel-devel Or Kernel-headers

Aug 30, 2010

I'm attempting to install the driver for my atheros AR8131 PCI-E Gigabit Ethernet adapter (in my Lenovo laptop) on my newly installed RHEL5 system (it's not currently being recognized).

I tried using: 'make install' but hit an error "Makefile:61: *** Linux kernel source not found."

After this, I tried: 'sudo yum install kernel-devel kernel-headers'

To rectify this, but hit this error "No package kernel-devel available" (and the same for the headers). What should I do?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved