Talk:Dualbooting

From Alpine Linux
Revision as of 20:55, 9 October 2023 by Zcrayfish (talk | contribs) (Reverting: See talk page)

1.

  alp:/# updqate-grub2
  /bin/ash: updqate-grub2: not found

And package absent

2.

alp:/# grub-mkconfig -o /boot/grub/grub.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-lts Found initrd image: /boot/initramfs-lts Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. error: syntax error. error: Incorrect command. error: syntax error. Syntax error at line 126 Syntax errors are detected in generated GRUB config file. Ensure that there are no errors in /etc/default/grub and /etc/grub.d/* files or please file a bug report with /boot/grub/grub.cfg.new file attached.

— Preceding unsigned comment added by Vul (talk • contribs) 04:43, 7 November 2022‎

   The command in your 1st section is most certainly misspelled at a minimum.
   zcrayfish (talk) 03:01, 14 August 2023 (UTC)

3.

I'm not a computer scientist, but this should be added to the "Installing Alpine on an HDD partition" section to avoid putting off those who wish to upgrade.

to be done after basic setup-alpine if we assume that the partition is the following: /dev/nvme0n1p5 for the root /dev/nvme0n1p2 /mnt/boot/efi for the efi partition created by windows 10/11 /dev/sda4 for /home

in the following example:

apk update apk upgrade apk add dosfstools for vfat support apk add util-linux for lsblk apk add e2fsprogs for mkfs apk add efibootmgr

lslbk or fdisk -l


Format partition / mkfs.ext4 /dev/nvme0n1p5 Format /home partition mkfs.ext4 /dev/sda4

Mount the Root partition mount -t ext4 /dev/nvme0n1p5 /mnt

Mount the EFI partition created by windows mkdir -p /mnt/boot/efi mount -t vfat /dev/nvme0n1p2 /mnt/boot/efi

and create the necessary directories in EFI cd /mnt/boot/efi/EFI mkdir -p boot # attention must be lowercase not Boot # mkdir -p alpine

Mount /home partition mkdir -p /mnt/home mount -t ext4 /dev/sda4 /mnt/home

Install in /mnt partition setup-disk -m sys /mnt

reboot