I have searched the web now for two days, but I cannot figure out how to fix my boot setup.
I have had previously PuppyLinux installed and added the Grub Bootloader. Afterwards I removed the partition for PuppyLinux and created a new one for Manjaro Linux. For whatever reason it still boots the Grub Legacy and I cannot figure out how to fix it.
I tried to figure out how Grub Legacy is installed, by using fdisk -l. This did only reveal a boot flag for my Manjaro Partition (/dev/sdb3). I could not find any hints about that it is installed in the MBR. There is another partition /dev/sdb1 which is only 100 MB in size. And it has the menu.lst of the PuppyLinux. I assume this is how Grub Legacy is installed. I am unable to figure out how to use Grub2 from Manjaro and remove Grub Legacy.
My partitions are:
/dev/sdb1: 100 MB partition with legacy grub
/dev/sdb2: Windows 10 OS
/dev/sdb3: Manjaro Linux
/dev/sdb4: Linux Swap
Does anybody know how to fix that? Help would be really appreciated. Thank you!
[manjaro /]# efibootmgr -v
EFI variables are not supported on this system.
[manjaro /]# parted -l
Model: ATA ST31500341AS (scsi)
Disk /dev/sda: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 106MB 524GB 524GB primary ntfs
2 524GB 1061GB 537GB primary ntfs
3 1061GB 1500GB 439GB extended
5 1061GB 1492GB 431GB logical ext4
6 1492GB 1500GB 8588MB logical linux-swap(v1)
Model: ATA Samsung SSD 840 (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 106MB 105MB primary ntfs
2 106MB 446GB 446GB primary ntfs
3 446GB 492GB 45.1GB primary ext4 boot
4 492GB 500GB 8590MB primary linux-swap(v1)
Model: ATA Samsung SSD 860 (scsi)
Disk /dev/sdc: 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: Mass Storage Device (scsi)
Disk /dev/sdd: 31.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 2524MB 2528MB 4194kB primary esp
[manjaro /]# blkid
/dev/sda1: BLOCK_SIZE="512" UUID="6C8C23B18C2374AC" TYPE="ntfs" PARTUUID="fd1d5fe4-01"
/dev/sda2: LABEL="Volume" BLOCK_SIZE="512" UUID="F8E42929E428EB96" TYPE="ntfs" PARTUUID="fd1d5fe4-02"
/dev/sda5: UUID="b20735be-3f3f-46f9-8256-9312e165dca4" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="fd1d5fe4-05"
/dev/sda6: UUID="0b958e1a-3226-4387-844c-8e95346a2e06" TYPE="swap" PARTUUID="fd1d5fe4-06"
/dev/sdb1: LABEL="System-reserviert" BLOCK_SIZE="512" UUID="66E0E9AEE0E984A1" TYPE="ntfs" PARTUUID="14cfda4b-01"
/dev/sdb2: BLOCK_SIZE="512" UUID="1880FEA780FE8A90" TYPE="ntfs" PARTUUID="14cfda4b-02"
/dev/sdb3: UUID="cdaf5181-fd78-4aa0-89a7-a85fd3b6b100" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="14cfda4b-03"
/dev/sdb4: UUID="94e434ce-fca2-411e-88bd-9f00ad286107" TYPE="swap" PARTUUID="14cfda4b-04"
/dev/sdc1: LABEL="Volume" BLOCK_SIZE="512" UUID="F6903BF1903BB6C9" TYPE="ntfs" PARTUUID="5d1fded6-01"
/dev/sdd1: BLOCK_SIZE="2048" UUID="2021-04-19-08-46-30-00" LABEL="MANJARO_XFCE_2102" TYPE="iso9660"
/dev/sdd2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="EB6E-7A94" BLOCK_SIZE="512" TYPE="vfat"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
[manjaro /]# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=cdaf5181-fd78-4aa0-89a7-a85fd3b6b100 / ext4 defaults,noatime 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
[manjaro /]# cat /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true
And here is a directory listing of /dev/sdb1. Which is the GRUB Legacy that gets loaded.
Still don’t get what went wrong. I assume that the MBR is using the bootloader from /dev/sdb1 and that still was the legacy grub. Is your command of grub-install checking the MBR to point to /dev/sdb3 or did it just change /dev/sdb1 and added grub2 instead of legacy grub?