The problems when using a new ubuntu 18.04

how to install dual systems (windows & ubuntu)java

Donwloading the ubuntu from web.linux

Using refu to create a boot usb disk in windows.web

booting from usb and following the instruction to install ubuntu.ubuntu

The most importance is that how to create the needed disks . vim

1) select the disk and create the partition disks belowwindows

swap: primary, beginning of this space, use as swap area. 512Meclipse

rootfs: logical, beginning of this space, ext4 journaling file system, mount point /. size :  40000Mthis

/home.  logical, beginning of this space, ext4 journaling file system, size: as your needed, spa

/var is optioncode

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

相關文章
相關標籤/搜索