Find the answer to your Linux question:
Results 1 to 5 of 5
Hello Everyone, First of all, I highly appreciate all Linux forum members and whole Linux community. . I wish you the best for all of you ! I will try ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    cdt
    cdt is offline
    Just Joined!
    Join Date
    Jun 2011
    Posts
    2

    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. . 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, 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 ...

    All the best for you.

    Cristian

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    chroot into your install and use apt-get from the command line to re-install kernel ... then run update-grub. After you shutdown and restart the computer you should have option to boot the kernel.

    ... we need the output of fdisk -l and for you to tell us which partition is which if you need further help

  3. #3
    cdt
    cdt is offline
    Just Joined!
    Join Date
    Jun 2011
    Posts
    2

    reply

    into your install and use apt-get from the command line to re-install kernel ... then run update-grub. After you shutdown and restart the computer you should have option to boot the kernel.

    ... we need the output of fdisk -l and for you to tell us which partition is which if you need further help[/QUOTE]

    Hello Jonathan,

    Thank you for fast reply.
    Would you be kind and provide me full apt-get command line ?

    Because the boot options did not allow me to start a minimal (command line only) console, would you think that the Memory test boot option will allow me to do these commands ?

    Thanks again,

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    Quote Originally Posted by cdt View Post
    Would you be kind and provide me full apt-get command line ?

    Because the boot options did not allow me to start a minimal (command line only) console, would you think that the Memory test boot option will allow me to do these commands ?
    You need to boot from the live CD (open a terminal session - which you can do by opening terminal - from the menu), mount the partitions on your hard drive, chroot into the environment on your hard drive, and then install the kernel ... if you are not sure about apt-get I suggest you use aptitude instead as this allows you to interactively pick the packages to install (and gives you a description of the packages as well).

  6. #5
    Just Joined!
    Join Date
    Apr 2010
    Posts
    13
    you said you had 2 workstations running Linux mint if the above method doesn't works for you than you can simply colour your kernel binaries from 2nd workstation to your 1st one and boot and don't forget the initrd images too keep all parameters as it is and than just change the root line in kernel parameters to your installation partition you shoid be done and all your kernel binaries are in /boot not in /

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •