「debian」カテゴリーアーカイブ
find: usage sample
root@debian-nakym:/home/kiyoshi# find / -name “gtk2.0 -examples”
find: ‘/run/user/1000/gvfs’: Permission denied
root@debian-nakym:/home/kiyoshi# find / -name “gtk2.0-examples”
find: ‘/run/user/1000/gvfs’: Permission denied
/usr/share/doc/gtk2.0-examples
root@debian-nakym:/home/kiyoshi#
pointer to 2-d array
- Suppose: float buff[10][20];
- float (*m_ptr)[10][20] = &buff;
- Can access: (*m_ptr)[0][1]= …; w=(*m_ptr)[0][1];
- My practice:
- in global.h
- firbuftk[2][3]; unsigned firbuftk_index; float (*m_ptr)[2][3] = &firbuftk;
- firbuftk_index is not necessarily needed.
Debian version
- $ lsb_release -a
- M-NotePC3: Debian Gnu/Linux 9.11 (stretch)
- Debian-NewKiyoshi: Debian GNU/Linux 9.9(stretch)
- Test from M-NotePc3 debian
Re-install the GRUB 2 in M-NotePC3
- in debian (which was selected through overriding in BIOS)(in last section:BOOT)
- as root; # grub-install /dev/sda
- message says; Installing for x86_64-efi platform. Installation finisahed. No error reported.
- Grub2 perfectly recovered.
- ref: https://securitronlinux.com/uncategorized/reinstalling-grub2-bootloader-in-debian-6-0/
- Still, cannot be booted from usb key.
M-NotePC3 初期化
1.@win10 更新とセキュアリティ→PC初期化 30min
2.Windows インストール: 30min
3. Win10が立ち上がってさらに更新プログラム:several min
4. Desktopに”削除されたアプリ(html)”
5.Windows side; user section; as was.
6. debian:bios で選択すると立ち上がる。内容はOKのようだ。
7. Bootable usb からの起動:依然として不可能;どうやっても結局win10 に入る。.
change boot order on Debian/Win10 dual boot system
- Find the Windows entry number in the boot loader :
- ~$ cat /boot/grub/grub.cfg | grep menuentry
- This shows the menuentry list in the order 0,1,..; if the Windows boot manager is at the third place, entry number is 2.
- Edit /etc/default/grub;
- ~$ sudo nano /etc/default/grub
- Change the GRUB_DEFAULT from 0 to 2, then save the file.
- GRUB DEFAULT=2
- Update the changes into the boot loader. ;
- ~$ sudo update-grub
zoom on debian
- search “debian zoom”
- select “Installing or updating Zoom on Linux – Zoom Help Center”
- zoom help center :Installing or updating Zoom on Linux – Zoom Help Center
- select debian
- follow: Using a graphical installer
- should proceed smoothly, ending successfull installation!
dual boot on M-NotePC3
- Shrink windows(C:) to 144.38GB leaving 78.13GB unallocated.
- Prepare Win recovery usb for safety on ADATA-UV150(RedSort)(8.44/28.8GB)(nominal32GB).
- Important!!:Win10高速スタート解除;コントロールパネル➝ハードウェアとサウンド➝電源オプション➝システム設定➝現在利用可能でない設定を変更➝高速スタートアップ:uncheck→変更保存:
- Insert Debian Install USB (ELECOM MF-KCU3A?)
- BIOS設定:1.secure boot :disabled 2. Boot optionPriorities:Top Boot Option #1:[UEFI:ELECOM MF-KCU3A1100,Partition 1]; UEFI setting: all enabled.→Boot: UEFI Boot: Enabled
- Debian installer started successfully.
- wifidriver preparation is advised, but you can neglect this and just go ahead.
- Mirror cannot be used by error. Proceed without mirror.
- Selected all the available softwares.
- Select default display manager: gdm3
session autologout debian-oldKiyoshi
gnomeclassic:
system tools ->settings->power->
Black screen->Never, Automatic suspend->off, When Power Button pressed->Nothing