How do a fix a non working kernel installation ?
linux guy
linuxguy123 at gmail.com
Thu Jul 16 16:42:38 UTC 2009
I think I got it fixed. Here is what I did in case someone needs it someday :)
- booted F9 Live. Just because I had it around.
- opened Dolphin, because it displays the hard drives for the machine
- opened a terminal in Dolphin
- browse to the root directory of the hard drive
- did a pwd in the terminal and found the root of my hard drive was /media/-/
- su
- chroot /media/-/
- yum -C list kernel <- did -C because the Fedora repos seem to be
messed up again, thus I only used the local cache data
- yum -C remove kernel-2.6.31-0.69.rc3.fc12
- this resulted in an error due to some unrelated pooched dependencies.
- rpm -e kernel-2.6.31-0.69.rc3.fc12
- this resulted in an error due to some unrelated pooched dependencies
- rpm --nodeps -e kernel-2.6.31-0.69.rc3.fc12
- rpm -e kernel-firmware-2.6.31-0.69.rc3.fc12
I will now reboot and see if my system runs. I'll report back in a
bit if it does.
On 7/16/09, linux guy <linuxguy123 at gmail.com> wrote:
> Will chroot work when the target system has a broken kernel ? It
> keeps running the old kernel ?
>
> I tried using rpm with --dbpath so that it used the F11 rpm data. It
> wouldn't run because of incompatible rpm versions.
>
> On 7/16/09, davide <lists4davide at gmail.com> wrote:
>> linux guy <linuxguy123 <at> gmail.com> writes:
>>
>>
>>> I am now running from a Fedora 9 live CD I had laying around. I can
>>> see the hard drive and its partitions from the live session. How
>>> would I fix the F11 installation so it runs again ? Is it possible to
>>> do an rpm -e on the non running F11 partition from the F9 live session
>>> ?
>>
>> You can take control of the installed linux from a live cd with the
>> chroot
>> command using the command line.
>> But you should know what you are doing.
>> Basically it is very simple and powerful, but for this reason you can
>> also
>> break
>> your system.
>>
>> --
>> fedora-list mailing list
>> fedora-list at redhat.com
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>> Guidelines:
>> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>>
>
More information about the fedora-list
mailing list