You are not logged in.

#1 2015-09-03 08:31:28

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

grub installation failure (resolved , info last command).

well hello again guys , i hope this topic will be much more clearer then the previous topic, i dont read  all topic about how to post an question but i brief a bit in him and i think i get the point.

so let start:
im trying to install arch-linux with eufi system by following this guide (official) : https://wiki.archlinux.org/index.php/Beginners%27_guide

well now let start with what i already done :

partition type gpt.

i partition the ssd in the  followed scheme :
sda1 = boot (eufi) and mark that with flag : set 1 boot on.
then i create swap parition and the space that left i put in third partition with type: ext4, then i create physical volume and logical in the third partition by following this guide: https://wiki.archlinux.org/index.php/LVM

logical paritition scheme :
vgroup-root 30 GiB
vgroup-var 12 GiB
vgroup-home all left (60.8GiB)

then i formatted them with next filesystems:
sda1(boot 513MiB) = fat32
sda2(swap 8.8GiB)= mkswap and swapon.
all logical volumes was formatted like that /dev/mapper/vgroup-(volume_name) = ext4

then i check that inside of the file : " /etc/mkinitcpio.conf " i see the followed line : HOOKS="base udev block lvm2 filesystems" and i saw.

generate the fstab

and log into the system arch-chroot.

and put the followed command :
pacman -S dosfstools efibootmgr (success)
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck (success)


grub-mkconfig -o /boot/grub/grub.cfg   and well here the problems come into play .

when i do that command the second output appear:
http://postimg.org/image/5drvho955/

i find in internet that i maybe need to start systemctl start/enable lvmetad , inside of arch-chroot the followed output appear when i put that command: that no such file or directory exist  and out of the arch-chroot i getting followed output:

systemctl start lvmetad = no such command or directory

systemctl enable lvmetad : failed to start lvmetad.service : unit lvmetad.service failed to load : no such file or directory.


so let begin with the question:
i think i done something wrong with lvm partition because of the output that he cannot found something could lvmetad.socket so what can i done to fix that? and grow a bit my knowledge , thanks you everybody i hope i been informative enough this time.

Last edited by ArchQuestion (2015-09-03 21:43:45)

Offline

#2 2015-09-03 08:53:05

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: grub installation failure (resolved , info last command).

ArchQuestion wrote:

well hello again guys , i hope this topic will be much more clearer then the previous topic, i dont read  all topic about how to post an question but i brief a bit in him and i think i get the point.

so let start:
im trying to install arch-linux with eufi system by following this guide (official) : https://wiki.archlinux.org/index.php/Beginners%27_guide

well now let start with what i already done :

partition type gpt.

i partition the ssd in the  followed scheme :
sda1 = boot (eufi) and mark that with flag : set 1 boot on.
then i create swap parition and the space that left i put in third partition with type: ext4, then i create physical volume and logical in the third partition by following this guide: https://wiki.archlinux.org/index.php/LVM

logical paritition scheme :
vgroup-root 30 GiB
vgroup-var 12 GiB
vgroup-home all left (60.8GiB)

then i formatted them with next filesystems:
sda1(boot 513MiB) = fat32
sda2(swap 8.8GiB)= mkswap and swapon.
all logical volumes was formatted like that /dev/mapper/vgroup-(volume_name) = ext4

then i check that inside of the file : " /etc/mkinitcpio.conf " i see the followed line : HOOKS="base udev block lvm2 filesystems" and i saw.

generate the fstab

and log into the system arch-chroot.

and put the followed command :
pacman -S dosfstools efibootmgr (success)
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck (success)


grub-mkconfig -o /boot/grub/grub.cfg   and well here the problems come into play .

when i do that command the second output appear:
http://postimg.org/image/5drvho955/

i find in internet that i maybe need to start systemctl start/enable lvmetad , inside of arch-chroot the followed output appear when i put that command: that no such file or directory exist  and out of the arch-chroot i getting followed output:

systemctl start lvmetad = no such command or directory

systemctl enable lvmetad : failed to start lvmetad.service : unit lvmetad.service failed to load : no such file or directory.


so let begin with the question:
i think i done something wrong with lvm partition because of the output that he cannot found something could lvmetad.socket so what can i done to fix that? and grow a bit my knowledge , thanks you everybody i hope i been informative enough this time.


