Talk:Dualbooting: Difference between revisions

From Alpine Linux
No edit summary
m (Please create your own section on the talk page and sign your comments.)
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
1.
1.
 
    alp:/# updqate-grub2
  alp:/# updqate-grub2
    /bin/ash: updqate-grub2: not found
  /bin/ash: updqate-grub2: not found


And package absent
And package absent
Line 8: Line 7:
2.
2.


<pre>
alp:/# grub-mkconfig -o /boot/grub/grub.cfg
alp:/# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Generating grub configuration file ...
Line 22: Line 22:
and /etc/grub.d/* files or please file a bug report with
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
/boot/grub/grub.cfg.new file attached.
</pre>


— Preceding unsigned comment added by Vul (talk • contribs) 04:43, 7 November 2022‎
<small><span class="autosigned">&nbsp;Preceding [[Help:Signature|unsigned]] comment added by [[User:Vul|Vul]] ([[User talk:Vul|{{int:talkpagelinktext}}]] [[Special:Contributions/Vul|{{int:contribslink}}]]) 04:43, 7 November 2022‎</span></small>
 
    The command in your 1st section is most certainly misspelled at a minimum.
    zcrayfish (talk) 03:01, 14 August 2023 (UTC)
 
3. Installing Alpine on an HDD partition with dualbooting windows 10/11
 
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
:The command in your 1st section is most certainly misspelled at a minimum.
:[[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 03:01, 14 August 2023 (UTC)

Latest revision as of 20:57, 9 October 2023

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 (talkcontribs) 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)