Problem memory on guest Debian

Discussions about using Linux guests in VirtualBox.
Post Reply
vtretiakov
Posts: 3
Joined: 23. Jan 2008, 09:09

Problem memory on guest Debian

Post by vtretiakov »

I setup Debian guest on my kubuntu host. For allocating machines 2Gb memory! After installing and running the system, "top" shows 906788 Kb What problem?
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Post by frank »

You have to install another kernel in your guest. The option HIGHMEM4GB must be set in the kernel config of your guest. But make sure to NOT use a kernel with HIGHMEM64G set because this kernel would use the PAE mode which is not yet supported by VirtualBox.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Post by frank »

That is, either compile a kernel yourself or use a -vserver kernel of the prebuilt Debian kernels, NOT a -bigmem kernel.
vtretiakov
Posts: 3
Joined: 23. Jan 2008, 09:09

Post by vtretiakov »

I have set those parameters a kernel but the problem remains
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Post by frank »

It is most likely that you did something wrong. If your guest Linux kernel has the HIGHMEM4GB option set it will definitely recognize more than 1GB RAM. Please make sure that your guest boots the right kernel image (check in the boot menu and check with 'uname -a'). Then look into the corresponding configuration file in /boot/config-*.
vtretiakov
Posts: 3
Joined: 23. Jan 2008, 09:09

Post by vtretiakov »

Thanks. All works! Just improperly built kernel.
Post Reply