Ubuntu :: Grub2 Lost The Kernel ?

Apr 13, 2011

I've had a fairly trouble free dual boot system for about 7 months now, windows vista / ubuntu 10.04 on separate drives. Got a little lazy and had quite a backlog of updates to do in ubuntu so I started up the update manager and let it do it's thing overnight. When I checked in it was waiting for a reboot to finish installing, which I did. When grub came up every selection returned the same error: file not found and must load kernel first, press any key to continue which leads back to the selection menu. Windows still works fine, and with a live cd I can see the the normal file system stuff is still there: filesystem, intrid.img , intridimg.old , vmlinuz , vmlinuz.old... etc.

Tried the live cd terminal to install grub.. grub-setup, grub-install, grub-probe all return the "/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?)." line.

Anyway here is the boot info script results.

Quote:

View 1 Replies


ADVERTISEMENT

Ubuntu Installation :: Grub2 Lost Everytime Windows Boots?

Jun 10, 2010

I have a dual boot system with Lucid Lynx and a Windows 7 that came with the laptop (it's a Dell Studio with an i3 processor).

Grub2 boots into Win7 and Ubuntu just fine. The thing is that if I choose Win7, next time Grub doesn't show up. I can't boot anything and the screen turns black. I can reinstall grub2 with Ubuntu's live CD and the cycle starts all over again, it's very annoying.

These facts may or may not be important: I think that this started happening when I uninstalled wubi after being able to install ubuntu through another method When reinstalling grub there's an error that repeats through many lines of the terminal (I can't remember what it says, if you think it's important I can check). Anyway, it ends up saying the installation finished successfully.

View 3 Replies View Related

Ubuntu :: Upgraded Windows Dual Boot/lucid-lost Grub2?

May 8, 2011

i had a dual boot with xp and lucid lynx, then upgraded the xp to win7. windows commonly overwrites grub with it's bootloader. and so it did. now i can't access my lucid OS. i need to get grub back (i need to get lucid back).

here's my fdisk:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[Code]...

View 5 Replies View Related

Ubuntu :: Add Grub2 Kernel Option ?

Jan 10, 2010

I have been reading for hours and just do not get how to do this simple task. I need to add a couple of kernel options to the 3rd menu item that shows in my grub.cfg list. I understand which files to edit (not grub.cfg) and run the updater.

If I look in /etc/default/grub I cannot figure out how to add a kernal parameter unless it is the default.

So basically I want to change the equivilent of this line below:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

But for a kernel menu item that is not the default.

View 4 Replies View Related

Ubuntu :: Grub2 - How To Load A New Kernel To It

Nov 28, 2010

i have just finish compiling a new kernel from source and would like to know how to load it in to grub2 i know grub the older version was easy to setup with the new kernels but i am not really in to grub2 to know how to load a new kernel to it.

View 1 Replies View Related

Ubuntu :: Kernel 17 Update - Grub2 Broken Again

Jan 7, 2010

So I know I should have known better then to turn my updates back on after the 15 and 16 kernel updates crashed ubuntu and grub but I did anyway and once again after a new kernel gets installed I'm stuck at the grub sh prompt.

Been down the road before... tried using
linux /boot/vml....... root=/dev/sda1 loop=/ubuntu/disks/root.disk ro
When I use the 16 or 17 kernel I get an error stating "invalid imaginary number"...

So I use the 14 kernal and enter
initrd /boot/initrd.....
boot

And it boots like it did the last time this crashed. I went to the terminal and entered
sudo apt-get install grub 2
sudo update-grub2

And then rebooted like I did last time expecting the problem to be fixed and at least be able to boot up the 14-generic. It didn't fixed this time. So now what do I do to fix grub and what do I do about having 2 unbootable kernals??

View 2 Replies View Related

Ubuntu :: Grub2 \ When Go Boot From A DVD It Says To Load The Kernel First?

Mar 25, 2010

On Grub legacy i used a menu entry to boot from a DVD since the bios on my pc doesn't recognize my DVD burner.... So before on the old grub i can just added this menu entry and it all worked...title DVDroot(hd0,0)kernel /boot/grub/memdisk.bininitrdboot/grub/sbootmgr.dskthen grub 2 came along and that all changed..on the 40_custom file i added this

menuentry "Boot DVD Drive" {
set root=(hd0,0)
linux /boot/grub/memdisk.bin

[code]....

View 4 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 :: Grub2 Splash Gone After Kernel Install?

Jun 7, 2010

I have been running Ubuntu 10.04 for a while now without any issues. I have also been dual booting with grub2 for a while now, only issues being crappy customization. But anyways I had my grub2 splash all set up the way i liked, with a nice background and everything. I run every update Ubuntu wants and have never had an issue until recently.

On June 3rd I ran an update that Ubuntu requested, it installed a new kernel (-2.6.32-22) and requested a restart, as usual. after restarting, my grub splash is gone. I thought no biggie ill just run `update-grub` as i have before and it will fix everything...nope
I get the error message `head: cannot open `/boot/grub/video.lst' for reading: No such file or directory` right where the "image found" message is supposed to be.

View 3 Replies View Related

Ubuntu :: Setting Kernel Options In Grub2 ?

Aug 19, 2010

I have a problem with my touchpad, sometime it doesn't work at start-up and this happens randomly.

I have looked around and maybe I could solve this with the procedure described in [url]

I'd like to add the equivalent of to kopt in the old grub.

I looked into the grub2 documentation, [url]

I am not even sure if I have to modify /etc/grub.d/40_custom or 10_linux.

View 4 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

General :: Add A New Kernel To Grub2?

Nov 8, 2010

How can we add a kernel to grub2? i knew the stuff we could do with the former versions, but it seems to have changed. What files should we edit?

View 5 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 :: Multiple GRUB2 Listings For The Same Kernel Version

Jun 5, 2010

I did a fresh 64-bit install of 10.04 workstation a few weeks ago, and my grub seems to "double up" the listings of my kernel versions. I have removed the older versions hanging around on my system, but you can see in the list below, that I still get the listings more than once:

jim@jim-laptop:/etc/grub.d$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-22-generic
Found initrd image: /boot/initrd.img-2.6.32-22-generic
Found linux image: /boot/vmlinuz-2.6.32-22-generic

[Code]....

View 9 Replies View Related

Ubuntu :: Mandriva / PCLinuxOS Get Kernel Panic With Grub2

Sep 13, 2010

So I currently have an Ubuntu/Mandriva/PCLinuxOS multiboot setup on my system. After I installed the latter two I setup Ubuntu's grub2 to be my default boot manager. After running my Code: sudo update-grub command it successfully found and added entries for Mandriva and PCLinuxOS, however upon trying to boot into either of these distros (selecting them from the menu) I get some terminal output that ultimately ends in kernel panic.

View 9 Replies View Related

Ubuntu :: Several Versions Of Kernel In Grub2 Boot Menu Delete Old Ones?

Mar 3, 2010

My Grub2 boot menu includes:

Ubuntu, Linux 2.6.31-19-generic
Ubuntu, Linux 2.6.31-19-generic (recovery mode)
Ubuntu, Linux 2.6.31-14-generic
Ubuntu, Linux 2.6.31-14-generic (recovery mode)

Q1) I only really need the latest kernel, 2.6.31-19, don't I?

Q2) So how can I get rid of the two 2.6.31-14 entries?

