Author Topic: Completely reinstall/reconfigure one kernel from another?  (Read 601 times)

Offline werepacman

  • Full Member
  • ***
  • Posts: 80
Completely reinstall/reconfigure one kernel from another?
« on: November 13, 2010, 08:13:58 PM »
I think I interrupted kernel configuration process so now it doesn`t work correct.
I installed pae kernel with synaptic and rebooted pc.
It was loading very slowly so I thought it hung.
After second reboot it loaded but videodriver didn`t work and system said "filesystem ext3 is not supported".  :o
So I think it lacks some modules because I interrupted kernel configuration during first boot.

I tried to reinstall kernel with synaptic but with no success. It keeps configuration in some place.
So how can I erase all bad configurations for pae-kernel and make completely new installation?
This time with more patience.  :)
« Last Edit: November 14, 2010, 03:16:13 AM by werepacman »

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Completely reinstall reconfigure kernel?
« Reply #1 on: November 13, 2010, 09:11:13 PM »
did you removed the other kernel, the old one?

have you tried to boot from the old kernel?

you can add another kernel from synaptic but if the system doesn't boot i don't know if failsafe mode or any cheat code to boot can help
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline werepacman

  • Full Member
  • ***
  • Posts: 80
Re: Completely reinstall reconfigure kernel?
« Reply #2 on: November 13, 2010, 09:14:59 PM »
I have an old kernel. Both are displayed in grub load menu and work.
But pae is buggy now.

I uninstalled pae with Synaptic, than installed it again - same effect.
After second install it didn`t load so long, so I think it took configuration from previous unlucky installation.



It is only my suggestion. I`m not very familiar with kernel configuration, but when Linux says ext3 is not supported my guess is something very wrong with the kernel.
I have ext3 only on the boot partition, other partitons mount ok.


-----------------
Changed name of the topic to make question more clear.
« Last Edit: November 14, 2010, 01:46:32 PM by werepacman »

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Completely reinstall/reconfigure one kernel from another?
« Reply #3 on: November 14, 2010, 05:10:20 AM »
Hi,

Uninstall pae again if it is installed --Be sure you are indeed using the older kernel at that moment (with the command "uname -a"), or if not, reboot to it.-- then:
Quote
$ pwd
/lib/modules
$ ls -l
total 8
drwxr-xr-x 3 root root 4096 2010-10-28 21:30 2.6.33.7-pclos5.bfs/
drwxr-xr-x 3 root root 4096 2010-11-05 21:33 2.6.2.6.33.7-pclos6.bfs/


Go to /lib/modules from within terminal, (open terminal, do "cd /lib/modules") then become root (su => passwd => you are root) then do a "ls" and look if there is the directory for the pae kernel - move it to another name to make the system belief it's not there anymore :

Code: [Select]
mv  2.6.33.7-pclos6.pae 2.6.33.7-pclos6.pae-SAVE
Reinstall the kernel et reboot to it.

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15309
  • ┌∩┐(◕_◕)┌∩┐
Re: Completely reinstall/reconfigure one kernel from another?
« Reply #4 on: November 14, 2010, 05:18:19 AM »
Quote
It was loading very slowly so I thought it hung.

In addition to the other posts, when a kernel is installed it can take a good few minutes to load as it's doing lots work rebuilding essential components. Mine normally takes about 4-5 minutes from Grub to desktop.

Kernel install is "tea time" in my house  ;)
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline werepacman

  • Full Member
  • ***
  • Posts: 80
Re: Completely reinstall/reconfigure one kernel from another?
« Reply #5 on: November 14, 2010, 01:57:59 PM »
After uninstall there was only

ls -la
total 20
drwxr-xr-x  3 root root  4096 2010-11-14 22:51 ./
drwxr-xr-x 17 root root 12288 2010-11-14 01:03 ../
drwxr-xr-x  3 root root  4096 2010-11-14 11:46 2.6.33.7-pclos6.bfs/
2.6.33.7-pclos6.bfs

I installed pae and made reboot. It booted fast as normal boot without thinking.
But this time all things seems work ok.
Thanks!
« Last Edit: November 14, 2010, 02:31:41 PM by werepacman »