Mystery of chroot
Felix Miata
mrmazda at ij.net
Sun Jul 22 19:41:05 UTC 2007
On 2007/07/22 16:37 (GMT+0100) Timothy Murphy apparently typed:
> My first attempt to re-install grub
> was to mount /dev/sda5 as /mnt/sda5
> and then run "chroot /mnt/sda5".
> What puzzled me is that after this /dev/sda was not found.
> Why is this?
> Does one have to run something like udevd after chroot now?
Probably works the same on Fedora as on SUSE, where before chroot you must:
mount --bind /proc /tmp/local/proc
mount --bind /dev /tmp/local/dev
mount --bind /sys /tmp/local/sys
--
"All scripture is God-breathed and is useful for teaching,
rebuking, correcting, and training in righteoousness."
2 Timothy 3:16 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://mrmazda.no-ip.com/
More information about the fedora-list
mailing list