You are not logged in.

#1 2015-07-15 16:17:06

altiris
Member
Registered: 2014-12-23
Posts: 50

GRUB is not recognizing a btrfs/xfs partition

I am trying to dualboot Arch linux and CentOS 7. I have Arch linux installed first, so when I went to install CO7 I told it not to install grub (as I have it on arch already, I did this procedure for Fedora 21 and it worked out fine). When installation finished on CentoOS 7 I went back into Arch and did "sudo grub-mkconfig -o /boot/grub/grub.cfg" however I do not see anything about centos being present, and upon doing a reboot CentOS does not appear on grub. The way I installed centos was I made two partitions, one / which is btrfs and /boot which is xfs. I installed btrfs-progs or whatever that application is called but still nothing. I am able to mount the partitions just fine, and mounting /boot shows there are files in /boot including vmlinuz.

Whats wrong here?
I have osprober installed, here is fdisk -l as it may be useful (I have an ssd with windows on here). The important partitions are /dev/sdb1 as that is the xfs file /boot and /dev/sdb2 as that is the btrfs file /    /dev/sdb3 is just ntfs storage, and /dev/sdc is my arch linux partition.

Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 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: 0x6be4ed39

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sda1  *      2048    206847    204800   100M  7 HPFS/NTFS/exFAT
/dev/sda2       206848 250066943 249860096 119.1G  7 HPFS/NTFS/exFAT


Disk /dev/sdc: 298.1 GiB, 320072933376 bytes, 625142448 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: gpt
Disk identifier: D1F987F1-1E77-4EB5-B25B-96B6DA505859

Device         Start       End   Sectors  Size Type
/dev/sdc1       2048 608258047 608256000  290G Linux filesystem
/dev/sdc2  608258048 625141759  16883712  8.1G Linux swap


Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 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: 0x2392fcc9

Device     Boot    Start        End    Sectors   Size Id Type
/dev/sdb1           2048    1048575    1046528   511M 83 Linux
/dev/sdb2        1048576   81913855   80865280  38.6G 83 Linux
/dev/sdb3       81915435 1953520064 1871604630 892.5G  7 HPFS/NTFS/exFAT

Last edited by altiris (2015-07-15 16:21:49)

Offline

Board footer

Powered by FluxBB