Child pages
  • Linux Rescue System hints

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Re-filling notes extended

...

Re-creating VGs & LVMs on new disks

No Format
fdisk /dev/sda
 
# do not forget to make one partition bootable
 
vgcreate vg1 /dev/sdaX
 
lvcreate -L 10G -n root vg1
 
mkfs /dev/vg1/root
 
# mount ... 
 
# restore data
 
# update fstab (UUIDs...)
 
#install-mbr /dev/sda
 
#install-grub /dev/sda /dev/sda1
# or:
#dpkg-reconfigure grub-pc
 
# ask the FSM to divert Murphy with pasta
# reboot