• antergos bootloader problem


    i am using the gnome version of antergos since a few weeks and because everything runs so fine i decided today to replace my ubuntu on another partition of the same hdd with antergos kde.
    after the installation finished i got a message that there might be some problem with my bootloader.
    and it was. i think i managed to recover a little bit of it, i can now boot again into antergos gnome edition, but not yet on antergos kde.

    this is my setup:
    [[email protected] ~]$ sudo blkid
    [sudo] password for usaf:
    /dev/sda1: UUID=“0c4ab856-f322-47f6-890f-2d8a38933a75” TYPE=“ext2” PARTUUID=“000950a7-01”
    /dev/sda2: UUID=“04283c6e-0b9a-4ebb-9cbe-753e51380301” TYPE=“swap” PARTUUID=“000950a7-02”
    /dev/sda3: UUID=“4e83fa51-b1fd-463e-80c2-a61628b23458” TYPE=“ext4” PARTUUID=“000950a7-03”
    /dev/sda5: UUID=“ed542e6d-f359-486f-a343-2983f234687d” TYPE=“ext4” PARTUUID=“000950a7-05”
    /dev/sda6: LABEL=“antergos” UUID=“45024965-8045-47a8-861c-12f68636cd66” TYPE=“ext4” PARTUUID=“000950a7-06”

    while sda6 is antergos with gnome and that boots now just fine. the problem lays on sda3 which is my antergos kde install and i somehow need to integrate that one into the bootloader. can anyone help me?

  • @usaf If you’re using grub 2 (by default in Antergos), and if on the Kde partition grub 2 config files are not damaged, then it should be really simple to add Kde entry to the Gnome’s menu. Simply boot normally into Gnome, open the terminal, and run the command

    sudo update-grub
    

    (it may by called update-grub2, or grub-update, don’t remember. I hate grub 2 and never use it). The command will search the disk for all available OS’s and add them to Gnome’s grub 2 menu.

  • @just

    update-grub is just an Ubuntu shell script that does not exist on Antergos.

    To do the same, just run this:
    sudo grub-mkconfig -o /boot/grub/grub.cfg

    Greets!

  • it was my bad. i have chosen a dedicated /boot option instead of installing /boot just in the partition i am going to use. so mark that problem as solved.

    however: i always get the error message at the end of the setup (no matter if i chose kde, openbox or whatever)
    Error: Can’t install necessary packages. Cnchi can’t continue.

    this is highly frustrating.

  • @usaf
    Post the log here (/tmp/cnchi.log) when you get that error message.

    Thanks!

  • the installation itself went fine, except the bootloader thing.

    it looks now like
    [[email protected] ~]$ sudo blkid
    /dev/loop0: TYPE=“squashfs”
    /dev/loop1: UUID=“81f6bd70-b372-40eb-8328-fb6f5e38870b” TYPE=“ext4”
    /dev/loop2: UUID=“81f6bd70-b372-40eb-8328-fb6f5e38870b” TYPE=“ext4”
    /dev/sda1: UUID=“0c4ab856-f322-47f6-890f-2d8a38933a75” TYPE=“ext2” PARTUUID=“000950a7-01”
    /dev/sda2: UUID=“04283c6e-0b9a-4ebb-9cbe-753e51380301” TYPE=“swap” PARTUUID=“000950a7-02”
    /dev/sda5: UUID=“ed542e6d-f359-486f-a343-2983f234687d” TYPE=“ext4” PARTUUID=“000950a7-05”
    /dev/sda6: LABEL=“antergos” UUID=“45024965-8045-47a8-861c-12f68636cd66” TYPE=“ext4” PARTUUID=“000950a7-06”
    /dev/sda7: LABEL=“antergos_kde” UUID=“de455a91-11d3-46e9-b2ee-ad12c01d1b83” TYPE=“ext4” PARTUUID=“000950a7-07”
    /dev/sdb1: UUID=“2015-06-28-21-06-59-00” LABEL=“ANTERGOS” TYPE=“iso9660” PTUUID=“6bc22913” PTTYPE=“dos” PARTUUID=“6bc22913-01”
    /dev/sdb2: SEC_TYPE=“msdos” LABEL=“ARCHISO_EFI” UUID=“0B63-F8A4” TYPE=“vfat” PARTUUID=“6bc22913-02”
    /dev/mapper/arch_root-image: UUID=“81f6bd70-b372-40eb-8328-fb6f5e38870b” TYPE="ext4

    and all i want is to have a working bootloader which lets me chose between antergos and antergos kde. cant be that difficult as ubuntu is able to do it per default.

    where would i run grub-mkconfig -o /boot/grub/grub.cfg ?
    logic says me that would just write the bootsector in the device i am currently running my life distro which would be not usefull.

    please help!

  • @usaf

    Can’t you boot into any of the two Antergos?

  • @karasu said:

    @usaf

    Can’t you boot into any of the two Antergos?

    exactly this. makes me wonder because if i chose to install kubuntu for example on that partition grub recognizes everzthing and i have 1 antergos and 1 kubuntu both bootable.

  • @usaf said:

    …where would i run grub-mkconfig -o /boot/grub/grub.cfg ?..

    In terminal, in your working Antergos Gnome. Boot normally, without LiveDVD/LiveUSB. From grub’s menu select the Gnome session. Once you’re in Gnome, open the terminal. Issue the command suggested by @karasu

    sudo grub-mkconfig -o /boot/grub/grub.cfg
  • @just

    i cant boot into my working antergos anymore after i try to install a 2nd variation of it into sda7…
    then i just see grub showing me the new antergos which is unbootable and the old one is gone completely.

  • Hi,

    Boot from the live USB/CD and run these commands from a terminal:

    sudo su
    mount /dev/sda6 /mnt
    mount /dev/sda1 /mnt/boot
    mount /dev /mnt/dev --bind 
    mount /proc /mnt/proc --bind 
    mount /sys /mnt/sys --bind 
    chroot /mnt
    grub-mkconfig -o /boot/grub/grub.cfg
    grub-install /dev/sda
    

    This should, at least, make your linux in sda6 bootable

  • i found it out. the problem was my faulty usb pendrive. i got a brand new one today and simply installed antergos on sda7 without any further actions needed. everything fine. thanks for your help

Posts 12Views 2843
Log in to reply