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
ADVERTISEMENT
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
Mar 7, 2010
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5
[Code]....
View 3 Replies
View Related
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
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
Jan 24, 2011
I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root
What I dont know is how.
In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)
I tried this way:
Code:
title grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
View 2 Replies
View Related
Jun 28, 2010
I have windows xp and now I have installed UBUNTU 9.10. When my laptop starts it comes up with the option of Windows Xp and Ubuntu. Selecting windows xp works fine here but Selecting UBUNTU comes up with another screen giving three options.
1. UBUNTU
2. UBUNTU recovery and
3. Windows Xp
Selecting any of the above doesnt work here. With option 1 & 2 it gives the error message
error: you need to load the kernel first
I am totally new to this UBUNTU.
View 1 Replies
View Related
Oct 11, 2010
I've finally gotten around to installing Ubuntu 10.10. I currently have it installed on on a 320GB HDD. It's the 64bit. I also have Windows 7 x64 on a 1TB HDD. After I installed it, I keeping getting "Error: You Need To Load the Kernel First." Windows 7 boots up fine, but Ubuntu doesn't. I'm almost completely new to Ubuntu so I don't know how I would go about fixing this.
View 9 Replies
View Related
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
May 2, 2010
So I recently tried to install Ubuntu Lucid in the following configuration code...
The installation procedure went fine, and it said it had successfully installed GRUB2. But then, when I tried to boot up the fresh system, GRUB2 didn't even load!!
It's not giving me any GRUB errors, or giving me a 'grub recovery>' prompt, so I suspect that it really isn't even booting into GRUB.
I tried booting into the LiveCD, and installing grub to BOTH /dev/sda and /dev/sdb, but it still does not work, and I am at a loss.
Has anybody else had this problem?
View 9 Replies
View Related
Aug 31, 2010
I am a long time ubuntu user (4.10) and have had a fair bit of experience installing ubuntu and the many mishaps along the way.
So after having no internet for a year I decide to try the new 10.04 flavour by ordering the cd from the site.
Installation went well, no hiccups. But when I restarted the comp it went straight to Xp, so I thought I'll just use the SGD to boot the partion anyway and fix this small problem later.
After SGD confused sda with sdb, I figured out that GRUB2 is now the standard boot loader.
So thats where I am lost, I have searched the forums quickly (25 pages or so..) and realise that I am not going to fix this easily or by trial and error.
here's some info
Ubuntu 10.04 LTS
WinXP SP3
Intel P4 3.0
1.5 GB RAM
[Code]....
View 9 Replies
View Related
Sep 24, 2010
I upgraded my ubuntu version 8 to 10.. I was using my new version normally, but on the GRUB screen, I have two choices (ubuntu 1 and 2.. something like 'generic-2.6-32..) I could only choose the second option.. because the first option, return this error: you need to load the kernel first.
Ok, i'm using the second option... but when i'm tried to install the driver of my nvidia 3d board, the second option of boot is also not working.. =(return this erros: kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (8,33)... both are kernel problems.. my instalation of ubuntu 10.04 was perfectly successfully (aparently)..
View 9 Replies
View Related
Jan 4, 2011
I am trying to figure out how to load the generic kernel in Grub2.
I have run the /usr/hare/mkinitrd/mkinitrd_command_generator.sh and ran the output:
Code:
Why this will not load.
View 10 Replies
View Related
Feb 7, 2010
I' ve tried to do a iso multiboot 1gb pen stick with grub2 bootloader. I 've already readed all is it possible finding on the WWW but there are some problems i don't understand how to solve.
This is my sitution:
-koala 32bit installed on my pc with grub2 bootloader
-1gb pendrive parted as follow:
In the first fat16 partition there is installed grub2. On the second ext2 one there are iso files.
This is what i've do to install grub2 on my pen:
So i've created /boot/grub/grub.cfg file with the follow lines:
When i reboot by the pen stick, grub load up to it says me:
It seems not reding /boot/grub/grub.cfg
View 2 Replies
View Related
Jun 8, 2010
So I have an MBR that is Grub legacy,(from HardyHeron) and I cannot edit/upgrade this MBR. (I won't get into the reasons, other than I will mention SafeBoot).
I have a new encrypted LucidLynx Linux installation on partition 4 and an unencrypted /boot partition on partition #3.
When I boot up, I get the "Error 15" Grub error, which is expected as Grub legacy is looking for /boot/grub/stage2 or something like that and /boot/grub/stage2 does not exist in my GRUB2 installation in /boot/grub.
I thought if I could make a link from the GRUB2 binary of interest to /boot/grub/stage2, then maybe the GRUB legacy would be tricked into loading the GRUB2 binary.
what is the binary of interest in the GRUB2 installation that is the main binary?
View 9 Replies
View Related
Aug 5, 2011
I'm attempting to triple boot Windows 7, Mac OS X, and Ubuntu 11.04 on non-Mac hardware. Chameleon is my primary bootloader, which is supposed to chainboot into grub2, but all I get when I choose the Linux boot option is a black screen with blinking cursor. If I try to boot Ubuntu while holding shift, I get the word GRUB, followed by a space and a blinking cursor. grub2 is installed to the Ubuntu partition, and attempts to reinstall it there or to the MBR from a LiveCD result in errors. The MBR and GPT partition tables are synchronized. How do I go about making Ubuntu bootable, without breaking my other two operating systems (or at least leaving them recoverable)?
I built a new desktop computer.The goal was to triple boot the system with Windows 7, Mac OS X Snow Leopard, and Ubuntu 11.04. This endeavor has been significantly more complicated than I originally expected, but with the of a forum-goer at InsanelyMac.com, I've managed to get pretty far with a complex installation process. I've attempted to get Ubuntu running using two methods, neither of them achieving what I'm hoping. Both methods follow.
In the first method, I install Mac OS X using a specially designed install CD that boots into the Snow Leopard installation DVD. The disk is partitioned to have a FAT partition, followed by a Mac OS X journaled partition, ending in a second FAT partition. Mac OS is then installed to the second partition. The Windows boot CD is then used to format the first FAT partition as NTFS, which Windows 7 is then installed to.
As I'm sure you know, this installs Windows Boot Manager. Then I boot into OS X using the boot CD mentioned earlier, and install Chameleon, a bootloader specifically designed for Hackintosh systems, and (supposedly) capable of booting into all three operating systems I'm trying to work with. Finally, I divide and reformat the remaining FAT partition into an ext4 partition and a swap partition, and install Ubuntu to that ext4 partition, with the bootloader installed to the same partition. This will break the Windows bootloader, as now the MBR and GPT tables are no longer syncronized. Ubuntu is also unbootable; attempting to chainload into grub2 leaves me at a black screen with a blinking cursor. The former problem is solved by booting into a LiveCD and installing and running gptsync. Windows is now bootable, but Ubuntu remains in 'limbo'.
The second method I attempted is very similar, but deviates in the last few steps. After installing Windows, I instead install Ubuntu 10.04 LTS, as I thought I might have fewer bootloader issues with that distribution (don't ask why; it was a lucky hunch).This breaks Windows Boot Manager, but this time grub2 throws me into the grub> prompt.I can boot into Ubuntu just fine using the set root/linux/initrd/boot commands, but my motherboard's Ethernet port is not detected by the OS, so I can't directly download and run gptsync. Once I do manage to run it, though, Windows is then also repaired.
Unfortunately, since I can't access the Internet, I can't do a distribution upgrade that way. Trying to upgrade from the recent release's LiveCD...well...doesn't upgrade, just overwrites. So I get the same black screen with blinking cursor problem. I've tried reinstalling grub2 through a LiveCD using grub-install both using the --root-directory flag and the chroot method.
System specifications:
Intel Core i7 (LGA1155)
Corsair VENGEANCE 4x4GB DDR3
[code]...
View 3 Replies
View Related
Jul 16, 2011
Well after a power failure yesterday this is what I get:
Grub loads with 4 options ....
Choose to load Ubuntu I get ...
Error: cant load file Error: you need to load kernel first
I'm a N00b, got ubuntu 11.04 loaded on a 250 gig worked great till power failure
View 3 Replies
View Related
Oct 1, 2010
I have two hard disks sda and sdb. I have Windows XP installed on sda2 and Ubuntu 10.04 on sdb5. When I installed Windows XP, Ubuntu stopped booting. I tried to repair grub2 from a Live CD unsuccessfully. Now I have completely messed up my MBR of both HDDs. I just want to configure grub2 to load both OSes in dual boot mode.
View 9 Replies
View Related
Oct 23, 2010
I have installed Ubuntu 10.10 on a USB 2.0 flash drive (8GB),like this: [url]
The installation was successfull, but when i want to boot ubuntu, it shows the grub, and after it, an error message: "You need to load the kernel first. Press any key to continue"
I've got a Macbook Pro 13'' (2010 edition) with a Intel processor.
My grub.cfg file is here:
Code:
View 9 Replies
View Related
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
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
Aug 8, 2010
I have found that APACHE or 'httpd' is installed in my machine. But the problem is I can start or stop the httpd but whenever I load the url http://localhost in Mozilla it shows a page load error.I have done this ,
$ /etc/init.d/httpd start
then this
$ /etc/init.d/httpd graceful
[code]....
View 3 Replies
View Related
May 16, 2010
for the last few releases, starting with 9.04 i've been having serious crashing problems with the nvidia driver. whether i installed it manually using the latest drivers directly from nvidia, or installing them through the restricted driver option. after a few hours CRASH. it's been awful. and i tried everything from this side to the moon to fix this issue, all to no avail. no idea why i've even stayed with ubuntu after all these issues. came from the debian world back in 5.04, and almost moved back a few times. but i did a clean install of 10.04, and thought i'd give the nvidia driver one last chance... if it didn't work i'd be moving back home to debian (with the suspicion the issue would stay).
so after i tried the restricted driver and CRASH. nothing to fix it. then i thought ok i'll try to use the latest driver from nvidia. but ran into this error when installing it:
Quote: ERROR: Unable to load the kernel module nvidia.ko. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU installed in this system is not supported by this NVIDIA Linux graphics driver release. so after googling around i found a fix to this error i was getting during the install:
Quote: sudo nano /etc/modprobe.d/blacklist.conf
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
[Code]...
View 5 Replies
View Related
May 25, 2011
I updated the Ubuntu version 10.04.1. After updating the program it tells to restart the system. After restarting the system the following message appears:
error: can not read the linux header
error: you need to load the kernel first
View 4 Replies
View Related
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
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
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
Mar 18, 2010
I m new user for Ubuntu..I m using ubuntu for last 5 Months.I love very much and also i m spreading ubuntu community in my place.I have a problem now to use Ubuntu.When i on the ubuntu...Its says in grub kernel is not load...
View 1 Replies
View Related
Mar 13, 2010
I have a Dell machine with two hard drives that has Windows XP Home on the first disk (sda) and I just installed Karmic to the second hard disk (sdb) and when the install finished installing Grub2 to the MBR and the system restarted, I get the no such disk error and the grub rescue prompt. There is no option in BIOS to boot from the second disk. What do I need to do to get this working?
View 2 Replies
View Related
Apr 30, 2010
After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.
[Code]...
View 9 Replies
View Related