Giter VIP home page Giter VIP logo

debian-headless's People

Contributors

catpicture avatar figure002 avatar philpagel avatar twoi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

debian-headless's Issues

Error in isolinux.cfg

i geht the Error
"Loading /install.i386/vmlinuz failed: No such file or directory"

possible to have a problem with the relative/absolut path?
Hope to get help on this one

Thanks great Tutorial

several issues and fixes on macOS

Hello, I've tried to use this on macOS and ran into several issues and I feel like it's best if I document them here.

First off all, make install-depends doesn't work on macOS because apt-get doesn't exist. Ignoring that, I ran into a couple of problems.

cpio

I ran into cpio: Append mode not yet supported., because the cpio version (bundled?) in macOS seems to be outdated. I installed cpio via homebrew and adjusted this line to the new path

- echo preseed.cfg | cpio -H newc -o -A -F ${TMP}/install.${ARCHFOLDER}/initrd 
+ echo preseed.cfg | /opt/homebrew/Cellar/cpio/2.14/bin/cpio -H newc -o -A -F ${TMP}/install.${ARCHFOLDER}/initrd

genisoimage

It seems like genisoimage doesn't exist for macOS, but with some AI-assistance I found that mkisofs is supposedly almost a drop-in replacement, minus the missing -e flag.

So I changed this command to the following:

mkisofs -V ${LABEL} \
  -r -J -b isolinux/isolinux.bin -c isolinux/boot.cat \
  -no-emul-boot -boot-load-size 4 -boot-info-table \
  -eltorito-alt-boot \
  -eltorito-platform efi -eltorito-boot ${tmp} boot/grub/efi.img \
  -no-emul-boot \
  -o ${TARGET} ${TMP}

isohybrid

Finally, isohybrid also doesn't exist, but once again I consulted phind which presented hdiutil as an alternative.

So I changed this line to the following:

- isohybrid --uefi ${TARGET}
+ hdiutil convert -format UDRW -o ${TARGET}.img ${TARGET}

It finally seemed to finish executing successfully, and I am left with a... .dmg file??? Not what I expected and I honestly don't feel like troubleshooting any more, I guess I'll just search for that wireless keyboard dongle that I haven't seen in a while and install it the normal way...

I hope that this at least helped someone else to get closer though.
MfG

uefi boot

Currently no support for uefi boot. However this is widespread today, so I should get around to add that eventually.

armhf

Hello nice project. But i do not get it to run with arm hf.

sed "s/ARCH/armv7/" isolinux.cfg.template > tmp/isolinux/isolinux.cfg /bin/sh: 1: cannot create tmp/isolinux/isolinux.cfg: Directory nonexistent make: *** [Makefile:41: isolinux] Fehler 2

Thanks

Automatic image download

It would be nice if there was a make download target that automatically downloads the latest Debian netinst image.

Troubleshooting or error logging help?

I cannot get this working, i.e. after running qemu-bios or qemu-uefi the VM boots and briefly shows "Booting Install" before switching to a blank screen with a single underscore character in the top-left corner. If I launch ssh installer@localhost -p22222 it times out. Using telnet localhost 33333 also doesn't show anything.

What options do I have to troubleshoot this?

This is the initial part of my Makevars file:

SOURCE = debian-12.0.0-amd64-netinst.iso
TARGET = debian-12.0.0-amd64-netinst-hl.iso
LABEL = Debian-12.0.0-amd64-headless
ARCH = amd64
USBDEV = /dev/sda

Everything below that is left as-is.

And this is my preseed.cfg file:

#_preseed_V1
d-i debconf/language string en
d-i debian-installer/country string US
d-i debian-installer/language string en
d-i debian-installer/locale select en_US.UTF-8
d-i keyboard-configuration/layoutcode string us
d-i keyboard-configuration/xkb-keymap select us
d-i netcfg/choose_interface select auto
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/get_domain string somenetwork.lan
d-i netcfg/get_gateway string 192.168.1.250
d-i netcfg/get_hostname string nas
d-i netcfg/get_ipaddress string 192.168.1.203
d-i netcfg/get_nameservers string 192.168.1.250
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/hostname string nas
d-i netcfg/confirm_static boolean true
d-i anna/choose_modules string network-console
d-i network-console/start select continue
d-i network-console/password password r00tme
d-i network-console/password-again password r00tme

I verified this preseed.cfg indeed ends up in initrd.gz, which it does.

Any help would be greatly appreciated! :-)

Boot does not proceed beyond boot prompt on Debian Buster

Wonderful project!

I have a very old laptop with a dying keyboard and when I ran across this, I decided to try this out to use it as a server. Everything works except that the boot process stops at the boot prompt. Fortunately, CTRL-M gets the boot process to continue. Two possible sources for this problem are 1) the laptop is 32 bit and 2) it only has legacy USB support.

Interestingly, it works fine on a newer laptop so perhaps this is a Debian problem.

404 error

While running make download it is throwing 404 not found error. Please update the url

HTTP request sent, awaiting response... 404 Not Found
make: *** [Makefile:36: download] Error 8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.