View previous topic :: View next topic |
Author |
Message |
Mackenzie01 n00b
Joined: 04 Nov 2016 Posts: 7 Location: Russia
|
Posted: Sun Nov 13, 2016 2:15 pm Post subject: Configure the Linux kernel |
|
|
I install Gentoo on a virtual machine. Get to a point "Compiling and Installing", all done on the instructions handbook.
Come out here such error. Who knows what is the reason?
Windows 7 - 32 bit, Intel Core i5-2500K CPU 3.30 GHz, 4GB RAM
Code: |
(chroot) livecd linux # make && make modules_install
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrealese.h
CC kernel/bounds.s
[b] kernel/bounds.c:1:0: error: CPU you selected does not support x86-64 instruction set
/*
^ [/b]
Kbuild:44: recipe for target 'kernel/bounds.s' failed
make[1] *** [kernel/bounds.s] Error 1
Makefile:1002: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
(chroot) livecd linux #
|
|
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Sun Nov 13, 2016 3:16 pm Post subject: Re: Configure the Linux kernel |
|
|
Mackenzie01 wrote: | Windows 7 - 32 bit, Intel Core i5-2500K CPU 3.30 GHz, 4GB RAM |
I see Windows 7 32bit... then i suppose that you can't select 64 bit processor in kernel in your virtual machine |
|
Back to top |
|
|
Mackenzie01 n00b
Joined: 04 Nov 2016 Posts: 7 Location: Russia
|
Posted: Sun Nov 13, 2016 3:24 pm Post subject: Re: Configure the Linux kernel |
|
|
Quote: | I see Windows 7 32bit... then i suppose that you can't select 64 bit processor in kernel in your virtual machine |
My installation image is called "install-x86-minimal-20161108"
Is it not appropriate? |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Sun Nov 13, 2016 3:27 pm Post subject: |
|
|
x86 is for 32 bit |
|
Back to top |
|
|
Mackenzie01 n00b
Joined: 04 Nov 2016 Posts: 7 Location: Russia
|
Posted: Sun Nov 13, 2016 3:30 pm Post subject: |
|
|
I have a 32 bit system and I install this image, what's the problem? |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Sun Nov 13, 2016 3:31 pm Post subject: |
|
|
amd64 is for intel i5, but file "install-x86-minimal-20161108" is iso for boot from CD, after you need stage3 file |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Sun Nov 13, 2016 3:34 pm Post subject: |
|
|
For 64 bit you need "install-amd64-minimal-20161108.iso" for boot...
but after you need to install "stage3-amd64-20161103.tar.bz2" for example. |
|
Back to top |
|
|
Mackenzie01 n00b
Joined: 04 Nov 2016 Posts: 7 Location: Russia
|
Posted: Sun Nov 13, 2016 3:34 pm Post subject: |
|
|
Maxxx wrote: | amd64 is for intel i5, but file "install-x86-minimal-20161108" is iso for boot from CD, after you need stage3 file |
So better to download the "hybrid ISO (LiveDVD)"? |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Sun Nov 13, 2016 3:36 pm Post subject: |
|
|
But i don't know if you can install 64 bit system in virtual machine under windows 32bit.
For this we wait other opinions |
|
Back to top |
|
|
Mackenzie01 n00b
Joined: 04 Nov 2016 Posts: 7 Location: Russia
|
Posted: Sun Nov 13, 2016 3:36 pm Post subject: |
|
|
Maxxx wrote: | For 64 bit you need "install-amd64-minimal-20161108.iso" for boot...
but after you need to install "stage3-amd64-20161103.tar.bz2" for example. |
I downloaded stage3 during installation using links |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Sun Nov 13, 2016 3:41 pm Post subject: |
|
|
Mackenzie01 wrote: | Maxxx wrote: | For 64 bit you need "install-amd64-minimal-20161108.iso" for boot...
but after you need to install "stage3-amd64-20161103.tar.bz2" for example. |
I downloaded stage3 during installation using links |
Yes, you download stage 3 during installation.
"hybrid ISO (LiveDVD)" i never used it... i used "install-amd64-minimal-date.iso" |
|
Back to top |
|
|
Mackenzie01 n00b
Joined: 04 Nov 2016 Posts: 7 Location: Russia
|
Posted: Sun Nov 13, 2016 3:44 pm Post subject: |
|
|
Maxxx wrote: | Mackenzie01 wrote: | Maxxx wrote: | For 64 bit you need "install-amd64-minimal-20161108.iso" for boot...
but after you need to install "stage3-amd64-20161103.tar.bz2" for example. |
I downloaded stage3 during installation using links |
Yes, you download stage 3 during installation.
"hybrid ISO (LiveDVD)" i never used it... i used "install-amd64-minimal-date.iso" |
Well, I'll try something else to do, thanks |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Sun Nov 13, 2016 3:45 pm Post subject: |
|
|
But the error
Code: | CPU you selected does not support x86-64 instruction set |
i think it means that you selected 64 bit cpu in your kernel, and your virtual machine don't support 64 bit under 32 bit system (windows), but here maybe i wrong. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31461 Location: here
|
Posted: Sun Nov 13, 2016 3:50 pm Post subject: |
|
|
Post output of command grep CONFIG_64BIT /usr/src/linux/.config _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|