You are not logged in.

#1 2018-12-28 05:52:19

ajiram
Member
Registered: 2011-02-24
Posts: 28

/boot and grub issues

when im heading installation guide... pacstrap stops on installing base because it wants install vmlinux in my /boot
since iv maded 5mb boot partition.... theres no space
so iv made 50Mb /boot partition and its install
but than i having problem with grub-install
/boot/grub/386-pc no such file or directory

i dont know why arch want to use my "boot mounted" partition as a space for /boot
and dont know why grub cant install on it.
any help?

Last edited by ajiram (2018-12-28 05:56:14)

Offline

#2 2018-12-28 06:38:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: /boot and grub issues

A boot partition, by definition, is mounted to /boot. I don't know what you're thinking of. Tell us how you're trying to set up this system.

Last edited by Scimmia (2018-12-28 06:40:47)

Offline

#3 2018-12-28 07:36:44

ajiram
Member
Registered: 2011-02-24
Posts: 28

Re: /boot and grub issues

iv told...
according to install instruction 1mb for boot partition is enough.
pacstrap stuck when installing kernel in /boot (cannot write)
so i changed boot partition size to 50mb and than it works...
later when I runed mkinitcpio... error comes again and I have to remake boot partion to 200mb to resolve it again
because kernel installs in /boot... but somethings wrong because that space must be on root partiton under /boot directory... not on /boot partition
seems pacstrap doesnt know the differences and it wants to install everything what is in /boot directory > to mounted boot partition
if i try to format boot partition as vfat, than genfstab doesnt use it
I am using mbr and legacy-efi and somehow i was install base with 200mb boot partition
...
but ok...

problem is that grub cant be installed

grub-install --target=i386-pc /dev/sda
it creates grub directory in /boot
and than reports error
/boot/386-pc: No such file or directory

Last edited by ajiram (2018-12-28 07:56:22)

Offline

#4 2018-12-28 08:25:59

ajiram
Member
Registered: 2011-02-24
Posts: 28

Re: /boot and grub issues

actually do i need boot partition?

Offline

#5 2018-12-28 10:48:59

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,702
Website

Re: /boot and grub issues

I think you're confusing a BIOS boot partition (needed only by grub on BIOS systems with a GPT-partitioned disk), and a traditional boot partition, where the kernel, initrds and bootloader can reside if they need to be separated from the root partition.

Re-read the installation guide and the grub article (assuming you actually want to install grub), baring in mind the distinction between these two partition types.

Mod note: moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2018-12-28 19:24:25

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: /boot and grub issues

There is rarely an actual need for a separate boot partition.

You're not using BIOS with GPT.
You're not using UEFI with crippled bootloaders like systemd-boot, that require a very large ESP containing about 50MB for each kernel you have installed.

You are using legacy BIOS mode on UEFI-capable systems, but that is a different problem entirely and regardless of the poor choice, it should at least boot properly, without the need for a separate /boot partition.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#7 2018-12-28 19:39:41

ajiram
Member
Registered: 2011-02-24
Posts: 28

Re: /boot and grub issues

dont't know what was the problem...i've just delated that 2 partition and made only one for / without 'boot partition' and everything was go fine...
i'v installed it... xfce... compiz from aur and everything works well..
I'm very happy with my new sysetm
thank you all and sorry for topic, it turned out to be troll..
I'm sorry
solved

Last edited by ajiram (2018-12-28 19:40:19)

Offline

#8 2018-12-28 20:03:42

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: /boot and grub issues

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

Board footer

Powered by FluxBB