Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(solved)Cp arch/X86..creates dos executable...no Grub2 entry
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jpc22
Apprentice
Apprentice


Joined: 29 Jan 2012
Posts: 195

PostPosted: Sat Aug 03, 2013 10:55 pm    Post subject: (solved)Cp arch/X86..creates dos executable...no Grub2 entry Reply with quote

When i issue
#cp arch/x86_64/boot/bzImage /boot/vmlinuz-3.10.4-hardened-r1

i get a file named /vmlinuz-3.10.4-hardened-r1 in /boot but it shows as a dos executable in my file manager.

When i do grub2-mkconfig i can see the kernel in the output, but when i install it and proceed to reboot, i don't have a choice for that kernel.

I am switching from full disk encryption with luks to FDE with lvm over luks.

All the kernels versions i tried since i reinstalled behave like this.

I cannot use my old kernel since i included linux_cmdiline arguments that wont work with my new configuration.


Last edited by jpc22 on Wed Aug 07, 2013 2:59 am; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Aug 03, 2013 11:55 pm    Post subject: Reply with quote

If you enabled the "EFI stub" option in menuconfig, then the file manager is right; that's literally a DOS executable.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Sun Aug 04, 2013 12:01 am    Post subject: Reply with quote

did you

Code:

grub2-install /dev/sda


sdx what ever your /boot partition is on?

try /usr/src/linux $make install

then regen config & reinstall
Back to top
View user's profile Send private message
jpc22
Apprentice
Apprentice


Joined: 29 Jan 2012
Posts: 195

PostPosted: Sun Aug 04, 2013 1:05 am    Post subject: Reply with quote

/boot is on a usb stick /dev/sdb


I guess i need to enable efi in my bios settings and tweak a few things.

Or are you suggesting i disable efi and recompile kernel?

Thanks, i'll probably try both tommorow
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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