View previous topic :: View next topic |
Author |
Message |
BluePy_251 n00b
Joined: 14 Oct 2024 Posts: 10
|
Posted: Mon Oct 14, 2024 6:00 pm Post subject: How can I dual boot with my Arch Linux installation? |
|
|
I want to dual boot Gentoo with Arch, how can I dual boot?
Context: I want to install Gentoo and dual boot it with Arch, so I need help to see how can I do it. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1700 Location: Germany
|
|
Back to top |
|
|
BluePy_251 n00b
Joined: 14 Oct 2024 Posts: 10
|
Posted: Mon Oct 14, 2024 8:03 pm Post subject: |
|
|
Thank you for the help |
|
Back to top |
|
|
BluePy_251 n00b
Joined: 14 Oct 2024 Posts: 10
|
Posted: Sat Oct 19, 2024 1:52 pm Post subject: |
|
|
I installed yesterday, today I wake up to see that I couldn't boot it, and to my surprise, I had created /mnt/gentoo on my Arch partition, not on the desired Gentoo one, so I guess Arch auto-deleted all /mnt/gentoo files, because the directory was completely empty, idk if it was the guide I followed or smth, but I'm so confused because I even got a screenshot of a fastfetch done alongside Arch (since you can apparently use any OS to install) |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22555
|
Posted: Sat Oct 19, 2024 2:26 pm Post subject: |
|
|
If you used /mnt/gentoo as a mountpoint yesterday, and did not mount it today, then yes, it would be empty today, even if your files are intact. What is the output of blkid? On what partition did you create the root filesystem for Gentoo? |
|
Back to top |
|
|
BluePy_251 n00b
Joined: 14 Oct 2024 Posts: 10
|
Posted: Sat Oct 19, 2024 4:26 pm Post subject: |
|
|
The supposed partition was dev/nvme0n1p5, but /mnt/gentoo was in nvme0n1p3, also blkid won't help because I stupidly removed the partitions. |
|
Back to top |
|
|
BluePy_251 n00b
Joined: 14 Oct 2024 Posts: 10
|
Posted: Sun Oct 20, 2024 4:36 pm Post subject: |
|
|
Now after creating partitions again nvme0n1p5 is mounted to /run/media/<user>/<uuid>, why is that like it? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22555
|
Posted: Sun Oct 20, 2024 4:42 pm Post subject: |
|
|
Are you asking about a behavior observed in the Arch Linux you used for the install, or observed in the resulting Gentoo install? /run/media is typically used by desktop environments that are trying to be "helpful." |
|
Back to top |
|
|
BluePy_251 n00b
Joined: 14 Oct 2024 Posts: 10
|
Posted: Sun Oct 20, 2024 5:02 pm Post subject: |
|
|
Gentoo was removed, so it was Arch after creating with gparted, so I will just unmount it because I mounted it again to /mnt/gentoo, but, does it matter where /mnt/gentoo is? |
|
Back to top |
|
|
BluePy_251 n00b
Joined: 14 Oct 2024 Posts: 10
|
Posted: Sun Oct 20, 2024 8:34 pm Post subject: |
|
|
Installing Gentoo again as I speak, this time reading the Handbook. |
|
Back to top |
|
|
BluePy_251 n00b
Joined: 14 Oct 2024 Posts: 10
|
Posted: Tue Oct 22, 2024 12:02 am Post subject: |
|
|
Nevermind, installation failed again, this time the initramfs didn't work, and I even enabled the flag in the file it said on the Handbook, and my battery died (unrelated but true), so, should I install it on the official ISO or should I just try again? Because my system started failing aftert removing the Gentoo partitions, even though I fixed it, it wasn't pleasant. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22555
|
Posted: Tue Oct 22, 2024 12:50 am Post subject: |
|
|
I recommend against running on battery while trying to install Gentoo. The time requirement will vary with your experience level and choices, but if you have many packages build from source, the demand on the battery could be significant.
Installing from Arch should be fine. If it was going to be a problem, it would have been apparent quite early on. Beyond that general bit of commentary, the best I can offer is that if you need help, you need to give us something with which we can work. Right now, your posts are too vague for us to understand what you did or what has gone wrong. |
|
Back to top |
|
|
BluePy_251 n00b
Joined: 14 Oct 2024 Posts: 10
|
Posted: Tue Oct 22, 2024 7:11 pm Post subject: |
|
|
Ok, so one, Arch, whenever I tried to run the dracut command myself, for some reason it would ALWAYS connect it to my Arch system's kernel,.second, my system started failing when I messed up my fstab (fixed by just re-running from emergency mode), and when I deleted the partitions to start again another day(same solution) so, to avoid having those problems, I think installing from Arch won't happen again. Also, where should I put the dracut flag so it can actually run an initramfs while compiling? |
|
Back to top |
|
|
BluePy_251 n00b
Joined: 14 Oct 2024 Posts: 10
|
Posted: Thu Oct 24, 2024 12:31 am Post subject: |
|
|
What do I do now? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22555
|
Posted: Thu Oct 24, 2024 12:46 am Post subject: |
|
|
I do not use dracut, and cannot advise you on it. Perhaps someone else will help you. |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 464
|
Posted: Thu Oct 24, 2024 8:47 am Post subject: |
|
|
BluePy_251 wrote: | Ok, so one, Arch, whenever I tried to run the dracut command myself, for some reason it would ALWAYS connect it to my Arch system's kernel,.second, my system started failing when I messed up my fstab (fixed by just re-running from emergency mode), and when I deleted the partitions to start again another day(same solution) so, to avoid having those problems, I think installing from Arch won't happen again. |
Without information it is not possible to help. Please describe your disk layout and the different mountpoints for the different installed systems.
What does "dracut connect it to your Arch system's kernel" mean? Do you share a partition between Arch and Gentoo? If so, why do you think that this is a good idea?
Did you chroot into Gentoo before generating the initramfs?
Which fstab did you mess up? The fstab from the live system, from the installed Arch Linux or from Gentoo?
Restarting an installation and doing the same mistakes again will lead to the same problems again.
BluePy_251 wrote: | Also, where should I put the dracut flag so it can actually run an initramfs while compiling? |
Set USE=dracut for sys-kernel/installkernel. Depending on your bootloader, you might add also other flags. |
|
Back to top |
|
|
|