View previous topic :: View next topic |
Author |
Message |
jpc22 Apprentice
Joined: 29 Jan 2012 Posts: 195
|
Posted: Sat Aug 03, 2013 10:55 pm Post subject: (solved)Cp arch/X86..creates dos executable...no Grub2 entry |
|
|
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 |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Aug 03, 2013 11:55 pm Post subject: |
|
|
If you enabled the "EFI stub" option in menuconfig, then the file manager is right; that's literally a DOS executable. |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Sun Aug 04, 2013 12:01 am Post subject: |
|
|
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 |
|
|
jpc22 Apprentice
Joined: 29 Jan 2012 Posts: 195
|
Posted: Sun Aug 04, 2013 1:05 am Post subject: |
|
|
/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 |
|
|
|