openSUSE Fix grub for dualboot with Windows 10
Grub not working after Windows 10 installation
- Read more about openSUSE Fix grub for dualboot with Windows 10
- Log in to post comments
Egbert Kappert's persoonlijke website
Linux commands reference
Grub not working after Windows 10 installation
Had to do this to recover a forgotten password on an old laptop
After booting, at the Lilo prompt type:
linux single init=/bin/bash rw
And then:
passwd
This worked for me..
Mount share on linux bash:
First create a mount point:
sudo mkdir /MOUNTPOINT
Then mount as follows:
sudo mount -t cifs -o user=USERNAME //IP_NUMBER/SHARENAME /MOUNTPOINT
System Information:
To retrieve system information like model and make enter:
dmidecode -t1
Might need sudo
RAM Information:
less /proc/meminfo
groups %username%
f.e.groups root
On the source machine:
Step 1.
ssh-keygen -t rsa -C %user%@%target%
Enter a passphrase if you want, it is not necessary
Step 2.
cat ~/.ssh/id_rsa.pub | ssh %user%@%target% 'cat >> .ssh/authorized_keys'
Authorized Keys file on target machine
.ssh/authorized_keys
is a file on the target machine and should be mode 600.
find /home –iname *.mp3 –exec cp –f {} .\;
apt-get install apache2
apt‐get install mysql‐server
Set mysql password
apt-get install php5-common libapache2-mod-php5 php5-cli
apt-get install phpmyadmin
systemctl restart apache2
ln -s /var/www/html /usr/share/phpmyadmin
You better logout for this
sudo usermod -l newUsername oldUsername
Change the home folder
usermod -d /home/newHomeDir -m newUsername
sudo passwd %username%