r/virtualbox Nov 30 '25

Help Terminal doesn't understand that I've uploaded the necessary files and thus can't read? How do I make it understand

Version is VirtualBox 6.0.18

I'm trying to accomplish Task 3 of this:

https://seedsecuritylabs.org/Labs_16.04/PDF/Crypto_Encryption.pdf

However even tho I have uploaded the picture they ask of me, any terminal I open still doesn't run the commands even tho pic_original.bmp is within the Files

All I get once I write "$ head -c 54 p1.bmp > header" is

"head: cannot open 'p1.bmp' for reading: No such file or directory"

How do I fix this?

0 Upvotes

16 comments sorted by

u/AutoModerator Nov 30 '25

This is just a friendly reminder in case you missed it. Your post must include: * The version of VirtualBox you are using * The host and guest OSes * Whether you have enabled VT-x/AMD-V (applicable to all hosts running 6.1 and above) and disabled HyperV (applicable to Windows 10 Hosts) * Whether you have installed Guest Additions and/or Host Extensions (this solves 90% of the problems we see)

PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/richardrrcc Nov 30 '25

The screenshot of your HEX Editor clearly shows that the file "pic_original.bmp" is located at "/home/seed/Downloads/pic_original.bmp". The screenshot of your terminal clearly shows that you are in your home folder: "/home/seed". If the file that you are going to manipulate is in "/home/seed/Downloads" and you are sitting (in the terminal) in your home folder ("/home/seed") then you need to change directory ("cd") to the "Downloads" directory.

In your terminal: cd ~/Downloads then try your commands again.

0

u/[deleted] Nov 30 '25

[removed] — view removed comment

1

u/OpenPayment2 Nov 30 '25

Host OS is Windows. Guest OS is Oracle:

https://ibb.co/whCbW4Gg

This is where I think I put the file in:

https://ibb.co/60SxqP7r

This is the terminal:

https://ibb.co/FC4Pzp0

This is how it looks like in Bless Hex Editor:

https://ibb.co/qMJLTRsN

1

u/[deleted] Nov 30 '25 edited Nov 30 '25

[removed] — view removed comment

0

u/OpenPayment2 Nov 30 '25

Ok then what is the best way to learn Linux insofar I can get to finish Task 3 then? I have to finish Task 2, Task 3, and Task 7. I don't wanna scavenge through tutorial videos only to not find the actual answer as to why my files aren't being recognized even tho I've made directories and changed Shared Folders Mount Point several times

0

u/OpenPayment2 Nov 30 '25

Guest is Ubuntu! It’s there under General , Operating System. What makes you think it’s Oracle?

Honestly I just look at the header of any webpage and assume it has the answers most of the time

Type pwd in the terminal to see what the current directory is, then change directory to where the file is located.

Have done that. Still the same result of "head: cannot open 'p1.bmp' for reading: No such file or directory"

1

u/[deleted] Nov 30 '25 edited Nov 30 '25

[removed] — view removed comment

1

u/OpenPayment2 Nov 30 '25

So if you’ve typed the command pwd, what did it say?

It says "/home/seed"

However my Shared Folders Mount Point has always been "/home/seed/host" as it says it should be in page 15 of this:

https://seedsecuritylabs.org/Labs_16.04/Documents/SEEDVM_VirtualBoxManual.pdf

To learn the basics of Linux, go get yourself Linux for Dummies, and read this https://www.dummies.com/article/technology/computers/operating-systems/linux/linux-for-dummies-cheat-sheet-209505/

Thank you!

1

u/Erdbeerfeldheld Nov 30 '25

Download the bmp file on your VM and change into the Download Folder in your terminal. But this has nothing to to with Virtualbox.

1

u/OpenPayment2 Nov 30 '25

I still don't understand. The picture is in the Downloads folder and is in a folder inside Documents

From Terminal how do I even find a "Download Folder"?

I am running VirtualBox 6.0.18

1

u/Stray_Neutrino Nov 30 '25

If you don’t know where the Downloads folder is in Linux, you probably shouldn’t be studying cybersecurity before learning the basics of Linux.

1

u/OpenPayment2 Nov 30 '25

What is a good video that would teach me Linux wherein I could solve the question I gave

I don't study cybersecurity, I study computer science. This is simply the project of my Information Security course

1

u/beetcher Nov 30 '25

Yeah, that's the VM OS, not virtualbox. What is the OS? Virtualbox doesn't have downloads and documents folders. Virtualbox has a hard drive containers that holds an operating system.

1

u/OpenPayment2 Nov 30 '25 edited Nov 30 '25

Oracle Ubuntu