Difference between revisions of "How To"

From GhostBSD Wiki
Jump to: navigation, search
(Tips and Tricks)
Line 14: Line 14:
 
==Tips and Tricks==
 
==Tips and Tricks==
  
 +
===How to move from Trident to GhostBSD?===
 +
Here you will find a [https://github.com/maxsteciuk/TridentToGhostBSD/blob/master/README.md Step by step tutorial on GitHub].
  
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"
+
===How to set openrc parallel service startup===
|-
+
Put in <br/>
! scope="col" style="width: 250px;"|'''Issue or Question'''
+
<code>/etc/rc.conf </code><br/>
! scope="col" style="width: 350px;"|'''Solution or Suggestion'''
+
<code>rc_parallel="YES"</code><br/>
! scope="col" style="width: 150px;"|'''Addition or Link'''
+
"But I don't think it works properly yet." <br/>
|-
+
Source: Neville Goddard on Telegram on 16.02.2020 at 15:40
|How to move from Trident to GhostBSD?
+
 
|[https://github.com/maxsteciuk/TridentToGhostBSD/blob/master/README.md Step by step tutorial on GitHub]
+
===Some issues with WLAN/WiFi===
|
+
Proposals from the community see on special page [[WLAN]]
|-
+
 
|how to set openrc parallel service startup
+
===Using Ports===
|Put in <code>/etc/rc.conf </code>
+
"Don't use FreeBSD ports via portsnap on GhostBSD
<code>rc_parallel="YES"</code>
+
Install it from GhostBSD ports <br/>
But I don't think it works properly yet.
+
<code>sudo git clone https://github.com/ghostbsd/ghostbsd-ports/ /usr/ports</code><br/>
|Neville Goddard on Telegram on 16.02.2020 at 15:40
+
Source: [https://forums.ghostbsd.org/viewtopic.php?p=7965#p7965 ericbsd]
|-
+
 
|[[WLAN]]
+
===Looking for devtools?===
|proposals from the community see connected page
+
"Devtools are not installed by default" on GhostBSD
|
+
You have to install them:<br/>
|-
+
<code>sudo  pkg install os-generic-userland-devtools</code>
|don't use FreeBSD ports via portsnap on GhostBSD
+
Source: [https://forums.ghostbsd.org/viewtopic.php?f=58&t=1528&sid=f7771ec06711a5feb4072f6d875c5df6 ericbsd]
|install it from GhostBSD ports <code>sudo git clone https://github.com/ghostbsd/ghostbsd-ports/ /usr/ports</code>
+
 
|[https://forums.ghostbsd.org/viewtopic.php?p=7965#p7965 ericbsd]
+
===drm-fbsd12.0-kmod===
|-
+
"Very importent when I send the next @GhostBSD packages everone that use drm-fbsd12.0-kmod need to make a sudo pkg upgrade -f drm-fbsd12.0-kmod or pkg upgrade -f if not on reboot you will have a kernel panic at less for intell."<br/>
|devtools are not installed by default
+
Source: Eric on Telegram 4.2.2020 15:23
|you have to install them: <code>sudo  pkg install os-generic-userland-devtools</code>
+
 
|[https://forums.ghostbsd.org/viewtopic.php?f=58&t=1528&sid=f7771ec06711a5feb4072f6d875c5df6 ericbsd]
+
===Like to change the display manager===
|-
+
<code>sudo rc-update delete lightdm</code><br/>
|drm-fbsd12.0-kmod
+
<code>sudo rc-update add gdm</code><br/>
|Very importent when I send the next @GhostBSD packages everone that use drm-fbsd12.0-kmod need to make a sudo pkg upgrade -f drm-fbsd12.0-kmod or pkg upgrade -f if not on reboot you will have a kernel panic at less for intell.
+
Tip from Eric on Telegram at 27.01.2020 17:09
|Eric on Telegram 4.2.2020 15:23
+
 
|-
+
===rc===
|Like to change the display manager
+
Command scripts for auto-reboot and daemon startup|br/>
|<code>sudo rc-update delete lightdm</code><br/>
+
See: [https://www.freebsd.org/cgi/man.cgi?query=rc&apropos=0&sektion=8&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html Man Page]
<code>sudo rc-update add gdm</code>
+
 
|Tip from Eric on Telegram at 27.01.2020 17:09
+
 
|-
+
===[[How to install Nvidia drivers]]?===
|rc
+
Look on the linked page.
|command scripts for auto-reboot and daemon startup
+
 
|[https://www.freebsd.org/cgi/man.cgi?query=rc&apropos=0&sektion=8&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html Man Page]
+
===pkg is locked by an other process===
|-
+
<code>sudo killall -9 pkg && sudo pkg update -f && sudo pkg upgrade -y</code><br/>
|[[How to install Nvidia drivers]]?
+
Suggestion from #hd_scania on Telegram on 25.01.2020 at 11:10
|look on the linked page
+
 
|
+
 
|-
+
===Migrate from Linux to GhostBSD and take your E-Mails and bookmarks with you===
|pkg is locked by an other process
+
You would like to move from a Linux OS to GhostBSD and take your settings and E-Mails from '''Thunderbird''' and bookmarks from '''Firefox''' to GhostBSD.<br/>
|<code>sudo killall -9 pkg && sudo pkg update -f && sudo pkg upgrade -y</code>
+
Go on Linux to .thunderbird and .mozilla in your home directory and safe each folder /xyz.default and insert the contents in the folder /xyz.default-release on GhostBSD. xyz is only a replacement for bk3yc9n7 or something similar.<br/>
|suggestion from #hd_scania on Telegram on 25.01.2020 at 11:10
+
This worked from Debian to GhostBSD. Tested by [[User:Slughorn|Slughorn]]
|-
+
 
|You would like to move from a Linux OS to GhostBSD and take your settings and E-Mails from '''Thunderbird''' and bookmarks from '''Firefox''' to GhostBSD  
+
===Show USB devices===
|Go to .thunderbird and .mozilla in your home directory and safe each folder /xyz.default and insert the contents in the folder /xyz.default-release on GhostBSD. xyz is only a replacement for bk3yc9n7 or something similar.
+
|This worked from Debian to GhostBSD. Tested by [[User:Slughorn|Slughorn]]
+
|-
+
|Show USB devices
+
|
+
 
* Connect USB device
 
* Connect USB device
* open a terminal
+
* Open a terminal
* change to root
+
* Change to root
* write: [https://www.freebsd.org/cgi/man.cgi?query=gpart&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports <nowiki># gpart show</nowiki>]
+
* Write: [https://www.freebsd.org/cgi/man.cgi?query=gpart&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports <nowiki># gpart show</nowiki>]
 
* gpart will show you the device da'''x''' and the partition s'''x'''
 
* gpart will show you the device da'''x''' and the partition s'''x'''
|
+
 
|-
+
===mount NTFS===
|mount NTFS
+
 
|
+
* Do first <code>gpart show</code>  
* do first <code>gpart show</code>  
+
* Install: '''ntfs-3g'''
* install: '''ntfs-3g'''
+
* Write: <code># ntfs-3g /dev/da5s1 /mnt</code>
* write: <code># ntfs-3g /dev/da5s1 /mnt</code>
+
 
* da5s1 is an example
 
* da5s1 is an example
 
* /mnt is the mountpoint you wish
 
* /mnt is the mountpoint you wish
Line 87: Line 83:
 
* Thunar shows you the content of your device and you can work with it
 
* Thunar shows you the content of your device and you can work with it
 
* Caja does not allways
 
* Caja does not allways
|tested by [[User:Slughorn|Slughorn]]<br/>
+
Source: Tested by [[User:Slughorn|Slughorn]]<br/>
thanks to:[https://forums.ghostbsd.org/viewtopic.php?f=91&t=1532 user hunghung]
+
Thanks to:[https://forums.ghostbsd.org/viewtopic.php?f=91&t=1532 user hunghung]
|-
+
 
|mount FAT32
+
 
|see also [https://www.freebsd.org/cgi/man.cgi?query=msdosfs&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports msdosfs]
+
===mount FAT32===
* do first <code>gpart show</code>
+
See also [https://www.freebsd.org/cgi/man.cgi?query=msdosfs&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports msdosfs]
* write:<code># mount -t msdosfs /dev/da5s1 /mnt</code>
+
* Do first <code>gpart show</code>
 +
* Write:<code># mount -t msdosfs /dev/da5s1 /mnt</code>
 
* da5s1 is an example
 
* da5s1 is an example
 
* /mnt is the mountpoint you wish
 
* /mnt is the mountpoint you wish
Line 99: Line 96:
 
* Thunar shows you the content of your device and you can work with it
 
* Thunar shows you the content of your device and you can work with it
 
* Caja does not always
 
* Caja does not always
|tested by [[User:Slughorn|Slughorn]]<br/>
+
Tested by [[User:Slughorn|Slughorn]]<br/>
thanks to:[https://forums.ghostbsd.org/viewtopic.php?f=91&t=1532 user hunghung]
+
Thanks to:[https://forums.ghostbsd.org/viewtopic.php?f=91&t=1532 user hunghung]
|-
+
 
|If the system sticks during shutdown at: Saving dependencies cache
+
===System sticks during shutdown===
|do: <br/><code>sudo rc-update delete savecache shutdown</code> <br/>That will remove save cache.
+
If your system sticks during shutdown at: Saving dependencies cache <br/>
|Tip from [https://forums.ghostbsd.org/viewtopic.php?f=91&t=1501 Eric]
+
* Do: <br/><code>sudo rc-update delete savecache shutdown</code> <br/>
 +
That will remove save cache.<br/>
 +
Tip from [https://forums.ghostbsd.org/viewtopic.php?f=91&t=1501 Eric]
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:center;padding: 10px"
 
|-
 
|-
!colspan="3"|'''Back to the''' [[image:Icon Disti GhostBSD.png|50px|link=Applications]]'''Applications'''
+
|'''Back to the''' [[image:Icon Disti GhostBSD.png|50px|link=Applications]]'''Applications'''
  
 
|}
 
|}

Revision as of 09:04, 19 February 2020

Welcome to theIcon Disti GhostBSD.png How To

Introduction

On this page we will collect some tips and tricks from users to users. It is not always sure, that a tip helps for your issue, but if so, you can comment on the Discussions page or write you solution in this list with your name as source.

It is not a forum. If you have a question and no answer yet, go to GhostBSD Forums.
But if you got a solution for your issues, you are welcome to describe it here in a short way.

Some proposals need to get there own pages, because of there volume. (see the blue links)

Tips and Tricks

How to move from Trident to GhostBSD?

Here you will find a Step by step tutorial on GitHub.

How to set openrc parallel service startup

Put in
/etc/rc.conf
rc_parallel="YES"
"But I don't think it works properly yet."
Source: Neville Goddard on Telegram on 16.02.2020 at 15:40

Some issues with WLAN/WiFi

Proposals from the community see on special page WLAN

Using Ports

"Don't use FreeBSD ports via portsnap on GhostBSD Install it from GhostBSD ports
sudo git clone https://github.com/ghostbsd/ghostbsd-ports/ /usr/ports
Source: ericbsd

Looking for devtools?

"Devtools are not installed by default" on GhostBSD You have to install them:
sudo pkg install os-generic-userland-devtools Source: ericbsd

drm-fbsd12.0-kmod

"Very importent when I send the next @GhostBSD packages everone that use drm-fbsd12.0-kmod need to make a sudo pkg upgrade -f drm-fbsd12.0-kmod or pkg upgrade -f if not on reboot you will have a kernel panic at less for intell."
Source: Eric on Telegram 4.2.2020 15:23

Like to change the display manager

sudo rc-update delete lightdm
sudo rc-update add gdm
Tip from Eric on Telegram at 27.01.2020 17:09

rc

Command scripts for auto-reboot and daemon startup|br/> See: Man Page


How to install Nvidia drivers?

Look on the linked page.

pkg is locked by an other process

sudo killall -9 pkg && sudo pkg update -f && sudo pkg upgrade -y
Suggestion from #hd_scania on Telegram on 25.01.2020 at 11:10


Migrate from Linux to GhostBSD and take your E-Mails and bookmarks with you

You would like to move from a Linux OS to GhostBSD and take your settings and E-Mails from Thunderbird and bookmarks from Firefox to GhostBSD.
Go on Linux to .thunderbird and .mozilla in your home directory and safe each folder /xyz.default and insert the contents in the folder /xyz.default-release on GhostBSD. xyz is only a replacement for bk3yc9n7 or something similar.
This worked from Debian to GhostBSD. Tested by Slughorn

Show USB devices

  • Connect USB device
  • Open a terminal
  • Change to root
  • Write: # gpart show
  • gpart will show you the device dax and the partition sx

mount NTFS

  • Do first gpart show
  • Install: ntfs-3g
  • Write: # ntfs-3g /dev/da5s1 /mnt
  • da5s1 is an example
  • /mnt is the mountpoint you wish
  • open Thunar and go to /mnt
  • Thunar shows you the content of your device and you can work with it
  • Caja does not allways

Source: Tested by Slughorn
Thanks to:user hunghung


mount FAT32

See also msdosfs

  • Do first gpart show
  • Write:# mount -t msdosfs /dev/da5s1 /mnt
  • da5s1 is an example
  • /mnt is the mountpoint you wish
  • open Thunar and go to /mnt
  • Thunar shows you the content of your device and you can work with it
  • Caja does not always

Tested by Slughorn
Thanks to:user hunghung

System sticks during shutdown

If your system sticks during shutdown at: Saving dependencies cache

  • Do:
    sudo rc-update delete savecache shutdown

That will remove save cache.
Tip from Eric




Back to the Icon Disti GhostBSD.pngApplications

Recommendation

If you look for something special, we recommend Howtos from FreeBSD