Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: msalvatori on October 05, 2017, 05:57:09 AM

Title: [SOLVED] TinyCore can't make more than one partition persistent
Post by: msalvatori on October 05, 2017, 05:57:09 AM
Hi, I have a VM running the TCL, with 2 Virtual Disks (sda and sdb.

When I install TCL on sdb with tc-install-GUI:

1- I take the core.gz form sda
2 - Choose ext4 in Formating Options
3 - In "Boot Options Reference List" I define "home=/dev/sda1 opt=/dev/sda2"
4 - In the extension Installation I pick the tce directory from sda1

Doesn't matter if I put a different directory on sda2, it never makes it persistent, and after installation I can see it.

I don't understand why.
Title: Re: TinyCore can't make more than one partition persistent
Post by: gerald_clark on October 05, 2017, 06:21:15 AM
Try opt=sda2
Title: Re: TinyCore can't make more than one partition persistent
Post by: msalvatori on October 05, 2017, 06:38:55 AM
Try opt=sda2

Still nothing.

It always return the same error "Invalid device specified. Skipping persistent OPT request!"
Title: Re: TinyCore can't make more than one partition persistent
Post by: gerald_clark on October 05, 2017, 06:50:25 AM
Show the output of "blkid".
Title: Re: TinyCore can't make more than one partition persistent
Post by: msalvatori on October 05, 2017, 07:16:12 AM
Show the output of "blkid".

Code: [Select]
$ blkid
/dev/sda1: UUID="61fc908e-f2b0-4ef0-947d-c15c6cf23700" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/loop18: TYPE="squashfs"
/dev/loop19: TYPE="squashfs"
/dev/loop20: TYPE="squashfs"
/dev/loop21: TYPE="squashfs"
/dev/loop22: TYPE="squashfs"
/dev/loop23: TYPE="squashfs"
/dev/loop24: TYPE="squashfs"
/dev/loop25: TYPE="squashfs"
/dev/loop26: TYPE="squashfs"
/dev/loop27: TYPE="squashfs"
/dev/loop28: TYPE="squashfs"
/dev/loop29: TYPE="squashfs"
/dev/loop30: TYPE="squashfs"
/dev/loop31: TYPE="squashfs"
/dev/loop32: TYPE="squashfs"
/dev/loop33: TYPE="squashfs"
/dev/loop34: TYPE="squashfs"
/dev/loop35: TYPE="squashfs"
/dev/loop36: TYPE="squashfs"
/dev/loop37: TYPE="squashfs"
/dev/loop38: TYPE="squashfs"
/dev/loop39: TYPE="squashfs"
/dev/loop40: TYPE="squashfs"
/dev/loop41: TYPE="squashfs"
/dev/loop42: TYPE="squashfs"
/dev/loop43: TYPE="squashfs"
/dev/loop44: TYPE="squashfs"
/dev/loop45: TYPE="squashfs"
/dev/loop46: TYPE="squashfs"
/dev/loop47: TYPE="squashfs"
/dev/loop48: TYPE="squashfs"
/dev/loop49: TYPE="squashfs"
/dev/loop50: TYPE="squashfs"
/dev/loop51: TYPE="squashfs"
/dev/loop52: TYPE="squashfs"
/dev/loop53: TYPE="squashfs"
/dev/loop54: TYPE="squashfs"
/dev/loop55: TYPE="squashfs"
/dev/loop56: TYPE="squashfs"
/dev/loop57: TYPE="squashfs"
/dev/loop58: TYPE="squashfs"
/dev/loop59: TYPE="squashfs"
/dev/loop60: TYPE="squashfs"
/dev/loop61: TYPE="squashfs"
/dev/loop62: TYPE="squashfs"
/dev/loop63: TYPE="squashfs"
/dev/loop64: TYPE="squashfs"
/dev/loop65: TYPE="squashfs"
/dev/loop66: TYPE="squashfs"
/dev/loop67: TYPE="squashfs"
/dev/loop68: TYPE="squashfs"
/dev/loop69: TYPE="squashfs"
/dev/loop70: TYPE="squashfs"
/dev/loop71: TYPE="squashfs"
/dev/loop72: TYPE="squashfs"
/dev/loop73: TYPE="squashfs"
/dev/loop74: TYPE="squashfs"
/dev/loop75: TYPE="squashfs"
/dev/loop76: TYPE="squashfs"
/dev/loop77: TYPE="squashfs"
/dev/loop78: TYPE="squashfs"
/dev/loop79: TYPE="squashfs"
/dev/loop80: TYPE="squashfs"
/dev/loop81: TYPE="squashfs"
/dev/loop82: TYPE="squashfs"
/dev/loop83: TYPE="squashfs"
/dev/loop84: TYPE="squashfs"
/dev/loop85: TYPE="squashfs"
/dev/loop86: TYPE="squashfs"
/dev/loop87: TYPE="squashfs"
/dev/loop88: TYPE="squashfs"
/dev/loop89: TYPE="squashfs"
/dev/loop90: TYPE="squashfs"
/dev/loop91: TYPE="squashfs"
/dev/loop92: TYPE="squashfs"
/dev/loop93: TYPE="squashfs"
/dev/loop94: TYPE="squashfs"
/dev/loop95: TYPE="squashfs"
/dev/loop96: TYPE="squashfs"
/dev/loop97: TYPE="squashfs"
/dev/loop98: TYPE="squashfs"
/dev/loop99: TYPE="squashfs"
/dev/loop100: TYPE="squashfs"
/dev/loop101: TYPE="squashfs"
/dev/loop102: TYPE="squashfs"
Title: Re: TinyCore can't make more than one partition persistent
Post by: msalvatori on October 05, 2017, 07:17:28 AM
Seems like sda2 wasn't mounted. is there a way to make it mount during the installation proccess?
Title: Re: TinyCore can't make more than one partition persistent
Post by: curaga on October 05, 2017, 10:42:36 AM
Was it formatted? The installer will only format the install partition.
Title: Re: TinyCore can't make more than one partition persistent
Post by: msalvatori on October 05, 2017, 10:59:15 AM
Was it formatted? The installer will only format the install partition.

Yes. Evertime I install, partitions are formatted.
Title: Re: TinyCore can't make more than one partition persistent
Post by: polikuo on October 05, 2017, 07:46:40 PM
Was it formatted? The installer will only format the install partition.

Yes. Evertime I install, partitions are formatted.

How about the output of "fdisk -l".
Did you format the partitions manually ?
Title: Re: TinyCore can't make more than one partition persistent
Post by: msalvatori on October 06, 2017, 05:02:28 AM
How about the output of "fdisk -l".
Did you format the partitions manually ?

De disk was formatted by the tc-install wizard

Output of fdisk -l, just showed what was previously thought. The second partition was not created.

Disk /dev/sda: 17.1 GB, 17179869184 bytes
64 heads, 32 sectors/track, 16384 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *           1       16384    16777200  83 Linux
Title: Re: TinyCore can't make more than one partition persistent
Post by: polikuo on October 06, 2017, 07:49:16 AM
I believe the options you picked are [frugal] [Whole Disk].

That would wipe out the entire disk.

You should use [frugal] [Partition] instead if you wanna partition the disk yourself.
Title: Re: TinyCore can't make more than one partition persistent
Post by: msalvatori on October 06, 2017, 08:05:41 AM
I believe the options you picked are [frugal] [Whole Disk].

That would wipe out the entire disk.

You should use [frugal] [Partition] instead if you wanna partition the disk yourself.

I was marking [USB-HDD], which prevents me from choosing [existing-partition].

I tried to pick [frugal][existing-partition] but there was no difference.
Title: Re: TinyCore can't make more than one partition persistent
Post by: msalvatori on October 09, 2017, 09:01:46 AM
solved this problem by following this tutotial: https://phmetas.wordpress.com/2014/06/20/criando-um-cliente-rdp-atraves-do-tiny-core/
Title: Re: TinyCore can't make more than one partition persistent
Post by: msalvatori on October 09, 2017, 09:31:43 AM
Can't edit the title of the post to put [SOLVED]
Title: Re: [SOLVED] TinyCore can't make more than one partition persistent
Post by: Rich on October 09, 2017, 09:43:57 AM
Hi msalvatori
Can't edit the title of the post to put [SOLVED]
Done.
Title: Re: [SOLVED] TinyCore can't make more than one partition persistent
Post by: Misalf on October 09, 2017, 07:54:09 PM
Hi msalvatori,
It might be helpful if you would point out what was missing in your original attempt, since the link you've posted is not in English and just a handful of people could understand it.
Title: Re: [SOLVED] TinyCore can't make more than one partition persistent
Post by: msalvatori on October 10, 2017, 07:34:40 AM
Hi msalvatori,
It might be helpful if you would point out what was missing in your original attempt, since the link you've posted is not in English and just a handful of people could understand it.

Oh, yeah. Sorry for that.

So I was trying before follow the instructions in the link I posted and it wasn't working.

The reason was because I was trying to install TCL in SCSI disk (default disk type in vmware workstation). When I chose IDE Disk type, the instructions worked just fine.

Quickly translation:

01 – download Tiny Core

02 – mount ISO in a CD.

03 – Boot machine with the ISO

04 – Check networking settings.

05 – Install Tiny Core in your storage device, by clicking App -> Cloud -> Browse, seach tc-install.tcz, then mark the selection box Download + Load and click Go.

06 – After installation a new icon shows up in wbar (TC_Install). Click on it.

07 – Select USB-HDD e SDA, and advance through the wizzard withou changing options. When reach the last screen, click in Proceed. After install, shutdown the computer and remove de installation media.

08 – Boot the machine with the device where you installed TCL to install rdesktop.tcz. Open the terminal and type:  tce-load -wi rdesktop.tcz <ENTER>.

09 – Create a file remote.sh in /home/tc/.X.d/ and write:
while :
do
sleep 3
rdesktop -u “” -d nomedodominio -f -z 192.168.0.250 -k /home/tc/.X.d/br-abnt2
sleep 12
done

10 - Edit /opt/bootlocal.sh and add in the end:
/home/tc/.X.d/remote.sh