LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-24-2020, 08:54 AM   #1
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Rep: Reputation: Disabled
Exclamation No Arch in BIOS after replacing home with backup home


I had to reinstall Arch due accidentally moving the /root directly, so I did it and then I tried to replace the vanilla /home with my backup /home (backup is 1 day old) and I rebooted with Arch being vanishe, in other words, not showing up in BIOS. Did I make any mistake in the tty ? (Check pic below)
https://www.imgurupload.com/uploads/...3e050aa97.jpeg
 
Old 09-24-2020, 09:18 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I am not sure what the image is supposed to show. I can see a Bash prompt and a few filesystem-related commands, so whoever took the photo must have booted Linux. What exactly is your problem?

Arch should not show up in the BIOS, by the way. If you mean the bootloader menu, you need to fix your Grub configuration rather than mounting filesystems and copying files around.
 
Old 09-24-2020, 12:15 PM   #3
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
rather than mounting filesystems and copying files around.
are you trolling me?
i installed Arch from scratch (succesfully), then i wanted to cp my /home directory from backup device into my Arch then i rebooted and to my surprise there was no Arch in BIOS.
 
Old 09-24-2020, 12:36 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
let see if I got this right, you use the bios boot to boot arch(assuming you press some f-key), you booted arch mounted a couple of partitions copied files from one partition to another partition, now there is no arch entry in the bios boot and the re-installed arch was booting before you did all this. If so, it would seem that the arch bootloader was copied over somehow. Did you use a live iso for this? I don't see anything wrong in the picture you posted, but then again I don't know the partition layout or anything else about the system.

Last edited by colorpurple21859; 09-24-2020 at 12:41 PM.
 
Old 09-24-2020, 01:39 PM   #5
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
let see if I got this right, you use the bios boot to boot arch(assuming you press some f-key), you booted arch mounted a couple of partitions copied files from one partition to another partition, now there is no arch entry in the bios boot and the re-installed arch was booting before you did all this. If so, it would seem that the arch bootloader was copied over somehow. Did you use a live iso for this? I don't see anything wrong in the picture you posted, but then again I don't know the partition layout or anything else about the system.
thats right, i used LiveOS Arch for the file copy stuff.

sda3 is the partition where my Arch was.
 
Old 09-24-2020, 01:49 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
It looks like you will have to use the LiveOS Arch to reinstall grub.
 
Old 09-24-2020, 02:40 PM   #7
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
It looks like you will have to use the LiveOS Arch to reinstall grub.
i tried reinstalling GRUB by following this small guide https://sangams.com.np/how-to-restor...in-arch-linux/

below is disk with arch
https://ibb.co/dJHSxS7

below is how far i came and where it stopped.
https://ibb.co/7S577dv

any idea how to get it working?
 
Old 09-24-2020, 03:07 PM   #8
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
What about copying those small lines between code tags ? Would be easier for people who want to help…

What does the next command says ?

Code:
ls /boot
My guess is it might show some EFI directory…
 
Old 09-24-2020, 03:42 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
you need to create the directory /boot/efi before mounting the efi partition.
 
Old 09-24-2020, 06:24 PM   #10
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Arch4GoodieLike View Post
are you trolling me?
i installed Arch from scratch (succesfully), then i wanted to cp my /home directory from backup device into my Arch then i rebooted and to my surprise there was no Arch in BIOS.
What makes you think I am trolling?!?

There is no Arch in BIOS, ever.
The photo doesn't show the BIOS or the missing Arch. It just shows how you are trying to recover your home filesystem.
My suggestion is to fix your bootloader. Others suggest the same thing.
 
Old 09-25-2020, 03:05 AM   #11
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
you need to create the directory /boot/efi before mounting the efi partition.
i succesfully reinstalled GRUB and after boot i get this https://ibb.co/C9qDdnx what have i to do now?
 
Old 09-25-2020, 04:11 AM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
Then, generate grub.cfg, # grub-mkconfig -o /boot/grub/grub.cfg
Now you are done, # exit, # reboot.
From the link in your #7 post.
 
Old 09-25-2020, 06:05 AM   #13
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
From the link in your #7 post.
well, thats what i did aswell but here, i just did everthing again as you can see in the pic https://ibb.co/XJwbpP0 and then after this i used
Code:
reboot
and i still got only the grub like here shown before https://ibb.co/C9qDdnx
 
Old 09-25-2020, 06:39 AM   #14
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
chroot into your arch system post the output of
Code:
ls /boot
 
Old 09-25-2020, 09:00 AM   #15
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Did you mount the efi partition to /boot/efi before running the grub-mkconfig?
 
  


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
Remote Backup script needed | backup every 1-2 seconds (Online/Hot backup) reda Linux - Newbie 4 04-20-2019 05:02 PM
Replacing BIOS jmh72 Linux - Laptop and Netbook 10 04-07-2018 05:59 PM
[SOLVED] Backup, shrink backup and modify MBR of backup jps1x2 Linux - General 1 12-17-2013 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:15 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