klange / toaruos

A completely-from-scratch hobby operating system: bootloader, kernel, drivers, C library, and userspace including a composited graphical UI, dynamic linker, syntax-highlighting text editor, network stack, etc.
https://toaruos.org/
University of Illinois/NCSA Open Source License
6.13k stars 487 forks source link

toaruos.iso #160

Closed dreamersoftware closed 6 years ago

dreamersoftware commented 7 years ago

Already Compile, _cdrom generate inside not see .iso aleady use the all instruccions.

how to create the iso file?

klange commented 7 years ago

You are missing so much critical information. I can not help you without knowing what environment you are in, what exactly you did, and what the output was. What instructions are you following? Under what OS?

dreamersoftware commented 7 years ago

I use ubuntu 16.04.3 TLS desktop and Windows Subsystem

When the ouput say cd rom créate but the folder _cdrom os empty

K Lange notifications@github.com escreveu em ter, 24/10/2017 às 13:59 :

You are missing so much critical information. I can not help you without know what environment you are in, what exactly you did, and what the output was. What instructions are you following? Under what OS?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/klange/toaruos/issues/160#issuecomment-338966411, or mute the thread https://github.com/notifications/unsubscribe-auth/AGgetIu16j3vDvbCeQnsHwIs6SgESJw8ks5svdEtgaJpZM4QD-NE .

klange commented 7 years ago

What commands are you running? What instructions are you following? You haven't answered half of my questions.

dreamersoftware commented 7 years ago

first download the source code from klange/release and download ISO file 1) Extract the source Code in toaruos 2) install python3.6 3) install build-essential 4) make toolchain 5) toolchain/install-phyton.sh 6) toolchain/install-pycairo.sh 7) make 8) make cdrom

Make create the kernel and Image.The first erro the image create but say inode too low Make cdrom create the folder _cdrom in the folder contain boot, mod, wallpaper, kernel and disk.img say "CD generated"

The information say Create iso but not create toaruos.iso

next try docker pull toaruos/build-tools:test docker run -v pwd:/opt/tree -w /opt/tree -t toaruos/build-tools:test util/build-travis.sh

the problem is the same.

thanks

K Lange notifications@github.com escreveu em qua, 25/10/2017 às 01:00 :

What commands are you running? What instructions are you following? You haven't answered half of my questions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/klange/toaruos/issues/160#issuecomment-339161771, or mute the thread https://github.com/notifications/unsubscribe-auth/AGgetBNZXNJNRyhNQkQMoTVud19tOaP8ks5svmwPgaJpZM4QD-NE .

klange commented 7 years ago

These instructions are not correct for building CDs from scratch, as described on the wiki.

Steps 1-6 will get you a working toolchain and allow you to build a hard disk image within that checkout of the source code, but you will need a separate copy of the repository to actually build CDs, as the toolchain build process installs several files to the hdd directory which will not work when building ramdisk images for the CD.

Additionally, you will need grub-pc-bin and xorriso to build CD images.

klange commented 7 years ago

I am not sure if it is because of line feeds added by your email client (please stop replying to these issue reports by email - use the Github web interface), but you also say you tried to run the docker image and your email suggests you may have just run the container with nothing and then ran util/build-travis.sh. Either way, to my knowledge, Docker does not work on WSL, so I don't expect that to work for you.

dreamersoftware commented 7 years ago

ok in the wiki not say how to past information to xorriso or grub-pc-bin

2017-10-25 7:38 GMT+01:00 K Lange notifications@github.com:

These instructions are not correct for building CDs from scratch, as described on the wiki https://github.com/klange/toaruos/wiki/Building-and-Running#building-cds-instead .

Steps 1-6 will get you a working toolchain and allow you to build a hard disk image within that checkout of the source code, but you will need a separate copy of the repository to actually build CDs, as the toolchain build process installs several files to the hdd directory which will not work when building ramdisk images for the CD.

Additionally, you will need grub-pc-bin and xorriso to build CD images.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/klange/toaruos/issues/160#issuecomment-339229857, or mute the thread https://github.com/notifications/unsubscribe-auth/AGgetPdNrVNODd_xTH58udEt7IeozLGOks5svtdqgaJpZM4QD-NE .

klange commented 7 years ago

make cdrom uses grub-mkrescue which will call xorriso; you need to have them installed, but you are not going to call them yourself.

dreamersoftware commented 7 years ago

ok thanks let me try

2017-10-25 7:48 GMT+01:00 K Lange notifications@github.com:

