Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]broken /boot partition, encrypted lvm, software raid
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ioio
n00b
n00b


Joined: 03 Jul 2005
Posts: 6

PostPosted: Sun Jul 01, 2012 3:13 pm    Post subject: [SOLVED]broken /boot partition, encrypted lvm, software raid Reply with quote

One funny case for you:

My system:

Software RAID0
Encrpyted /
/boot on USB Disk

What happened:

Due to hurry, I installed clonezilla on the USB disk containing /boot through unetbootin.

Now i get Syslinux telling:

Quote:
ERROR: No configuration file found


After cleaning the USB Drive from the overwritten files this is my folders and files tree:

http://pastebin.com/AnTnmvXT

grub device.map:

http://pastebin.com/8kKZZExn

grub.cfg:

http://pastebin.com/JQgp92Az

I'm trying to boot manually and then try to fix it (still do not know how).

Where do I begin?

I tried to type manually:

Quote:
/kernel-genkernel-x86_64-3.3.0-sabayon ro init=/linuxrc resume=swap:/dev/mapper/swap real_resume=/dev/mapper/swap dolvm root=/dev/mapper/vg_corequad-lv_root crypt_root=UUID=aca285a3-a469-4b4d-b362-957e11b1baa4 docrypt


but it didn't help.

Any advice?

Thank you.


Last edited by ioio on Sun Jul 01, 2012 4:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
ioio
n00b
n00b


Joined: 03 Jul 2005
Posts: 6

PostPosted: Sun Jul 01, 2012 3:32 pm    Post subject: Reply with quote

since I was using grub to boot the machine, from another computer I reinstalled grub on the USB-Disk.

Now I get:

Quote:
error: no such device: 29c8eed....


UPDATE:

Quote:
grub rescue>


is active, but I get following error:

Quote:
error: symbol not found: `grub_divmod64_full`


when I try following command: insmod normal

inspection further solutions.
Back to top
View user's profile Send private message
ioio
n00b
n00b


Joined: 03 Jul 2005
Posts: 6

PostPosted: Sun Jul 01, 2012 4:13 pm    Post subject: Reply with quote

somewhat solved:

installed Super Grub2 Disk and added/changed following lines in syslinux.cfg:

Quote:
default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /kernel-genkernel-x86_64-3.3.0-sabayon ro vga=791 console=tty1 quiet dokeymap keymap=us domdadm resume=swap:/dev/mapper/swap real_resume=/dev/mapper/swap dolvm root=/dev/mapper/vg_corequad-lv_root crypt_root=UUID=aca285a3-a469-4b4d-b362-957e11b1baa4 docrypt
append initrd=/initramfs-genkernel-x86_64-3.3.0-sabayon


at least it boots now.. let's see how to restore the USB-key.

Thank you for reading my rant :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum