Difference between revisions of "Creating a self-booting x64/x128 VirtualBox Implementation"

From Jay's Cafe' Wiki
m
m
Line 16: Line 16:
</pre>
</pre>
Now, we have to handle auto log in and booting into VICE
Now, we have to handle auto log in and booting into VICE
*http://ubuntuguide.net/boot-into-text-mode-and-login-automatically
<pre>
vim /etc/default/grub
</pre>
Change:
<pre>
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
</pre>
into
<pre>
GRUB_CMDLINE_LINUX_DEFAULT="text"
</pre>
then apply changes
<pre>
update-grub
</pre>
Add  -a <your-user-name> to the line:
<pre>
exec /sbin/getty -8 38400 tty1
</pre>
in file /etc/init/tty1.conf<br />
For example, auto login with user meilin:
<pre>
exec /sbin/getty -8 38400 tty1 -a meilin
</pre>

Revision as of 05:54, 23 January 2020

  1. Create baseline Ubuntu 18.04 LTS install with Minimal X implementation, SSH, Basic Ubuntu Service
  2. Download needed files, current nightly release and build VICE.
# sudo -i
# apt install vim-nox vim-scripts vim-youcompleteme exuberant-ctags build-essential \
libgtk-3-dev bison flex xa65 subversion tcpser libjpeg-dev libgif-dev libpng-dev libpcap* \
libswresample-dev libavresample-dev autogen libmp3lame-dev yasm freeglut3-dev libglew-dev
# mkdir -p sandbox/svn
# cd sandbox/svn
# svn checkout svn://svn.code.sf.net/p/vice-emu/code/trunk vice-emu-code
# cd vice-emu-code/vice
# ./autogen.sh
# ./configure --enable-native-gtk3ui --enable-static-ffmpeg --enable-ethernet
# make
# make install

Now, we have to handle auto log in and booting into VICE

vim /etc/default/grub

Change:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

into

GRUB_CMDLINE_LINUX_DEFAULT="text"

then apply changes

update-grub

Add -a <your-user-name> to the line:

exec /sbin/getty -8 38400 tty1

in file /etc/init/tty1.conf
For example, auto login with user meilin:

exec /sbin/getty -8 38400 tty1 -a meilin