LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Boot Error (https://www.linuxquestions.org/questions/linux-general-1/boot-error-687915/)

adrianc.grigoras 12-02-2008 11:48 PM

Boot Error
 
Hi,

I have a problem. My SuSE Linux Enterprise 9.2 doesn't start anymore.

I receive this error:
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=0x31a selinux=0 splash=silent resume=/dev/sda1

Error 15 : File not found
What file is missing?

If I boot from a Live CD, can I access the root of my SLE?

Thanks

htnakirs 12-03-2008 12:50 AM

The vmlinuz file location seems to have changed, and hence grub can't find it. Did you install any drive or create a new partition lately or change the drive sequence (master/slave)? This could have made the (hd0,1) point to the wrong partition/drive.
Yes, you can access the root of the installation with a live cd. What you should do after booting with the live Cd is edit the /boot/grub/menu.lst file in the installation root directory or it is more easier to set the drive to the earlier order - it has to be the first hard disk (hd0) when checked in the BIOS.

Simon Bridge 12-03-2008 12:51 AM

15 : File not found
This error is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK.
http://www.linuxselfhelp.com/gnu/gru...r/grub_13.html

It cannot find the kernel or /dev/sda1 or /dev/sda2. Did you upgrade the kernel recently?
http://www.linuxquestions.org/questi...20#post2207020

Quote:

If I boot from a Live CD, can I access the root of my SLE?
Not enough information - try it and see. Have you tried letting SuSE do the repair?

http://www.linuxquestions.org/questi...-found-224550/

Note: SLE is out of date now, is it even still supported? As you are running a commercial distro, I presume you have purchased support? If so, then you have an update waiting for you. If you prefer to have free support, it seems logical to use a free distro. OpenSUSE is pretty good if you like SLED.

adrianc.grigoras 12-03-2008 01:52 AM

I tried to do an update from Yast and I think it tried to update the kernel.

I will read the documentation and I will come back with resoults. Thanks.

adrianc.grigoras 12-03-2008 03:38 AM

I have those entries under the /boot/:

innitrd -> initrd-2.6.22.5-31-default
vmlinux-2.6.22.5-31-default.gz
vmlinuz -> vmlinux-2.6.22.5-31-default.gz
vmlinuz-2.6.22.5-31-default

I don't find a file: initrd-2.6.22.5-31-default

Another problem is that under the /boot/grub/ I don't have menu.lst, not even menu.lst.old

Simon Bridge 12-03-2008 04:57 AM

Quote:

I have those entries under the /boot/:

innitrd -> initrd-2.6.22.5-31-default
vmlinux-2.6.22.5-31-default.gz
vmlinuz -> vmlinux-2.6.22.5-31-default.gz
vmlinuz-2.6.22.5-31-default
I'm sorry, I don't understand what you are saying.

How are you getting this information?

Quote:

I don't find a file: initrd-2.6.22.5-31-default
How are you looking? Where? Why?

Quote:

Another problem is that under the /boot/grub/ I don't have menu.lst, not even menu.lst.old
But what do you have? grub.conf? menu.lst~ (do ls -a) What happens if you press the escape key during the grub stage of the boot?

adrianc.grigoras 12-03-2008 05:19 AM

Here is what /boot/grub/ and /boot/ contain:

linux:/home/linux # ls -a /boot/grub

. ffs_stage1_5 reiserfs_stage1_5 vstafs_stage1_5
.. iso9660_stage1_5 stage1 xfs_stage1_5
e2fs_stage1_5 jfs_stage1_5 stage2
fat_stage1_5 minix_stage1_5 ufs2_stage1_5


linux:/home/linux # ls -a /boot/
. message
.. symsets-2.6.22.5-31-default.tar.gz
System.map-2.6.22.5-31-default symtypes-2.6.22.5-31-default.gz
boot symvers-2.6.22.5-31-default.gz
config-2.6.22.5-31-default vmlinux-2.6.22.5-31-default.gz
grub vmlinuz
initrd vmlinuz-2.6.22.5-31-default
memtest.bin

Simon Bridge 12-03-2008 05:59 AM

Quote:

Originally Posted by Simon Bridge
How are you getting this information?

Certainly you are supposed to have a grub.conf or a menu.lst in /boot/grub ... but, you have not explained how you are accessing your HDD boot partition if GRUB dosn't work. There are several ways.

You are getting funny results for "I tried to do an update through YaST". I don't want to assume that what you have done is what I think you have done. You have to tell me.

Looks like your installed kernel is 2.6.22.5-31-default
Have you tried the repair option from the install media?

adrianc.grigoras 12-03-2008 06:26 AM

Quote:

Originally Posted by Simon Bridge (Post 3362867)
Certainly you are supposed to have a grub.conf or a menu.lst in /boot/grub ... but, you have not explained how you are accessing your HDD boot partition if GRUB dosn't work. There are several ways.

I use an OpenSuse Live CD to boot. Every results was made using OpenSuse Terminal

Quote:

You are getting funny results for "I tried to do an update through YaST". I don't want to assume that what you have done is what I think you have done. You have to tell me.
What I did in Yast was to set up Automatically Updates. :( I was doing this remote, over Ssh.

Quote:

Looks like your installed kernel is 2.6.22.5-31-default
Have you tried the repair option from the install media?

I don't have access to install media. There aren't such CDs here.

Simon Bridge 12-03-2008 06:40 AM

Quote:

I use an OpenSuse Live CD to boot
Good - how did you use it? There are many ways.

Eg. did you remember to mount your HDD boot and root partitions and use chroot?

mount /dev/sda1 /mnt
mount /dev/sda2 /mnt/boot
cd /mnt/root
chroot /mnt/root
ls -a /boot

etc

note: I am guessing that you have separate root and boot partitions - you'll need to interpret what I am asking in terms of your particular setup.

adrianc.grigoras 12-04-2008 06:42 AM

After I mount it, I found that there isn't any kernel.

How to compile a new kernel or what you recommend to do next.

Thanks!

Simon Bridge 12-04-2008 06:00 PM

I'm sorry, if you persist in providing such minimalistic posts, there is no way I can help you.

Show me how you mounted "it", what you mounted and how you checked the presence of the kernel!
How do I know you have not made another mistake?

Since you almost certainly had to interpret post #10, you have to tell me what you did.


All times are GMT -5. The time now is 10:57 PM.