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 に入る。.

mount usb to /media

  1. Better; su root
  2. .ls /dev; without usbstick
  3. .ls /dev; with usbstick connected
  4. compare 2. and 3.
  5. select the extra one possibly having number at the end; e.g. sdb1
  6. mount -t vfat /dev/sdb1 /media ; you may not need option -t vfat; you may not need to be root.
  7. you will see usb stick on filemanager
  8. you ca unmount it on filemanager.

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

debian audio

  • as root: alsactl init

Found hardware: HDA-Intel” “Realtek ALC269VC” “HDA:10ec0269,15580942,00100202 HDA:80862809,15580941,00100000” “0x1558” “0x0942”
Hardware is initialized using a generic method

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!

Warning with PHP upgrade to 7.3

Warning: count(): Parameter must be an array or an object that implements Countable in …/wp-includes/post-template.php on line 310?

The following patch in the “post-template.php” was successful.

/*    if ( $elements['page'] > count( $elements['pages'] ) ) { // if the requested page doesn't exist
         $elements['page'] = count( $elements['pages'] ); // give them the highest numbered page that DOES exist
     }
 */ //replaced by the following 2019/11/11 k.n.
 if ( ! empty( $pages ) ) {
     if ( $page > count( $pages ) ) // if the requested page doesn't exist
         $page = count( $pages ); // give them the highest numbered page that DOES exist} else {
    $page = 0;
}
//replace end


WP move to subdirectory

  1. “japantourguide.net” has been installed in the root directory.
  2. Move everything except the directories for the sub-domains to the new japantourguide directory.
  3. Without modifying the “.htaccess” which is suggested by the WP.org, only change the directory in the LoLipop users setting.