Skip to main content

Posts

Showing posts with the label Linux Mint

Getting 'You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode' after rebooting Linux Mint 21.1 Vera

On my Linux Mint 21.1 Vera machine, rebooting the machine would show the following early in the boot process You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode. Press Enter for maintenance (or press Control-D to continue): For my specific case this happended because I have a USB drive connected to the CPU. Removing the the USB drive and rebooting the machine allow me to continue with the boot process.

Install TightVNC server on Linux Mint 21.1 Vera

Install TightVNC server on Linux Mint 21.1 Vera One of the options to manage VirtualBox GUI on a Linux host is via VNC server. Below is quick setup to get it up and running. $: sudo apt install tightvncserver It is handy to be able to maintain the same session when connecting to Linux, so let's install tmux, like so: $: sudo apt install tmux Once TightVNC server and tmux are installed, run the following to create a session: $: tmux $: tightvncserver -nolisten tcp :1 -geometry 1024x768 The above commands creates a new tmux session and runs a new VNC server with geometry of 1024x768 on port :1 In multiple cases, I have observed that the VNC session created was just a solid gray backgroun, no xterm, no nothing. As a work-around install XFCE4 like below $: sudo apt install xfce4 xfce4-goodies Then update ~/.vnc/xstartup like below. #!/bin/sh xrdb "$HOME/.Xresources" xsetroot -solid grey #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP

Add hard drive into Linux Mint 21.1 Vera/Ubuntu/Debian

Add hard drive into Linux Mint 21.1 Vera/Ubuntu/Debian This is a condensed version on how to add hard disk into Linux Mint/Ubuntu/Debian. First check hard drives in the system, like so: $: sudo lshw -C disk It should show (partial data only) like this: *-disk:1 description: ATA Disk product: WDC WD3200AAKX-0 vendor: Western Digital physical id: 1 bus info: scsi@1:0.0.0 logical name: /dev/sdb version: 1H15 serial: WD-WMC2E0871450 size: 298GiB (320GB) capabilities: partitioned partitioned:dos configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=e32ff1f9 Using parted , let's now configure the harddisk/partition $: sudo parted /dev/sdb In parted prompt, create a new GPT partition table (parted) mklabel gpt Change the default unit to GB (parted) unit GB Create one partition occupying all the space on the drive (parted) mkpart primary ext4 0 100% Check to verify the layout (parted) print It should show somethi

Install VirtualBox 7.0.4 on Linux Mint 21.1 Vera

Install VirtualBox 7.0.4 on Linux Mint 21.1 Vera ▣ Download VirtualBox 7.0.4 from www.virtualbox.org , select Ubuntu 22.04. ▣ Once download is complete, open a terminal and run the following: $: cd Downloads/ $: sudo dpkg -i virtualbox-7.0_7.0.4-154605~Ubuntu~jammy_amd64.deb $: sudo apt -f install $: sudo usermod -a -G vboxusers timus Replace timus with the current user

The type or namespace name `Gtk' could not be found. Are you missing an assembly reference?

After fixing items below related to MonoDevelop on Linux Mint 7.3, another error shows up: http://8thstring.blogspot.com/2016/01/monodevelop-does-not-start-on-linux.html http://8thstring.blogspot.com/2016/01/could-not-obtain-c-compiler-c-compiler.html The type or namespace name `Gtk' could not be found. Are you missing an assembly reference? To fix install gtk-sharp-2.0 libraries, like: $: sudo apt-get install gtk-sharp2