Skip to main content

Posts

Showing posts with the label FreeBSD

su: Sorry on FreeBSD

When running su on FreeBSD and you are getting su: Sorry that could mean that the user is not part of the wheel group. To fix this, do: Login as root, this can be rebooting the machine or open another TTY terminal (Alt+F2 might help). Re-mount root filesystem for read/write operation #: mount -u -w / Add user to the wheel group. Assume below that u1 is the user that will be added to the group #: pw usermod u1 -G wheel Remount root filesystem back to read-only #: mount -u -r / If you go back to the psuedo terminal of the u1 user, you should be able to run su this time. Reference: https://graspingtech.com/freebsd-fix-su-sorry-message/

Installing FreeBSD 12.1 on VirtualBox (Windows 10 host) failed with Guru Mediation

Installing FreeBSD 12.1 on VirtualBox 6.1.0 (Windows 10 host) failed with Guru Mediation. As a workaround, from the command line, do: c:\> "C:\Program Files\Oracle\VirtualBox\VBoxManage" modifyvm "FreeBSD" --spec-ctrl on Reference: https://forums.virtualbox.org/viewtopic.php?f=6&t=94390#p455778

Install GNOME 2 in FreeBSD 8

This is a quick guide to install GNOME in FreeBSD 8.0. Create a minimal install of FreeBSD, see this post . As of 5/21/2010, this will install GNOME 2.26.3 As a root user add the following packages. pkg_add -r xorg pkg_add -r gnome2 Edit /etc/rc.conf and add the following if not there yet. gdm_enable="YES" gnome_enable="YES" dbus_enable="YES" That's it...reboot the machine and enjoy!!! ~ts

FreeBSD minimal install on Virtual Box

This is a screen capture documentation of FreeBSD 8.0 minimal install on VirtualBox. Before we can start the install, we need to have: a) Guest machine configuration for FreeBSD 8.0. b) ISO installer, we will be using bootonly in this case. As usual, create a guest machine configuration, below is my configuration: General Name: fbsd80 OS Type: FreeBSD System Base Memory: 512 MB Processor(s): 1 Boot Order: CD/DVD-ROM, Hard Disk VT-x/AMD-V: Enabled Nested Paging: Enabled Display Video Memory: 9 MB 3D Acceleration: Disabled 2D Video Acceleration: Disabled Remote Display Server: Disabled Storage IDE Controller IDE Primary Master: fbsd80.vdi (Normal, 80.00 GB) IDE Secondary Master (CD/DVD): Empty Floppy Controller Floppy Device 0: Empty Audio Host Driver: Windows DirectSound Controller: ICH AC97 Network Adapter 1: Intel PRO/1000 MT Desktop (Bridged adapter, Microsoft Loopback Adapter) Serial Ports Disabled USB Device Filters: 0 (0 active) Shared Folders None W

FreeBSD common commands

Install fluxbox #: cd /usr/ports/x11-wm/fluxbox ; make install clean Run fluxbox when executing startx $: cd ~ $: touch .xinitrc $: echo "exec fluxbox" > .xinitrc Installing vmware-tools (FreeBSD 6.1, comes with XOrg 7.x) #: mount /cdrom #: cp /cdrom/vmware-freebsd-tools.tar.gz /tmp #: cd /tmp #: tar xvzf vmware-freebsd-tools.tar.gz #: cd vmware-tools-distrib #: ./vmware-install.pl ;defualts here should be fine #: cd /usr/X11R6/lib/modules/drivers ;we need the following since vmware-install.pl does not install the mouse driver #: cp /tmp/vmware-tools-distrib/lib/configurator/XOrg/6.8.x/vmmouse_drv.o #: vi /etc/X11/xorg.conf In vi, change the following lines: Section "InputDevice" Identifier "Mouse0" Driver "vmmouse" #<<-- this line (changed from "mouse") Option "Protocol" "ps/2" Option "Device" "/dev/input/mouse0" Option "ZAxisMapping" "4 5 6 7&quo