LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Recover from hard drive MBR corruption with LVM/LUKS partitions

Posted 11-12-2015 at 09:05 AM by number22
Updated 11-12-2015 at 09:08 AM by number22

Using latest version boot cd or usb rescue disk, which is created by usbboot.img from cd or ftp.slackware.com

create usbboot.img with dd command.(#dd if=usbboot.img of=/dev/sdb bs=1M) (clear usb disk #dd if=/dev/zero of=/dev/sdb bs=512).

once boot up:

# cryptsetup luksOpen /dev/sdxx luksname (sdxx your encrypted luks partition)

After successful enter password:

#vgscan --mknodes
#vgchange -ay
#mount /dev/cryptvg/root /mnt...
Member
Posted in Uncategorized
Views 2236 Comments 0 number22 is offline

  



All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration