LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 07-18-2019, 01:44 PM   #1
anon026
Member
 
Registered: Jan 2018
Posts: 33

Rep: Reputation: Disabled
confused how to chroot + have separate home


Hi :-)
A beginner, having just come over to Arch a few days ago (after Mint, Neptune, Manjaro). I never needed to chroot when on previous distros. Using a separate home now. I've set up Timeshift, but having a very difficult time trying to find out how to chroot in, at all, but especially if there was the need to get into Timeshift in order to run a restore ... Timeshift backups are on my /home (sda3).

fdisk -l
/dev/sda1 2048 1026047 1024000 500M Linux filesystem
/dev/sda2 1026048 205826047 204800000 97.7G Linux filesystem
/dev/sda3 205826048 1953525134 1747699087 833.4G Linux filesystem

Reading wiki and lots of guides, and just can't see how to do it. Would be very grateful for any advice.
 
Old 07-19-2019, 05:56 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by paintpenguin View Post
Hi :-)
A beginner, having just come over to Arch a few days ago (after Mint, Neptune, Manjaro). I never needed to chroot when on previous distros. Using a separate home now. I've set up Timeshift, but having a very difficult time trying to find out how to chroot in, at all, but especially if there was the need to get into Timeshift in order to run a restore ... Timeshift backups are on my /home (sda3).

fdisk -l
/dev/sda1 2048 1026047 1024000 500M Linux filesystem
/dev/sda2 1026048 205826047 204800000 97.7G Linux filesystem
/dev/sda3 205826048 1953525134 1747699087 833.4G Linux filesystem

Reading wiki and lots of guides, and just can't see how to do it. Would be very grateful for any advice.
I do not use Timeshift, but if your goal is to chroot then:

mount sda3 first:

Code:
mount /dev/sda3 /mnt/backup   (make sure /mnt/backup exist)
Now:
Code:
chroot /mnt/backup
When you are done, type exit to get out of chroot environment
 
1 members found this post helpful.
Old 07-21-2019, 11:17 AM   #3
anon026
Member
 
Registered: Jan 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Thanks dc.901. Much appreciate. :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Booting LFS on separate USB HDD + separate /boot parition nivwusquorum Linux From Scratch 33 12-14-2011 06:38 AM
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 10:30 AM
Encoding separate audio channels to separate files omnio Linux - Software 0 06-01-2007 07:46 AM
Looking for a tool to auto crop and separate images in to separate files.. mlsfit Linux - Software 2 08-06-2006 03:13 PM
Separate Partitions for Separate User groups volvic Slackware - Installation 2 09-16-2004 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration