Quantcast
Channel: Linux.org.ru: Форум (тех. форум)
Viewing all articles
Browse latest Browse all 74622

Восстановление Grub2 на LVM (Debian)

$
0
0

Здравствуйте,
подскажите никак не получается восстановить Grub2, сделал бекап с помощью dd с меньшего диска на больший, захожу с Live CD, монтирую и выдает ошибку grub-install: command not found

root@debian:/home/user# mount /dev/vg01/vg01root /mnt
root@debian:/home/user# mount /dev/vg01/vg01boot /mnt/boot
root@debian:/home/user# mount --bind /dev /mnt/dev
root@debian:/home/user# mount --bind /proc /mnt/proc
root@debian:/home/user# mount --bind /sys  /mnt/sys
root@debian:/home/user# chroot /mnt
root@debian:/# grub-install /dev/vg01/vg01boot
bash: grub-install: command not found
root@debian:/# grub-install --recheck /dev/vg01/vg01boot
root@debian:/# grub-install /dev/sda1
bash: grub-install: command not found
LVM
root@debian:/home/user# lvscan
  ACTIVE            '/dev/vg01/vg01boot' [100.00 MiB] inherit
  ACTIVE            '/dev/vg01/vg01root' [1.51 GiB] inherit
  ACTIVE            '/dev/vg01/vg01var' [2.00 GiB] inherit
  ACTIVE            '/dev/vg01/vg01home' [500.00 MiB] inherit
  ACTIVE            '/dev/vg01/vg01usr' [2.00 GiB] inherit
  ACTIVE            '/dev/vg01/vg01tmp' [200.00 MiB] inherit

 , ,


Viewing all articles
Browse latest Browse all 74622

Latest Images

Trending Articles