grub error : no loaded kernel
hello there . I am trying to install Debian lenny and ext2 filesystem with GRUB as bootloader in my USB memory stick to boot linux . However , when i try it out on my PC , a grub error : No loaded kernel is shown .
I have checked that the kernel image is located in /boot . Could somebody suggest how I can solve this problem ? Thanks ! |
as a start, can you post the content of your grub.conf file
|
Hi . Here is my menu.lst :
Code:
# menu.lst - See: grub(8), info grub, update-grub(8) |
post the output of
kernel /boot/(name of kernel image or vmlinuz whatever you have in your /boot file. |
Quote:
|
Quote:
I'm not really clear on what the problem is. Have you installed Debian to your USB and are not able to boot it? What method did you use to install to the USB? Or are you trying to use your USB to boot an installed system on your main drive? |
Quote:
|
I have no experience with Debian but you might try from the grub prompt: geometry (hd0) hit the enter key for output and repeating the command by an increment of 1 for all the hard drives you have. Post the output here. You are able to boot the computer? Is it a Desktop? laptop? What other operating system(s) do you have? You have the USB set to first boot priority in the BIOS?
|
o I 'm reading !
|
You may need to load a recovery CD and write the grub onto the master boot record so it is found at boot time.
|
blink,
you will help us to help you, if you reply to post #8 by yancek. |
Quote:
Code:
grub> ls -al |
if you want to boot from the grub boot loader, you'll have to use a recovery cd in order to recover grub because it looks like it was overwritten during the installation, i suggest you try out the following, it applies in Debian, so you shouldn't have a problem with it:
boot the pc using the debian recovery cd, choose to try the type of debian software, not to install, after that it will boot and take you to the debian platform you installed, then you can type the follwing commands in the terminal; 3. Open the GRUB Command-line utility by typing sudo grub 4. Find where Grub is. If this gives a few different answers then you will need to find the correct one, perhaps by trial-and-error. find /boot/grub/stage1 5. Tell GRUB which partition to tell the MBR your Grub is on by entering root (hdA,B) The coordinates A,B are where 'A' is the hard-drive number, starting at 0, and 'B' is the partition number, starting at 0. For example, if Ubuntu was installed on the second partition of the first hard-drive, the command should be root (hd0,1) 6. Tell GRUB which drive's MBR to fix setup (hd0) Replace 0 only in the extremely unlikely event that your bios does not use the first hard-drive as the boot device. Typically Ubuntu might be on any drive but the bios will almost always go to the first drive's MBR to find out where to find the boot-loader. 7. Leave the GRUB Command line quit and reboot. i hope this helps, av used ubuntu as the basis of explanation because ubuntu is based on debian |
blink,
1) have you installed the grub on your USB? if yes, the o/p you pasted in post #3 is it of your system's grub file or the one on the USB. 2)Do you know how your system is recognizing the USB ? In my system it is something like this /dev/sda2. In your post #3 grub is searching root in /dev/ram, make sure that it is the correct place. 3) Making a USB bootable requires not only grub but also the filesystem and the kernel. Have you followed the same procedure for making a USB bootable which you have linked in post #7 ? 4) configure your BIOS to boot from USB. Regards, NM04 |
Quote:
Code:
root@debian:/# mount /dev/sdb1 /mnt/chroot Code:
[1;25r[0;10m[4l[?7h[H[J[2;5HGNU GRUB version 0.97 (640K lower / 3072K upper memory)[4;8H[ Minimal BASH-like line editing is supported. For[5;10Hthe first word, TAB lists possible command[6;10Hcompletions. Anywhere else TAB lists the possible[7;10Hcompletions of a device/filename. ] |
All times are GMT -5. The time now is 07:08 PM. |