「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

  1. Suppose: float buff[10][20];
  2. float (*m_ptr)[10][20] = &buff;
  3. Can access: (*m_ptr)[0][1]= …; w=(*m_ptr)[0][1];
  4. My practice:
  • in global.h
  • firbuftk[2][3]; unsigned firbuftk_index; float (*m_ptr)[2][3] = &firbuftk;
  • firbuftk_index is not necessarily needed.

Re-install the GRUB 2 in M-NotePC3

  1. in debian (which was selected through overriding in BIOS)(in last section:BOOT)
  2. as root; # grub-install /dev/sda
  3. message says; Installing for x86_64-efi platform. Installation finisahed. No error reported.
  4. Grub2 perfectly recovered.
  5. ref: https://securitronlinux.com/uncategorized/reinstalling-grub2-bootloader-in-debian-6-0/
  6. 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

  1. Shrink windows(C:) to 144.38GB leaving 78.13GB unallocated.
  2. Prepare Win recovery usb for safety on ADATA-UV150(RedSort)(8.44/28.8GB)(nominal32GB).
  3. Important!!:Win10高速スタート解除;コントロールパネル➝ハードウェアとサウンド➝電源オプション➝システム設定➝現在利用可能でない設定を変更➝高速スタートアップ:uncheck→変更保存:
  4. Insert Debian Install USB (ELECOM MF-KCU3A?)
  5. 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
  6. Debian installer started successfully.
  7. wifidriver preparation is advised, but you can neglect this and just go ahead.
  8. Mirror cannot be used by error. Proceed without mirror.
  9. Selected all the available softwares.
  10. Select default display manager: gdm3