Difference between revisions of "Linux"

From Wiki at Neela Nurseries
Jump to navigation Jump to search
m (Add link to Wikibooks dot org short article on grub bootloader based password recovery method.)
m (Linux Recovery Methods: add excerpt from wikibooks article.)
Line 93: Line 93:
  
 
*  https://en.wikibooks.org/wiki/Linux_Guide/Reset_a_forgotten_root_password
 
*  https://en.wikibooks.org/wiki/Linux_Guide/Reset_a_forgotten_root_password
 +
 +
<!--
 +
< Linux Guide
 +
How to reset forgotten root password in a GNU/Linux distribution with GRUB?
 +
 +
If this is a laptop or a desktop which you have next to you then follow these steps.
 +
 +
1. Shut down the device.
 +
 +
2. Start it again. When you see GRUB menu, press the ‘e’ key on the keyboard before the system starts booting.
 +
 +
3. In the GRUB boot options, scroll down and locate the line that begins with ‘linux’. In this line move the cursor to the end, right after ‘ro quiet’. Delete everything after that. Change 'ro' to 'rw'. Append the parameter init=/bin/bash
 +
 +
4. Press Ctrl+x, or F10, to boot.
 +
 +
5. You will see a root prompt.
 +
 +
:#
 +
Remount the filesystem in read/write mode:
 +
 +
:# mount -no remount,rw /
 +
6. Set the password of any user(s).
 +
 +
:# passwd joe
 +
7. Reboot with the command "reboot -f".
 +
 +
7a. or Reboot with the command "exec /sbin/init"
 +
 +
The new password should work now.
 +
 +
Category: Book:Linux Guide
 +
-->
  
 
<!-- comment -->
 
<!-- comment -->

Revision as of 17:02, 10 July 2025

Linux notes

 

^ Linux Distributions

List of a few more popular Linux distributions:

Berkely State Unix derivatives:

    • NetBSD
    • OpenBSD

^ ArchLinux

^ CONTENT TO REVIEW


Following section holds links to some commonly used server and desktop Linux distributions, available for download as install isos and sometimes as minimal net install isos. After these full-scale distros are listed some of the smaller distributions of Linux and supporting softwares. These smaller distros appear to be a good starting point for learning how to design and build embedded Linux systems . . .

- 2017-11-30 -

- 2017-12-08 -

- 2018-08-24 - 32-bit and light-weight Linux distros

2025-04-30


^ Create Linux install drive from iso

Iso to USB thumb drive details at https://askubuntu.com/questions/372607/how-to-create-a-bootable-ubuntu-usb-flash-drive-from-terminal . . .

Excerpt from AskUbuntu article:

sudo umount /dev/sdb
sudo dd if=/path/to/ubuntu.iso of=/dev/sdb bs=1M

On Google Pixel phone and possibly Android based smartphones in general, the application 'Etchdroid' is available for burning iso images to flash drives. This app and the smartphone can therefore substitute as the needed tools to create bootable media with Linux distribution of one version or another on them.

^ Linux Recovery Methods

A 2020 post on Tecmint detailing how to recover from lost root password on Debian systems: