what command to use ?

Post your general questions or comments about GhostBSD here!

what command to use ?

Postby galasrinnion » Wed Dec 03, 2014 5:25 am

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 Sat Dec 13, 2014 1:43 am, edited 1 time in total.
User avatar
galasrinnion
 
Posts: 26
Joined: Tue Oct 28, 2014 3:45 pm

what command to use ?

 

Re: what command to use ?

Postby jackz » Wed Dec 03, 2014 7:30 pm

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.
jackz
 
Posts: 12
Joined: Wed Nov 26, 2014 1:50 am

Re: what command to use ?

Postby galasrinnion » Sun Dec 07, 2014 7:25 pm

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
galasrinnion
 
Posts: 26
Joined: Tue Oct 28, 2014 3:45 pm

Re: what command to use ?

Postby ericbsd » Wed Dec 10, 2014 10:55 am

Use
Code: Select all
cp -rf
but yes it should do the work.
ericbsd
Site Admin
 
Posts: 427
Joined: Mon Nov 19, 2012 11:54 pm

Re: what command to use ?

Postby galasrinnion » Thu Dec 11, 2014 7:57 pm

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.
User avatar
galasrinnion
 
Posts: 26
Joined: Tue Oct 28, 2014 3:45 pm

Re: what command to use ?

Postby jackz » Fri Dec 12, 2014 7:52 pm

Is the slice naming convention different for BSD ? like /ad0s1 versus /sda1 (linux) ??


Yes, its different on BSD.
https://www.freebsd.org/doc/handbook/disk-organization.html ;)

I am still unable to copy the home directory to the other slice

What is your issue?
Unix Jr.
Spanish && English language.
jackz
 
Posts: 12
Joined: Wed Nov 26, 2014 1:50 am

Re: what command to use ?

Postby galasrinnion » Sat Dec 13, 2014 1:47 am

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/disk-organization.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.
User avatar
galasrinnion
 
Posts: 26
Joined: Tue Oct 28, 2014 3:45 pm

Re: what command to use ?

Postby jackz » Sun Dec 14, 2014 1:38 am

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.
jackz
 
Posts: 12
Joined: Wed Nov 26, 2014 1:50 am

Re: what command to use ?

Postby galasrinnion » Sun Dec 14, 2014 8:24 pm

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.
User avatar
galasrinnion
 
Posts: 26
Joined: Tue Oct 28, 2014 3:45 pm

Re: what command to use ?

Postby jackz » Mon Dec 15, 2014 4:30 am

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.
jackz
 
Posts: 12
Joined: Wed Nov 26, 2014 1:50 am

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 1 guest