Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I converted a machine from a single disk to mdadm RAID1. I did this nearly like it's described in Raid1 on a running system.

Before, I tried to make the same changes not within the running system, but in grml. update-grub failed. It complained /dev couldn't be found.

Why is update-grub not possible within a live-cd?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You have to bind-mount /dev /proc and maybe /sys to the chroot. You can use grml-chroot which automatically bind these three directories into your chroot.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.