You are not logged in.
I have an existing Debian system which I am using as a launching pad for my Arch installation. So I am following the instructions in Install Arch Linux from existing Linux.
So far, I have managed to chroot and now I am directed to the normal installation guide and jump straight to Mount the file systems
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda ... redacted ... disk
├─sda1 part # want to make this the Arch root partition
└─sda2 part # want to make this the Arch home partition
nvme0n1 disk
├─nvme0n1p1 part / # Debian root partition
├─nvme0n1p2 part
├─nvme0n1p3 part /boot/efi # This was installed automatically by Debian
├─nvme0n1p4 part
├─nvme0n1p5 part /home # Debian home partition
└─nvme0n1p6 part [SWAP]While inside the chroot as sudo, I ought to do the following according to the Installation Guide:
# mount /dev/sda1 /mnt
# mount --mkdir /dev/nvme0n1p3 /mnt/boot
# swapon /dev/nvme0n1p6I am apprehensive about what Arch will do to my existing /boot/efi.
I went and read ahead the following:
I would rather NOT automate my GRUB setup.
Questions
Am I on the right track going for the custom grub.cfg? Is there something I need to look out for?
If I am able to create my own grub menuentry, what use is mounting /boot/efi? I feel like I want to Keep it secret. Keep it safe from the Arch installer.
Last edited by bamboo1539 (2022-09-17 09:31:58)
Offline
I would follow the arch install procedure for /dev/sda1 and 2. But no need to run grub-install process.
Once you have the arch system and kernel installed, boot into the debian system and update grub to detect new arch system (via os_prober) . Don't edit grub.cfg manually, use the update-grub utility or run grub-mkconfig -o /boot/grub/grub.cfg
There is no need to mess with the uefi settings if you always intend to boot from the existing debian uefi/grub entry - which I presume already works
I run 2 arch OS's like this.
hope this helps.
Offline
I would follow the arch install procedure for /dev/sda1 and 2. But no need to run grub-install process.
As I understand, I can go through the Installation Guide all the way to the following:
DO THIS Root password
SKIP THIS GRUB / UEFI Systems / Installation. This has the grub-install instruction.
DO THIS GRUB / Configuration / Generated grub.cfg. This has the instructions for os-prober, update-grub and grub-mkconfig.
Offline
1. yes and add a user and user password , according the the arch install instructions
2. yes
3. nope - do the grub modifications from the debian system - assuming you have os-prober active, when you run update-grub in debian , it should detect the new arch system on /dev/sda1 and add a menuentry to grub.cfg. Look for /etc/grub.d/30_os-prober, make sure it is executable. update-grub does the same thing as grub-mkconfig. Then when you boot there should be a new menuentry called linux-<something> (on /dev/sda1). This should boot you into the new arch system, if all has been done correctly. Once you are there you can follow the rest on the configuration processes
Offline
When I got to the point to do grub-mkconfig, I did the following to make sure I understood the changes and compare with my existing /boot/grub/grub.cfg
$ sudo grub-mkconfig -o /some/scratchpad/directory/grub.cfgThank you for the help, @jeffm! I was able to install Arch Linux. It's still a command-line system as of now, but my dotfiles are helping to set it up quickly.
How do I mark this as SOLVED?
Offline
How do I mark this as SOLVED?
Edit your first post (this will allow you to also edit the title) and add [SOLVED] to the tile. Read "How to post" linked below.
Offline