i have problem running the virtualbox image:
$ make virtualbox
#filesystem/bin/shutdown filesystem/bin/test
#filesystem/bin/dmesg filesystem/bin/info filesystem/bin/watch
fusermount -u build/filesystem/ || true
fusermount: entry for /home/niklas/src/redoxos/redox/build/filesystem not found in /etc/mtab
rm -rf build/filesystem.bin build/filesystem/
dd if=/dev/zero of=build/filesystem.bin bs=1048576 count=64
64+0 records in
64+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0,0562581 s, 1,2 GB/s
cargo run --manifest-path schemes/redoxfs/Cargo.toml --release --bin redoxfs-mkfs build/filesystem.bin
Finished release [optimized] target(s) in 0.0 secs
Running `target/release/redoxfs-mkfs build/filesystem.bin`
redoxfs-mkfs: created filesystem on build/filesystem.bin, size 64 MB
mkdir -p build/filesystem/
cargo build --manifest-path schemes/redoxfs/Cargo.toml --release --bin redoxfs
Finished release [optimized] target(s) in 0.0 secs
cargo run --manifest-path schemes/redoxfs/Cargo.toml --release --bin redoxfs -- build/filesystem.bin build/filesystem/
Finished release [optimized] target(s) in 0.0 secs
Running `target/release/redoxfs build/filesystem.bin build/filesystem/`
redoxfs: opened filesystem build/filesystem.bin
sleep 2
pgrep redoxfs
25516
cp -RL filesystem/* build/filesystem/
chown -R 0:0 build/filesystem
chown -R 1000:1000 build/filesystem/home/user
chmod -R uog+rX build/filesystem
chmod -R u+w build/filesystem
chmod -R og-w build/filesystem
chmod -R 755 build/filesystem/bin
chmod -R u+rwX build/filesystem/root
chmod -R og-rwx build/filesystem/root
chmod -R u+rwX build/filesystem/home/user
chmod -R og-rwx build/filesystem/home/user
chmod +s build/filesystem/bin/passwd
chmod +s build/filesystem/bin/su
chmod +s build/filesystem/bin/sudo
mkdir build/filesystem/tmp
chmod 1777 build/filesystem/tmp
sync
fusermount -u build/filesystem/ || true
rm -rf build/filesystem/
nasm -f bin -o build/harddrive.bin -D ARCH_x86_64 -ibootloader/x86_64/ bootloader/x86_64/harddrive.asm
echo "Delete VM"
Delete VM
VBoxManage unregistervm Redox --delete; \
if [ $? -ne 0 ]; \
then \
if [ -d "$HOME/VirtualBox VMs/Redox" ]; \
then \
echo "Redox directory exists, deleting..."; \
rm -f -rf "$HOME/VirtualBox VMs/Redox"; \
fi \
fi
VBoxManage: error: Could not find a registered machine named 'Redox'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(VMName).raw(), machine.asOutParam())" at line 151 of file VBoxManageMisc.cpp
echo "Delete Disk"
Delete Disk
rm -f harddrive.vdi
echo "Create VM"
Create VM
VBoxManage createvm --name Redox --register
Virtual machine 'Redox' is created and registered.
UUID: b0cc2988-3e2b-4b7b-b61c-93ea8887e4a3
Settings file: '/home/niklas/VirtualBox VMs/Redox/Redox.vbox'
echo "Set Configuration"
Set Configuration
VBoxManage modifyvm Redox --memory 1024
VBoxManage modifyvm Redox --vram 16
if [ "" != "no" ]; \
then \
VBoxManage modifyvm Redox --nic1 nat; \
VBoxManage modifyvm Redox --nictype1 82540EM; \
VBoxManage modifyvm Redox --cableconnected1 on; \
VBoxManage modifyvm Redox --nictrace1 on; \
VBoxManage modifyvm Redox --nictracefile1 build/network.pcap; \
fi
VBoxManage modifyvm Redox --uart1 0x3F8 4
VBoxManage modifyvm Redox --uartmode1 file build/serial.log
VBoxManage modifyvm Redox --usb off # on
VBoxManage modifyvm Redox --keyboard ps2
VBoxManage modifyvm Redox --mouse ps2
VBoxManage modifyvm Redox --audio "pulse"
VBoxManage modifyvm Redox --audiocontroller ac97
VBoxManage modifyvm Redox --nestedpaging off
echo "Create Disk"
Create Disk
VBoxManage convertfromraw build/harddrive.bin build/harddrive.vdi
Converting from raw image file="build/harddrive.bin" to file="build/harddrive.vdi"...
Creating dynamic image with size 69738496 bytes (67MB)...
echo "Attach Disk"
Attach Disk
VBoxManage storagectl Redox --name ATA --add sata --controller IntelAHCI --bootable on --portcount 1
VBoxManage storageattach Redox --storagectl ATA --port 0 --device 0 --type hdd --medium build/harddrive.vdi
echo "Run VM"
Run VM
VBoxManage startvm Redox
Waiting for VM "Redox" to power on...
VBoxManage: error: Netsniffer cannot open 'build/network.pcap' for writing. The directory must exist and it must be writable for the current user (VERR_FILE_NOT_FOUND).
VBoxManage: error: Failed to attach the network LUN (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
mk/virtualbox.mk:2: recipe for target 'virtualbox' failed
make: *** [virtualbox] Error 1