Option to boot into opensuse 11.4 disappeared; missing /boot/vmlinuz

My problem arose when I was trying to reinstall dhcpcd. I’m really not sure if that was a good idea, but I did this as I suspected that there’s something wrong with the current installation since I couldn’t find /etc/dhcpd.config in process of setting up a wireless access point. I did this in Yast and it noticed me that it has to erase some of the Opensuse-patterns. Then I was required to reboot due to kernel update.

After reboot there were only two options available in GRUB - Windows 7 (pre-installed on my laptop) and Linux Other (this option actually leads nowhere), but there was no option to boot into OPENsuse, even into failsafe mode. I followed instructions provided on HowTo Boot into openSUSE when it won’t Boot from the Grub Code on the Hard Drive. As I entered GRUB’s command line mode I found /boot/grub/menu.lst.old file still containing my previous boot menu, so I supposed some kind of unwanted update took place. I got stuck, however, at the step

kernel /boot/vmlinuz

, where it returned "15: No such file. " error.

I was able to access my OpenSUSE filesystem on /dev/sda6 (root) and /dev/sda7 (normal) through Ext2Read from windows. I am now planning on booting from USB, but would like to consult you, if there is still a chance to solve the problem directly from grub (or any other less complicated way).

Thank you!

On 2012-12-03 03:06, Cr U wrote:
>
> My problem arose when I was trying to reinstall dhcpcd. I’m really not
> sure if that was a good idea, but I did this as I suspected that there’s
> something wrong with the current installation since I couldn’t find
> /etc/dhcpd.config in process of setting up a wireless access point. I
> did this in Yast and it noticed me that it has to erase some of the
> Opensuse-patterns. Then I was required to reboot due to kernel update.

This step is unclear. Remove some patterns? I’m suspecting you deleted
most of the installation instead…

Boot a Linux live CD and have a look at the hard disk /boot directory,
tell us the list of files you see there.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

On 12/03/2012 03:06 AM, Cr U wrote:
> I supposed some kind of unwanted update took place.

assuming others can help you figure out what you did wrong, and you get
to boot openSUSE 11.4 again, then you need to know that 11.4 is past its
end of life (cite: http://en.opensuse.org/Lifetime, no longer
receiving security patches through normal means. It therefore should not
be exposed to untrusted networks (like the internet) unless it
incorporates Evergreen, http://tinyurl.com/4aflkpy


dd

Thanks for help.

I managed to make things work again by updating current system from LiveDVD image. As expected /boot looks normal again:

ls -l /boot
-rw------- 1 root root     512 Oct 14  2011 backup_mbr
lrwxrwxrwx 1 root root       1 Mar  2  2011 boot -> .
-rw-r--r-- 1 root root    1236 Feb 21  2011 boot.readme
-rw-r--r-- 1 root root  122368 Feb 22  2011 config-2.6.37.1-1.2-desktop
drwxr-xr-x 2 root root    4096 Dec  4 01:18 grub
lrwxrwxrwx 1 root root      27 Dec  4 01:18 initrd -> initrd-2.6.37.1-1.2-desktop
-rw-r--r-- 1 root root      30 Dec  4 23:14 initrd-2.6.37.1-1.2-desktop
-rw-r--r-- 1 root root  547840 Dec  4 01:18 message
-rw-r--r-- 1 root root  195283 Feb 23  2011 symvers-2.6.37.1-1.2-desktop.gz
-rw-r--r-- 1 root root 1781022 Feb 23  2011 System.map-2.6.37.1-1.2-desktop
-rw-r--r-- 1 root root 5733072 Feb 23  2011 vmlinux-2.6.37.1-1.2-desktop.gz
lrwxrwxrwx 1 root root      28 Dec  4 01:13 vmlinuz -> vmlinuz-2.6.37.1-1.2-desktop
-rw-r--r-- 1 root root      30 Dec  4 23:14 vmlinuz-2.6.37.1-1.2-desktop

I still don’t know why vmlinuz disappered. I wrote “some patterns” as I really wasn’t paying attention to what Yast was offering me (in other words I was naively believing that it was foolproof).

I was meaning to setup an access point just for personal use (it won’t be online all the time). Is incorporation of Evergreen required even in such cases?

On 2012-12-04 23:26, Cr U wrote:

> I still don’t know why vmlinuz disappered. I wrote “some patterns” as I
> really wasn’t paying attention to what Yast was offering me (in other
> words I was naively believing that it was foolproof).

No, YaST is not foolproof, you can easily shoot your own foot :-}

> I was meaning to setup an access point just for personal use (it won’t
> be online all the time). Is incorporation of Evergreen required even in
> such cases?

Absolutely.
You should not expose a machine to Internet if it is not up to date.
Even on an internal network there is some danger, most successful
attacks on a business are internal.

You can on a controlled lab, at home…


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Unfortunatelly, I stumbled upon similar problem just a day after “successful” update of system (I managed to reboot without any problems some 5-6 times since).

This time bootloader menu seems ok, but then it gets stuck at the same step, this time reporting “Error 13: unsupported file” for vlinuz. Command “ls /boot” still gives the same output posted in my previous post.

I’m really puzzled now, as I don’t understand how did my system suddenly (overnight) lose its ability to boot, not recognizing its own file? Is there a chance of hardware malfunction? Btw, the only change I’ve done meanwhile was installing gcc compiler; if this is any relevant.

Thanks!

On 12/05/2012 04:06 PM, Cr U wrote:
> Is there a chance of hardware malfunction?

sure there is always a chance for (impending) hardware failure…

do you have smart installed? if you do, you need to check and see how it
is reporting your drive’s health…

if you don’t have a look in YaST Software Management, search on smart,
on my system (probably older than yours) i have installed the package
named ‘libatasmart4’ (ATA S.M.A.R.T. Disk Health Monitoring Library) and
‘smartmontools’ “Monitor for S.M.A.R.T. Disks and Devices”…

after install there should be some documentation in
/usr/share/doc/packages/smartmontools/

and, as usual: ensure your backup is current.


dd http://tinyurl.com/DD-Caveat

On 2012-12-05 16:06, Cr U wrote:

> This time bootloader menu seems ok, but then it gets stuck at the same
> step, this time reporting “Error 13: unsupported file” for vlinuz.
> Command “ls /boot” still gives the same output posted in my previous
> post.

I don’t know.
Either there is something wrong in the configuration, or perhaps a
module is not in the initrd.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)