-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with installer-config.txt file - creating minimal install #318
Comments
That was meant as one or the other. You should use I knew this was a horrible idea the moment you asked which packet is networking. Sigh |
just trying to learn. but since you mention it, which packages would install basic networking? would net-tools be enough? |
I'll ask you another question instead. Why do you want to remove |
I want to remove all of these kmod and install busybox-syslogd and ntpdate Purpose being, I want to create a read-only raspbian image. So I need to remove as much as possible and run only the absolute necessary. |
I know you want to remove even more packages, but that doesn't answer my question.
Your conclusion is wrong. You can have a read-only system with (a lot) more packages installed then the |
I understand that a fully fledged operating system can be read-only. But in the case of running raspbian off a micro-sd, I need it to be as small as possible. The server preset, includes fake-hwclock, rsyslog and other packages that are not necessary for the purpose I want to build this image. I just need it to be as "empty" as possible, so I can install only what I need. Ideally it would initially only be running openssh-server and apt-get. (with network connectivity of course) |
Like you suggested I chose the base installation and installed the packages I wanted. The installer-config.txt was like this: preset=base The installation was completed successfully, but when it rebooted it got stuck at the rainbow image. |
You probably ran into #253 |
Version 1.0.8 of the installer has been released, so the rainbow problem should now be solved. |
I am trying to create a raspbian image with the minimum packages required. So I am using a base install and then using cdebootstrap_cmdline. Something like this:
preset=base
packages= # comma separated list of extra packages
mirror=http://mirrordirector.raspbian.org/raspbian/
release=jessie
hostname=raspberry
domainname=
rootpw=raspberry
cdebootstrap_cmdline="--flavour=build --include=cpufrequtils,kmod,ifupdown,net-tools,ca-certificates,openssh-server"
bootsize=+64M
rootsize=
timeserver=time.nist.gov
ip_addr=dhcp
ip_netmask=0.0.0.0
ip_broadcast=0.0.0.0
ip_gateway=0.0.0.0
ip_nameservers=
online_config= # URL to extra config that will be executed after installer-config.txt
usbroot= # set to 1 to install to first USB disk
cmdline="dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 elevator=deadline"
rootfstype=ext4
rootfs_mkfs_options=
rootfs_install_mount_options='noatime,data=writeback,nobarrier,noinit_itable'
rootfs_mount_options='errors=remount-ro,noatime'
I must be doing something wrong though because after the reboot, I just get the rainbow and it gets stuck there. Do you know what I might be doing wrong in this installer-config.txt file?
The text was updated successfully, but these errors were encountered: