WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Getting started?  (Read 15295 times)

Offline theYinYeti

  • Full Member
  • ***
  • Posts: 177
    • YetI web site
Getting started?
« on: September 28, 2013, 08:25:34 AM »
Hi! Would someone volunteer to post some kind of “getting started” instructions for dCore at this stage?
So far, I did this:
Code: [Select]
$ import xorg-all
[…]
$ printf 'Xprogs\nflwm_topside\nwbar\n' >stddesk
$ import -s -f stddesk
[…]
$ printf 'xorg-all.sce\nstddesk.sce\n' >>/etc/sysconfig/tcedir/sceboot.lst
But then, on boot, I am greeted by an endless output of this same line:
Code: [Select]
can't run '/sbin/getty': No such file or directory
I just don’t know how to continue from there, or what I did wrong.
Also, on each boot, I have this error message:
Code: [Select]
swapon: /dev/zram0: Invalid argument
Help! :D

My boot options are:
Code: [Select]
waitusb=5 tce=LABEL=FLASH/.boot/dcore/sce restore=LABEL=FLASH/.boot/dcore kmap=azerty/fr-latin1 loglevel=3 although the kmap is probably useless for now.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
10+ Years Contributing to Linux Open Source Projects.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Getting started?
« Reply #2 on: September 28, 2013, 10:20:50 AM »
Download a copy and keep it handy: Core book ;)

Offline theYinYeti

  • Full Member
  • ***
  • Posts: 177
    • YetI web site
Re: Getting started?
« Reply #3 on: September 28, 2013, 10:43:24 AM »
My thanks to both of you :)
I thought these files were related to regular TinyCore, with which I am mostly familiar already. I'll read these!

Offline theYinYeti

  • Full Member
  • ***
  • Posts: 177
    • YetI web site
Re: Getting started?
« Reply #4 on: September 28, 2013, 02:42:43 PM »
You were right, that was exactly what I was looking for.
Unfortunately, the instructions did not work for me. I did everything as explained, except that I set “tce=…” and “restore=…” beforehand in my Grub2 config file, so that “tce-setdrive” told me everything was already done, and “backup” told me setup was already done and asked me if I wanted to backup now, to which I answered yes.

When following the exact “import” commands given in the README file (for flwm_topside), the boot process proceeded apparently as expected, but was actually stuck to an endlessly swirling slash, while supposedly loading extensions. I was however able to type Alt+SysRq+E, which left me on TC prompt: there, “mount” told me that no extension was mounted, and /tmp/tcloop was indeed empty.
I also tried with my useless “kmap=…” removed, as well as the “loglevel=3” taken from Isolinux config in the ISO file.
This was in VirtualBox, and then on a real laptop with the same results.

I then started anew, this time import-ing -b xorg-all, and then import -b -f a single file with Xprogs, flwm_topside and wbar in it. This time, the loading of extensions ended correctly (I suppose) but I received this endlessly repeated message (and no prompt):
Code: [Select]
can't run '/sbin/getty': No such file or directory
For your information, my bootloader is Grub2, and dCore.gz and vmlinuz were taken from the ISO file for RC3.

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: Getting started?
« Reply #5 on: September 28, 2013, 05:07:28 PM »
I also tried the instructions in the readme's, using the ISO I burned to CD before.

The tce directory and the sub-directories were created OK on USB stick, and the backup worked (albeit with nothing installed). However when I tried the imports I got the same "could not create symlinks" error messages as before.

edit: I don't get the error messages if I boot from CD with no USB stick tce. I assume in that case the tce directory and packages are being created in memory? Maybe there's some sort of permissions error on the USB stick directories?
« Last Edit: September 28, 2013, 05:26:01 PM by thane »

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Getting started?
« Reply #6 on: September 28, 2013, 06:35:57 PM »
Re: Pendrives
The only way I could reproduce this error was to attempt to use a ZIP style pendrive. That is a non-linux partition.
Typically the second partition is vfat and it fails. Changing it to ext2 it worked as expected.

However zip type pendrive installs are limited to the smaller pendrives and likely you will run out of space.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Getting started?
« Reply #7 on: September 28, 2013, 06:39:10 PM »
Re Using the iso

I verified that dCore.gz and vmlinuz inside the iso are the same as the stand-alone versions.
Be sure that you are using a linux partition and that you have not run out of space or co-mingling with Core native backup or other native files.
10+ Years Contributing to Linux Open Source Projects.

Offline theYinYeti

  • Full Member
  • ***
  • Posts: 177
    • YetI web site
Re: Getting started?
« Reply #8 on: September 29, 2013, 06:37:56 AM »
Hi roberts! Thank you for helping me.
My USB pendrive is formatted with a single FAT partition, and a normal DOS partition table, using Gparted. Here's its current status:
Code: [Select]
[root@archlinux ~]# LANG=C fdisk -l /dev/sdb

Disk /dev/sdb: 16.0 GB, 16008609792 bytes, 31266816 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00085ba8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048    31266815    15632384    b  W95 FAT32

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14843
Re: Getting started?
« Reply #9 on: September 29, 2013, 08:37:30 AM »
As said above, "be sure that you have a linux partition"...

Offline theYinYeti

  • Full Member
  • ***
  • Posts: 177
    • YetI web site
Re: Getting started?
« Reply #10 on: September 29, 2013, 10:31:33 AM »
My USB pendrive is neither old nor small. It is a 16GB pendrive bought this year. Besides, I only want a single FAT32 partition on it. I don’t need nor want any other partition on it. And it is neither USB-ZIP nor USB-Floppy; it is USB-HDD.

Anyway, I don’t understand: dCore is supposed to run from the "dCore.gz" initramfs. The install media is only meant as storage for the extensions, and FAT32 should be suitable for this purpose. And as can be checked while zero extensions are created (first boot after install, when I still get the prompt), the USB pendrive’s FAT32 partition gets mounted perfectly well, and I can read and write to it normally.

That being said, I miss many extensions in TC5, and I’m willing to try hard to make dCore work, and see if I can replace TC5 with dCore. I can format the pendrive again (even create a new partition table) and start anew.
Keeping in mind I only want a single FAT32 partition, what tools/commands do you propose I run to achieve the right USB media layout for dCore?
« Last Edit: September 29, 2013, 10:36:57 AM by theYinYeti »

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: Getting started?
« Reply #11 on: September 29, 2013, 01:34:21 PM »
FWIW, since my last post I've tried using the standard TC 5.0 tc-install to format my USB stick to ext4, then copied over the dCore.gz and vmlinuz files from the dCore ISO and updated the extlinux.conf file to boot dCore. I then deleted the original core.gz and the directories under tce that aren't relevant to dCore. This setup actually booted and I was able to import the packages for the flwm_desktop without apparent errors.

Don't know what the readme instruction to "specify the desktop as a boot parameter" means, if it's something different than the following instruction to add "desktop=flwm_topside at the end of the boot parameter line".

Still got errors (probably because I omitted something above) when I tried to reboot into the desktop. Ended up at the box sign-in.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14843
Re: Getting started?
« Reply #12 on: September 29, 2013, 01:46:55 PM »
I miss many extensions in TC5..

If you can let us know which ones work in tc-5, we can move them across

Offline theYinYeti

  • Full Member
  • ***
  • Posts: 177
    • YetI web site
Re: Getting started?
« Reply #13 on: September 29, 2013, 03:36:25 PM »
Juanito: You’re right, and I’ll try and find the time to do that, although the list is quite long :)

But to tell the truth, I’m actually very interested in dCore since I’ve heard about it, and I’d like to see it work.
You may be interested to know that xorg-all is the culprit. I tried with xorg-vesa instead with the same failure:
“can't run '/sbin/getty': No such file or directory”
on and on and on… and no prompt :(
If however I only load Xprogs, flwm_topside, and wbar, boot happens normally, I get a shell prompt, and I can see that the three extensions appear in /tmp/tcloop.
Something must be wrong with xorg or one of its dependencies… Could someone make available to me an xorg-all.sce that is known to work?

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: Getting started?
« Reply #14 on: September 29, 2013, 04:19:25 PM »
Confirming what theYinYeti wrote, when I deleted the xorg-all.tce package and removed the name from sceboot.lst on the USB stick it booted to tcbox with no error messages.