WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dCore-install issues  (Read 2716 times)

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
dCore-install issues
« on: January 27, 2016, 05:24:12 AM »
Hi, I can't seem to make dCore-install work.

I booted off a usb drive and I want to install to the entire hard drive.

Problem is I can't seem to make my usb drive (sdb) contain the tce directory so I can install dCore-install in such a way that I can make my sda drive the target drive for the frugal install.

It appears that sdb has the boot dir on it so I get a device error when I try and mount sdb1

If I keep the tce dir on sda1 then I can't make it a target for the install because its already mounted.

Help!?!?

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: dCore-install issues
« Reply #1 on: January 27, 2016, 05:55:21 AM »
okay, now I've just imported/loaded dCore-install non-persistently and when I run it, after I put in the boot params it says Device size reported to be zero... and fails  >:(

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: dCore-install issues
« Reply #2 on: January 27, 2016, 06:12:29 AM »
Maybe the wiki can be helpful:
http://wiki.tinycorelinux.net/dcore:installations

There is a complete walk-through for an installation on USB-stick with persistence and all:
http://wiki.tinycorelinux.net/dcore:usb_installation_test-drive

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: dCore-install issues
« Reply #3 on: January 27, 2016, 01:39:35 PM »
Are you saying dCore-install isn't the tool to use?

I was trying to follow that page but it really wasn't helpful.  For instance,

http://wiki.tinycorelinux.net/dcore:usb_installation_test-drive#first_boot

says to boot into grub2 in order to write the boot sector on your usb drive.  I didn't have to do that cuz I just dd'ed the ISO over to it and it booted fine.   Now it doesn't appear that the boot sector of that boots into grub2.

So you're saying either I either have to debug dCore-install or I have to do it all manually with syslinux?

Not that I'm above doing that, but I'm kind of shocked that dCore doesn't have a working automatic installer considering that seems like it would be job one for any semi-viable distro.

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: dCore-install issues
« Reply #4 on: January 27, 2016, 01:55:58 PM »
okay, so even from this page:

http://www.cyberciti.biz/tips/re-read-the-partition-table-without-rebooting-linux-system.html

I installed the line

echo 1 > /sys/block/$DEVICE/device/rescan

Right after the hdparm -Z line (in order to try and find another way to rescan the partition table) and still no love    :'(

It must be something to do with how the partition table gets created

still looking

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: dCore-install issues
« Reply #5 on: January 27, 2016, 04:47:34 PM »
okay, I think I found a workaround

partition the disk manually (I used a single partition with the default linux type 0x83)

sudo su

copy the (wrongly named) dCore<jessie,etc...>.gz and vmlinuz<jessie,etc...> files to root.  I found mine in /mnt/sdb1/boot

sce-import dCore-install

sce-load dCore-install

dCore-install

select frugal install to the partition file system type ext2 and add your boot flags

reboot and install your stuff