WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: difficulty creating a bootable TC64 USB stick with persistence  (Read 1296 times)

Offline puppybyte!

  • Jr. Member
  • **
  • Posts: 91
difficulty creating a bootable TC64 USB stick with persistence
« on: September 16, 2023, 06:11:02 PM »
I want to make an bootable USB stick with persistence (mydata folder).  So with 1st USB stick I used dd command (TinyCorePure64-current.iso) and was able to boot into a graphic desktop but could not figure out how to setup backup folder.  So I installed tc-installgui and made a 2nd USB.  I was able to boot (corepure64) but ended up only with a prompt and not a graphic interface and not sure how to proceed.

I need a bootable USB stick with persistence with JWM graphic interface.  I was able to do this with TC14 (32bit) but am lost...  Can I do this with the 1st USB stick?

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: difficulty creating a bootable TC64 USB stick with persistence
« Reply #1 on: September 17, 2023, 04:40:34 AM »
Hi, puppybyte.

Just some suggestions.
Boot 1st USB and load tc-install
Install in "net" source "frugal" mode to get a bootable corepure64
Boot corepure64 with your 2nd stick
Code: [Select]
tce-load -wi Xfbdev-jwm-desktop.tczOr choose Xorg-jwm-desktop.tcz if Xfbdev doesn't work for you.

Offline puppybyte!

  • Jr. Member
  • **
  • Posts: 91
Re: difficulty creating a bootable TC64 USB stick with persistence
« Reply #2 on: September 17, 2023, 07:50:59 AM »
Boot 1st USB and load tc-install
Install in "net" source "frugal" mode to get a bootable corepure64
Boot corepure64 with your 2nd stick
Code: [Select]
tce-load -wi Xfbdev-jwm-desktop.tczOr choose Xorg-jwm-desktop.tcz if Xfbdev doesn't work for you.

thanks, I appreciate your careful input.
in 1st USB: After answering yes to whether I want boot loader installed, I get a question Install Extensions from this TCE/CDE Directory? I just entered y and proceeded.  Am not sure whether this is right.
in 2nd USB: I tried tce-load -wi Xfbdev-jwm-desktop.tcz and when I rebooted I get an error: something waitUSB error after startx command.  I also tried  Xorg-jwm-desktop.tcz (after reformating using 1st USB) but I get a blank blinking cursor (waited for about 2min).  What do u thinkg?

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: difficulty creating a bootable TC64 USB stick with persistence
« Reply #3 on: September 17, 2023, 08:19:41 AM »
You'll likely need to install graphics-KERNEL and possibly some firmware extensions for your laptop
What does dmesg say ?
Code: [Select]
dmesg | tail -n 30 > /tmp/dmesg.txt

Offline puppybyte!

  • Jr. Member
  • **
  • Posts: 91
Re: difficulty creating a bootable TC64 USB stick with persistence
« Reply #4 on: September 17, 2023, 08:29:50 AM »
You'll likely need to install graphics-KERNEL and possibly some firmware extensions for your laptop
What does dmesg say ?
Code: [Select]
dmesg | tail -n 30 > /tmp/dmesg.txt
Code: [Select]
dmesg | tail -n 30 > /tmp/dmesg.txtloop0: detected capacity change from 0 to 616
...
loop0: detected capacity change from 0 to 272
EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: disabled.
EXT4-fs (sda2): unmounting filesystem.
EXT4-fs (sda3): mounted filesystem with ordered data mode. Quota mode: disabled.
EXT4-fs (sda3): unmounting filesystem.
EXT4-fs (sdc1): recovery complete
EXT4-fs (sdc1): mounted filesystem with ordered data mode. Quota mode: disabled.
EXT4-fs (sdc1): unmounting filesystem.
EXT4-fs (sdd3): mounted filesystem with ordered data mode. Quota mode: disabled.
EXT4-fs (sdd3): unmounting filesystem.
e1000e 0000:00:19.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
EXT4-fs (sdd3): mounted filesystem with ordered data mode. Quota mode: disabled

not a true laptop but mini-PC (lenovo m73 tiny model)

aus9

  • Guest
Re: difficulty creating a bootable TC64 USB stick with persistence
« Reply #5 on: September 17, 2023, 06:32:30 PM »
Hi
I hope  polikuo  does not object to my barging in on this thread.

1) you need a better dmesg output please....as your tail was not long enough
Code: [Select]
dmesg | grep firmware > /tmp/fw.txt
2) fw is tricky in that there is no tool to tell you what fw is currently being used
but based on your model
https://support.lenovo.com/us/en/solutions/pd030001-thinkcentre-m73-tiny10ax0003in-for-linux-certification

You appear to have Intel graphics so I suggest you download any missing TCEs and have onboot.lst read

Quote
firmware-i915.tcz
graphics-KERNEL.tcz
xf86-video-intel.tcz
Xorg-7.7.tcz
# plus other stuff

at this stage lets ignore Xorg-7.7-3d until we see you have "decent" graphics

Please read the info files for all of them as some like the xf86* has information on some configs you may consider

3) If you know you do not have intel graphics you may need to provide a spec link or post your graphics hardware
inxi which you would need to download is designed for this very purpose....download it only if above is NOT correct,
load it and post output of
Code: [Select]
inxi -Gxxx
thanks for reading


The next post reveals for specific Intel graphics chipset.....the name of the firmware
« Last Edit: September 17, 2023, 06:39:57 PM by aus9 »

aus9

  • Guest
Re: difficulty creating a bootable TC64 USB stick with persistence
« Reply #6 on: September 17, 2023, 06:38:38 PM »
snip to get under 2K characters
Code: [Select]
modinfo i915
filename:       /lib/modules/6.1.2-tinycore64/kernel.tclocal/drivers/gpu/drm/i915/i915.ko.gz
SNIP
firmware:       i915/skl_huc_2.0.0.bin
firmware:       i915/bxt_huc_2.0.0.bin
firmware:       i915/kbl_huc_4.0.0.bin
firmware:       i915/glk_huc_4.0.0.bin
firmware:       i915/kbl_huc_4.0.0.bin
firmware:       i915/kbl_huc_4.0.0.bin
firmware:       i915/cml_huc_4.0.0.bin
firmware:       i915/icl_huc_9.0.0.bin
firmware:       i915/ehl_huc_9.0.0.bin
firmware:       i915/ehl_huc_9.0.0.bin
firmware:       i915/tgl_huc_7.9.3.bin
firmware:       i915/tgl_huc_7.9.3.bin
firmware:       i915/dg1_huc.bin
firmware:       i915/tgl_huc_7.9.3.bin
firmware:       i915/tgl_huc.bin
firmware:       i915/tgl_huc_7.9.3.bin
firmware:       i915/tgl_huc.bin
firmware:       i915/skl_guc_70.1.1.bin
firmware:       i915/bxt_guc_70.1.1.bin
firmware:       i915/kbl_guc_70.1.1.bin
firmware:       i915/glk_guc_70.1.1.bin
firmware:       i915/kbl_guc_70.1.1.bin
firmware:       i915/kbl_guc_70.1.1.bin
firmware:       i915/cml_guc_70.1.1.bin
firmware:       i915/icl_guc_70.1.1.bin
firmware:       i915/ehl_guc_70.1.1.bin
firmware:       i915/ehl_guc_70.1.1.bin
firmware:       i915/tgl_guc_70.1.1.bin
firmware:       i915/tgl_guc_70.1.1.bin
firmware:       i915/dg1_guc_70.bin
firmware:       i915/tgl_guc_69.0.3.bin
firmware:       i915/tgl_guc_70.1.1.bin
firmware:       i915/tgl_guc_70.bin
firmware:       i915/adlp_guc_69.0.3.bin
firmware:       i915/adlp_guc_70.1.1.bin
firmware:       i915/adlp_guc_70.bin
firmware:       i915/dg2_guc_70.bin
firmware:       i915/bxt_dmc_ver1_07.bin
firmware:       i915/skl_dmc_ver1_27.bin
firmware:       i915/kbl_dmc_ver1_04.bin
firmware:       i915/glk_dmc_ver1_04.bin
firmware:       i915/icl_dmc_ver1_09.bin
firmware:       i915/tgl_dmc_ver2_12.bin
firmware:       i915/rkl_dmc_ver2_03.bin
firmware:       i915/dg1_dmc_ver2_02.bin
firmware:       i915/adls_dmc_ver2_01.bin
firmware:       i915/adlp_dmc_ver2_16.bin
firmware:       i915/dg2_dmc_ver2_07.bin

when you have downloaded the graphics-KERNEL and run modinfo i915....you will get
vendor ids and products which SHOULD match your results visible in inxi -Gxxx

I can't show them here without doing a new post to keep under 2K character forum post rules

Offline puppybyte!

  • Jr. Member
  • **
  • Posts: 91
Re: difficulty creating a bootable TC64 USB stick with persistence
« Reply #7 on: September 17, 2023, 08:06:17 PM »

You appear to have Intel graphics so I suggest you download any missing TCEs and have onboot.lst read

Quote
firmware-i915.tcz
graphics-KERNEL.tcz
xf86-video-intel.tcz
Xorg-7.7.tcz
# plus other stuff

at this stage lets ignore Xorg-7.7-3d until we see you have "decent" graphics

Please read the info files for all of them as some like the xf86* has information on some configs you may consider

3) If you know you do not have intel graphics you may need to provide a spec link or post your graphics hardware

The next post reveals for specific Intel graphics chipset.....the name of the firmware

thanks!!, u r right, I do have intel graphics neofetch shows GPU Intel HD graphics.  I was able to boot into JWM screen.  I fumbled my way with all your suggestions.  I am all good for now, thanks!