Page 1 of 2
what command to use ?
Posted: Wed Dec 03, 2014 1:25 am
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 ?
Re: what command to use ?
Posted: Wed Dec 03, 2014 3:30 pm
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!
Re: what command to use ?
Posted: Sun Dec 07, 2014 3:25 pm
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/ ??
Re: what command to use ?
Posted: Wed Dec 10, 2014 6:55 am
by ericbsd
Use
but yes it should do the work.
Re: what command to use ?
Posted: Thu Dec 11, 2014 3:57 pm
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.
Re: what command to use ?
Posted: Fri Dec 12, 2014 3:52 pm
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?
Re: what command to use ?
Posted: Fri Dec 12, 2014 9:47 pm
by galasrinnion
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.
Re: what command to use ?
Posted: Sat Dec 13, 2014 9:38 pm
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
.
And you can mount your home directory on other system as Salix (GNU/Linux).
Does it support UFS?

Re: what command to use ?
Posted: Sun Dec 14, 2014 4:24 pm
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
.
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.
Re: what command to use ?
Posted: Mon Dec 15, 2014 12:30 am
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.