I got that yesterday as well when trying the new 0901 ISO, even tho i prefer gdisk tool instead. Are you perhaps on VM?
I flagged my EFI to EF00

Anyway, the computer booted just fine even with the error msg.


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#3 2015-09-03 08:57:10

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

Re: grub installation failure (resolved , info last command).

dockland wrote:
ArchQuestion wrote:

well hello again guys , i hope this topic will be much more clearer then the previous topic, i dont read  all topic about how to post an question but i brief a bit in him and i think i get the point.

so let start:
im trying to install arch-linux with eufi system by following this guide (official) : https://wiki.archlinux.org/index.php/Beginners%27_guide

well now let start with what i already done :

partition type gpt.

i partition the ssd in the  followed scheme :
sda1 = boot (eufi) and mark that with flag : set 1 boot on.
then i create swap parition and the space that left i put in third partition with type: ext4, then i create physical volume and logical in the third partition by following this guide: https://wiki.archlinux.org/index.php/LVM

logical paritition scheme :
vgroup-root 30 GiB
vgroup-var 12 GiB
vgroup-home all left (60.8GiB)

then i formatted them with next filesystems:
sda1(boot 513MiB) = fat32
sda2(swap 8.8GiB)= mkswap and swapon.
all logical volumes was formatted like that /dev/mapper/vgroup-(volume_name) = ext4

then i check that inside of the file : " /etc/mkinitcpio.conf " i see the followed line : HOOKS="base udev block lvm2 filesystems" and i saw.

generate the fstab

and log into the system arch-chroot.

and put the followed command :
pacman -S dosfstools efibootmgr (success)
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck (success)


grub-mkconfig -o /boot/grub/grub.cfg   and well here the problems come into play .

when i do that command the second output appear:
http://postimg.org/image/5drvho955/

i find in internet that i maybe need to start systemctl start/enable lvmetad , inside of arch-chroot the followed output appear when i put that command: that no such file or directory exist  and out of the arch-chroot i getting followed output:

systemctl start lvmetad = no such command or directory

systemctl enable lvmetad : failed to start lvmetad.service : unit lvmetad.service failed to load : no such file or directory.


so let begin with the question:
i think i done something wrong with lvm partition because of the output that he cannot found something could lvmetad.socket so what can i done to fix that? and grow a bit my knowledge , thanks you everybody i hope i been informative enough this time.


I got that yesterday as well when trying the new 0901 ISO, even tho i prefer gdisk tool instead. Are you perhaps on VM?
I flagged my EFI to EF00

Anyway, the computer booted just fine even with the error msg.

nope ,physical new ssd ( evo 850) .
i exac commands i use was that :
mkpart ESP 1MiB 513MiB
set 1 boot on

Last edited by ArchQuestion (2015-09-03 08:58:58)

Offline

#4 2015-09-03 09:24:33

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: grub installation failure (resolved , info last command).

ArchQuestion wrote:
dockland wrote:
ArchQuestion wrote:

well hello again guys , i hope this topic will be much more clearer then the previous topic, i dont read  all topic about how to post an question but i brief a bit in him and i think i get the point.

so let start:
im trying to install arch-linux with eufi system by following this guide (official) : https://wiki.archlinux.org/index.php/Beginners%27_guide

well now let start with what i already done :

partition type gpt.

i partition the ssd in the  followed scheme :
sda1 = boot (eufi) and mark that with flag : set 1 boot on.
then i create swap parition and the space that left i put in third partition with type: ext4, then i create physical volume and logical in the third partition by following this guide: https://wiki.archlinux.org/index.php/LVM

logical paritition scheme :
vgroup-root 30 GiB
vgroup-var 12 GiB
vgroup-home all left (60.8GiB)

then i formatted them with next filesystems:
sda1(boot 513MiB) = fat32
sda2(swap 8.8GiB)= mkswap and swapon.
all logical volumes was formatted like that /dev/mapper/vgroup-(volume_name) = ext4

then i check that inside of the file : " /etc/mkinitcpio.conf " i see the followed line : HOOKS="base udev block lvm2 filesystems" and i saw.

generate the fstab

and log into the system arch-chroot.

and put the followed command :
pacman -S dosfstools efibootmgr (success)
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck (success)


