Hi! In chapter 45 "Starting To Create Our FAT Filesystem" I have come up agains...

Stephen Smith Answered 1 answer
Question by Stephen Smith 2 years ago

Question

Hi!
In chapter 45 "Starting To Create Our FAT Filesystem" I have come up against a problem.
When I try to set up the directory "/mnt/d", I get the following response from Ubuntu:

stephen@STEVESASUS:~/peachos/bin$ sudo mkdir /mnt/d
mkdir: cannot create directory ‘/mnt/d’: File exists

stephen@STEVESASUS:~/peachos/bin$ sudo mount -t vfat ./os.bin /mnt/d
mount: /mnt/d: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.

It seems that Ubuntu does not support VFAT in this configuration. I am running Ubuntu under WSL2 and Windows 11.

Any ideas?

Regards Stephen

Answers

Answered by Daniel McCarthy

Instructor

Hi Stephen,
I always recommend people not to use WSL and to follow the course on Ubuntu. Please follow the course on a Ubuntu virtual machine and your problem will be solved.

Thank you
Dan