You are not logged in.
Pages: 1
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
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
Offline
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
@CarlD
Gummiboot will try to set automatically the point 3.
do it good first, it will be faster than do it twice the saint
Offline
@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
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
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
Offline
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
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
Offline
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.
godisnowhere
Offline
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
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
Last edited by Head_on_a_Stick (2014-11-18 19:33:50)
godisnowhere
Offline
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
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
Offline
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?
godisnowhere
Offline
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
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
Is there /boot/loader/entries directory ?
do it good first, it will be faster than do it twice the saint
Offline
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
godisnowhere
Offline
No there is even no boot/loader folder ...
I will try making the manual entry with efibootmgr
Thanks guys!
Offline
That did not do anything. Should I add boot/loader/entries ?
Offline
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
godisnowhere
Offline
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
Offline
Pages: 1