WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to install dcore  (Read 3417 times)

Offline kircanov

  • Newbie
  • *
  • Posts: 12
How to install dcore
« on: September 07, 2024, 01:04:57 PM »
I'm new to this.. Can someone explain the dcore installation procedure to me in detail. I create a VM on Proxmox with a 10GB disk, I boot the installation through netboot.xyz, I select dcore. Now how to create a partition and how much. How to copy boot and from where? Also cat /etc/fstabsudo doesn't work, with mount /mnt/sr0 I don't see files. Can anyone describe a full installation with netboot.xyz and Proxmox.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: How to install dcore
« Reply #1 on: September 07, 2024, 02:15:43 PM »
Hi kircanov
Welcome to the forum.

I've never used dcore so the best I can offer is the Wiki:
https://wiki.tinycorelinux.net/doku.php?id=dcore:welcome

This appears to be the section that covers installation options.
https://wiki.tinycorelinux.net/doku.php?id=dcore:installations

Offline kircanov

  • Newbie
  • *
  • Posts: 12
Re: How to install dcore
« Reply #2 on: September 07, 2024, 02:49:15 PM »
I have visited these links and can tell that many installation steps are missing. It's more like they're just main commands. There is no TC support on the internet, much less on the official site, I just can't figure it out. That's why I asked in detail if anyone has been in Linux for a long time and knows how to install dCore on proxmox via netboot.xyz. I found some commands but I can't understand what is the size of the partition that I create through fdisk. Admittedly, I don't have much experience with fdisk under a terminal. I found a link for VM installation in VirtualBox, but I'm not using CDROM, I'm using netboot. Otherwise, I want to try dCore with a desktop because it supports packages from ubuntu and debian, and the size is small to use more images on my home proxmox server.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: How to install dcore
« Reply #3 on: September 07, 2024, 03:01:40 PM »
Hi kircanov
I took a quick look at:
http://tinycorelinux.net/dCore/x86_64/release/dCore-stretch64/

It sounds like you just want the files needed for booting.

That would be the kernel:
http://tinycorelinux.net/dCore/x86_64/release/dCore-stretch64/vmlinuz-stretch64

And the initrd. You mentioned you want a desktop, which should be in here:
http://tinycorelinux.net/dCore/x86_64/release/dCore-stretch64/dCorePlus-stretch64.gz

Sorry, can't help with proxmox or netboot.xyz. I only run on real
hardware booting from local storage.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: How to install dcore
« Reply #4 on: September 07, 2024, 03:35:55 PM »
Hi kircanov
... I can't understand what is the size of the partition that I create through fdisk. ...
Personally, I avoid using fdisk myself. I see no reason to memorize or lookup
cryptic commands for a task I don't perform very often, especially since I use
a desktop.

If I need to do any partition operations, I use gparted. I have no interest in
dealing with cylinders, heads, sectors, or blocks on that level if I don't have to.

While it is still your responsibility to point gparted at the correct device, options
like sizing, format type, labels, partition flags, etc  are at least easy to specify.

Offline kircanov

  • Newbie
  • *
  • Posts: 12
Re: How to install dcore
« Reply #5 on: September 07, 2024, 03:57:49 PM »
Thanks for quickly replay @Rich, but the problem is location of netboot installer location..
i need to copy /boot from the netboot drive (which i don't know which one it is) and i don't know how to find what that drive is. For now I can create partition /dev/sda1 and /dev/sda2 (swap) but I don't know how to find the boot from the netboot install to copy it to /etc/sda1/boot. then the rest I guess should be easy with tce-setdrive and sce-import -b xorg-all for desktop. The problem is that I don't know where the netboot installation is. And it's not under /mnt/sr0.

Offline kircanov

  • Newbie
  • *
  • Posts: 12
Re: How to install dcore
« Reply #6 on: September 07, 2024, 06:18:08 PM »
I lost almost all day without success... I tried  also CD-ROM steps, copping the boot files from installation media URL: http://www.tinycorelinux.net/dCore/x86_64/release/dCore-stretch64/ so i don't know how to setup boot path from HDD. I have used this steps from URL https://brianlinkletter.com/2016/05/how-to-install-dcore-linux-in-a-virtual-machine/ but probably dCore-stretch use les files and commands not response. Finally here is my screen after reboot...

Great respect to Rich (Administrator), but here we need someone who good understand dCore because this is dCore forum section.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 724
Re: How to install dcore
« Reply #7 on: September 08, 2024, 03:54:55 AM »
When netbooting the ordinary way of doing this should be using nfs.
I have done this successful in picore.
So the boot order will be:
1. kernel
2. initrd
3. root via nfs.

Here are my kernel args list from my old nfs mount in picore:
console=ttyAMA0,115200 root=/dev/ram0 elevator=deadline rootwait nortc loglevel=3 noembed tz=CET-1CEST,M3.5.0,M10.5.0/3 kmap=qwerty/sv-latin1 lang=sv_SE showapps bcm2708.boardrev=0x2 bcm2708.serial=0x1234560b nfsmount=10.42.0.1:/home/patrik/picore/ tce=nfs/tce8
« Last Edit: September 08, 2024, 04:15:19 AM by patrikg »

Offline kircanov

  • Newbie
  • *
  • Posts: 12
Re: How to install dcore
« Reply #8 on: September 08, 2024, 10:48:07 PM »
Looks like we don't understand each other... I'm booting a system via netboot but where to look for the source files from netboot..

if i try 'ls /mnt'
i only get 'sr0' but there are no files inside there, and when i can't find the source, i can't copy kernel, initrd, root...etc.

And as for dCore-stretch64, you have a problem with repository, because nothing downloads, updates...

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: How to install dcore
« Reply #9 on: September 09, 2024, 02:05:34 AM »
That service looks like it provides files via http, aka they are not mounted or available after boot anywhere.
The only barriers that can stop you are the ones you create yourself.

Offline mocore

  • Hero Member
  • *****
  • Posts: 672
  • ~.~
Re: How to install dcore
« Reply #10 on: September 09, 2024, 07:40:42 AM »
but here we need someone who good understand dCore because this is dCore forum section.

in the absence of of *someone who good understand dCore* (and can explain it! ;- )
 perhaps??
the other topics/post in `dCore forum section.`
can provide a/some insight ?

of those who previously tried to use/understand dcore ...
« Last Edit: September 09, 2024, 07:46:52 AM by mocore »

Offline kircanov

  • Newbie
  • *
  • Posts: 12
Re: How to install dcore
« Reply #11 on: September 09, 2024, 06:18:21 PM »
If I understand correctly there is no way to install via netboot. So the Tiny dCore system is located in RAM memory, so until I want to install it, I will need to download the necessary boot files from the official site via WGET. vmlinuz, dCore-[os].gs, boot, etc.. If possible link from CD or USB installation source. But it is not .ISO format, but unpacked. Can someone provided source from Bionic or Buster.

Thank you...

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: How to install dcore
« Reply #12 on: September 09, 2024, 07:57:19 PM »
Hi kircanov
... I will need to download the necessary boot files from the official site via WGET. vmlinuz, dCore-[os].gs ...
That's  vmlinuz-[os]  and  dCore-[os].gz.

Quote
... Can someone provided source from Bionic or Buster.
You can find the bionic, buster, focal, and stretch directories here:
http://tinycorelinux.net/dCore/x86_64/release/

Offline kircanov

  • Newbie
  • *
  • Posts: 12
Re: How to install dcore
« Reply #13 on: September 10, 2024, 10:13:49 AM »
anyway but i can't manage to install and boot dCore from local harddisk.

here are the steps I use (CD installation) disk 6gb (783):
sudo fdisk /dev/sda
 SDA1
 n
 p
 1
 1
 553

 SDA2
 n
 p
 1
 554
 783

 a
 1

 t
 2
 82 --- (linux snap partition)

 w

sudo mkfs.ext4 /dev/sda1
sudo rebuildfstab
mount /mnt/sda1
sudo mkdir /mnt/sda1/boot

mount /mnt/sr0
ls /mnt/sr0
sudo cp -p /mnt/sr0/* /mnt/sda1/boot

Install a bootloader
----------------------------------
sce - import e2fsprogs
sce - load e2fsprogs
sudo e2label /dev/sda1 "dCore"
sudo rebuildfstab
sudo mkdir /mnt/sda1/boot/extlinux
sce-import extlinux
sce-load extlinux
sudo extlinux --install /mnt/sda1/boot/extlinux
sudo dd if=/usr/lib/EXTLINUX/mbr.bin of=/dev/sda

Create a bootloader configuration file
-------------------------------------------------- --------
cd /mnt/sda1/boot/extlinux
sudo vi extlinux.conf

default dCore
label dCore
kernel /boot/vmlinuzbuster64
append initrd=/boot/dCorebuster64.gz tce=sda1

tce-setdrive
 selected /mnt/sda1

backup

sudo poweroff

removing CD image and starting the VM but without success

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 724
Re: How to install dcore
« Reply #14 on: September 10, 2024, 10:53:26 AM »
Is this write off your settings ?
So you missed some part in the syslinux conf file.
Shouldn't it be "initrd" on one line and "append" on another line with more kernel args like root=/dev/sda1 and so on.

 Something like this:
Code: [Select]
TIMEOUT 30
DEFAULT tinycore

MENU TITLE Boot Menu

LABEL tinycore
      MENU LABEL Tiny Core
      LINUX /boot/vmlinuzbuster64
      INITRD /boot/dCorebuster64.gz
      APPEND root=/dev/sda1 tce=sda1
« Last Edit: September 10, 2024, 11:03:03 AM by patrikg »