grub-mkconfig -o /boot/grub/grub.cfg   and well here the problems come into play .

when i do that command the second output appear:
http://postimg.org/image/5drvho955/

i find in internet that i maybe need to start systemctl start/enable lvmetad , inside of arch-chroot the followed output appear when i put that command: that no such file or directory exist  and out of the arch-chroot i getting followed output:

systemctl start lvmetad = no such command or directory

systemctl enable lvmetad : failed to start lvmetad.service : unit lvmetad.service failed to load : no such file or directory.


so let begin with the question:
i think i done something wrong with lvm partition because of the output that he cannot found something could lvmetad.socket so what can i done to fix that? and grow a bit my knowledge , thanks you everybody i hope i been informative enough this time.


I got that yesterday as well when trying the new 0901 ISO, even tho i prefer gdisk tool instead. Are you perhaps on VM?
I flagged my EFI to EF00

Anyway, the computer booted just fine even with the error msg.

nope ,physical new ssd ( evo 850) .

Can you try the 0801ISO instead perhaps to see if you can re-create the issue?

E: Or try gdisk and label boot with EF00

Last edited by dockland (2015-09-03 09:25:16)


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#5 2015-09-03 09:29:55

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

Re: grub installation failure (resolved , info last command).

dockland wrote:
ArchQuestion wrote:
dockland wrote:

I got that yesterday as well when trying the new 0901 ISO, even tho i prefer gdisk tool instead. Are you perhaps on VM?
I flagged my EFI to EF00

Anyway, the computer booted just fine even with the error msg.

nope ,physical new ssd ( evo 850) .

Can you try the 0801ISO instead perhaps to see if you can re-create the issue?

E: Or try gdisk and label boot with EF00

can you provide me a link ?

Offline

#6 2015-09-03 09:34:57

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: grub installation failure (resolved , info last command).

ArchQuestion wrote:
dockland wrote:
ArchQuestion wrote:

nope ,physical new ssd ( evo 850) .

Can you try the 0801ISO instead perhaps to see if you can re-create the issue?

E: Or try gdisk and label boot with EF00

can you provide me a link ?

To gdisk? I use Funtoo:s partitioning guide, works like charm.
Otherwise if you want the 0801 (or earlier) ISO of Arch you can download it from "Linuxtracker" via a torrent-client of choice.


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#7 2015-09-03 09:39:21

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

Re: grub installation failure (resolved , info last command).

dockland wrote:
ArchQuestion wrote:
dockland wrote:

Can you try the 0801ISO instead perhaps to see if you can re-create the issue?

E: Or try gdisk and label boot with EF00

can you provide me a link ?

To gdisk? I use Funtoo:s partitioning guide, works like charm.
Otherwise if you want the 0801 (or earlier) ISO of Arch you can download it from "Linuxtracker" via a torrent-client of choice.

i mean the earlier iso , well i trying just skip the errors but the reboot it says unable to find root device and provide some uuid.

Offline

#8 2015-09-03 09:44:28

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: grub installation failure (resolved , info last command).

ArchQuestion wrote:
dockland wrote:
ArchQuestion wrote:

can you provide me a link ?

To gdisk? I use Funtoo:s partitioning guide, works like charm.
Otherwise if you want the 0801 (or earlier) ISO of Arch you can download it from "Linuxtracker" via a torrent-client of choice.

i mean the earlier iso , well i trying just skip the errors but the reboot it says unable to find root device and provide some uuid.

Then it hasn't generated fstab correctly. Did you use:

genfstab -U /mnt > /mnt/etc/fstab

Command?

E: And mounted

cat /mnt/etc/fstab

Last edited by dockland (2015-09-03 09:45:29)


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#9 2015-09-03 09:49:18

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

Re: grub installation failure (resolved , info last command).

dockland wrote:
ArchQuestion wrote:
dockland wrote:

To gdisk? I use Funtoo:s partitioning guide, works like charm.
Otherwise if you want the 0801 (or earlier) ISO of Arch you can download it from "Linuxtracker" via a torrent-client of choice.

i mean the earlier iso , well i trying just skip the errors but the reboot it says unable to find root device and provide some uuid.

Then it hasn't generated fstab correctly. Did you use:

genfstab -U /mnt > /mnt/etc/fstab

Command?

E: And mounted

cat /mnt/etc/fstab

