Jump to content

Recommended Posts

Posted (edited)

Tutorial, how to compile a working csmwrap.efi

dietmar.stoelting@t-online.de   June 2025

 

1.) Install Ubuntu 24.04.2 LTS

2.) Type this at the command line from Ubuntu

sudo apt update
sudo apt install -y build-essential nasm git curl xxd
git clone https://github.com/FlyGoat/CSMWrap.git --recursive
cd CSMWrap
make seabios
make

 

Edited by Dietmar

Posted

@reboot12

For me, this old version 1.1.0-12 is crazy.

I do not understand, why they dont update their Sources

Dietmar

 

PS: We can make a try, with copy and paste the updated files into the install folders in Ubuntu, under CSMWrap.

This should give a version, that is better than 1.2.1.

Important is, also to compile SeaBios each time new.

Posted (edited)

@Dietmar

No, I tried like this but errors:

wget https://github.com/FlyGoat/CSMWrap/archive/refs/tags/1.2.1.tar.gz
tar -xvf 1.2.1.tar.gz
mv CSMWrap-1.2.1 csmwrap
cd csmwrap
root@ubuntu:~/csmwrap# make seabios
make -C seabios distclean
make[1]: Entering directory '/root/csmwrap/seabios'
make[1]: *** No rule to make target 'distclean'.  Stop.
make[1]: Leaving directory '/root/csmwrap/seabios'
make: *** [GNUmakefile:271: seabios] Error 2
root@ubuntu:~/csmwrap# make
make: *** No rule to make target 'nyu-efi/src/elf_x86_64_efi.lds', needed by 'bin-x86_64/csmwrap'.  Stop.

F..k, but a mess :crazy:

Edited by reboot12
Posted (edited)

OK, git corrected and now downloads the current version :D

This is full tutorial how compile CSMWrap:

Download and install Ubuntu: https://releases.ubuntu.com/noble/ubuntu-24.04.2-live-server-amd64.iso
During installation, select Install OpenSSH server - this makes it easy to copy files from Ubuntu to Windows using WinSCP and use Ubuntu over SSH e.g. in Putty
SSH-server.png

sudo passwd root (enter password for user)
sudo passwd root (make new password for root)
sudo login root or reboot and login using root
nano /etc/ssh/sshd_config

    PermitRootLogin yes
    PasswordAuthentication yes

Ctrl+o to save and Ctrl+x to exit
service ssh restart

ssh.png

apt update
apt install -y build-essential nasm curl xxd net-tools

git clone https://github.com/FlyGoat/CSMWrap.git --recursive
cd CSMWrap
make seabios
make

ifconfig - to check IP
using WinSCP make connection and connect to Ubuntu:

New Site, File protocol: SCP, Host name: IP, root User name and Password, Save
ssh-win.png WinSCP.png works-121.png

Edited by reboot12
Posted
4 minutes ago, Dietmar said:

I still do not understand,

why now you get the latest Source files from csmwrap.efi .

Is it, because you connect now to another server via

No, they probably already corrected the repository and now git clones the latest version :-)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...