View 5 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 :: Grub2 Errors: Can't Read File And Need To Load Kernel First?

May 19, 2011

I've got a Lucid system (normal Ubuntu, not any of the derivative distros) which has been throwing up the following error message this morning when trying to boot:

Code:
error: couldn't read file.
error: you need to load the kernel first.

[code]....

View 9 Replies View Related

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 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

General :: Ubuntu 10.04 - Driver Lost After Kernel Update

Dec 26, 2010

I just updated an Ubuntu 10.04 kernel to 2.6.32-27-generic, and a wifi driver (r8187) is not present there. Is the only solution reinstalling it or is there a simple way to move it from an older kernel I have on the same machine?

View 1 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

Fedora Hardware :: Lost Sound After New Kernel

Sep 25, 2010

Some time ago after the system updated to new kernel i lost sound.

I know there is a way to run sound setup again but i don't remember how to :P

Been some time since i did it

Can some friendly soul please refresh my CPU?

View 2 Replies View Related

Networking :: Multicast UDP Packets Lost In Kernel

Jul 29, 2010

We have a high speed udp multicast connection. There are about 37 multicast groups and average incoming rate via the connection is about 20000 pkt/sec and peak 40000+ pkt/sec. Each packet is about 100-300 bytes. And there are 6 busiest multicast groups generating 80% of the traffic. No significant outgoing traffic via that interface. The problem is that, if our heavy-weight application create 37 sockets for all the groups, the packet loss become quite frequent. but if we create the 6 sockets for the busiest groups, the packet loss drops to 1/10 of the original level. We can confirm that the lost packets DO arrive in our box because a light-weight recorder on another box on the same ethernet segment can see the lost packets when listening to the same groups. If we start another heavy-weight application for the rest groups (31 groups ) on the same box, the packet loss just come back to the original level.

