Skip to main content
Topic: Dual boot with Arch: Artix login freezes (Read 894 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Dual boot with Arch: Artix login freezes

I’ve been trying to install a dual boot system with Artix and vanilla Arch.  I successfully installed both (Artix and then Arch) but after I installed Arch, Artix and Arch both appear in the grub menu, but when Artix is selected, it boots to a login screen, but then freezes.  NOTE: Arch boots fine and I am able to login, though at this point, I haven’t installed any desktop environment and won’t until I get Artix working. 

Here’s what I did.

Note about my computer:  It does NOT have UEFI.  It has a 3TB HD, which exceeds the 2.2 TB limit for MBR, so I have to use GPT.  That’s the reason for sda1 being a small, unformatted partition with the BIOS_GRUB flag.

My Artix USB had the iso: artix-xfce-openrc-20200506-x86_64.iso

Set up partition table:
Code: [Select]
sda1 8MiB, no file system, no mount point, BIOS_grub flag
sda2 506MiB, ext4, mount point = /boot
sda3 75GiB, ext4, for Arch
sda4 75GiB, ext4, for Artix
sda5 8GiB, swap
sda6 2.7TiB, ext4, mount point = /storage

I SUCCESFULLY installed Artix on sda4.  During the installation, I mounted:
Code: [Select]
sda2 as /boot
sda3 as /arch
sda4 as /
sda5 as swap (and did swapon /dev/sda5)
sda6 as /storage.
When I rebooted, Artix worked fine.

I then SUCCESSFULLY installed Arch on sda3, with the same configuration as when I installed Artix, except making sda3 as / and sda4 as /artix.  This created a grub menu which has entries for both Arch and Artix and the system boots fine to Arch.  But as I said above, when I select the Artix option, it boots to a login screen.  At this point, the pointer is frozen and the cursor in the password box blinks for several seconds and then stops.  I can’t do anything except do a hard reboot or shutdown.  I tried a couple of times with the same result each time.

How can I “unfreeze” Artix?

Re: Dual boot with Arch: Artix login freezes

Reply #1
can you share grub.cfg?

Re: Dual boot with Arch: Artix login freezes

Reply #2
Thanks, alium.  grub.cfg below.
Note: I checked the fstab and verified that the UUID shown for the Arch installation is sda3 and the UUID shown for the Artix installation is sda4 as they should be.

Code: [Select]
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt3' --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  83e00cf0-5ee6-4520-a969-4d42591fc258
else
  search --no-floppy --fs-uuid --set=root 83e00cf0-5ee6-4520-a969-4d42591fc258
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-83e00cf0-5ee6-4520-a969-4d42591fc258' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  1d4db404-adda-4934-ab62-37cf891e6c0b
else
  search --no-floppy --fs-uuid --set=root 1d4db404-adda-4934-ab62-37cf891e6c0b
fi
echo 'Loading Linux linux-lts ...'
linux /vmlinuz-linux-lts root=UUID=83e00cf0-5ee6-4520-a969-4d42591fc258 rw  loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-lts.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-83e00cf0-5ee6-4520-a969-4d42591fc258' {
menuentry 'Arch Linux, with Linux linux-lts' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-83e00cf0-5ee6-4520-a969-4d42591fc258' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  1d4db404-adda-4934-ab62-37cf891e6c0b
else
  search --no-floppy --fs-uuid --set=root 1d4db404-adda-4934-ab62-37cf891e6c0b
fi
echo 'Loading Linux linux-lts ...'
linux /vmlinuz-linux-lts root=UUID=83e00cf0-5ee6-4520-a969-4d42591fc258 rw  loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-lts.img
}
menuentry 'Arch Linux, with Linux linux-lts (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-83e00cf0-5ee6-4520-a969-4d42591fc258' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  1d4db404-adda-4934-ab62-37cf891e6c0b
else
  search --no-floppy --fs-uuid --set=root 1d4db404-adda-4934-ab62-37cf891e6c0b
fi
echo 'Loading Linux linux-lts ...'
linux /vmlinuz-linux-lts root=UUID=83e00cf0-5ee6-4520-a969-4d42591fc258 rw  loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-lts-fallback.img
}
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-83e00cf0-5ee6-4520-a969-4d42591fc258' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  1d4db404-adda-4934-ab62-37cf891e6c0b
else
  search --no-floppy --fs-uuid --set=root 1d4db404-adda-4934-ab62-37cf891e6c0b
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=83e00cf0-5ee6-4520-a969-4d42591fc258 rw  loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-83e00cf0-5ee6-4520-a969-4d42591fc258' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  1d4db404-adda-4934-ab62-37cf891e6c0b
else
  search --no-floppy --fs-uuid --set=root 1d4db404-adda-4934-ab62-37cf891e6c0b
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=83e00cf0-5ee6-4520-a969-4d42591fc258 rw  loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Artix Linux (rolling) (on /dev/sda4)' --class artix --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-45fe4519-11d1-43c2-b98a-2126f1ef0289' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  1d4db404-adda-4934-ab62-37cf891e6c0b
else
  search --no-floppy --fs-uuid --set=root 1d4db404-adda-4934-ab62-37cf891e6c0b
fi
linux /vmlinuz-linux root=UUID=45fe4519-11d1-43c2-b98a-2126f1ef0289 rw net.ifnames=0 quiet
initrd /initramfs-linux.img
}
submenu 'Advanced options for Artix Linux (rolling) (on /dev/sda4)' $menuentry_id_option 'osprober-gnulinux-advanced-45fe4519-11d1-43c2-b98a-2126f1ef0289' {
menuentry 'Artix Linux (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--45fe4519-11d1-43c2-b98a-2126f1ef0289' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  1d4db404-adda-4934-ab62-37cf891e6c0b
else
  search --no-floppy --fs-uuid --set=root 1d4db404-adda-4934-ab62-37cf891e6c0b
fi
linux /vmlinuz-linux root=UUID=45fe4519-11d1-43c2-b98a-2126f1ef0289 rw net.ifnames=0 quiet
initrd /initramfs-linux.img
}
menuentry 'Artix Linux, with Linux linux (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--45fe4519-11d1-43c2-b98a-2126f1ef0289' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  1d4db404-adda-4934-ab62-37cf891e6c0b
else
  search --no-floppy --fs-uuid --set=root 1d4db404-adda-4934-ab62-37cf891e6c0b
fi
linux /vmlinuz-linux root=UUID=45fe4519-11d1-43c2-b98a-2126f1ef0289 rw net.ifnames=0 quiet
initrd /initramfs-linux.img
}
menuentry 'Artix Linux, with Linux linux (fallback initramfs) (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--45fe4519-11d1-43c2-b98a-2126f1ef0289' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  1d4db404-adda-4934-ab62-37cf891e6c0b
else
  search --no-floppy --fs-uuid --set=root 1d4db404-adda-4934-ab62-37cf891e6c0b
fi
linux /vmlinuz-linux root=UUID=45fe4519-11d1-43c2-b98a-2126f1ef0289 rw net.ifnames=0 quiet
initrd /initramfs-linux-fallback.img
}
}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###