make cdrom uses grub-mkrescue which will call xorriso; you need to have them installed, but you are not going to call them yourself.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/klange/toaruos/issues/160#issuecomment-339231674, or mute the thread https://github.com/notifications/unsubscribe-auth/AGgetGW2qmc7LQPh3hxNA_GsVfr6TdiPks5svtnSgaJpZM4QD-NE .

dreamersoftware commented 7 years ago

Hello the problem is the inode to create ram disk

K Lange notifications@github.com escreveu em qua, 25/10/2017 às 08:48 :

make cdrom uses grub-mkrescue which will call xorriso; you need to have them installed, but you are not going to call them yourself.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/klange/toaruos/issues/160#issuecomment-339231674, or mute the thread https://github.com/notifications/unsubscribe-auth/AGgetGW2qmc7LQPh3hxNA_GsVfr6TdiPks5svtnSgaJpZM4QD-NE .

klange commented 7 years ago

The inode count message from genext2fs is a warning, not an error, and should not impede the build process. Please post the entire output of your build so I may examine it.

klange commented 7 years ago

Also, please stop sending comments by email - use the Github web interface.

dreamersoftware commented 7 years ago

how to send the log?

2017-10-26 7:57 GMT+01:00 K Lange notifications@github.com:

Also, please stop sending comments by email - use the Github web interface.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/klange/toaruos/issues/160#issuecomment-339570361, or mute the thread https://github.com/notifications/unsubscribe-auth/AGgetJGHxsCV1JaEIWkfSSoKdX-9raszks5swC1MgaJpZM4QD-NE .

klange commented 7 years ago

Go to the Github site as linked in the emails you keep replying to, copy the output of your terminal to a file, and then attach it to a comment on this issue report.

dreamersoftware commented 7 years ago

make cdrom CC modules/testb.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/testb.c [module] CC modules/rtl.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/rtl.c [module] CC modules/tmpfs.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/tmpfs.c [module] CC modules/ps2kbd.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/ps2kbd.c [module] CC modules/net.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/net.c [module] CC modules/ac97.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/ac97.c [module] CC modules/test.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/test.c [module] CC modules/vidset.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/vidset.c [module] CC modules/ata.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/ata.c [module] CC modules/usbuhci.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/usbuhci.c [module] CC modules/dospart.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/dospart.c [module] CC modules/vgadbg.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/vgadbg.c [module] CC modules/procfs.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/procfs.c [module] CC modules/snd.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/snd.c [module] CC modules/xtest.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/xtest.c [module] CC modules/zero.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/zero.c [module] CC modules/ext2.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/ext2.c [module] CC modules/lfbvideo.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/lfbvideo.c [module] CC modules/vgalog.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/vgalog.c [module] CC modules/debug_shell.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/debug_shell.c [module] CC modules/hda.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/hda.c [module] CC modules/serial.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/serial.c [module] CC modules/test-write.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/test-write.c [module] CC modules/pcspkr.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/pcspkr.c [module] CC modules/iso9660.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/iso9660.c [module] CC modules/random.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/random.c [module] CC modules/e1000.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/e1000.c [module] CC modules/ataold.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/ataold.c [module] CC modules/crash.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/crash.c [module] CC modules/ps2mouse.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/ps2mouse.c [module] CC modules/pcnet.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/pcnet.c [module] CC modules/vmware.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/vmware.c [module] CC modules/vboxguest.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/vboxguest.c [module] CC modules/packetfs.c [module]fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git CC modules/packetfs.c [module] ext Generating a ramdisk image...number of inodes too low, increasing to 5840 genext2fs: couldn't allocate a block (no free space) Makefile:417: recipe for target '_cdrom/ramdisk.img' failed make: *** [_cdrom/ramdisk.img] Error 1 dreamer@ubuntuserv2:~/toaruos$

klange commented 7 years ago

I don't think you followed my instructions. There are several thing wrongs with this output.

klange commented 7 years ago

Please discard your current build environment and start from scratch, following these instructions:

# Install Python 3.6 from source
# ... (do this yourself)
# Install grub-pc-bin and xorriso
sudo apt-get install grub-pc-bin xorriso
# Clone for the toolchain build
git clone https://github.com/klange/toaruos toaruos-base
cd toaruos-base
# Build the toolchain
make toolchain
# Activate the toolchain
. toolchain/activate.sh
# Build libraries
make
# Build Python once
toolchain/install-python.sh
toolchain/install-pycairo.sh
# Rebuild initial hard disk image
make clean-disk; make
cd ..
# Create a new git clone with the toolchain still activated from the previous clone
git clone toaruos-base toaruos-iso
cd toaruos-iso
# Install Python
toolchain/install-python.sh
toolchain/install-pycairo.sh
# Build the CD
make cdrom