Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://www.bictor.com/feed/

  1. <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
  2. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:atom="http://www.w3.org/2005/Atom"
  6. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  7. xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  8. >
  9.  
  10. <channel>
  11. <title>Bictor Tips</title>
  12. <atom:link href="http://www.bictor.com/feed/" rel="self" type="application/rss+xml" />
  13. <link>http://www.bictor.com</link>
  14. <description>Your Help In Digital World</description>
  15. <lastBuildDate>Mon, 08 Jul 2024 06:34:53 +0000</lastBuildDate>
  16. <language>en</language>
  17. <sy:updatePeriod>
  18. hourly </sy:updatePeriod>
  19. <sy:updateFrequency>
  20. 1 </sy:updateFrequency>
  21. <generator>https://wordpress.org/?v=6.7.2</generator>
  22.  
  23. <image>
  24. <url>https://i0.wp.com/www.bictor.com/wp-content/uploads/2018/05/cropped-CompleteLogo_small.jpg?fit=32%2C32</url>
  25. <title>Bictor Tips</title>
  26. <link>http://www.bictor.com</link>
  27. <width>32</width>
  28. <height>32</height>
  29. </image>
  30. <site xmlns="com-wordpress:feed-additions:1">64334160</site> <item>
  31. <title>Ubuntu 24.04 Problems &#038; Solutions</title>
  32. <link>http://www.bictor.com/2024/07/02/ubuntu-24-04-problems-solutions/</link>
  33. <comments>http://www.bictor.com/2024/07/02/ubuntu-24-04-problems-solutions/#respond</comments>
  34. <dc:creator><![CDATA[thinkofashish@gmail.com]]></dc:creator>
  35. <pubDate>Tue, 02 Jul 2024 06:03:12 +0000</pubDate>
  36. <category><![CDATA[Linux]]></category>
  37. <guid isPermaLink="false">http://www.bictor.com/?p=488</guid>
  38.  
  39. <description><![CDATA[Problem 1: Slow booting after fresh installation Problem could be seen when rebooting that Networkd is trying to continuously connect online, however it fails after 2 minutes of wait Solution: systemctl edit systemd-networkd-wait-online.service Add following lines ###Editing /etc/systemd/system/systemd-networkd-wait-online.service.d/override&#62;###Anything between here]]></description>
  40. <content:encoded><![CDATA[
  41. <p><strong>Problem 1: Slow booting after fresh installation</strong></p>
  42.  
  43.  
  44.  
  45. <p>Problem could be seen when rebooting that Networkd is trying to continuously connect online, however it fails after 2 minutes of wait</p>
  46.  
  47.  
  48.  
  49. <p>Solution: </p>
  50.  
  51.  
  52.  
  53. <p><code>systemctl edit systemd-networkd-wait-online.service</code></p>
  54.  
  55.  
  56.  
  57. <p>Add following lines</p>
  58.  
  59.  
  60.  
  61. <h3 class="wp-block-heading"><code>###Editing /etc/systemd/system/systemd-networkd-wait-online.service.d/override&gt;<br>###Anything between here and the comment below will become the contents of the&gt;<br>[Service]<br>ExecStart=<br>ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --interface=ens33<br>###Edits below this comment will be discarded</code></h3>
  62.  
  63.  
  64.  
  65. <p>Please note that &#8211;interface option should match with your active interfaces which can be seen using the ifconfig command</p>
  66.  
  67.  
  68.  
  69. <p></p>
  70.  
  71.  
  72.  
  73. <p><strong>Problem 2: VMWare Tools setup</strong></p>
  74.  
  75.  
  76.  
  77. <p>By default VMWare tools are not installed inside the VM and requires to install the following</p>
  78.  
  79.  
  80.  
  81. <p><code>apt install open-vm-tools open-vm-tools-desktop</code></p>
  82.  
  83.  
  84.  
  85. <p></p>
  86.  
  87.  
  88.  
  89. <p><strong>Problem 3: VMWare Display Freeze</strong></p>
  90.  
  91.  
  92.  
  93. <p>If VMWare is freezing Ubuntu 24.04 Display then we need to update drivers</p>
  94.  
  95.  
  96.  
  97. <p><code>sudo add-apt-repository ppa:oibaf/graphics-drivers<br>sudo apt update &amp;&amp; sudo apt upgrade</code></p>
  98. ]]></content:encoded>
  99. <wfw:commentRss>http://www.bictor.com/2024/07/02/ubuntu-24-04-problems-solutions/feed/</wfw:commentRss>
  100. <slash:comments>0</slash:comments>
  101. <post-id xmlns="com-wordpress:feed-additions:1">488</post-id> </item>
  102. <item>
  103. <title>Ubuntu Rescue Guide</title>
  104. <link>http://www.bictor.com/2024/04/27/ubuntu-rescue-guide/</link>
  105. <comments>http://www.bictor.com/2024/04/27/ubuntu-rescue-guide/#respond</comments>
  106. <dc:creator><![CDATA[thinkofashish@gmail.com]]></dc:creator>
  107. <pubDate>Sat, 27 Apr 2024 11:23:25 +0000</pubDate>
  108. <category><![CDATA[Linux]]></category>
  109. <guid isPermaLink="false">http://www.bictor.com/?p=485</guid>
  110.  
  111. <description><![CDATA[Common commands useful when debugging in rescue mode Checking login sessions for various server can be done using View the most recent logins If you just want to check the most recent logins, it&#8217;s even simpler. Back in the command-line,]]></description>
  112. <content:encoded><![CDATA[
  113. <p>Common commands useful when debugging in rescue mode</p>
  114.  
  115.  
  116.  
  117. <p>Checking login sessions for various server can be done using </p>
  118.  
  119.  
  120.  
  121. <pre class="wp-block-code"><code>sudo less /var/log/auth.log</code></pre>
  122.  
  123.  
  124.  
  125. <h3 class="wp-block-heading" id="view-the-most-recent-logins">View the most recent logins</h3>
  126.  
  127.  
  128.  
  129. <p>If you just want to check the most recent logins, it&#8217;s even simpler. Back in the command-line, type&nbsp;<code>last</code>&nbsp;and press Enter.</p>
  130.  
  131.  
  132.  
  133. <p>The output will look something like this:</p>
  134.  
  135.  
  136.  
  137. <pre class="wp-block-code"><code>root     pts/0        12.34.567.89    Fri Jan  8 15:30   still logged in
  138. root     pts/0        12.34.567.89    Fri Jan  8 15:13 - 15:29  (00:16)
  139. reboot   system boot  5.4.0-1009-kvm   Fri Jan  8 15:07   still running
  140. </code></pre>
  141.  
  142.  
  143.  
  144. <p>The&nbsp;<code>last</code>&nbsp;tool pulls its data from&nbsp;<code>/var/log/wtmp</code>, which is written to each time a user logs in. It&#8217;ll show username, tty, IP address, date and time, and session start/stop times.</p>
  145.  
  146.  
  147.  
  148. <p>If that&#8217;s too verbose, you can apply filters to the command with the following syntax:</p>
  149.  
  150.  
  151.  
  152. <pre class="wp-block-code"><code>last &#91;OPTIONS] &#91;USER] &#91;&lt;TTY&gt;...]</code></pre>
  153.  
  154.  
  155.  
  156. <p>Let&#8217;s look at an example. If we wanted to view all of the logins from the root user, we could run:</p>
  157.  
  158.  
  159.  
  160. <pre class="wp-block-code"><code>last root</code></pre>
  161.  
  162.  
  163.  
  164. <pre class="wp-block-code"><code>OUTPUT:
  165. root     pts/0        12.345.678.90    Fri Jan  8 15:30   still logged in
  166. root     pts/0        12.345.678.90    Fri Jan  8 15:13 - 15:29  (00:16)</code></pre>
  167.  
  168.  
  169.  
  170. <h3 class="wp-block-heading" id="see-when-users-last-logged-in">See when users last logged in</h3>
  171.  
  172.  
  173.  
  174. <p>If you notice an unauthorized change to the system, it&#8217;s often useful to see when each user last logged in. This way, you can determine who made the adjustment. We can do this via the&nbsp;<code>lastlog</code>&nbsp;command, which pulls data from&nbsp;<code>/etc/log/lastlog</code>&nbsp;and sorts them by&nbsp;<code>/etc/password</code>&nbsp;entries:</p>
  175.  
  176.  
  177.  
  178. <pre class="wp-block-code"><code>lastlog</code></pre>
  179.  
  180.  
  181.  
  182. <pre class="wp-block-code"><code>Username         Port     From             Latest
  183. root             pts/0    12.345.678.90    Fri Jan  8 15:30:06 +0000 2021
  184. daemon                                     **Never logged in**
  185. bin                                        **Never logged in**
  186. sys                                        **Never logged in**
  187. sync                                       **Never logged in**
  188. bitlaunch        pts/1    83.253.230.46    Fri Jan  8 16:09:53 +0000 2021
  189. hack0r           pts/1    83.253.230.46    Fri Jan  8 16:10:20 +0000 2021
  190. </code></pre>
  191.  
  192.  
  193.  
  194. <p>You&#8217;ll notice quite a few users with a&nbsp;<code>**Never logged in**</code>&nbsp;entry in the&nbsp;<code>Latest</code>&nbsp;column. This is normal on account of them being system users.</p>
  195.  
  196.  
  197.  
  198. <h2 class="wp-block-heading" id="mounting-the-drives-in-the-rescue-system">Mounting the drive(s) in the Rescue System</h2>
  199.  
  200.  
  201.  
  202. <p>First, you should determine the partition identifiers of your system by running the command <code>lsblk</code>.</p>
  203.  
  204.  
  205.  
  206. <pre class="wp-block-code"><code>root@rescue ~ # lsblk
  207. NAME    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
  208. loop0     7:0    0     4G  1 loop
  209. sda       8:0    0 447.1G  0 disk
  210. ├─sda1    8:1    0     4G  0 part
  211. ├─sda2    8:2    0   512M  0 part
  212. └─sda3    8:3    0 442.6G  0 part
  213. sdb       8:16   0 447.1G  0 disk
  214. └─sdb1    8:17   0   446G  0 part</code></pre>
  215.  
  216.  
  217.  
  218. <p>Now you can mount the correct partition within an empty folder, for example, using <code>/mnt</code>.</p>
  219.  
  220.  
  221.  
  222. <p><code>mount /dev/md2 /mnt</code></p>
  223.  
  224.  
  225.  
  226. <h2 class="wp-block-heading" id="resetting-the-root-password">Resetting the root password</h2>
  227.  
  228.  
  229.  
  230. <p>To reset the root password of an installed Linux or BSD system, you need to&nbsp;<code>mount</code>&nbsp;the system partition as explained in the previous section of this article:&nbsp;<em>&#8220;Mounting the Drive(s) in the Rescue System&#8221;</em>. Then use&nbsp;<code>chroot</code>&nbsp;to switch into the root environment of the mounted system.</p>
  231.  
  232.  
  233.  
  234. <pre class="wp-block-code"><code>chroot-prepare /mnt
  235. chroot /mnt</code></pre>
  236.  
  237.  
  238.  
  239. <p>You can now change the password of the user &#8220;root&#8221;.</p>
  240.  
  241.  
  242.  
  243. <pre class="wp-block-code"><code>passwd</code></pre>
  244.  
  245.  
  246.  
  247. <p>Finally, exit the root environment.</p>
  248.  
  249.  
  250.  
  251. <pre class="wp-block-code"><code>exit</code></pre>
  252. ]]></content:encoded>
  253. <wfw:commentRss>http://www.bictor.com/2024/04/27/ubuntu-rescue-guide/feed/</wfw:commentRss>
  254. <slash:comments>0</slash:comments>
  255. <post-id xmlns="com-wordpress:feed-additions:1">485</post-id> </item>
  256. <item>
  257. <title>Ubuntu bug affecting Firefox Chromium and other Keyboard Issues</title>
  258. <link>http://www.bictor.com/2023/12/17/ubuntu-bug-affecting-firefox-chromium-and-other-keyboard-issues/</link>
  259. <comments>http://www.bictor.com/2023/12/17/ubuntu-bug-affecting-firefox-chromium-and-other-keyboard-issues/#respond</comments>
  260. <dc:creator><![CDATA[thinkofashish@gmail.com]]></dc:creator>
  261. <pubDate>Sun, 17 Dec 2023 15:54:39 +0000</pubDate>
  262. <category><![CDATA[Linux]]></category>
  263. <guid isPermaLink="false">https://www.bictor.com/?p=478</guid>
  264.  
  265. <description><![CDATA[The main problem was AppArmor not giving permission to connect to ibus in the root account Workaround was to change the input method from ibus to none im-config -n none]]></description>
  266. <content:encoded><![CDATA[
  267. <p>The main problem was AppArmor not giving permission to connect to ibus in the root account</p>
  268.  
  269.  
  270.  
  271. <p>Workaround was to change the input method from ibus to none</p>
  272.  
  273.  
  274.  
  275. <p><code>im-config -n none</code></p>
  276.  
  277.  
  278.  
  279. <p></p>
  280. ]]></content:encoded>
  281. <wfw:commentRss>http://www.bictor.com/2023/12/17/ubuntu-bug-affecting-firefox-chromium-and-other-keyboard-issues/feed/</wfw:commentRss>
  282. <slash:comments>0</slash:comments>
  283. <post-id xmlns="com-wordpress:feed-additions:1">478</post-id> </item>
  284. <item>
  285. <title>Ubuntu 22.04 LAMP Installation</title>
  286. <link>http://www.bictor.com/2023/07/09/ubuntu-22-04-lamp-installation/</link>
  287. <comments>http://www.bictor.com/2023/07/09/ubuntu-22-04-lamp-installation/#respond</comments>
  288. <dc:creator><![CDATA[thinkofashish@gmail.com]]></dc:creator>
  289. <pubDate>Sun, 09 Jul 2023 11:13:34 +0000</pubDate>
  290. <category><![CDATA[Linux]]></category>
  291. <guid isPermaLink="false">http://www.bictor.com/?p=468</guid>
  292.  
  293. <description><![CDATA[To install the LAMP stack on Ubuntu 22.04 LTS, follow these steps.]]></description>
  294. <content:encoded><![CDATA[
  295. <p>To install the LAMP stack on Ubuntu 22.04 LTS, follow these steps.</p>
  296.  
  297.  
  298.  
  299. <ol class="wp-block-list">
  300. <li>Using <code>apt</code>, update the Ubuntu packages:<br><code>sudo apt update <strong>&amp;&amp;</strong> sudo apt upgrade</code><br></li>
  301.  
  302.  
  303.  
  304. <li>Install the Apache web server using <br><code>apt</code>:<code>sudo apt install apache2</code><br></li>
  305.  
  306.  
  307.  
  308. <li>Install the MySQL web server:<br><code>sudo apt install mysql-server</code><br></li>
  309.  
  310.  
  311.  
  312. <li>Install PHP, along with additional PHP modules for Apache and MySQL:<br><code>sudo apt install php libapache2-mod-php php-mysql</code><br></li>
  313.  
  314.  
  315.  
  316. <li><strong>(Optional)</strong> Install the following commonly-used PHP modules.<br><code>sudo apt install php-curl php-json php-cgi</code><br></li>
  317.  
  318.  
  319.  
  320. <li><strong>(Optional)</strong> To host a WordPress site on the server, install the following PHP components:<br><code>sudo apt install php-curl php-gd php-mbstring php-xml php-xmlrpc</code><br></li>
  321. </ol>
  322. ]]></content:encoded>
  323. <wfw:commentRss>http://www.bictor.com/2023/07/09/ubuntu-22-04-lamp-installation/feed/</wfw:commentRss>
  324. <slash:comments>0</slash:comments>
  325. <post-id xmlns="com-wordpress:feed-additions:1">468</post-id> </item>
  326. <item>
  327. <title>Ubuntu 22.04 Modify Open File Limits</title>
  328. <link>http://www.bictor.com/2022/07/17/ubuntu-16-04-modify-open-file-limits/</link>
  329. <comments>http://www.bictor.com/2022/07/17/ubuntu-16-04-modify-open-file-limits/#respond</comments>
  330. <dc:creator><![CDATA[thinkofashish@gmail.com]]></dc:creator>
  331. <pubDate>Sun, 17 Jul 2022 09:49:52 +0000</pubDate>
  332. <category><![CDATA[Linux]]></category>
  333. <guid isPermaLink="false">http://www.bictor.com/?p=452</guid>
  334.  
  335. <description><![CDATA[To check current limits Edit /etc/security/limits.conf &#8211; Add the following lines, also remember like root is a username, you should add all the usernames on which you wish to increase the limit Edit /etc/pam.d/common-session &#8211; Add the following line Edit]]></description>
  336. <content:encoded><![CDATA[
  337. <p>To check current limits </p>
  338.  
  339.  
  340.  
  341. <pre class="wp-block-code"><code>ulimit -a</code></pre>
  342.  
  343.  
  344.  
  345. <p>Edit /etc/security/limits.conf &#8211; Add the following lines, also remember like root is a username, you should add all the usernames on which you wish to increase the limit</p>
  346.  
  347.  
  348.  
  349. <pre class="wp-block-code"><code>* soft nproc 9999999
  350. * hard nproc 9999999
  351. * soft nofile 9999999
  352. * hard nofile 9999999
  353. root soft nproc 9999999
  354. root hard nproc 9999999
  355. root soft nofile 9999999
  356. root hard nofile 9999999</code></pre>
  357.  
  358.  
  359.  
  360. <p>Edit /etc/pam.d/common-session &#8211; Add the following line</p>
  361.  
  362.  
  363.  
  364. <pre class="wp-block-code"><code>session required pam_limits.so</code></pre>
  365.  
  366.  
  367.  
  368. <p>Edit the following file&nbsp;<code>/etc/systemd/user.conf</code>: &#8211; Add the following line</p>
  369.  
  370.  
  371.  
  372. <pre class="wp-block-code"><code>DefaultLimitNOFILE=9999999</code></pre>
  373.  
  374.  
  375.  
  376. <p>Edit /etc/sysctl.conf &#8211; Add the following line</p>
  377.  
  378.  
  379.  
  380. <pre class="wp-block-code"><code>fs.file-max=9999999
  381. vm.max_map_count=9999999
  382. </code></pre>
  383.  
  384.  
  385.  
  386. <p>Edit individual service file like for MongoDB Database &#8211; Edit /lib/systemd/system/mongod.service</p>
  387.  
  388.  
  389.  
  390. <pre class="wp-block-code"><code>&#91;Unit]
  391. Description=MongoDB Database Server
  392. Documentation=https://docs.mongodb.org/manual
  393. After=network.target
  394.  
  395. &#91;Service]
  396. User=mongodb
  397. Group=mongodb
  398. EnvironmentFile=-/etc/default/mongod
  399. ExecStart=/usr/bin/mongod --config /etc/mongod.conf
  400. PIDFile=/var/run/mongodb/mongod.pid
  401. # file size
  402. LimitFSIZE=infinity
  403. # cpu time
  404. LimitCPU=infinity
  405. # virtual memory size
  406. LimitAS=infinity
  407. # open files
  408. LimitNOFILE=9999999
  409. # processes/threads
  410. LimitNPROC=9999999
  411. # locked memory
  412. LimitMEMLOCK=infinity
  413. # total threads (user+kernel)
  414. TasksMax=infinity
  415. TasksAccounting=false
  416.  
  417. # Recommended limits for for mongod as specified in
  418. # http://docs.mongodb.org/manual/reference/ulimit/#recommended-settings
  419.  
  420. &#91;Install]
  421. WantedBy=multi-user.target</code></pre>
  422.  
  423.  
  424.  
  425. <p>Run the following command in terminal</p>
  426.  
  427.  
  428.  
  429. <pre class="wp-block-code"><code>systemctl daemon-reload</code></pre>
  430.  
  431.  
  432.  
  433. <p>Done</p>
  434.  
  435.  
  436.  
  437. <p></p>
  438. ]]></content:encoded>
  439. <wfw:commentRss>http://www.bictor.com/2022/07/17/ubuntu-16-04-modify-open-file-limits/feed/</wfw:commentRss>
  440. <slash:comments>0</slash:comments>
  441. <post-id xmlns="com-wordpress:feed-additions:1">452</post-id> </item>
  442. <item>
  443. <title>MacBook Pro 2009 &#8211; Ubuntu 20.04 Installation</title>
  444. <link>http://www.bictor.com/2021/06/16/macbook-pro-2009-ubuntu-20-04-installation/</link>
  445. <comments>http://www.bictor.com/2021/06/16/macbook-pro-2009-ubuntu-20-04-installation/#respond</comments>
  446. <dc:creator><![CDATA[thinkofashish@gmail.com]]></dc:creator>
  447. <pubDate>Wed, 16 Jun 2021 03:15:20 +0000</pubDate>
  448. <category><![CDATA[Linux]]></category>
  449. <guid isPermaLink="false">http://www.bictor.com/?p=421</guid>
  450.  
  451. <description><![CDATA[Download Ubuntu for Desktop (20.04) Burn on Pen Drive using Rufus (UEFI mode) Install normally as per the instructions provided on the screen Install full kde using sudo apt-get install kde-full sudo lshw -businfo -class bridge -class display Bus info]]></description>
  452. <content:encoded><![CDATA[
  453. <ol class="wp-block-list"><li>Download Ubuntu for Desktop (20.04)</li><li>Burn on Pen Drive using Rufus (UEFI mode)</li><li>Install normally as per the instructions provided on the screen</li><li>Install full kde using</li></ol>
  454.  
  455.  
  456.  
  457. <p><code>sudo apt-get install kde-full</code></p>
  458.  
  459.  
  460.  
  461. <p>sudo lshw -businfo -class bridge -class display</p>
  462.  
  463.  
  464.  
  465. <p style="font-size:11px">Bus info          Device      Class          Description<br>========================================================<br>pci@0000:00:00.0              bridge         MCP79 Host Bridge<br>pci@0000:00:03.0              bridge         MCP79 LPC Bridge<br>pci@0000:00:09.0              bridge         MCP79 PCI Bridge<br>pci@0000:00:0c.0              bridge         MCP79 PCI Express Bridge<br><strong>pci@0000:00:10.0              bridge         MCP79 PCI Express Bridge<br>pci@0000:03:00.0              display        C79 [GeForce 9400M]</strong><br>pci@0000:00:15.0              bridge         MCP79 PCI Express Bridge<br>pci@0000:00:16.0              bridge         MCP79 PCI Express Bridge<br><br>Note: The addresses are of the display entry and PCI-E just before the display entry<br>It might vary and you might need to find the correct one</p>
  466.  
  467.  
  468.  
  469. <p>Now create a new file 01_enable_vga.conf</p>
  470.  
  471.  
  472.  
  473. <p class="has-small-font-size"><strong>Contents of the file created above : </strong><br>sudo setpci -s &#8220;00:10.0&#8221; 3e.b=8<br>sudo setpci -s &#8220;03:00.0&#8221; 04.b=7</p>
  474.  
  475.  
  476.  
  477. <p>sudo chmod 755 01_enable_vga.conf<br>sudo mv 01_enable_vga.conf /etc/grub.d<br>sudo update-grub</p>
  478.  
  479.  
  480.  
  481. <p>Reboot and Check</p>
  482. ]]></content:encoded>
  483. <wfw:commentRss>http://www.bictor.com/2021/06/16/macbook-pro-2009-ubuntu-20-04-installation/feed/</wfw:commentRss>
  484. <slash:comments>0</slash:comments>
  485. <post-id xmlns="com-wordpress:feed-additions:1">421</post-id> </item>
  486. <item>
  487. <title>Fix Old MacBook Windows 10 Reboot Issue</title>
  488. <link>http://www.bictor.com/2020/06/07/fix-old-macbook-windows-10-reboot-issue/</link>
  489. <comments>http://www.bictor.com/2020/06/07/fix-old-macbook-windows-10-reboot-issue/#comments</comments>
  490. <dc:creator><![CDATA[thinkofashish@gmail.com]]></dc:creator>
  491. <pubDate>Sun, 07 Jun 2020 16:16:49 +0000</pubDate>
  492. <category><![CDATA[Linux]]></category>
  493. <guid isPermaLink="false">http://www.bictor.com/?p=383</guid>
  494.  
  495. <description><![CDATA[I have MacBook 5,2 which i needed with Windows 10 as new MacOS is no further supported on it and i didn&#8217;t wanted to waste some good hardware engineering by Apple in it 🙂 However the installation of Windows 10]]></description>
  496. <content:encoded><![CDATA[
  497. <p>I have MacBook 5,2 which i needed with Windows 10 as new MacOS is no further supported on it and i didn&#8217;t wanted to waste some good hardware engineering by Apple in it <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  498.  
  499.  
  500.  
  501. <p>However the installation of Windows 10 was pretty straight forward &#8211; I made the installation disk with Rufus (with UEFI option) and put it in the MacBook and installed everything on the hardware. After initial installation I copied bootcamp drivers which i saved from Windows 7 disk and installed  them also on the notebook which made almost all the functionality come alive on the MacBook. Along with those drivers Nvidia Display drivers were also intalled.</p>
  502.  
  503.  
  504.  
  505. <p>Initially working without reboot everything was working fine but as soon it got rebooted it got stuck in the reboot loop .. with Windows Automatic Repair showing again and again. Finally i started researching on the problem and found that the problem was in the UEFI</p>
  506.  
  507.  
  508.  
  509. <p><code>While Windows 10 no longer expects an EFI system to have VGA-compatible video, Nvidia drivers apparently still do and crash if they don’t detect it. The above commands are supposed to enable the VGA support in the graphics card."</code></p>
  510.  
  511.  
  512.  
  513. <p>In order to fix the above issue, we need to somehow enable this in the UEFI firmware and i used the below technique to achieve it.</p>
  514.  
  515.  
  516.  
  517. <ul class="wp-block-list"><li>Boot your windows in Safe mode With Networking</li><li>Open DiskPart utility of windows</li></ul>
  518.  
  519.  
  520.  
  521. <p><code>diskpart<br>select disk 0<br>select partition 2<br>assign letter=f</code></p>
  522.  
  523.  
  524.  
  525. <p>In the above commands we assume that Disk 0 is where Windows are installed, Partition 2 is your boot partition made by Windows</p>
  526.  
  527.  
  528.  
  529. <ul class="wp-block-list"><li>Download Explorer++ from the net, its free &#8211;<a href="https://explorerplusplus.com/">https://explorerplusplus.com/</a></li><li>Open explorer++</li><li>Navigate to folder F:\EFI\Microsoft\Boot</li><li>Rename the original file bootmgfw.efi to bootmgfw_o.efi</li><li>Download the EFI shell from <a href="http://www.softcruise.com/shell_full.efi">http://www.softcruise.com/shell_full.efi</a></li><li>Copy shell_full.efi to F:\EFI\Microsoft\Boot</li><li>Make a new file by the name startup.nsh in the same folder</li><li>Write the following lines in it</li></ul>
  530.  
  531.  
  532.  
  533. <p><code>mm 0010003E 1 ;PCI :8<br>mm 03000004 1 ;PCI :7<br>fs0:\EFI\Microsoft\Boot\bootmgfw_o.efi</code></p>
  534.  
  535.  
  536.  
  537. <p>Now reboot your computer and it should boot without any trouble what-so-ever</p>
  538.  
  539.  
  540.  
  541. <blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p><strong><em>Note:</em></strong><br>Registers on your MacBook might be different from<br>mm 0010003E 1 ;PCI :8<br>mm 03000004 1 ;PCI :7<br><br>In order to identify the right registers you can make use of the following commands</p><p>03 00 00 is Display VGA<br>00 10 00 is Bridge Control<br><br>To find out the register value through efi shell</p><p>Shell> pci -b<br>Shell> pic -i 00 10 00 -b<br>Shell> mm 0001003E -PCI 8<br>Shell> pci -i 03 00 00 -b<br>Shell> mm 03000004 -PCI 7</p><p>As I found out in another older mac the VGA controller was with id 02 instead of 03, so your&#8217;s might differ</p></blockquote>
  542.  
  543.  
  544.  
  545. <p><code><br></code></p>
  546. ]]></content:encoded>
  547. <wfw:commentRss>http://www.bictor.com/2020/06/07/fix-old-macbook-windows-10-reboot-issue/feed/</wfw:commentRss>
  548. <slash:comments>3</slash:comments>
  549. <post-id xmlns="com-wordpress:feed-additions:1">383</post-id> </item>
  550. <item>
  551. <title>Running VLC in Ubuntu as root</title>
  552. <link>http://www.bictor.com/2020/05/24/running-vlc-in-ubuntu-as-root/</link>
  553. <comments>http://www.bictor.com/2020/05/24/running-vlc-in-ubuntu-as-root/#respond</comments>
  554. <dc:creator><![CDATA[thinkofashish@gmail.com]]></dc:creator>
  555. <pubDate>Sun, 24 May 2020 05:27:18 +0000</pubDate>
  556. <category><![CDATA[Linux]]></category>
  557. <guid isPermaLink="false">http://www.bictor.com/?p=374</guid>
  558.  
  559. <description><![CDATA[Run the&#160;sed command&#160;below to make changes in the VLC binary file, it will replace the&#160;geteuid&#160;variable (which determines the effective user ID of the calling process) with&#160;getppid&#160;(which will determine the parent process ID of the calling process). In this command, ‘s/geteuid/getppid/‘]]></description>
  560. <content:encoded><![CDATA[
  561. <p>Run the&nbsp;<a href="https://www.tecmint.com/linux-sed-command-tips-tricks/" target="_blank" rel="noreferrer noopener">sed command</a>&nbsp;below to make changes in the VLC binary file, it will replace the&nbsp;<strong>geteuid</strong>&nbsp;variable (which determines the effective user ID of the calling process) with&nbsp;<strong>getppid</strong>&nbsp;(which will determine the parent process ID of the calling process).</p>
  562.  
  563.  
  564.  
  565. <p>In this command, ‘<strong>s/geteuid/getppid/</strong>‘ (<strong>regexp=geteuid, replacement=getppid</strong>) does the magic.</p>
  566.  
  567.  
  568.  
  569. <pre class="wp-block-preformatted">$ sudo sed -i 's/geteuid/getppid/' /usr/bin/vlc</pre>
  570. ]]></content:encoded>
  571. <wfw:commentRss>http://www.bictor.com/2020/05/24/running-vlc-in-ubuntu-as-root/feed/</wfw:commentRss>
  572. <slash:comments>0</slash:comments>
  573. <post-id xmlns="com-wordpress:feed-additions:1">374</post-id> </item>
  574. <item>
  575. <title>Enable root user in Ubuntu 20.04</title>
  576. <link>http://www.bictor.com/2020/04/26/enable-root-user-in-ubuntu-20-04/</link>
  577. <comments>http://www.bictor.com/2020/04/26/enable-root-user-in-ubuntu-20-04/#respond</comments>
  578. <dc:creator><![CDATA[thinkofashish@gmail.com]]></dc:creator>
  579. <pubDate>Sun, 26 Apr 2020 08:11:55 +0000</pubDate>
  580. <category><![CDATA[Linux]]></category>
  581. <guid isPermaLink="false">http://www.bictor.com/?p=368</guid>
  582.  
  583. <description><![CDATA[Step 1: Login into your account and open terminal Step 2: Type the following command to setup password for root account sudo passwd root Step 3: Open file /etc/pam.d/gdm-password sudo nano /etc/pam.d/gdm-password Step 4: Comment out the following line by]]></description>
  584. <content:encoded><![CDATA[
  585. <p>Step 1: Login into your account and open terminal</p>
  586.  
  587.  
  588.  
  589. <p>Step 2: Type the following command to setup password for root account</p>
  590.  
  591.  
  592.  
  593. <pre class="wp-block-preformatted">sudo passwd root</pre>
  594.  
  595.  
  596.  
  597. <p>Step 3: Open file /etc/pam.d/gdm-password</p>
  598.  
  599.  
  600.  
  601. <pre class="wp-block-preformatted">sudo nano /etc/pam.d/gdm-password</pre>
  602.  
  603.  
  604.  
  605. <p>Step 4: Comment out the following line by placing # infront of it</p>
  606.  
  607.  
  608.  
  609. <pre class="wp-block-preformatted">#auth    required    pam_succeed_if.so user != root quiet_success</pre>
  610.  
  611.  
  612.  
  613. <p>Step 5: sudo gedit<strong> /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf</strong></p>
  614.  
  615.  
  616.  
  617. <p>Step 6: At the end of the file append <strong>greeter-show-manual–login = true</strong></p>
  618.  
  619.  
  620.  
  621. <p>Step 7: Reboot the server</p>
  622. ]]></content:encoded>
  623. <wfw:commentRss>http://www.bictor.com/2020/04/26/enable-root-user-in-ubuntu-20-04/feed/</wfw:commentRss>
  624. <slash:comments>0</slash:comments>
  625. <post-id xmlns="com-wordpress:feed-additions:1">368</post-id> </item>
  626. <item>
  627. <title>Enable root user in Ubuntu 16.04</title>
  628. <link>http://www.bictor.com/2020/04/26/enable-root-user-in-ubuntu-16-04/</link>
  629. <comments>http://www.bictor.com/2020/04/26/enable-root-user-in-ubuntu-16-04/#respond</comments>
  630. <dc:creator><![CDATA[thinkofashish@gmail.com]]></dc:creator>
  631. <pubDate>Sun, 26 Apr 2020 08:00:35 +0000</pubDate>
  632. <category><![CDATA[Linux]]></category>
  633. <guid isPermaLink="false">http://www.bictor.com/?p=364</guid>
  634.  
  635. <description><![CDATA[By default root user account is disabled for login in Ubuntu. Steps mentioned below will allow you to enable the root user and login as root on the OS. Login to your account and open Terminal sudo passwd root Type]]></description>
  636. <content:encoded><![CDATA[
  637. <p>By default root user account is disabled for login in Ubuntu. Steps mentioned below will allow you to enable the root user and login as root on the OS.</p>
  638.  
  639.  
  640.  
  641. <ol class="wp-block-list"><li>Login to your account and open Terminal</li><li>sudo passwd root</li><li>Type in the new password for UNIX</li><li>sudo gedit<strong> /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf</strong></li><li>At the end of the file append <strong>greeter-show-manual–login = true</strong></li></ol>
  642.  
  643.  
  644.  
  645. <p>That’s all, now reboot the system and you can login to root account using manual login.</p>
  646. ]]></content:encoded>
  647. <wfw:commentRss>http://www.bictor.com/2020/04/26/enable-root-user-in-ubuntu-16-04/feed/</wfw:commentRss>
  648. <slash:comments>0</slash:comments>
  649. <post-id xmlns="com-wordpress:feed-additions:1">364</post-id> </item>
  650. </channel>
  651. </rss>
  652.  

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//www.bictor.com/feed/

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda