You are not logged in.

#1 2021-01-25 20:28:55

rageeph
Member
Registered: 2021-01-25
Posts: 7

[SOLVED]cant mount boot partition to /boot

when I type mount /dev/sda1 to /boot

it says...

/boot: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper
program, or other error

I put a partition label of dos on the disk and created the boot partition as 128m for partition 1. I am using a virtual machine and am following the installation guide.

Last edited by rageeph (2021-01-26 23:35:12)

Offline

#2 2021-01-25 20:39:22

nd925a
Member
Registered: 2017-01-30
Posts: 44

Re: [SOLVED]cant mount boot partition to /boot

What filesystem did you use for the partition?

Offline

#3 2021-01-25 21:23:54

zpg443
Member
Registered: 2016-12-03
Posts: 315

Re: [SOLVED]cant mount boot partition to /boot

rageeph wrote:

when I type mount /dev/sda1 to /boot

it says...

/boot: wrong fs type

You posted the answer yourself.

Offline

#4 2021-01-25 22:12:27

Archlin
Member
Registered: 2018-05-09
Posts: 67

Re: [SOLVED]cant mount boot partition to /boot

rageeph wrote:

when I type mount /dev/sda1 to /boot

I put a partition label of dos on the disk and created the boot partition as 128m for partition 1. I am using a virtual machine and am following the installation guide.

Your putting a dos label on the boot partition?
Guess I need to read the installation guide again, because I missed that part.

Offline

#5 2021-01-25 22:52:18

rageeph
Member
Registered: 2021-01-25
Posts: 7

Re: [SOLVED]cant mount boot partition to /boot

nd925a wrote:

What filesystem did you use for the partition?

It says type Linux

Offline

#6 2021-01-25 22:56:18

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: [SOLVED]cant mount boot partition to /boot

What command did you use to create the file-system on the partition?

Offline

#7 2021-01-25 23:00:06

rageeph
Member
Registered: 2021-01-25
Posts: 7

Re: [SOLVED]cant mount boot partition to /boot

loqs wrote:

What command did you use to create the file-system on the partition?

I used fdisk /dev/sda

Offline

#8 2021-01-25 23:02:08

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

Re: [SOLVED]cant mount boot partition to /boot

fdisk creates partitions."type linux" is a partition. A filesystem needs to go on that partition.

Online

#9 2021-01-25 23:06:57

rageeph
Member
Registered: 2021-01-25
Posts: 7

Re: [SOLVED]cant mount boot partition to /boot

Scimmia wrote:

fdisk creates partitions."type linux" is a partition. A filesystem needs to go on that partition.

So what filesystem should I put on it if its needed to mount.

Offline

#10 2021-01-25 23:15:20

nd925a
Member
Registered: 2017-01-30
Posts: 44

Re: [SOLVED]cant mount boot partition to /boot

If you're using UEFI Fat32 is normally a safe bet for /boot.

mkfs.fat -F32 /foo/bar

Also your boot partition is smaller than the recommended size.

Further reading:
https://wiki.archlinux.org/index.php/File_systems
https://wiki.archlinux.org/index.php/Partitioning#/boot

Offline

#11 2021-01-26 03:53:33

rageeph
Member
Registered: 2021-01-25
Posts: 7

Re: [SOLVED]cant mount boot partition to /boot

Ok, I just made that partition ext4 and it worked later on.

Offline

#12 2021-01-26 23:07:23

nd925a
Member
Registered: 2017-01-30
Posts: 44

Re: [SOLVED]cant mount boot partition to /boot

Cool, btw welcome to arch. Good luck and have fun!

Please edit your original post to put [SOLVED] at the beginning of the title so that people know your question's answered and start a new post if you have further questions.

Offline

#13 2021-01-26 23:19:38

rageeph
Member
Registered: 2021-01-25
Posts: 7

Re: [SOLVED]cant mount boot partition to /boot

nd925a wrote:

Cool, btw welcome to arch. Good luck and have fun!

Please edit your original post to put [SOLVED] at the beginning of the title so that people know your question's answered and start a new post if you have further questions.

Thank you, but how do I change the topic to [solved]?

Offline

#14 2021-01-26 23:29:21

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

Re: [SOLVED]cant mount boot partition to /boot

rageeph wrote:

Thank you, but how do I change the topic to [solved]?

Edit your first post and add [SOLVED] to the title. See "How to post" linked in my signature.

Offline

#15 2021-01-26 23:36:54

rageeph
Member
Registered: 2021-01-25
Posts: 7

Re: [SOLVED]cant mount boot partition to /boot

2ManyDogs wrote:
rageeph wrote:

Thank you, but how do I change the topic to [solved]?

Edit your first post and add [SOLVED] to the title. See "How to post" linked in my signature.

Ok I got it, did not see the edit located under my question before.

Last edited by rageeph (2021-01-26 23:37:20)

Offline

Board footer

Powered by FluxBB