正文
The problems when using a new ubuntu 18.04
小程序:扫一扫查出行
【扫一扫了解最新限行尾号】
复制小程序
【扫一扫了解最新限行尾号】
复制小程序
how to install dual systems (windows & ubuntu)
Donwloading the ubuntu from web.
Using refu to create a boot usb disk in windows.
booting from usb and following the instruction to install ubuntu.
The most importance is that how to create the needed disks .
1) select the disk and create the partition disks below
swap: primary, beginning of this space, use as swap area. 512M
rootfs: logical, beginning of this space, ext4 journaling file system, mount point /. size : 40000M
/home. logical, beginning of this space, ext4 journaling file system, size: as your needed,
/var is option
Below is an example for 40G total disk
- /boot 1 GB (ext4 files system)
- /home 18 GB (ext4 file system)
- / 12 GB (ext4 file system)
- /var 6 GB (ext4 file system)
- Swap 2 GB
1. gcc and binutils must be installed.
errors: “CONFIG_X86_X32 enabled but no binutils support”
sudo apt-get install gcc
sudo apt-get install binutils
2. makefile in vs code, the tab key will be auto relaced by blank. so you can use vim or gedit to modify the makefile.
3. vs code install
download the package from official web.
sudo dpkg -i xx.deb
sudo apt-get update
sudo apt-get install libgconf-2-4 when this lib is not installed.
4. cc1: error: code model kernel does not support PIC mode
sudo gedit ../../../linux-headers-4.15.0-29/arch/x86/Makefile
KBUILD_CFLAGS += -fno-pic
5. eclipse
the java is needed.
sudo apt-get update
sudo apt-get install default-jre