yes but i try that now again ,but cat command it not a mounting command, it just cat some pieces of that to show you , no?

Last edited by ArchQuestion (2015-09-03 09:49:51)

Offline

#10 2015-09-03 09:57:58

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: grub installation failure (resolved , info last command).

ArchQuestion wrote:
dockland wrote:
ArchQuestion wrote:

i mean the earlier iso , well i trying just skip the errors but the reboot it says unable to find root device and provide some uuid.

Then it hasn't generated fstab correctly. Did you use:

genfstab -U /mnt > /mnt/etc/fstab

Command?

E: And mounted

cat /mnt/etc/fstab

yes but i try that now again ,but cat command it not a mounting command, it just cat some pieces of that to show you , no?


The last command just shows you the fstab


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#11 2015-09-03 10:03:12

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

Re: grub installation failure (resolved , info last command).

dockland wrote:
ArchQuestion wrote:
dockland wrote:

Then it hasn't generated fstab correctly. Did you use:

genfstab -U /mnt > /mnt/etc/fstab

Command?

E: And mounted

cat /mnt/etc/fstab

yes but i try that now again ,but cat command it not a mounting command, it just cat some pieces of that to show you , no?


The last command just shows you the fstab

well it shows me :
/dev/mapper/vgroup-root
UUID= BLABLABLABLA ( i dont think it importent but if it is just tell me)  /  ext4 rw,relatime,data=ordered 0 1

/dev/sda1
UUID= BLABLA   /home  vfat rw,relatime,fmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2

and so on but i think the second is the imported so i dont post the other below if it is just let me know.

do it looks alright?

Last edited by ArchQuestion (2015-09-03 10:05:12)

Offline

#12 2015-09-03 10:13:35

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: grub installation failure (resolved , info last command).

ArchQuestion wrote:
dockland wrote:
ArchQuestion wrote:

yes but i try that now again ,but cat command it not a mounting command, it just cat some pieces of that to show you , no?


The last command just shows you the fstab

well it shows me :
/dev/mapper/vgroup-root
UUID= BLABLABLABLA ( i dont think it importent but if it is just tell me)  /  ext4 rw,relatime,data=ordered 0 1

/dev/sda1
UUID= BLABLA   /home  vfat rw,relatime,fmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2

and so on but i think the second is the imported so i dont post the other below if it is just let me know.

do it looks alright?

What partition is your /boot? Here is / and /home

genfstab -U /mnt > /mnt/etc/fstab

I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#13 2015-09-03 10:19:32

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

Re: grub installation failure (resolved , info last command).

dockland wrote:
ArchQuestion wrote:
dockland wrote:

The last command just shows you the fstab

well it shows me :
/dev/mapper/vgroup-root
UUID= BLABLABLABLA ( i dont think it importent but if it is just tell me)  /  ext4 rw,relatime,data=ordered 0 1

/dev/sda1
UUID= BLABLA   /home  vfat rw,relatime,fmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2

and so on but i think the second is the imported so i dont post the other below if it is just let me know.

do it looks alright?

What partition is your /boot? Here is / and /home

genfstab -U /mnt > /mnt/etc/fstab

lol im sorry it was miss leading .


/dev/sda1
UUID= BLABLA   /boot  vfat      rw,relatime,fmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2

and i think i find the problem with grub-mkconfig.

all i done it go to /etc/lvm/lvm.conf with nano and change use_lvmetad = 1 to 0.

it says it done . ( i remember i did this already ones but the operation still show some error when i try to boot here).

do now i can just set a root password and reboot? or i got some other issue involve with the fstab

Last edited by ArchQuestion (2015-09-03 10:20:42)

Offline

#14 2015-09-03 10:47:26

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

Re: grub installation failure (resolved , info last command).

dockland wrote:
ArchQuestion wrote:
dockland wrote:

The last command just shows you the fstab

well it shows me :
/dev/mapper/vgroup-root
UUID= BLABLABLABLA ( i dont think it importent but if it is just tell me)  /  ext4 rw,relatime,data=ordered 0 1

/dev/sda1
UUID= BLABLA   /home  vfat rw,relatime,fmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2

and so on but i think the second is the imported so i dont post the other below if it is just let me know.

do it looks alright?

What partition is your /boot? Here is / and /home

