Ubuntu / Apple :: Error - You Need To Load The Kernel First - On Boot
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.
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 followed the instructions that came with the 802 .11 Linux STA driver and was able to initialize my card and connect to a protected network! The instructions also tell me how to load the drivers at boot time, but I get an error when I try to run
Code:
# sh: for i in `find /lib /var -name wl.ko`; do mv $i ${i}.orig; done
The message returned is
Code:
bash: syntax error near unexpected token `do'
Upon restarting, my wireless is no longer active. My card is Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
This morning I bought an Apple wireless keyboard and I got it connected through Blueman. It works like a charm, but I have on problem;
When I log out I can log back in by typing in my password. However, when I restart the computer it seems that bluetooth is not loaded yet and I cannot enter my password. So I have to log in using my wired keyboard, and then disconnect & re-connect to my wireless keyboard using blueman before I am able to use the wireless keyboard.
Is there any way that I can already auto-load bluetooth and connect to my keyboard before I log in?
I keep getting a warning messaged almost every time I reboot about Ubuntu running in low-graphics mode on a Macbook 5,1. This has been happening since Lucid Beta 1.
Quote:
Failed to initialize the NVIDIA kernel module. Please see the system's kernel log for additional error messages and consult the NVIDIA README for details.
[code]....
After I finish loading in low graphics mode I have to run "sudo nvidia-xconfig". Then, the next reboot the graphics card driver is loaded properly. Is anyone else experiencing this problem or have an idea how to correct it? I know it is a long shot, but do you think doing a fresh install of the stable release would work?
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
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.
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
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
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
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
How do I get modules in the Kernel to load automatically at boottime? I''m specifically trying to get i810fb to load during the boot process. In Ubuntu, I just had to edit a file and update my initramfs. How do I do this in Fedora?
Ubuntu 9.1 is installed in sda1, however, while creating a separate boot partition an error occurred and now I can not boot sda1. I get the message load kernel first. I have tried without success to learn to load a kernel.
I have installed Linux Mint 9 within Win XP and have installed an additional HDD as a Slave on the same IDE cable as my DVD drive. I installed ubuntu on to the additional HDD using the live CD and when I try to boot the computer I am greeted by two versions of GRUB?! First version appears to be the one that comes with Mint and so asks me to boot either Windows or Mint, when I select Mint I get ubuntu's version of Grub, it asks me to boot one of three OS's; here's where it gets weird:
Top of screen says: GNU GRUB Version 1.98-1ubuntu5-1mint2 If I select Win, it boots fine. If I select Mint it boots fine however if I select Ubuntu it says: error: no such device error: file not found error: you need to load the kernel first
I pressed "e" within grub and was faced with this: insmod ntfs set root ='(hd1,1)' search --no floppy --fs-uuid --set f6422203421e479 loopback loop0 /linuxmint/disks/root.disk setroot =(loop0) linux /boot/vmlinuz-2.6.3-21-generic root =dev/sdb1 loop=/linuxmint/disks/root.disk ro quiet splash initrd/boot/initrd.img-2.6.32-21-generic
I unfortunately remove "some" softwares on my OpenSuse10 (preinstalled on my laptop, without cd driver) cause I was running out of space on hd. Icons starts to dissappear ...
Then I have only the Grub 0.97 shell that appears and to use to solve the problem... tried to boot kernel, but said that it "must be loaded before boot".
In the Grub 0.97 black window I have two lines :
I press "b", to boot with the First line : kernel (hd0,2)/boot/vmlinuz ... but the window turns blue and said "all data would be lost", so it shut down the system automatically to avoid this.
I press "e" to edit the command in the boot sequence for the same line, but don't really know what to tell Grub to do.
I must get my important datas back on my hd before "Restore to factory settings" (the last option). Any solution ?
Maybe it is a step on a solution ?
From [url] I downloaded linux kernel 2.6.27.27 on a usb memory stick. Could it be useful ? how to ?
I tried to update to 2.6.31-20 kernel but I think I messed it up, because when I click on it in the GRUB it starts to load but then it goes back to the dell boot up screen and I have to use the older one in order to get onto ubuntu. Is there anything I can do to fix this?
For a diskfull node (the OS installed in a disk), I can use the 'insmod' command to insert a kernel module into the kernel. And after the reboot, the module is still in the kernel. I have a question here: how, when and which kernel module will be loaded in the boot up process for a diskfull node?And for the diskless node, can I use the chroot or some other ways to install the kernel modules into ramdisk, so that kernel module can work when the diskless node boot up? I think it needs certain mechanism to load the kernel like the boot up of diskfull node.
I was wondering how can I determine among the modules loaded at boot which of them are really necessary and which are not, in order to reduce the boot process time and have a more "elegant" system start.
I know this theme is a little bit of complicated because it depends of the user's point of view and demand a high knowledge of which things are happening in your system but I need somewhere to start improving the performance of my debian system.
I am using DEBIAN 6.0 and I wannna update my kernel from 2.6.32 to 2.6.38. Every time, I do it but after the installation & rebooting into the new kernel it gives me error "UNABLE TO BOOT INTO THE KERNEL".
I am persuaded now (too late) that I need to invest in a robust backup scheme.
I had refit dual-booting snow leopard and ubuntu 10.10.
I tried to upgrade to 11.04 and it got stuck on bootup after the upgrade.
So I went into disk utility and deleted what I thought were all partitions except the mac one. I rebooted, and now I get the grub no partition error.
Did I delete my mac partition? I don't think that I did. How do I boot back into mac os x? Using the option key on bootup no longer shows a mac disk and inserting the mac os x system cd doesn't show any options either.
I managed somehow to successfully install a dual boot with Ubuntu 9.02 and Windows XP. Ubuntu was on a PATA drive and the WinXP was on a SATA drive. The SATA drive was configured to boot first. As I was having problems with Ubuntu I booted into WinXP, re-formatted the PATA drive, then restarted the computer and installed Ubuntu 9.10. It all went well.I rebooted the machine and the following message was on the screen:
I rebooted, changed the boot order so that the PATA disk (Ubuntu) started first, then the SATA(WinXP). Ubuntu loaded up the dual boot screen.I chose WINXP, but I was greeted with a black screen.I rebooted again and chose to load Ubuntu, which it did without a hitch.what I should do to restore my access to WinXP? Or should I start again? If so, how?
Ubuntu 9.10 stops booting with apparmor profiles failed to load error message in recovery mode.In the usual mode it hangs at the logo stage.I tried all the kernels listed but the boot process hangs every time.I searched for a solution but could not find it. Windows 7 boots fine.I haven't installed grub to the MBR.I had to reinstall the windows bootloader but I am not sure if it's related to the problem.I would like not to reinstall the os.
I'm trying to create new RAM image file to get my server load raid1 module upon start, I was following redhat documentation & it suggested to use the following command mkinited --with=raid1 inited-raid1-$(uname -r).img $(uname -r) However after running this command I'm getting this message No Kernel available for 'inited-2.6.18-128.el5"
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)..
I am having a Ubuntu nightmare. I am relatively new to the whole Linux thing. I just updated my Ubuntu from the update manager today and after I restarted I keep getting the following error: Error: You need to load kernel first.
My boot menu shows the following: GNU Grub version: 1.97~Beta4 Ubuntu, Linux 2.6.31-21-generic Ubuntu, Linux 2.6.31-21-generic (recovery mode) Ubuntu, Linux 2.6.31-20-generic Ubuntu, Linux 2.6.31-20-generic (recovery mode) Ubuntu, Linux 2.6.31-14-generic Ubuntu, Linux 2.6.31-14-generic (recovery mode) Windows 7 (loader) (on dev/sda1)
The only two that work are the last two. So I chose Ubuntu, Linux 2.6.31-14-generic and booted normally. From there I typed actionparsnip's suggested solution (which worked for other people on other versions): sudo apt-get clean; sudo apt-get --reinstall install linux-image-2.6.31-21-generic As you see I suited actionparsnip's solution to my version. The command downloaded something and made some fixes/updates and everything and seemed to have worked fine.
The system asked me to reboot, and here I am stuck: Now the boot menue shows the grup prompt which seems like: Minimal BASH-like line editing supported... sh:grub> NOTES: I originally installed Ubuntu alongside Windows 7 using Wubi. I can paste the contents "wubildr.cfg" if this helps. I had to go back to my Windows 7 to post this.
i used dual boot system (xp + ubuntu 10.04) and decided to replace them with jolicloud os and then it started In about 86% of jolicloud install it showed me error of hdd partition. I tried different versions of partion type, used also option to install on entire hdd - none of my tries actually worked (also with many hdd formating tries) so I was able to use only usb as live user for Jolicloud, and i burned ubuntu iso on disk - on boot up showed boot up error, i checked BIOS and everything seemed to be ok with boot order. So after many tries i took my old Gutsy Gibon 7.10 live cd. I first updated it with LTS version (8.04 Hardy Heron) and after that I updated it to 10.04 but it seemed to not finish when i saw some error in terminal and installer was exiting 13 minutes before finish then it had kernel panic - fuuuuck! After that i tried to download small versions of linux like Austrumi and puppy linux , but it showed me boot error or cd didnt even open install dialog without showing boot error.