You are not logged in.

#1 2024-12-09 17:40:36

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

My /boot partition is empty :D

Hello Arch community.
First I'm dual-booting arch with windows11 (windows 11 only for gaming thx to riot games vanguard), i installed the system perfectly and everything working fine BUT when I ran :
sudo grub-mkconfig -o /boot/grub/grub.cfg
I got :
/usr/bin/grub-mkconfig: line 270: /boot/grub/grub.cfg.new: No such file or directory
Now I know that I have made some mistake during the installation process but I cant figure out what, I tried to ls /boot and the folder is empty, which I guess it's a problem in mounting boot partition or generating fstab file (I'm not confident but those are my guesses)
can someone please help this newbie
Note:windows are working prefectly and my arch but I need to fix this issue.

Offline

#2 2024-12-09 17:50:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,634

Re: My /boot partition is empty :D

What is the output of mount | grep boot
I wager it is nothing.  You probably do not have your boot *partition* mounted on your boot *mountpoint*.   
You probably missed the step where you create /etc/fstab

We can help fix that if it is the problem


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2024-12-09 18:48:29

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

Re: My /boot partition is empty :D

yup it returned nothing.
so what is the next step?

Offline

#4 2024-12-09 18:55:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,634

Re: My /boot partition is empty :D

Using the command lsblk -f list your disk volumes with the UUIDs.  Find the one for your boot partition (it will be a vfat volume and will probably have a shorter UUID than most of the others)

As root, edit the file /etc/fstab and add a line that looks like this:

UUID=xxxx-xxxx               /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro       0 2

Replacing xxxx-xxxx with the UUID of your boot volume.

Reboot.  Check the contents of /boot.  Also, see the output of the mount command we just tried.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2024-12-09 19:03:37

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

Re: My /boot partition is empty :D

it worked perfectly, thank you for your time.
when last thing.
in general how can I be a master at arch,I mean I can do some general-basic things but i cant maintain the system by my self, i want to reach a master level.

Offline

#6 2024-12-09 19:14:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,681

Offline

#7 2024-12-09 19:22:40

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

Re: My /boot partition is empty :D

xD?

Offline

#8 2024-12-09 20:21:54

Funny0facer
Member
From: Germany
Registered: 2022-12-03
Posts: 159

Re: My /boot partition is empty :D

There is no such thing as "master level". Create yourself a safe environment (backups!) where you can tinker and practice. Read the wiki, try some new things, read the manpages, read some articles.

Offline

Board footer

Powered by FluxBB