LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No Arch in BIOS after replacing home with backup home (https://www.linuxquestions.org/questions/linux-newbie-8/no-arch-in-bios-after-replacing-home-with-backup-home-4175682630/)

Arch4GoodieLike 09-24-2020 08:54 AM

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

berndbausch 09-24-2020 09:18 AM

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.

Arch4GoodieLike 09-24-2020 12:15 PM

Quote:

Originally Posted by berndbausch (Post 6169195)
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.

colorpurple21859 09-24-2020 12:36 PM

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.

Arch4GoodieLike 09-24-2020 01:39 PM

Quote:

Originally Posted by colorpurple21859 (Post 6169251)
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.

colorpurple21859 09-24-2020 01:49 PM

It looks like you will have to use the LiveOS Arch to reinstall grub.

Arch4GoodieLike 09-24-2020 02:40 PM

Quote:

Originally Posted by colorpurple21859 (Post 6169273)
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?

Tonus 09-24-2020 03:07 PM

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…

colorpurple21859 09-24-2020 03:42 PM

you need to create the directory /boot/efi before mounting the efi partition.

berndbausch 09-24-2020 06:24 PM

Quote:

Originally Posted by Arch4GoodieLike (Post 6169249)
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.

Arch4GoodieLike 09-25-2020 03:05 AM

Quote:

Originally Posted by colorpurple21859 (Post 6169305)
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?

colorpurple21859 09-25-2020 04:11 AM

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.

Arch4GoodieLike 09-25-2020 06:05 AM

Quote:

Originally Posted by colorpurple21859 (Post 6169437)
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

colorpurple21859 09-25-2020 06:39 AM

chroot into your arch system post the output of
Code:

ls /boot

colorpurple21859 09-25-2020 09:00 AM

Did you mount the efi partition to /boot/efi before running the grub-mkconfig?


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