[SOLVED] No Arch in BIOS after replacing home with backup home
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would fallback to tty, delete and recreate user (to avoid any further problems !) with it's attributes including home folder. Then login and copy.
means i have to use ArchISO then mnt the internal disk, remove user, create new user? what do you mean with with it's attributes including home folder.removing them?
Then login and copy what do you mean by login and copy?also done via ArchISO i guess? copy paste of ArchBackup into the internal disk?
Another thought, sometimes deleting configuration files in home folder will do the trick, so maybe after copying your user folder over delete all .* files and sub-files in the user folder
Last edited by colorpurple21859; 09-26-2020 at 12:17 PM.
Another thought, sometimes deleting configuration files in home folder will do the trick, so maybe after copying your user folder over delete all .* files and sub-files in the user folder
this is after i would have done the thing Tonus said?. how to do that? sorry but i got pretty frustrated because i remember last time i made a mistake on the Arch, i just copied the home folder and that was it...no extra steps were needed.
From tty means from the console that launch the graphical login manager. Usually found with Ctrl+alt+f1 or 2
There, login as root, remove the user and re-create it.
You will have a clean user wich will be able to log.
Then log with this empty user and copy backup
Last edited by Tonus; 09-26-2020 at 01:00 PM.
Reason: Typo, hate posting in english without proper corrector
From tty means from the console that launch the graphical login manager. Usually found with Ctrl+alt+f1 or 2
There, login as root, remove the user and re-create it.
You will have a clean user wich will be able to log.
Then log with this empty user and copy backup
i tried
Code:
userdel -r myusername
and i got
Code:
userdel: user myusername is curecntly used by process 473
shall i create a new user first?
Last edited by Arch4GoodieLike; 09-26-2020 at 01:13 PM.
userdel: user myusername is curecntly used by process 473
does this mean your able to login with your username in a tty console? If your able to login with your usrname in a tty, can you write files to the user home directory?
Last edited by colorpurple21859; 09-26-2020 at 05:20 PM.
Great
IF everything is working, mark the thread solved in thread tools.
well the thing is it looks like the same as before cp my /home because its empty.
so if i want to replace /home, i do
Code:
fdisk -l
# make directory for /mnt/sda3
mkdir /mnt/sda3
# create mountpoint for /dev/sda3 /mnt/sda3
mount /dev/sda3 /mnt/sda3
# make directory for /mnt/sdc
mkdir /mnt/sdc
#make encrypted disk accessable
cryptsetup luksOpen /dev/sdc ArchBackup
# create mountpoint for /dev/mapper/ArchBackup /mnt/sdc
mount /dev/mapper/ArchBackup /mnt/sdc
# copy paste backup of home to sda1 and replace /home in destination
cp -ax /mnt/sdc /mnt/sda3/home/
or have i to change something in the "code text" ?
Best is to copy your files while not using them. That's why you will usually be advised to copy the files while booted in a live OS.
What are you trying to achieve now ? Restore a backup ?
If none of the mentionned disks are actually in use you're good to go. If sda3 is the home partition, do not do that part where you're creating a mount point for it
Best is to copy your files while not using them. That's why you will usually be advised to copy the files while booted in a live OS.
What are you trying to achieve now ? Restore a backup ?
If none of the mentionned disks are actually in use you're good to go. If sda3 is the home partition, do not do that part where you're creating a mount point for it
sda3 is the internal disk partition Linux filesystem.i just want to replace internal /home with the backup /home folder.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.