The packet loss happens not only to the heavy-weight application but also the light-weight recorder running on the same system. that is, the loss is system wide. The socket kernel buffer are all 4MB max and did not observe system buffer overflow. It seems the number of sockets listening to the same multicast group have the most negative impact on packet loss. And the higher traffic have a far less impact on packet loss than the number of sockets. It also seems that there is some limit in the kernel that when socket number are reduced under, the packet loss can significantly ease. How can I further diagnose the problem? Our system is RHEL 5.3 32bit i386, Xeon 2.9GHZ 16 Processors, 32GB memory. Two broadcom giga netowrk card and 6 Intel GIGA NIC, and only one interface card has so much traffic.

View 3 Replies View Related

Ubuntu :: Lost My Kernel 2.6.31-22-generic - Get A New Black Screen With These In White Letters

Jun 20, 2010

Now, after restarting my ubuntu, I couldnot boot back into ubuntu.

After reaching the boot menu and choosing the "Ubuntu 9.10, kernel 2.6.31-22-generic" option, I get a new black screen with these in white letters

Boot from (hd0,5) ext3 507cefd1-74f3-489a-920a-d588e36b6476

Error 15 : File not found

Press any key to continue ... _

I had a previous thread which led me to this thread about re-installing an older version of the kernel [url]

How to re-install my kernel?

View 3 Replies View Related

OpenSUSE Install :: 11.2 And The Kernel - Lost Control Of The Volume

Dec 2, 2009

I am having with my openSUSE upgrade.

I followed the upgrade directions, found here, precisely. However, I am still experiencing some unusual problems, some I think I have resolved, but others are leaving me puzzled.

Before I get to far into this, my working knowledge of *NIX platforms is decent, but I am no where close to expert or advanced.

Problem 1 - KDE Profiles (resolved)
The first problem I experienced was that my KDE profiles were all screwed up, buttons would not work, desktop icons were missing, applications would not start or would show horrid graphics, and the list goes on. Having run through a similar problem with FreeBSD, I decided to simply move my ~/.kde4 to ~/.kde4.orig and then do a forced reinstall of KDE4. This seems to have resolved the issue, I just have to recreate my profile, which should be relatively simple.

Problem 2 - Sound Driver
Shortly after my upgrade, I did have sound, but I had lost control of the volume. This is somewhat expected as with each Kernel update of Linux, I found I had to reinstall the sound drivers, Creative X-Fi. This never presented a problem as it was a 30 second process and very simple to perform (there were three commands, four if you include 'su -'). This time, I ended up running into an error, seen below:

