I'd like to know what should be done to boot a Linux system on a CLI environment, without also starting the X graphical server.
I'm interested in a temporary-only solution, ideally
- a command, or a series of commands, that can be run on the Grub terminal (the one that you get when you press C);
- or by adding an entry on the KDM menu where you select a desktop environment;
rather than a permanent change on the system (the standard behaviour should be to boot with the default graphical interface).
As requested, I'm adding the relevant content of /boot/grub2/grub.cgf
menuentry 'openSUSE 13.2' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-179689d2-d2f3-4ec8-9cc3-01ec946c6b11' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' 179689d2-d2f3-4ec8-9cc3-01ec946c6b11
else
search --no-floppy --fs-uuid --set=root 179689d2-d2f3-4ec8-9cc3-01ec946c6b11
fi
echo 'Loading Linux 3.16.7-24-desktop ...'
linux /boot/vmlinuz-3.16.7-24-desktop root=UUID=179689d2-d2f3-4ec8-9cc3-01ec946c6b11 quiet quiet liveinstall lang=it_IT resume=/dev/disk/by-id/ata-WDC_WD5000BEVT-00A0RT0_WD-WXL1AC0U9725-part7 splash=silent quiet showopts vga=803
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.16.7-24-desktop
}
quiet
until the end of the line withtext
?linux
line tolinux /boot/vmlinuz-3.16.7-24-desktop root=UUID=179689d2-d2f3-4ec8-9cc3-01ec946c6b11 ro quiet text
, whitout any success.