You are not logged in.

#1 2012-03-30 22:49:58

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

(SOMEWHAT SOLVED) grub2 finds and boots windows 7 but NOT arch

I installed arch on a new system. I have 64-bit Windows 7 Ultimate. I installed arch skipped bootloader, chrooted into system and installed grub2 and installed. My system is btrfs. I do not have a seperate swap or home partition. OS-prober is installed.  I have another system with btrfs and grub2 and all works fine. When I run grub-mkconfig -o /boot/grub/grub.cfg I get this

Keyboard is not working properly on other computer so I cannot insert code brackets.

Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
    No volume groups found   (what does this mean)
Found Windows 7 (loader) on /dev/sda1
done

Again boot and root partitions are btrfs. Grub2 is the bootloader and it does support btrfs at least the version in the repos a month ago did. I have feeling this might be the problem but I do not know why. Windows 7 boots successfully by the way. No Arch Linux sad

Edit: Backed up boot partition. Made the partition ext4 and cp'd it all back and still no luck. I converted it because ran the grub-mkconfig again and I got everything above but also I got an unknown filesystem error.  Converting it back to btrfs...

Edit 2: I am writing this from within windows but grub2 now shows Arch in the the menu. (no gui on this install yet) After what feels like 100 grub-installs and grub-mkconfigs it is all working. I still have two questions. For like half a second I see a file not found and I think it is a *.mod in /usr/lib/grub/i386-pc directory. (i have good eyes). What could this be? Secondly, what does no volume groups mean? Marking this somewhat solved.

Last edited by quasifilmie (2012-03-30 23:59:43)

Offline

#2 2012-03-31 00:27:52

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: (SOMEWHAT SOLVED) grub2 finds and boots windows 7 but NOT arch

The "No volume groups found" is normal, I think. At least, I get that too. I would guess that it means you're not using logical volumes but I don't know for sure - I just assumed that's what it meant when I saw it. I figured it had to do with /etc/grub.d/20_linux_xen - maybe?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2012-03-31 01:39:36

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: (SOMEWHAT SOLVED) grub2 finds and boots windows 7 but NOT arch

The logical partition thing make senses.

Offline

#4 2012-03-31 15:27:57

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: (SOMEWHAT SOLVED) grub2 finds and boots windows 7 but NOT arch

I'd just ask checking the grub.cfg file to see if the device id entries for arch in the grub menu are correct.
In my case, I use ubuntu's grub2 and each time I have to update grub for some reason, it wont get the partition right for the arch entry.

Last edited by debdj (2012-03-31 15:28:20)

Offline

Board footer

Powered by FluxBB