You are not logged in.

#1 2016-08-25 03:53:36

spwx
Member
Registered: 2015-12-23
Posts: 8

[SOLVED] I accidently deleted my refind.conf

I'm freaking out. I can't get my system to boot at all!

There is a Linux icon on refind (that's the only OS on the computer).

I just have 2 partitions:

/dev/sda1 which is the vfat EFI partition
/dev/sda2 which is an lvm partition

I keep my initramfs and kernel on the EFI partition

When I try:
root=/dev/sda1 initrd=\initramfs-linux.img

Boot fails with the message:
Mount: unknown filesystem type vfat

When I try:
root=/dev/sda1 initrd=\initramfs-linux-fallback.img

Boot fails with the message:
Root device mounted successfully, but /sbin/init does not exist.

Any ideas?

Last edited by spwx (2016-08-25 17:54:04)

Offline

#2 2016-08-25 04:22:27

spwx
Member
Registered: 2015-12-23
Posts: 8

Re: [SOLVED] I accidently deleted my refind.conf

Figured it out! With lvm my root needs to be

root=/dev/mapper/[LOGICAL VOLUME NAME]

Offline

#3 2016-08-25 15:24:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,792

Re: [SOLVED] I accidently deleted my refind.conf

spwx wrote:

Figured it out!

Excellent.  Remember to edit your first post and prepend [SOLVED] to your thread title.
Thanks


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB