• Gparted - Merging Partitions


    Thanks for the link! Nice article by the way…
    So do I need the Antergos Live ISO then? It seems like a good idea either way.

  • @Keegan said in Gparted - Merging Partitions:

    Antergos Live ISO

    Yes it is also possible to use any other Live Linus Iso but you do not have arch-chroot then and it differs how to do chrooting then

  • Ahhh… sounds like it’s Antergos Live ISO for me then😄. I’m downloading it already…

  • I’m finally in an Antergos Live session!!! But now I’m confused as to which partition is my boot and root ones. Here’s a screenshot of them in Gparted if that would help:
    0_1503600344927_gparted.png

    Thank you!

  • It appears that sda7 is my root partition and sda1 is my EFI-boot (fat) partition. However, I followed a guide similar to this onewhen installing Antergos, which does not have me create a special /boot partition (as far as I can tell😄).

  • no need to put /boot on its own partition, if not it is under / (root) partition as a folder…

    sudo su
    mount /dev/sda7 /mnt
    mount /dev/sda1 /mnt/boot/efi
    arch-chroot /mnt
    mkinitcpio -p linux
    os-prober
    grub-mkconfig -o /boot/grub/grub.cfg
    

    and mount all other partitions will force os-prober to do not work till tomorrow…

  • Thanks! I’ll go try that😀.

  • When I get to os-prober, this is what it returns me for some reason:

    [[email protected] /]# os-prober
      WARNING: Failed to connect to lvmetad. Falling back to device scanning.
    grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
    [[email protected] /]# 
    
  • are you inside chroot?

  • Yep! Would my fdisk -l info. help though? If so, here it is:

    # sudo fdisk -l
    Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: BDD5EAEF-4455-40D0-9915-362290EF5B11
    
    Device          Start        End    Sectors   Size Type
    /dev/sda1        2048    1026047    1024000   500M EFI System
    /dev/sda2     1026048    1288191     262144   128M Microsoft reserved
    /dev/sda3     1288192 1113527044 1112238853 530.4G Microsoft basic data
    /dev/sda4  1914597376 1925275647   10678272   5.1G Linux swap
    /dev/sda5  1925275648 1926197247     921600   450M Windows recovery environment
    /dev/sda6  1926197248 1953523711   27326464    13G Windows recovery environment
    /dev/sda7  1113527045 1162354687   48827643  23.3G Linux filesystem
    /dev/sda8  1162355170 1914597375  752242206 358.7G Linux filesystem
    
    Partition 7 does not start on physical sector boundary.
    Partition 8 does not start on physical sector boundary.
    Partition table entries are not in disk order.
    
    
    
    
    Disk /dev/sdb: 29.5 GiB, 31658606592 bytes, 61833216 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x3c70419f
    
    Device     Boot Start     End Sectors  Size Id Type
    /dev/sdb1  *        0 3681087 3681088  1.8G  0 Empty
    /dev/sdb2         224  131295  131072   64M ef EFI (FAT-12/16/32)
    
    
    Disk /dev/loop0: 1.7 GiB, 1769562112 bytes, 3456176 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    [[email protected] /]# 
    
  • Put sudo already being root is not good …

    # fdisk -l >>>>yes !
    
  • @judd said in Gparted - Merging Partitions:

    Put sudo already being root is not good …

    hehehe… wasn’t thinking there, sorry about that😄.

  • I do not understand why, os-prober do not do his job here… but may you do not need it and simple take the next step

  • Will do!

  • When I try that last command, I keep getting this:

    [[email protected] /]# grub-mkconfig -o /boot/grub/grub.cfg
    Generating grub configuration file ...
    Found theme: /boot/grub/themes/deepin/theme.txt
    Found linux image: /boot/vmlinuz-linux
    Found initrd image: /boot/initramfs-linux.img
    Found fallback initramfs image: /boot/initramfs-linux-fallback.img
    Found linux image: /boot/vmlinuz-linux-lts
    Found initrd image: /boot/initramfs-linux-lts.img
    Found fallback initramfs image: /boot/initramfs-linux-lts-fallback.img
      WARNING: Failed to connect to lvmetad. Falling back to device scanning.
    grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
    error: out of memory.
    error: syntax error.
    error: Incorrect command.
    error: syntax error.
    Syntax error at line 261
    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.
    [[email protected] /]# 
    
  • Reboot, and then:

    $ sudo os-prober
    

    ???

  • I’ll try rebooting, but I’m in a Live ISO environment in the first place. Perhaps it will help though😀.

  • @judd said in Gparted - Merging Partitions:

    Reboot

    Yay!!! Thank you for the advice @judd! It turns out that when I rebooted, I accidentally began booting into my normal Antergos system. For some reason, it works now! Thank you so much for all of your help, time, and patience @bpoerwo, @joekamprad, and @judd😀.

  • @joekamprad said in Gparted - Merging Partitions:

    mkinitcpio -p linux

    I think this may be the command that solved it… The two others returned errors, but this one worked perfectly. Just a tip for anyone running across the same problem in the future!

partitions11 gparted5 merging1 Posts 39Views 2914
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.