-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathubuntu
59 lines (45 loc) · 2.36 KB
/
ubuntu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// My notebook computer Bios
'del' to enter bios menu
Security - Change Supervisor Passwd: 1234
Authentication - Security Boot:disabled
Boot option: 1. Removable Device 2. UEFI... 3. Windows
// My notebook (2 ssd drive: 500GB and 1TB)
1. set bios(press F2 when booting): Boot - Fast Boot [Disabled]
2. windows - start - control panel - system & security - Power option - Change what the power buttons do - Change settings currently unavailable - Uncheck the item Turn on fast start up
ref. solution 2 from https://windowsreport.com/fix-dual-boot-windows-10-ubuntu/
// My pc desktop Acer Aspire-TC860
// enter bios by pressing "del" key
// UEFI... is usb, removable device is not
// press F12 to boot from usb stick
// create usb stick on ubuntu
https://ubuntu.com/tutorials/create-a-usb-stick-on-ubuntu#3-launch-startup-disk-creator
// install ubuntu along with debian
1. install debian with erasing the full disk (choose taiwan country and sever)
2. shrink partition by GParted on unbuntu
3. install ubuntu along with debian (default option)
// add swap size ubuntu
1. search "add swap size ubuntu"
2. https://bogdancornianu.com/change-swap-size-in-ubuntu/
3. add to boot by change to /swapfile swap swap default 0 0
https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-18-04/
4. reboot
// chinese input setting
http://shiunxun.blogspot.com/2018/04/ubuntu-1804.html
setting - region & language - manage installed languages - install languages - Install / Remove Languages - add Chinese (simplifed) and (traditional) - Apply System-Wide - "restart computer" - + - Add a Input source - Other - Chinese (chewing)
// Fix unclean file system (0,0) problem in mount
sudo ntfsfix /dev/sda5
sudo mount -t ntfs -o nls=utf8,umask=0222 /dev/sda5 /mnt/win-d
// Netron install
https://github.com/lutzroeder/netron/releases/tag/v3.3.2, click netron_3.3.2_amd64.deb, open and install it.
// fix keyboard keying problem
sudo apt-get install vim
// install ssh server for scp
sudo apt-get install openssh-server
// mlir build
1. build with clang: success, 9min
// clang with llvm debug build with cmake results:
conclusion: build with make -j6 first, and stop by "ctrl-c", then make -j1 -> avoid link fail.
1. make -j6 with gcc: link time out fail
2. make -j6 with clang: link time out fail
3. make -l6 with clang: pass
4. time ninja -l6 with gcc: :