You are not logged in.
I have searched before posting and closest that came to my issue is this, where the solution was to move the boot partition closer to the start of the disk.
This doesn't apply in my case. In fact, I have a nearly identical partition setup on the PC I'm writing this from and everything works just peachy.
On that other PC, though, GRUB fails to load and falls back to rescue mode with "error: unknown filesystem". It's not the config, since it doesn't even get to displaying the menu.
The partitions and the HDDs are displayed when using ls from the rescue shell, but doing "ls (hdX,msdosY)" shows the same error for any partition (btrfs, ntfs). Inserting those with insmod doesn't seem to make any difference.
This is a bare setup, with only the base + btrfs-progs + grub installed (from chroot) following the wiki.
The partition layout is as follows:
- about 90GB ntfs (windows)
- 20GB btrfs (linux)
This is on a 120GB SSD, BIOS system.
Any idea what GRUB doesn't like?
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
Please post the output of:
# parted -l
Jin, Jîyan, Azadî
Offline
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 500GB 500GB primary ntfs
Model: ATA ST3500418AS (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 500GB 500GB primary ntfs
Model: ATA CT120BX100SSD1 (scsi)
Disk /dev/sdc: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 98.6GB 98.6GB primary ntfs
2 98.6GB 120GB 21.5GB primary btrfs boot
Model: SanDisk U3 Cruzer Micro (scsi)
Disk /dev/sdd: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 16.0GB 16.0GB fat32 Microsoft Basic Data msftdata
Model: Generic Flash Disk (scsi)
Disk /dev/sde: 1030MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 88.1kB 32.6MB 32.5MB primary fat16 esp
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
Sorry, I should have also asked for the content of grub.cfg and the output of:
# lsblk -f
Jin, Jîyan, Azadî
Offline
#
# 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_msdos
insmod btrfs
set root='hd2,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c7c9e495-aa41-4c58-b4f0-8f43cdfdd245
else
search --no-floppy --fs-uuid --set=root c7c9e495-aa41-4c58-b4f0-8f43cdfdd245
fi
font="/arch_current/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-c7c9e495-aa41-4c58-b4f0-8f43cdfdd245' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod btrfs
set root='hd2,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c7c9e495-aa41-4c58-b4f0-8f43cdfdd245
else
search --no-floppy --fs-uuid --set=root c7c9e495-aa41-4c58-b4f0-8f43cdfdd245
fi
echo 'Loading Linux linux ...'
linux /arch_current/boot/vmlinuz-linux root=UUID=c7c9e495-aa41-4c58-b4f0-8f43cdfdd245 rw rootflags=subvol=arch_current quiet
echo 'Loading initial ramdisk ...'
initrd /arch_current/boot/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-c7c9e495-aa41-4c58-b4f0-8f43cdfdd245' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-c7c9e495-aa41-4c58-b4f0-8f43cdfdd245' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod btrfs
set root='hd2,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c7c9e495-aa41-4c58-b4f0-8f43cdfdd245
else
search --no-floppy --fs-uuid --set=root c7c9e495-aa41-4c58-b4f0-8f43cdfdd245
fi
echo 'Loading Linux linux ...'
linux /arch_current/boot/vmlinuz-linux root=UUID=c7c9e495-aa41-4c58-b4f0-8f43cdfdd245 rw rootflags=subvol=arch_current quiet
echo 'Loading initial ramdisk ...'
initrd /arch_current/boot/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-c7c9e495-aa41-4c58-b4f0-8f43cdfdd245' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod btrfs
set root='hd2,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 c7c9e495-aa41-4c58-b4f0-8f43cdfdd245
else
search --no-floppy --fs-uuid --set=root c7c9e495-aa41-4c58-b4f0-8f43cdfdd245
fi
echo 'Loading Linux linux ...'
linux /arch_current/boot/vmlinuz-linux root=UUID=c7c9e495-aa41-4c58-b4f0-8f43cdfdd245 rw rootflags=subvol=arch_current quiet
echo 'Loading initial ramdisk ...'
initrd /arch_current/boot/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 'Windows 8 (loader) (on /dev/sdc1)' --class windows --class os $menuentry_id_option 'osprober-chain-7CEE3C4CEE3C00C6' {
insmod part_msdos
insmod ntfs
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 7CEE3C4CEE3C00C6
else
search --no-floppy --fs-uuid --set=root 7CEE3C4CEE3C00C6
fi
drivemap -s (hd0) ${root}
chainloader +1
}
### 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 ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
└─sda1
sdb
└─sdb1
sdc
├─sdc1
└─sdc2 /
sdd
├─sdd1
└─sdd2
sdf
└─sdf1 /tmp/out
sr0
loop0
Something I noticed when re-running grub-mkconfig is that it's trying and failing to connect with lvmtad - I'm not using lvm, why would it do that? I can't seem to re-route the output to a file, though.
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
I can't seem to re-route the output to a file, though.
# grub-mkconfig -o file
EDIT: I see that LVM message also and GRUB will complete without further problems.
Please re-post the `lsblk -f` output with root privileges so the UUIDs show up.
Last edited by Head_on_a_Stick (2015-10-04 15:29:59)
Jin, Jîyan, Azadî
Offline
That's the thing, this IS with root privileges.
edit: also I meant the output of "grub-mkconfig -o file", something like "grub-mkconfig -o file > logfile" doesn't seem to work.
edit2: This is the output of lsblk -f when booting from the liveusb (vs the one I posted above, which is from within arch-chroot)
NAME FSTYPE LABEL UUID MOUNTPOINT
sda promise_fasttrack_raid_member
└─sda1 ntfs Workflow 5EB8E892B8E869CB
sdb promise_fasttrack_raid_member
└─sdb1 ntfs Data 8CAACDE5AACDCBC0
sdc
├─sdc1 ntfs System 7CEE3C4CEE3C00C6
└─sdc2 btrfs Arch c7c9e495-aa41-4c58-b4f0-8f43cdfdd245 /mnt
sdd iso9660 ARCH_201510 2015-10-01-17-08-02-00
├─sdd1 iso9660 ARCH_201510 2015-10-01-17-08-02-00 /run/archiso/bootmnt
└─sdd2 vfat ARCHISO_EFI 8322-6EAF
sdf
└─sdf1 vfat GSP1RMCPRXF 3A3B-CDB8 /tmp/out
sr0
loop0 squashfs /run/archiso/sfs/airootfs
Last edited by Soukyuu (2015-10-04 15:37:40)
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
Are the subvolume names correct?
Have you tried re-installing GRUB?
Which command did you use to install GRUB?
Jin, Jîyan, Azadî
Offline
The subvolume name is correct, the entries also look the same as on my main machine (the subvolume part, not the UUID, obviously).
I did try to re-install grub several times, from chroot with
# grub-install --recheck /dev/sdc
Last edited by Soukyuu (2015-10-04 15:51:20)
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
Installed syslinux and it boots without a hitch, as expected.
GRUB can go die in a fire for all I care.
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline