You are not logged in.

#1 2014-11-18 15:37:41

Pieter-Jan5000
Member
Registered: 2014-11-18
Posts: 20

Problem installing gummiboot

I mounted my boot partition to /boot and tried installing gummiboot. The installation seems to be completed correctly but I can not see any files in the /boot partition and the system does not boot correctly. Can anyone help me?

Offline

#2 2014-11-18 16:20:44

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Problem installing gummiboot

let us see how you set you disk

# gdisk -l /dev/sdX

X could be a if you installed on that disk.
If you chose UEFI then it should have EF00 flag. But you better provide more details, otherwise we can only try our best guess.


do it good first, it will be faster than do it twice the saint wink

Offline

#3 2014-11-18 16:43:19

CarlD
Member
From: London
Registered: 2013-11-23
Posts: 128

Re: Problem installing gummiboot

Pieter-Jan5000 wrote:

I mounted my boot partition to /boot and tried installing gummiboot. The installation seems to be completed correctly but I can not see any files in the /boot partition and the system does not boot correctly. Can anyone help me?

Will need more info to help.

1. What command did you use to install Gummiboot?
2. What is the content of your /etc/fstab file?
3. What is the output of the command: lsblk ?
3. Do you create the boot/loader/entries/arch.conf and boot/loader/loader.conf config files? If so, what is in them?

Offline

#4 2014-11-18 17:40:37

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Problem installing gummiboot

@CarlD
Gummiboot will try to set automatically the point 3.


do it good first, it will be faster than do it twice the saint wink

Offline

#5 2014-11-18 18:03:00

CarlD
Member
From: London
Registered: 2013-11-23
Posts: 128

Re: Problem installing gummiboot

TheSaint wrote:

@CarlD
Gummiboot will try to set automatically the point 3.

I know. Just want to make sure. I'll then ask for confirmation of the FS type.

Offline

#6 2014-11-18 18:56:36

Pieter-Jan5000
Member
Registered: 2014-11-18
Posts: 20

Re: Problem installing gummiboot

Hello, thanks for helping me out here.

Here is the output you requested (working on /dev/sdd)

GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdd: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): B275686B-04B9-4417-A8BC-98D2EE7A558E
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 8-sector boundaries
Total free space is 6 sectors (3.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          204839   100.0 MiB   EF00  boot
   2          204840        21176359   10.0 GiB    8300  root
   3        21176360       976773134   455.7 GiB   8302  home
NAME            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda               8:0    1   7.5G  0 disk 
├─sda1            8:1    1   577M  0 part /run/archiso/bootmnt
└─sda2            8:2    1    31M  0 part 
sdb               8:16   1   3.8G  0 disk 
└─sdb1            8:17   1   3.8G  0 part 
sdd               8:48   0 465.8G  0 disk 
├─sdd1            8:49   0   100M  0 part 
├─sdd2            8:50   0    10G  0 part 
└─sdd3            8:51   0 455.7G  0 part 
loop0             7:0    0 248.5M  1 loop /run/archiso/sfs/airootfs
loop1             7:1    0    32G  1 loop 
└─arch_airootfs 254:0    0    32G  0 dm   /
loop2             7:2    0   256M  0 loop 
└─arch_airootfs 254:0    0    32G  0 dm   /

I tried installing gummiboot with the following command: pacman -S gummiboot

I have run mkfs.vfat -F32 /dev/sdd1 on my boot partition ...

Last edited by Pieter-Jan5000 (2014-11-18 19:26:07)

Offline

#7 2014-11-18 19:04:20

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Problem installing gummiboot

Sorry pictures aren't available. You should use redirection for you posts.
It seems to me that partitioning is sane. A bit thight for ESP.

Last edited by TheSaint (2014-11-18 19:08:53)


do it good first, it will be faster than do it twice the saint wink

Offline

#8 2014-11-18 19:07:44

Pieter-Jan5000
Member
Registered: 2014-11-18
Posts: 20

Re: Problem installing gummiboot

I know how redirection works but I can't access the filesystem of my usb live disk from my laptop so I can't transfer files between them. I'll look for a solution and try to come back ...

Offline

#9 2014-11-18 19:10:18

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Problem installing gummiboot

You could mount your PC partition and write there. Couldn't you ?
Even sda2 could be possible to format and use as spare space for the purpose.

Last edited by TheSaint (2014-11-18 19:14:07)


do it good first, it will be faster than do it twice the saint wink

Offline

#10 2014-11-18 19:11:42

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: Problem installing gummiboot

When you do, please run the requested commands after you chroot into your installation.

Also, why have you started the EFI system partition (EF00) from sector 40?
gdisk defaults to sector 2048 to maintain correct disk alignment.

Offline

#11 2014-11-18 19:26:47

Pieter-Jan5000
Member
Registered: 2014-11-18
Posts: 20

Re: Problem installing gummiboot

Changed the pictures with the proper output ...

I don't know why it starts at 40. I used cgdisk and used the default settings except for type and size ... Could that be the problem?

Offline

#12 2014-11-18 19:31:13

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: Problem installing gummiboot

Pieter-Jan5000 wrote:

I don't know why it starts at 40. I used cgdisk and used the default settings except for type and size ... Could that be the problem?

There is a known bug in cgdisk that mis-aligns the partitions -- your drive will under-perform but the firmware should still pickup the ESP.
My ESP is at sectors 209712510 to 233394175 and it works fine...

EDIT: You need to repeat the `lsblk -f` & `cat /etc/fstab` commands & post the output -- this time make sure you mount the partitions & run `arch-chroot` first.
All we can see ATM are the mountpoints of the live .iso hmm

Last edited by Head_on_a_Stick (2014-11-18 19:33:50)

Offline

#13 2014-11-18 19:35:39

Pieter-Jan5000
Member
Registered: 2014-11-18
Posts: 20

Re: Problem installing gummiboot

Ok. So what could have gone wrong then? I mounted /dev/sdd2 to /mnt /dev/sdd3 to /mnt/home and /dev/sdd1 to /boot. Then I chrooted to /mnt and tried to install gummiboot. Nothing happened but I don't get any errors either.

First I put the wrong filesystem on /dev/sdd1 (mkfs.mk4) and got errors from gummiboot, but I changed it to mkfs.vfat -F32 later and then the errors where gone but no boot loader installed ...

Offline

#14 2014-11-18 19:38:18

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Problem installing gummiboot

Did you mount the partitions before pacstrap ?

# mount /dev/disk/by-label/root /mnt
# mkdir /mnt/boot
# mount /dev/disk/by-label/boot /mnt/boot
# mkdir /mnt/home
# mount /dev/disk/by-label/home /mnt/home
# pacstrap

Gummiboot you should call arch-root and install it then.


do it good first, it will be faster than do it twice the saint wink

Offline

#15 2014-11-18 19:42:04

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: Problem installing gummiboot

So we know you have an ESP at sda1 and another (probably, you can check for sure with `gdisk -l /dev/sdd`) at sdd1...

What is on sda?

Offline

#16 2014-11-18 19:57:12

Pieter-Jan5000
Member
Registered: 2014-11-18
Posts: 20

Re: Problem installing gummiboot

I have a mac os x efi and a arch efi

I might have changed the filesystem on partition /dev/sdd1 after the pacstrap. Maybe this is the problem? I'll try to start from zero again ...

Thanks guys!

Offline

#17 2014-11-18 21:05:35

Pieter-Jan5000
Member
Registered: 2014-11-18
Posts: 20

Re: Problem installing gummiboot

Ok I was now able to successfully install gummiboot on the sdd1 partition. I now get an EFI folder etc. in the /boot folder.

The weird thing is that when I launch it, it only gives the option to start OS X, and not arch linux ... damn

Offline

#18 2014-11-18 21:13:48

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Problem installing gummiboot

Is there /boot/loader/entries directory ?


do it good first, it will be faster than do it twice the saint wink

Offline

#19 2014-11-18 21:14:48

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: Problem installing gummiboot

Pieter-Jan5000 wrote:

The weird thing is that when I launch it, it only gives the option to start OS X, and not arch linux ... damn

Because your firmware is booting the ESP on sda automatically...

You need to make an NVRAM entry for gummiboot manually using efibootmgr:
https://wiki.archlinux.org/index.php/Gu … efibootmgr

Offline

#20 2014-11-18 21:20:04

Pieter-Jan5000
Member
Registered: 2014-11-18
Posts: 20

Re: Problem installing gummiboot

No there is even no boot/loader folder ...

I will try making the manual entry with efibootmgr

Thanks guys!

Offline

#21 2014-11-18 21:31:52

Pieter-Jan5000
Member
Registered: 2014-11-18
Posts: 20

Re: Problem installing gummiboot

That did not do anything. Should I add boot/loader/entries ?

Offline

#22 2014-11-18 21:33:49

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: Problem installing gummiboot

That is added when you run `gummiboot install`

You may have to look at rEFInd, or something similar:
https://wiki.archlinux.org/index.php/REFInd

Offline

#23 2014-11-18 22:27:33

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Problem installing gummiboot

Pieter-Jan5000 wrote:

That did not do anything. Should I add boot/loader/entries ?

Not strictly necessary. You should get into the Arch installation and install gummiboot (remember to mount ESP in /boot). Then it will do it for you, including to add the entry in NVRAM.
The only probable error is that the entry may not be the first booting order.


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB