You are not logged in.
Pages: 1
I am currently trying to install arch with lvm and grub2.
The install is fine untill I have to chroot into /mnt bash.
Everytime I try to install grub2-bios I get an error saying can not find filesystem information /bootmnt /sys/usr/ not found forget the rest of the errors but it can't find file system information and I see this is very common one you chroot into your system after the install.
And yes I have followed the wiki for lvm and grub2 to a T.
Last edited by Rukiri (2012-06-20 12:01:10)
Offline
That's because there is no such thing as "/bootmnt" or "/sys/usr/". At least not on my system.
# ls /sys
block bus class dev devices firmware fs kernel module power
# ls /
bin boot dev etc home lib lost+found media mnt opt proc root run sbin srv sys tmp usr var
And you don't chroot "into /mnt bash". It's actually like this:
# chroot . /bin/bash
...but this will work just as well (assuming the distribution you're trying to chroot from isn't set up to use zsh instead of bash, or anything like that):
# chroot .
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Ok will give that a try, than the grub 2 wiki needs updating
Offline
Ok grub 2 isn't working and I've read on Linux questions stating there's a bug and just wait til arch officially supports it. So the other option is syslinux boot loader.
Here's how I'm installing lvm.
gdisk /dev/sda
n
1
->
+32m
ef02
n
2
->
->
8e00
w
y
gdisk /dev/sdb
n
1
->
->
8e00
w
y
pvcreate /dev/sda2
pvcreate /dev/sdb1
vgcreate arch /dev/sda2
vgextend arch /dev/sdb1
lvcreate -L 100m arch -n boot
lvcreate -C y -L 1g arch -n swap
lvcreate -L 1g arch -n root
lvcreate -l100%FREE arch -n home
mkfs.ext2 /dev/arch/boot
mkfs.ext4 /dev/arch/root
mkswap /dev/arch/swap
/arch/setup
Select source
Core
Extra community
Select editor
Nano
Set clock
Prepare hard drives
Manually prepare hdds mount points file systems
/dev/mapper/arch-boot. ext2 /boot
^ you get the idea
Select packages
Install packages
If I'm doing anything wrong please tell me
Offline
If I'm doing anything wrong please tell me
Please learn to use [ code ] tags - there is a link under the text box...
Offline
mkfs.ext2 /dev/arch/boot
mkfs.ext4 /dev/arch/root
mkswap /dev/arch/swap
I don't think it's "/dev/something/something".
As long as you follow the LVM wiki I think you'll be fine. Syslinux is an excellent bootloader. I use it myself (here).
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Is the version of syslinux okay for lvm, the one in the arch installer.
Offline
failed to set boot flags mbr not installed
I'm using gpt
Offline
https://wiki.archlinux.org/index.php/GP … er_Support
I don't think you necessarily need a separate /boot partition for Syslinux but you do need the "legacy_boot" flag from gparted.
Also: https://wiki.archlinux.org/index.php/Sy … le_aka_GPT
Last edited by DSpider (2012-06-21 09:02:04)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Pages: 1