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
SYSINFO(2)						     Linux Programmer's Manual							SYSINFO(2)

NAME
sysinfo - returns information on overall system statistics SYNOPSIS
#include <sys/sysinfo.h> int sysinfo(struct sysinfo *info); DESCRIPTION
Until Linux 2.3.16, sysinfo() used to return information in the following structure: struct sysinfo { long uptime; /* Seconds since boot */ unsigned long loads[3]; /* 1, 5, and 15 minute load averages */ unsigned long totalram; /* Total usable main memory size */ unsigned long freeram; /* Available memory size */ unsigned long sharedram; /* Amount of shared memory */ unsigned long bufferram; /* Memory used by buffers */ unsigned long totalswap; /* Total swap space size */ unsigned long freeswap; /* swap space still available */ unsigned short procs; /* Number of current processes */ char _f[22]; /* Pads structure to 64 bytes */ }; and the sizes were given in bytes. Since Linux 2.3.23 (i386), 2.3.48 (all architectures) the structure is: struct sysinfo { long uptime; /* Seconds since boot */ unsigned long loads[3]; /* 1, 5, and 15 minute load averages */ unsigned long totalram; /* Total usable main memory size */ unsigned long freeram; /* Available memory size */ unsigned long sharedram; /* Amount of shared memory */ unsigned long bufferram; /* Memory used by buffers */ unsigned long totalswap; /* Total swap space size */ unsigned long freeswap; /* swap space still available */ unsigned short procs; /* Number of current processes */ unsigned long totalhigh; /* Total high memory size */ unsigned long freehigh; /* Available high memory size */ unsigned int mem_unit; /* Memory unit size in bytes */ char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding to 64 bytes */ }; and the sizes are given as multiples of mem_unit bytes. sysinfo() provides a simple way of getting overall system statistics. This is more portable than reading /dev/kmem. RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately. ERRORS
EFAULT pointer to struct sysinfo is invalid CONFORMING TO
This function is Linux-specific, and should not be used in programs intended to be portable. The Linux kernel has a sysinfo() system call since 0.98.pl6. Linux libc contains a sysinfo() routine since 5.3.5, and glibc has one since 1.90. SEE ALSO
proc(5) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2012-05-05 SYSINFO(2)
All times are GMT -4. The time now is 09:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy