Jump to content
funtoo forums
  • 0
Sign in to follow this  
infectiousoma

GPT encrypted boot problem

Question

I am attempting to install Funtoo to my HP 17-e016dx. http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03943159&tmp_task=prodinfoCategory&cc=us&dlc=en&lc=en&product=6521424

My system loads Grub 2 and then when I select my funtoo OS it goes on to a black screen with my caps lock blinking. My logical conclusion is that my grub isn't proceding to decrypt my cryptcontainer.

In my grub I press e to edit and it loads this up.

setparams 'Funtoo Linux -bzImage-3.1.fapp'

  insmod part_gpt

  insmod ext2

  set root=(hostdisk//dev/sda,gpt1)

  search --no-floppy --fs-uuid --set 7ccfb22-7ccfb622-7846-4387-8168-12ffd784a2e5

  linux /bzImage-3.1.fapp video=vesafb rootfstype=ext4 root=/dev/mapper/vg-root

  set gfxpayload=1600x900

 

After installing using this guide, http://www.funtoo.org/Installation_%28Tutorial%29#GPT.2FGUID_partition_table

I set it up with this partition table

1       200Mb    0700

2       512Kb    EF02

3       695Gb    0700

Then after 32 hours of encrypting my drive and securing it with my pass I created my logic valumes. And then my filesystem.

Then I mounted the filesystem as directed. I used the AMD64 piledriver package for my OS.

After chrooting the system I set a few values like the MAKEOPTS-"j5"

Of course it took me a few days to configure my kernel.

I modified my boot.conf as directed.

This is where I guess it went wrong, but i don't truely know. But the system doesn't seem to want to decrpyt.

The grub file doesn't mention the slashbeast, busybox, crytpsetup, or lvm. IDK if it is supposed to though.

From there I simply continued to follow the tutorial. Any help would be greatly appreciated. Thank you.

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I don't know if you already figured out, but I'll leave here my boot.conf

boot {
    generate grub
    default "Funtoo Linux Hardened"
    timeout 3
}
 
"Funtoo Linux Hardened" {
    params root=/dev/mapper/root
    params += crypt_root=/dev/vda3
    params += rootfstype=ext4
    params += ro
    params += quiet
    kernel /vmlinuz-3.17.7-hardened-r1
    initrd /initramfs-genkernel-x86_64-3.17.7-hardened-r1
}

After I compile the kernel (and make "modules_install"/"install"), I run "genkernel --luks --install initramfs" to build the initramfs.

 

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×