what command to use ?

Post your general questions or comments about GhostBSD here!
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

what command to use ?

Post by galasrinnion »

Hello everybody
I would like to copy my home directory from /dev/ada0s3 (ghostbsd) to /dev/ada0s1 (salixOS).
What command should I use from the shell to do this ?
Last edited by galasrinnion on Fri Dec 12, 2014 9:43 pm, edited 1 time in total.
jackz
Posts: 12
Joined: Tue Nov 25, 2014 9:50 pm

Re: what command to use ?

Post by jackz »

First you must mount your partitions on the system and copy the home directory.
https://www.freebsd.org/doc/handbook/mount-unmount.html and. http://www.freebsd.org/cgi/man.cgi?mount(8)

Freebsd handbook is very useful!
Unix Jr.
Spanish && English language.
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

Re: what command to use ?

Post by galasrinnion »

So from the root shell as single user would The invocation be
# cp /home/galasrinnion /mnt/dev/sda1/home/saylixher/galasrinnion/

that is copying the home directory from ghostbsd (sda3) to slackware (sda1) home/saylixher/galasrinnion/ ??
User avatar
ericbsd
Developer
Posts: 2056
Joined: Mon Nov 19, 2012 7:54 pm

Re: what command to use ?

Post by ericbsd »

Use

Code: Select all

cp -rf 
but yes it should do the work.
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

Re: what command to use ?

Post by galasrinnion »

galasrinnion wrote:So from the root shell as single user would The invocation be
# cp /home/galasrinnion /mnt/dev/sda1/home/saylixher/galasrinnion/

that is copying the home directory from ghostbsd (sda3) to slackware (sda1) home/saylixher/galasrinnion/ ??
Is the slice naming convention different for BSD ? like /ad0s1 versus /sda1 (linux) ?? I am still unable to copy the home directory to the other slice.
jackz
Posts: 12
Joined: Tue Nov 25, 2014 9:50 pm

Re: what command to use ?

Post by jackz »

Is the slice naming convention different for BSD ? like /ad0s1 versus /sda1 (linux) ??
Yes, its different on BSD.
https://www.freebsd.org/doc/handbook/di ... ation.html ;)
I am still unable to copy the home directory to the other slice
What is your issue?
Unix Jr.
Spanish && English language.
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

Re: what command to use ?

Post by galasrinnion »

jackz wrote:
Is the slice naming convention different for BSD ? like /ad0s1 versus /sda1 (linux) ??
Yes, its different on BSD.
https://www.freebsd.org/doc/handbook/di ... ation.html ;)
I am still unable to copy the home directory to the other slice
What is your issue?
Hi again,
Trying to copy all of my home directory from ghostbsd /ada0s3 to the home directory on Salix /ada0s1.
I can't seem to invoke the correct command to do this. I am working as single user using shell as root.
jackz
Posts: 12
Joined: Tue Nov 25, 2014 9:50 pm

Re: what command to use ?

Post by jackz »

I understand your problem. You are
Trying to copy all of my home directory from ghostbsd /ada0s3 to the home directory on Salix /ada0s1
.
How did you install your GhostBSD system?
You type this command

Code: Select all

 gpart show 
.
And you can mount your home directory on other system as Salix (GNU/Linux).
Does it support UFS? :?:
Unix Jr.
Spanish && English language.
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

Re: what command to use ?

Post by galasrinnion »

jackz wrote:I understand your problem. You are
Trying to copy all of my home directory from ghostbsd /ada0s3 to the home directory on Salix /ada0s1
.
How did you install your GhostBSD system?
Installed from cd-rom boots from grub2
You type this command

Code: Select all

 gpart show 
.
And you can mount your home directory on other system as Salix (GNU/Linux).
Does it support UFS? :?:
Whn trying to mount the slice from Salix this is the response : Requested filesystem type is neither well-known nor in /proc/filesystems nor in /etc/filesystems
So it doesn't recognize UFS.
jackz
Posts: 12
Joined: Tue Nov 25, 2014 9:50 pm

Re: what command to use ?

Post by jackz »

So it doesn't recognize UFS.
Maybe you should install and/or build a new kernel with support UFS for mount your slide of GhostBSD.

This would help you ... http://www.tldp.org/HOWTO/Linux+FreeBSD-5.html.
Unix Jr.
Spanish && English language.
Post Reply