Last active
January 24, 2018 11:22
-
-
Save fusion809/22fdcbead4ce240230fa09f92a730a90 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls | |
aptitude # checking if this command exists | |
apt-get install -y aptitude vim git openssh-server bcmwl-kernel-source # remembered I needed to update lists | |
apt-get update # Realized sources file was very minimalist, didn't even contain bcmwl-kernel-source | |
vim /etc/apt/sources.list # Tried to edit the sources list, learnt vim doesn't exist | |
apt-get install -y vim | |
vim /etc/apt/sources.list # Added universe, restricted and multiverse repos | |
apt-get update | |
vim /etc/apt/sources.list | |
apt-get update | |
apt-get install -y aptitude vim git openssh-server bcmwl-kernel-source | |
aptitude install -t pattern mate | |
aptitude install -t pattern mate-destop | |
aptitude install -t pattern mate-desktop | |
afi ubuntu-desktop ubuntu-mate-desktop # afi is an alias I use for apt-fast install on some of my machines | |
apt-get install ubuntu-desktop ubuntu-mate-desktop | |
ls # killed the above command early on as I realized it was so slow, decided to install apt-fast | |
vim /etc/apt-fast.conf # Added mirrors and set _MAXNUM to 10 | |
apt-fast | |
apt-get install -y aria2 | |
rm /var/lib/dpkg/lock /var/cache/apt/archives/lock # Was left over after I cancelled the apt-get install | |
apt-get install -y aria2 | |
apt-fast | |
apt-fast install ubuntu-desktop ubuntu-mate-desktop | |
apt-get remove blueman # Deleted blueman as it was the only package that gave an error in the above install | |
dpkg --configure -a # Didn't do anything as I was just checking if anything was wrong and it wasn't | |
ls /boot | |
ls /boot/efi | |
ls /boot/efi/EFI | |
ls /boot/efi/EFI/ubuntu | |
df -h / | |
grub-install /dev/sda | |
grub2-install /dev/sda | |
# The above bootloader commands were futile as they have trouble recognizing the /dev file system I have mounted up for the chroot | |
# I mounted it with mount --rbind /dev root/dev && mount --make-rslave root/dev (based on how I mount it for Gentoo), which works | |
# fine for non-Debian based distros | |
apt-get upgrade -y | |
updatef | |
ls /home # Creating my user account | |
useradd -m -g wheel fusion809 # Realized there was no wheel group after this | |
passwd | |
apt-get install -y sudo | |
useradd -m -g sudo fusion809 | |
vim /etc/sudoers # sudo with fusion809 with no password | |
apt-get update && apt-get full-upgrade -y | |
ls / | |
ls /boot # Realized there was no kernel in /boot, hence why I installed it later | |
apt-get install -y linux | |
apt-get install -y linux-image | |
apt-get install -y linux-image-4.13.0-25-generic | |
ls | |
vim /etc/hostname # Added hostname fusion809-ubuntu-pc | |
vim /etc/fstab | |
systemctl list-units | |
exit | |
vim /etc/hostname | |
passwd fusion809 | |
apt-get install btrfs-progs # Needed, otherwise updating the initramfs image fails | |
apt-get install --reinstall bcwml-kernel-source # My efforts to fix the wl kernel module issue. | |
apt-get install --reinstall bcmwl-kernel-source |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment