I would like to know how to change runlevel (set in /etc/inittab) on PetaLinux 2014.2 or other linux distro working on Microzed.
What I would like to do is to automatically login (without inputting root and password) when booted. So I try to set runlevel to 1 (Singleuser mode).
I prepared following files
- system.dtb : build from PetaLinux
- u-boot.elf : build from PetaLinux
- uImage : build from PetaLinux
- uramdisk.image.gz : made using mkimage from arm_ramdisk.image.gz
- zynq_fsbl.elf : from XSDK
Then, I made BOOT.bin from above files.
I put following files to microSD and booted from microSD.
- BOOT.bin
- image.ub
After booted, I changed /etc/inittab the "initdefaul:" line to 1(single user).
I confirmed that /etc/inittab is correctly changed.
Then I rebooted the PetaLinux and found that the runlevel is still 5 not 1.
How can I preserve the change in runlevel setting?