Code:

This brings me to my third problem...

Problem 3 - VMware
Similar to the sound card, each time a new Kernel patch is applied, I have to recompile VMware Workstation 6.5 for it to work again. This is even simpler than the sound drivers as all I do is start VMware and it automatically recompiles. Now, when I go to start it, I receive the two following errors:

This appears upon trying to start VMware Workstation...

This appears when I click 'Install'...

Problem 4 - Kernel...
The previous two problems seem to be related to some underlying kernel issue that I have yet to be able to resolve. I have barely been able to change the error messages. So far I have forced a reinstall of almost everything kernel related that was already installed, plus I installed quite a few *-devel packages. I reinstalled 'make' and 'gcc' for good measure, but I am not getting anywhere.

View 9 Replies View Related

Debian Hardware :: With Kernel Upgrade To 3.16.0 Lost WiFi Module

Jun 7, 2015

I got notebook HP Pavilion 15-p171nr. Have installed Debian Wheezy. There was some problems, for example with screen brightness (backlight) and it was solved here: [URL] .....

The problem was solved with upgrading kernel 3.2.0 to 3.16.0 from backports... but... with these steps i lost my wi-fi wl module...

It was downloaded somewhere, compiled and worked well until kernel upgrade... For the current moment i can not compile it.

My hardware:
Code: Select all08:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)

Within last steps official wiki recommends (my device is in the supported list): [URL] .... but I got problems with compilation... here they are:

I have installed correct linux-headers:

Code: Select allroot@hpnote:/home/yaroslav/Загрузки# apt-get install -t wheezy-backports linux-headers-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-amd64 is already the newest version.

[Code] ....

Then I am trying to reconfigure already installed broadcom-sta-dkms package and here is what I got:

Code: Select allroot@hpnote:/home/yaroslav/Загрузки# dpkg-reconfigure broadcom-sta-dkms
------------------------------
Deleting module version: 5.100.82.112
completely from the DKMS tree.
------------------------------
Done.
Loading new broadcom-sta-5.100.82.112 DKMS files...
Building only for 3.16.0-0.bpo.4-amd64

[Code] ......

View 4 Replies View Related

OpenSUSE Install :: Kernel Update Lost Graphical Desktop?

Oct 18, 2010

I recently installed 11.3 from DVD Am using Ubuntu Lucid Grub2 bootloader as I have several OS's Updated Grub so that the new kernel version 4 would boot but it boots to a command line... What has happened to my desktop?

View 4 Replies View Related

Debian Configuration :: Dell D620 Wifi Lost After Installed 2.6.38 Kernel In Squeeze

May 9, 2011

Hi,I'm using a Dell Lattitude D620 laptop. I just installed the latest kernel 2.6.38 in my Squeeze amd64 :

Output of uname -r
2.6.38-bpo.2-amd64

Now I'm running on new kernel,everything seems fine except my wifi ( now I'm connected through ethernet ). Before I do the process with the guide in http://wiki.debian.org/wl to activate my wifi,I'd like to ask for some advice here,is this latest kernel support my wifi card? If yes,how to activate it?

Output of lspci :

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

[code]....

View 4 Replies View Related

Fedora X86/64bit :: F12 Kernel Update Lost Radio Kill Switch Functionality / Bluetooth?

Dec 7, 2009

Initial FC12 install worked great, kernel 2.6.31.5-127.fc12.x86_64 allowed radio kill switch functionality Fn-F11 for wlan and Fn-F12 for bluetooth.The last two kernels have broken that functionality.

Fedora (2.6.31.6-162.fc12.x86_64) broken!
Fedora (2.6.31.6-145.fc12.x86_64) broken!
Fedora (2.6.31.5-127.fc12.x86_64) works!

[code]...

View 1 Replies View Related







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