Sponsored Content
Operating Systems Linux Ubuntu Kernel boot options removed by fault, no boot options Post 302530020 by cdt on Sunday 12th of June 2011 08:23:35 AM
Old 06-12-2011
[SOLVED] Kernel boot options removed by fault, no boot options

Hello Everyone,

First of all, I highly appreciate all Linux forum members and whole Linux community. Image. I wish you the best for all of you !

I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went good so far (Vbox, developing, Unix scripting, etc); I am not a very beginner in UNIX, having some skills in PHP/MYSQL/APACHE/BASH/LINUX - WIN/BATCH as well (several years, let's say).

But what is happening now, Image is putting me into a trouble: yesterday I have performed some wifi kernel modules installation with Synaptic and some new kernel were added to boot menu, some of them with --recovery option, some of them new ones. Uninstalling these last wifi modules (and probably another ones), all kernel modules (including the current (and good) one were uninstalled, of course, they disappeared from the boot menu as well).

I agree that was totally my fault because I have installed wifi modules which have required kernel recompiling, but I dd not know then the full image of this disaster.

In the last open session (just before reboot), I have seen that all kernel images/module disapperared from /root folder, /vmlinuz file disappeared too; of course using GUI boot loader, I have observed only 2 Memory test options and the M$Win OS (the second OS installed).

My issue now is: I would like to repair the previous Mint 10 installation, no to reinstall because it is taking some time to reparameter all settings .. if it is possible.

CURRENT STATUS:
> I have a Linux Mint 10 burned disk (this one where I typing these lines);
> wired/wireless network on;
> all partitions are not changed
> Linux Mint boot menu has only 2 Mem test option + 1 M$Win OS boot option
> Old Linux kernel definitions is missing from boot menu as well as from:
/root folder
in the / [root] there is no any vmlinuz binaries (I don't remember the correct name for the vmlinuz ..)
> I am able to burn any CD/DVD's, download any binaries/apps from the internet and so on.
> I am online now, ready to give you all details you need about my steps performed yesterday (as much as I remember ;(( -- poor of me ...)

QUESTIONS FOR YOU:
> I would like to avoid the full reinstallation in order to keep the old and full Linux Mint 10 destop;
> I would like to repair the linux kernel, putting it in the right place (/root, /) and create again the records in boot menu, in order to boot again LM10 as it was until yesterday evening.
> Hoping that this problem could have a solution, would you be kind to advise me a good procedure to peform (to install) as this kernel changes to do not happen again in the future.


Hoping that someone of you has encountered this before, I am here to follow your instructions. If the name of this topic could be redefined (in order to reflect this issue better), please do so or suggest me to do, I have not used so much the discussion forums until now, but I will do from now on Image ...

All the best for you.

Cristian

Last edited by cdt; 09-09-2011 at 01:33 AM..
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

menu.lst, boot options?

Hi all, I would like to have some details on menu.lst!! the reason is ,if i am trying to add my own boot option where do i need to add it? is it in menu.lst only or elsewere(am referring to unix os) because i tried adding a unique boot option and it was not reflected when the system booted?... (8 Replies)
Discussion started by: wrapster
8 Replies

2. HP-UX

Boot Options on HP PA-RISC and Itanium Servers

I've never really explored the options available in the boot firmware on our servers. Outside of needing to change boot device paths a few times for various reasons, I'm wondering what the implications are of turning off FASTBOOT. According to the man page for 'setboot', it seems that when... (1 Reply)
Discussion started by: deckard
1 Replies

3. Solaris

Boot options - DVD drive read error

I was wondering if there was a way to boot from openboot from the dvd drive. I was thinking about imaging the dvd to a blank drive and going about it that way. I just need to do a flash install. (5 Replies)
Discussion started by: adelsin
5 Replies

4. Solaris

Loading Kernel module at boot

Is there any link/tutorial on loading Solaris kernel modules at boot time?? (0 Replies)
Discussion started by: unisolin
0 Replies

5. Boot Loaders

Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key

Hello, I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error " reboot and select proper Boot device or insert Boot media in select Boot device and press a key " I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies

6. UNIX for Dummies Questions & Answers

New kernel won't boot

I compiled new kernel in linux 10.04 called linux-2.6.26.8-xenomai, it runs alongside the other kernel, but when I want to boot it I get an error message saying: Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/sda5 does not exist. After making the modules and headers I made the... (4 Replies)
Discussion started by: mdop
4 Replies

7. Slackware

/boot: how do I change the current kernel?

Slackware 14.0 Hi: I once changed the smp kernel running in my system by another one in /boot. What I did was to relink /boot/System.map, /boot/vmlinuz and /boot/config. But I don't remember if I did something else. Would that alone be OK. (4 Replies)
Discussion started by: stf92
4 Replies

8. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
KERNEL-INSTALL(8)						  kernel-install						 KERNEL-INSTALL(8)

NAME
kernel-install - Add and remove kernel and initramfs images to and from /boot SYNOPSIS
kernel-install COMMAND KERNEL-VERSION [KERNEL-IMAGE] DESCRIPTION
kernel-install is used to install and remove kernel and initramfs images to and from /boot. kernel-install will execute the files located in the directory /usr/lib/kernel/install.d/ and the local administration directory /etc/kernel/install.d/. All files are collectively sorted and executed in lexical order, regardless of the directory in which they live. However, files with identical filenames replace each other. Files in /etc/kernel/install.d/ take precedence over files with the same name in /usr/lib/kernel/install.d/. This can be used to override a system-supplied executables with a local file if needed; a symbolic link in /etc/kernel/install.d/ with the same name as an executable in /usr/lib/kernel/install.d/, pointing to /dev/null, disables the executable entirely. Executables must have the extension ".install"; other extensions are ignored. An executable should return 0 on success. It may also return 77 to cause the whole operation to terminate (executables later in lexical order will be skipped). COMMANDS
The following commands are understood: add KERNEL-VERSION KERNEL-IMAGE kernel-install creates the directory /boot/MACHINE-ID/KERNEL-VERSION/ and calls executables from /usr/lib/kernel/install.d/*.install and /etc/kernel/install.d/*.install with the arguments add KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/ KERNEL-IMAGE The kernel-install plugin 50-depmod.install runs depmod for the KERNEL-VERSION. The kernel-install plugin 90-loaderentry.install copies KERNEL-IMAGE to /boot/MACHINE-ID/KERNEL-VERSION/linux. It also creates a boot loader entry according to the boot loader specification in /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf. The title of the entry is the PRETTY_NAME parameter specified in /etc/os-release or /usr/lib/os-release (if the former is missing), or "Linux KERNEL-VERSION", if unset. If the file initrd is found next to the linux file, the initrd will be added to the configuration. remove KERNEL-VERSION Calls executables from /usr/lib/kernel/install.d/*.install and /etc/kernel/install.d/*.install with the arguments remove KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/ kernel-install removes the entire directory /boot/MACHINE-ID/KERNEL-VERSION/ afterwards. The kernel-install plugin 90-loaderentry.install removes the file /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf. EXIT STATUS
If every executable returns 0 or 77, 0 is returned, and a non-zero failure code otherwise. FILES
/usr/lib/kernel/install.d/*.install /etc/kernel/install.d/*.install Drop-in files which are executed by kernel-install. /etc/kernel/cmdline /proc/cmdline The content of the file /etc/kernel/cmdline specifies the kernel command line to use. If that file does not exist, /proc/cmdline is used. /etc/machine-id The content of the file specifies the machine identification MACHINE-ID. /etc/os-release /usr/lib/os-release The content of the file specifies the operating system title PRETTY_NAME. SEE ALSO
machine-id(5), os-release(5), Boot loader specification[1] NOTES
1. Boot loader specification https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec systemd 237 KERNEL-INSTALL(8)
All times are GMT -4. The time now is 02:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy