Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: tana60 on June 02, 2016, 04:34:16 PM

Title: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: tana60 on June 02, 2016, 04:34:16 PM
Hello everyone,

I recently discovered TC and its great originality  :)
Yesterday I made a bootable USB key using LiliUSB with the 7.0 iso, and it worked. It was a small key of 4GB.

But today, I tried to remake this on a biggest key: on TC, using fdisk (and msdosfs.tcz), I partitionned a 64GB key into
sdb1 => 8 GB, vfat
sdb2 => 27 GB, Linux
sdb3 => 20 GB, Linux
Then Windows was seeing just a 7.4GB key, and I put the current iso on it.
TC boots normally, but I end up with command-line only  :(

I tried "startx" but it says "not found"

There is a "cde" directory in the first partition [why not "tce"? BBTW I tried to rename it to "tce", but the wondow manager no works], and yes there is onboot.lst whith the lines
...
flwm_topside.tcz
...
Xvesa.tcz
...

Thank you for reading!  :D
Title: Re: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: Misalf on June 02, 2016, 05:57:52 PM
Windows only sees the first partition on USB flash drives.
3rd party installers are not supported by (Tiny) Core.
The cde directory is used when (or rather for detecting if) booting from CD. 3rd party installers don't respect that since it's tiny core specific which results in broken installations. IIRC, renaming the cde directory to tce and maybe adjusting the boot loader's config was reported to be enough to get a USB flash drive installation running after installing via unetbootin.

However,  tc-install.tcz ,  core2usb.exe  or manually are the ways to go.
Title: Re: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: tana60 on June 03, 2016, 07:32:51 AM
Hello Misalf,
Thank you!  :D

OK, I did not know there was known issues using 3rd party installers.
Just renaming 'cde' to 'tce' was not enough to fix the problem... maybe I will try hacking the boot loader.

Quote
However,  tc-install.tcz ,  core2usb.exe  or manually are the ways to go.

1) Does tc-install run from the command-line? Because as said for instant I have no window manager  :(
Oh, seeking in the CoreBook, I found that there is a tc-install.sh script, that seems to be fine:
http://www.parkytowers.me.uk/thin/Linux/CoreInstall.shtml (http://www.parkytowers.me.uk/thin/Linux/CoreInstall.shtml)

2) core2usb.exe says the disk is not empty  :-[ even after reformatting! (I suspect Windows to put hidden files that do not appear even asking for them?... But given that core2usb intented for Win systems, maybe must to fix this ?)

3) Ok I am reading the CoreBook to understand the manip, hope it will be OK!

Thank you a lot!  :)
Title: Re: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: jls on June 03, 2016, 08:09:14 AM
Maybe you need to add the waitusb boot code
Title: Re: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: tana60 on June 03, 2016, 08:34:55 AM
Maybe you need to add the waitusb boot code
Thank you  :) !
But... I was always booting with this option, without success  :-[
Title: Re: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: Rich on June 03, 2016, 10:50:33 AM
Hi tana60
Quote
Just renaming 'cde' to 'tce' was not enough to fix the problem... maybe I will try hacking the boot loader.
You should also remove the  cde  boot code.
From the FAQ:
Quote
or renaming the cde to tce thus indicating that this is not a CD and editing the syslinux.cfg changing cde to waitusb=5 to indicate that is a pendrive.
found here:
http://tinycorelinux.net/faq.html#pendrives
Title: Re: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: tana60 on June 05, 2016, 04:06:32 PM
Hi Rich,
thank you and sorry I have missed  this from the FAQ.
However, after tried to do this (cde => tce and removing cde in boot code) dis not work!
Even adding "tce=sdb1" did not work :(
Any suggestions please?... Thank for reading!
Title: Re: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: nimday on June 05, 2016, 04:44:11 PM
Try unetbootin (http://unetbootin.org/) and pick any iso , after that you can modify it
Title: Re: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: coreplayer2 on June 05, 2016, 04:58:26 PM
please do not use unetbootin   it is not supported and leads to many issues (like the one the OP has already)


Instead use core2usb
or the correct tinycore install tools from the coreplus ISO/CD
see http://tinycorelinux.net/install.html (http://tinycorelinux.net/install.html)
or the install guide from http://tinycorelinux.net/book.html (http://tinycorelinux.net/book.html)

I find using Labels or UUID to identify USB/HDD/SSD devices helps tremendously
see: http://wiki.tinycorelinux.net/wiki:waitusb (http://wiki.tinycorelinux.net/wiki:waitusb)
and http://tinycorelinux.net/faq.html#pendrives (http://tinycorelinux.net/faq.html#pendrives)

Title: Re: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: nimday on June 06, 2016, 01:05:11 AM
My bad,sorry about unetbootin try as suggested by coreplayer2
Title: Re: TinyCore 7.0 + LiliUSB ==> window manager not starting?
Post by: tana60 on June 06, 2016, 05:39:36 AM
Thanks for advice.

Core2usb seems to be buggy  :(
- First time I launched it from a Windows 10, it did not recognized that [first partition on] my USB stick was empty.
- Second time now from a Windows XP on a whole empty, it said the key was not empty; after formatting the key, it accepted and installed a few directories (but nothing appearing into them??  ??? ). At boot time, I had a syslinux boot> prompt... Seems it did not find an image file.

And with Lili USB, after renaming cde to tce and removing cde code from config files, it did not work; however, Lili just makes what described in the Core Book for manually install, automatically?...