Re: remake /dev
On 2012-07-28 15:57, Bruno Wolff III wrote:
On Sat, Jul 28, 2012 at 15:39:17 +0200,
Hello,* I still cannot boot directly on the damage installationWhat is bizard is that the installer of fedora 16 can see the installation
but not fedora 17. How can I force fedora 17 to update the installation? Thank.
I made a /dev/urandom and a /dev/null after a chroot and it seems fine.Which command create the /dev/* at boot?Is there anyway to repair the installation now that I run (after a chroot)?If you are trying to do rescue in a change route, then what you wantto do is a bind mount. You'll probably also want /sys, /proc and maybe/run. So for example if you were running a system from an initramfs or other kind of rescue environment and the rootfs was on /dev/sda1, /boot was on /dev/sda2 and /home was on /dev/sda3 you might do the following: mkdir /sysimage mount /dev/sda1 /sysimage mount -o bind /dev /sysimage/dev mount -o bind /sys /sysimage/sys mount -o bind /proc /sysimage/proc mount -o bind /run /sysimage/run mount /dev/sda2 /sysimage/boot mount /dev/sda3 /sysimage/home chroot /sysimageAt that point you should be able to run things like yum to repair the system.You'll eventually want to relabel the system (once you have it working again). You can touch /.autorelabel (in the chroot) to flag this to happen at the next boot.
-- ====================================================================== Patrick DUPRÉ | | email: pdupre@xxxxxxxxxx ====================================================================== -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
[Older Fedora Users] [Fedora Announce] [Fedora Package Announce] [EPEL Announce] [Fedora News] [Fedora Cloud] [Fedora Advisory Board] [Fedora Education] [Fedora Security] [Fedora Scitech] [Fedora Robotics] [Fedora Maintainers] [Fedora Infrastructure] [Fedora Websites] [Anaconda Devel] [Fedora Devel Java] [Fedora Legacy] [Fedora Desktop] [Fedora Fonts] [ATA RAID] [Fedora Marketing] [Fedora Management Tools] [Fedora Mentors] [SSH] [Find Someone Special] [Fedora Package Review] [Fedora R Devel] [Fedora PHP Devel] [Kickstart] [Fedora Music] [Fedora Packaging] [Centos] [Fedora SELinux] [Fedora Legal] [Fedora Kernel] [Fedora QA] [Fedora Triage] [Fedora OCaml] [Coolkey] [Virtualization Tools] [ET Management Tools] [Yum Users] [Tux] [Yosemite News] [Yosemite Photos] [Linux Apps] [Maemo Users] [Gnome Users] [KDE Users] [Fedora Tools] [Fedora Art] [Fedora Docs] [Maemo Users] [Asterisk PBX] [Fedora Sparc] [Fedora Universal Network Connector] [Libvirt Users] [Fedora ARM]