genfstab -U /mnt > /mnt/etc/fstab

well, still after running grub-mkconfig with out errors, next output appear :
ERROR: device 'UUID= blablablablabla' (like always if it importent just tell me ) , not found. skipping fsck.
ERROR: unable to find root device 'UUID=BLABLABLABLA'
you are being dropped to a recovery shell
type 'exit' to try and continue booting
sh: can't access tty:job control off

and the shell:

tryping exit wont help.


what to do next?

Last edited by ArchQuestion (2015-09-03 10:52:17)

Offline

#15 2015-09-03 10:58:48

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: grub installation failure (resolved , info last command).

ArchQuestion wrote:
dockland wrote:
ArchQuestion wrote:

well it shows me :
/dev/mapper/vgroup-root
UUID= BLABLABLABLA ( i dont think it importent but if it is just tell me)  /  ext4 rw,relatime,data=ordered 0 1

/dev/sda1
UUID= BLABLA   /home  vfat rw,relatime,fmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2

and so on but i think the second is the imported so i dont post the other below if it is just let me know.

do it looks alright?

What partition is your /boot? Here is / and /home

genfstab -U /mnt > /mnt/etc/fstab

well, still after running grub-mkconfig with out errors, next output appear :
ERROR: device 'UUID= blablablablabla' (like always if it importent just tell me ) , not found. skipping fsck.
ERROR: unable to find root device 'UUID=BLABLABLABLA'
you are being dropped to a recovery shell
type 'exit' to try and continue booting
sh: can't access tty:job control off

and the shell:

tryping exit wont help.


what to do next?

Well i don't know exactly where it did go wrong. You are in the beginning of the installation process so i woud go for re do everything. Don't know where or what went wrong.
I follow the Beginners guide, with the exeption that i use gdisk (and do a --zap all before creating GPT without LVM).


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#16 2015-09-03 11:04:02

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

Re: grub installation failure (resolved , info last command).

dockland wrote:
ArchQuestion wrote:
dockland wrote:

What partition is your /boot? Here is / and /home

genfstab -U /mnt > /mnt/etc/fstab

well, still after running grub-mkconfig with out errors, next output appear :
ERROR: device 'UUID= blablablablabla' (like always if it importent just tell me ) , not found. skipping fsck.
ERROR: unable to find root device 'UUID=BLABLABLABLA'
you are being dropped to a recovery shell
type 'exit' to try and continue booting
sh: can't access tty:job control off

and the shell:

tryping exit wont help.


what to do next?

Well i don't know exactly where it did go wrong. You are in the beginning of the installation process so i woud go for re do everything. Don't know where or what went wrong.
I follow the Beginners guide, with the exeption that i use gdisk (and do a --zap all before creating GPT without LVM).

well i try do everything from the beggining and still the same resolt , well i want to create lvm because when i success to do it with lvm i start the all installation from the beggining to encrypt my all lvm paritions.
but ok thanks for the help i continue to seach the web.

Offline

#17 2015-09-03 11:50:48

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

Re: grub installation failure (resolved , info last command).

it seems that after booting the os no mapper is mounted, i dont see them into the os /dev/mapper , can so body can let me some known issues why they may not boot? thanks.

screen shots:

http://postimg.org/image/dfiyurvz3/

and second screen shot from arch-chroot:
http://postimg.org/image/cclmhgkk1/

Last edited by ArchQuestion (2015-09-03 15:07:46)

Offline

#18 2015-09-03 21:48:24

ArchQuestion
Member
Registered: 2015-08-27
Posts: 35

Re: grub installation failure (resolved , info last command).

for the next noobs , just create the lvm then add into mkinitcpio.conf into the line :
HOOKS="dev udev autodetect modconf block filesystems kebyboard fsck" between block and filesystems add lvm2.

and run , mkinitcpio.conf -p linux.


then install the grub pacman and go into /etc/default/grub and specific there the location of the root, google it to find more.
and then continue to generate grub...! and if all done right it need to work.

some video that can help:https://www.youtube.com/watch?v=IlmuTr8-FpI

additional note: dont worry about the /run/lvm/lvmetad.socket warnings they just warning and that all, if all done correctly it will work .

Last edited by ArchQuestion (2015-09-03 22:14:27)

Offline

Board footer

Powered by FluxBB