Dear All,
Is it possible to uninstall rpms from a computer that does not boot and using a live CD? If so, how? (The computer runs Fedora 18.)
Thanks in advance,
Paul
Am 27.01.2013 19:02, schrieb Paul Smith:
Is it possible to uninstall rpms from a computer that does not boot and using a live CD? If so, how? (The computer runs Fedora 18.)
install dvd's had the option for "rescue mode" and after "chroot /mnt/sysimage" you were actually in the installed and not booting system and all commands, configs etc affected this - not sure how this works with recent fedora versions since the option is gone and live-cd at all
but drop to a shell, mount your drive of the installed system and "chroot /mountpoint/ shoule maybe be enough, however i would always type "sync" to write back buffers befpre reboot as i practically always does (look in the archives for bugs then and there over the time missing this at shutdown)
On Sun, Jan 27, 2013 at 6:18 PM, Reindl Harald h.reindl@thelounge.net wrote:
Is it possible to uninstall rpms from a computer that does not boot and using a live CD? If so, how? (The computer runs Fedora 18.)
install dvd's had the option for "rescue mode" and after "chroot /mnt/sysimage" you were actually in the installed and not booting system and all commands, configs etc affected this - not sure how this works with recent fedora versions since the option is gone and live-cd at all
but drop to a shell, mount your drive of the installed system and "chroot /mountpoint/ shoule maybe be enough, however i would always type "sync" to write back buffers befpre reboot as i practically always does (look in the archives for bugs then and there over the time missing this at shutdown)
Thanks, Reindl. It would be even better if I could undo the last updates from inside the emergency mode. Is it possible?
Paul
Am 27.01.2013 19:24, schrieb Paul Smith:
On Sun, Jan 27, 2013 at 6:18 PM, Reindl Harald h.reindl@thelounge.net wrote:
Is it possible to uninstall rpms from a computer that does not boot and using a live CD? If so, how? (The computer runs Fedora 18.)
install dvd's had the option for "rescue mode" and after "chroot /mnt/sysimage" you were actually in the installed and not booting system and all commands, configs etc affected this - not sure how this works with recent fedora versions since the option is gone and live-cd at all
but drop to a shell, mount your drive of the installed system and "chroot /mountpoint/ shoule maybe be enough, however i would always type "sync" to write back buffers befpre reboot as i practically always does (look in the archives for bugs then and there over the time missing this at shutdown)
Thanks, Reindl. It would be even better if I could undo the last updates from inside the emergency mode. Is it possible?
if you can activate network and the rootfs is mounted rw or can be remounted rw give it a chance - if not yum would simply not work and so i see no high danger here, however backups are always good
On Sun, Jan 27, 2013 at 06:24:31PM +0000, Paul Smith wrote:
Thanks, Reindl. It would be even better if I could undo the last updates from inside the emergency mode. Is it possible?
You should be able to use yum after you mount your root partition, proc, and sys filesystems and chroot to root.
At the moment I cant recall what is the exact way to mount proc or sys (see man mount). If nothing else you can bind mount it with --rbind.
Hope this helps,