4

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?

hildred
  • 5,759
  • 3
  • 30
  • 43
chris
  • 1,635
  • 2
  • 16
  • 19

1 Answers1

6

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.

Ulrich Dangel
  • 25,079
  • 3
  • 80
  • 80