LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-02-2009, 10:47 AM   #1
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Rep: Reputation: 31
accidentally uninstalled kernel


I was removing the latest two kernels installed because of some issues with compiz and stuffs. And I accidentally removed the only kernel left too. Now, grub has only one entry for Windows. I used "yum remove kernel-.....". Now, I'm stuck, I don't want to re-install the system. It FC11 using LVM. Is there any way I can install re-install the kernel only. What I'm thinking of is copying the kernel image from a live fc11 or installing via rpm on maintenance mode if its possible.
 
Old 10-02-2009, 10:55 AM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
you should be able to boot to rescue media (F11 install DVD), mount the on-disk filesystems, chroot /mnt/sysimage, and then install the kernel from there (either off the install DVD or pull it from a network location).
 
Old 10-02-2009, 12:26 PM   #3
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Original Poster
Rep: Reputation: 31
Thats exactly what I did, installed the kernel rpm from the install DVD while in rescue mode. They system boots fine but the X is broken. Probably a lot of other packages were uninstalled when I yum removed the stock kernel. I'll try to do a yum install in rescue mode. Lets hope, it'll install the other packages too.
 
Old 10-02-2009, 01:34 PM   #4
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
If it boots "normally" off the installed OS and you have networking, you should be able to use yum groupinstall what you need fairly easily... I hope.


Code:
yum groupinstall "GNOME Desktop Environment" "Graphical Internet" "Sound and Video" \
     "Window Managers" "X Window System" "Office/Productivity" "Base"
yum grouplist should show you available names to use and the above are just some I picked.
 
Old 10-02-2009, 02:35 PM   #5
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Original Poster
Rep: Reputation: 31
Thanks a bunch. Thats what I was thinking of doing next. I've got to find a LAN cable to connect to the router. For some reason I don't seem to be able to connect to the Wireless while on text mode.
 
Old 10-02-2009, 06:04 PM   #6
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Network manager is maybe disabled. Or you removed kernel drivers for wireless.
 
Old 10-02-2009, 06:40 PM   #7
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Original Poster
Rep: Reputation: 31
Theres no network manager for text mode.The drivers are fine. I'll try with wpa_supplicant or with an ethernet cable.
 
Old 10-03-2009, 06:05 PM   #8
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
what about madwifi? I recommend you reinstall it, to add kernel modules to new kernel.
 
Old 10-03-2009, 06:14 PM   #9
evil_empire
Member
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 176

Original Poster
Rep: Reputation: 31
My chip doesn't use madwifi. I use ath9k. Its working fine. Its always a nightmare to get connected to wifi in text mode. ath9k has a lot of bugs. I've already fixed the system using a LAN cable.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accidentally deleted kernel source... need it back jalsk Fedora 4 04-20-2008 01:22 PM
Accidentally uninstalled yum skibler1223 Linux - Software 2 02-17-2008 08:16 PM
Um, I think I accidentally uninstalled GNOME on FC5 Fegenbush Linux - Desktop 2 02-01-2007 08:15 AM
Accidentally uninstalled grep on slackware... what now? KickMeElmo Linux - Desktop 4 08-25-2006 10:10 PM
Help please: glibc uninstalled hence Kernel Panic bluefin Linux - Software 1 10-07-2002 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration