You can either:
- edit your /etc/lilo.conf file, and add "2" at the end of your append=xxx line
- edit your /etc/inittab file and change 5 to 2 in the initdefault line
how can I boot to console, I have lilo that starts whith a "splashscreen" and 3 options : linux, failsafe and windows.
I want to boot to a console and I don't want the windowmanager to start.
( when windowmanager wdm starts it totaly locks my keyboard)
Which key at what time should I push to get a prompt before lilo starts booting?
You can either:
- edit your /etc/lilo.conf file, and add "2" at the end of your append=xxx line
- edit your /etc/inittab file and change 5 to 2 in the initdefault line
At the lilo prompt, you should be able to typeto boot up in runlevel 2.Code:linux 2
linux 2 doesn't boot at lilo prompt, it only excepts the 3 lilo entrys from
lilo.config : linux,failsafe and windows
How can I stop the boot proces just before it starts the windowmanager?
edit your /etc/lilo.conf file, and add "2" at the end of your append=xxx line
- edit your /etc/inittab file and change 5 to 2 in the initdefault line
how can I edit these files and run lilo if I can't boot to consolemode?
Boot from your cd not your hd install, use:
knoppix 2
at your boot prompt. Then (as root) mount your hd install read/write, (let's assume your knoppix hd install is at /dev/hda1) so:
mount /dev/hda1 /mnt/hda1
mount -o remount,rw /mnt/hda1
then:
cd /mnt/hda1/etc
and using a console editor (vi, nano etc.) or mc and edit your inittab file and in the id:initdefault: line substitute: 2 for 5
# The default runlevel.
id:5:initdefault:
Change to:
# The default runlevel.
id:2:initdefault:
Editing your ininttab file should fix your startup problem, but if you want to (or need to) edit your lilo.conf file you will need to chroot to your hd partition:
cd /mnt/hda1
chroot /mnt/hda1
cd etc
then again use a console editor and edit your lilo.conf file, save it and the run lilo:
/sbin/lilo -v
Pay attention to any error messages lilo give you.
HTH
~rock
thanks Rockmumbles, for your clear advice, it worked.
Only one thing, I had so switch it to 1 (inittab) runlevel 1 was singleuser mode it said in inittab.
The run levels 2-5 are all the same in Debian unless you change them, if you had wanted at your Lilo screen you could have typed in Linux single and had the same effect.Originally Posted by jackren
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE
$259.00
$168.00
SuperMicro Rackmount Server w/ 200W PSU - Read Item description
$50.00
HPE ProLiant MicroServer Gen10
$420.00
HP ProLiant MicroServer HSTNS-5151
$59.99
SuperMicro SuperServer 505-2 Intel Atom @.4GHz 8GB w/ Ears 5018A-FTN4
$156.99
HP ProLiant MicroServer Gen8 - Xeon E3-1220L V2 | 16GB RAM | B120i RAID %
$128.37
2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL
$299.00
Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD
$149.99