Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: jkl on March 16, 2014, 03:39:58 AM

Title: GUI desktop
Post by: jkl on March 16, 2014, 03:39:58 AM
Hello,
how can I load the GUI in tinycore?
I created a bootable USB.

map --mem /tinycore.iso (hd32)
map --hook
root (hd32)
kernel /boot/vmlinuz quiet
initrd /boot/core.gz

Now, whenever I boot, it always boots with the CLI.
How can I change it to boot from the GUI?
Title: Re: GUI desktop
Post by: curaga on March 16, 2014, 05:54:55 AM
Please do not use syslinux memdisk. It only works properly with DOS and other similar, BIOS-using OSes. Do a proper install.
Title: Re: GUI desktop
Post by: jkl on March 16, 2014, 06:22:22 AM
Quote
Please do not use syslinux memdisk.
I do not use syslinux memdisk. I use grub4dos.
Quote
Do a proper install.
How do I do that?
Title: Re: GUI desktop
Post by: curaga on March 16, 2014, 06:25:49 AM
Well, make that "your bootloader's memdisk" ;)

http://tinycorelinux.net/install.html
Title: Re: GUI desktop
Post by: jkl on March 16, 2014, 07:19:09 AM
I do not have internal optical disk drive.
I do not want install Tiny Core on HDD.
I want run Tiny Core directly from USB flash drive with GUI desktop.
Title: Re: GUI desktop
Post by: curaga on March 16, 2014, 07:51:48 AM
The installer can target USB sticks just fine. If you don't have any computer with both CD and USB, and can't setup a VM with USB pass-through either, you can always do a manual install from any Linux distro, or use core2usb from Windows.

The manual install is linked to from the install page.
Title: Re: GUI desktop
Post by: jkl on March 16, 2014, 01:06:21 PM
I'd like to create a multiboot usb flash drive with grub4dos. How do i modify the grub menu?
Title: Re: GUI desktop
Post by: gerald_clark on March 16, 2014, 01:28:21 PM
Please check the wiki before posting questions.
http://wiki.tinycorelinux.net/wiki:grub4dos
Title: Re: GUI desktop
Post by: coreplayer2 on March 16, 2014, 01:33:41 PM
I'd use grub2  (am not sure if grub4dos is supported anymore, but maybe it is...  you could try the wiki)


meanwhile, things have changed lately with USB pass-though.  For example  VirtualBox is perhaps one of the few VM USB drivers which provide USB pass-through.  VirtualBox VM  is highly beneficial for those without cd drives to assist with installing tc to a USB

My primary method of installing tc to a USB from Windows is via VirtualBox.  I attach coreplus.iso and a USB stick to a VM  on Windows, from there use the tc-install gui app to create the base USB install with boot loader.    Thereafter reboot to the USB and add the desired extensions and amendments to the boot loader config.  So flexible..

Title: Re: GUI desktop
Post by: jkl on March 17, 2014, 05:37:26 AM
I do not want to install Tiny Core on USB flash memory stick. I read news:
Quote
4.4 also features the ability to access embedded extensions when booting from a single ISO image file. This allows the use of various boot loaders such as YUMI.
I'd like to boot Tiny Core with GUI extensions from multiboot USB flash memory stick. I use grub4dos bootloader. Please help me.
Title: Re: GUI desktop
Post by: Lee on March 17, 2014, 06:52:00 AM
Supposing the device is formatted as ext2, not FAT...

I use grub4dos with a menu.lst entry as shown below with the kernel, initrd and tce directory all stored under /boot/core4.7.7  You'd have to tweak it to reflect your own directory layout, filesystem label, etc.  Once you boot to the CLI, you can use tce-load to download the GUI and whatever apps and such you want.



Code: [Select]
# 2013-05-21          4.7.7
title Core 4.7.7
find --set-root /boot/grub/menu.lst
kernel /boot/core4.7.7/vmlinuz quiet tce=LABEL=my_fs_label/boot/core4.7.7/tce waitusb=30:LABEL=my_fs_label
initrd /boot/core4.7.7/core.gz
Title: Re: GUI desktop
Post by: jkl on March 18, 2014, 05:54:55 AM
Lee
i'd like to automatically load X/GUI extensions from ISO file.
These extensions are stored in directory cde/optional.
Quote
Starting with v4.4rc3 it is now possible to load the embedded extensions inside an iso image file.
How to do it?
Title: Re: GUI desktop
Post by: tinypoodle on March 18, 2014, 07:39:21 AM
http://tinycorelinux.net/faq.html#iso