A
A
Anton Spirin2012-07-01 20:57:17
linux
Anton Spirin, 2012-07-01 20:57:17

How to update the linux kernel immediately after installation without rebooting the system?

I have a nokia booklet 3g netbook .
The work of windows 7 does not suit the speed, metro and the 3g modem do not work in windows 8 . I decided to install linux (I used jolyOS before , but there were some troubles). In a netbook, costing an intel gma500 video is the main problem for me, I decided to try lubuntu 12.04 - it works great with a flashstick, but after installation it crashes to a black screen during the first boot and ... that's it. I read here that everything works fine in the new kernel 3.3.4 , but now the main kernel is younger.



Actually, the question is: how to replace the kernel immediately after installation, i.e. in a session from a flash drive?
Thank you!

Answer the question

In order to leave comments, you need to log in

8 answer(s)
A
Anton Spirin, 2012-07-09
@dude_sam

In general, I did not find a single custom linux distribution with the ability to update the kernel during installation.
I read Arch-WiKi and realized that this is not mine. I solved
the problem in the way that Ubuntu-Wiki suggests : I turned off splash and switched the launch to the first console.

E
Eddy_Em, 2012-07-01
@Eddy_Em

Boot without Xs. Install everything you need, update. And OK.
In Arch, by the way, the kernel is 3.4.4.

I
ipfw, 2012-07-02
@ipfw

Kexec .

N
Nikolai Turnaviotov, 2012-07-01
@foxmuldercp

sudo apt-get install packagename like you do everywhere else in debian.
well, or sudo apt-get update && sudo apt-get dist-upgrade, so that everything is already in one fell swoop and in sudo reboot,
if it does not rise with the current kernel, you can select safe mode or the previous kernel from the main menu (esc key)

N
Nikolai Turnaviotov, 2012-07-01
@foxmuldercp

Actually, the main thing is to raise the network, as far as I remember, already in version 11 it tried to immediately install the latest versions of packages from the network

V
Vlad Zhivotnev, 2012-07-01
@inkvizitor68sl

Mount the installed system to /mount/whatever and truncate into it.

B
Biga, 2012-07-01
@Biga

You need to put the new kernel in /boot and register it in the bootloader. If the bootloader is grub, then there is a button e, with which you can edit the boot options, including the path to the kernel.
Usually kernels are compiled in such a way that they also need an appropriate initrd.img, so don't forget that too. You can download it via the Internet, all repositories are available from the browser.
This was in case the system does not boot at all, but you really want to.
If the system still boots at least a little, for example, in Super (Single?) User mode, when given a bare console, then you can try to update the kernel through the package manager.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question