WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: HELP ??? SYMLINKS to OPTIONAL folder  (Read 2163 times)

Offline grandma

  • Full Member
  • ***
  • Posts: 213
  • Never forget Grandma Loves You & made that candy4U
    • Back when a 10MB HD was $500 bucks
HELP ??? SYMLINKS to OPTIONAL folder
« on: June 26, 2021, 08:07:31 PM »
p.s. I just realized MAAAYBE this needs to be moved to TCE
================================================

Currently I have tested the following which may solve the problem and make it stable:

1. I created 2 partitions on a USB - small 80 MB as /mnt/sdb1 and larger 7.2 gig as /mnt/sdb2

2. I put grldr and menu.lst on /mnt/sdb1 - normal place

3.  I made a folder on /mnt/sdb2 to hold the 3x install as

/mnt/sdb2/v3x/tce

4. Put files and folders there, such as

/mnt/sdb2/v3x/tce/optional/AllTheTCZfiles.tcz .tcz.md5.txt .tcz.dep etc.

for 3x and

/mnt/sdb2/v3x/tce/ver3x/bzImage and tinycore.gz for booting and

/mnt/sdb2/v3x/tce/onboot.lst


(cont)
« Last Edit: June 26, 2021, 08:19:07 PM by grandma »
~ Luv Grandma
"When children of all nations
play in the sandbox together
all morning-all day-all week, and
one fine sunny day; all year long ...
... then war will become an ancient memory
and Grandma can knit that sweater
you'll hold near to your heart
until long after you're my age.

Offline grandma

  • Full Member
  • ***
  • Posts: 213
  • Never forget Grandma Loves You & made that candy4U
    • Back when a 10MB HD was $500 bucks
Re: HELP ??? SYMLINKS to OPTIONAL folder (part 2)
« Reply #1 on: June 26, 2021, 08:09:00 PM »
4. Then I edited /mnt/sdb1/menu.lst to be:

# timeout=5
# default=0
 
# title 3X ON 2ND PARTITION
# find --set-root /v3x/tce/ver3x/bzImage
# kernel /v3x/tce/ver3x/bzImage tce=UUID=B4BE-097E quiet  waitusb=10 norestore xvesa=1024x768x32
# initrd /v3x/tce/ver3x/tinycore.gz

5. Then I booted it and it worked - whoo whoo!

6. BUT the boot process created a folder;

# /mnt/sdc2/tce

which was completely empty.

7. I checked /tmp/tcloop and JWM was not there, even though it jwm.tcz was in the file

# /mnt/sdc2/v3x/tce/onboot.lst

Hmmm....

~ Luv Grandma
"When children of all nations
play in the sandbox together
all morning-all day-all week, and
one fine sunny day; all year long ...
... then war will become an ancient memory
and Grandma can knit that sweater
you'll hold near to your heart
until long after you're my age.

Offline grandma

  • Full Member
  • ***
  • Posts: 213
  • Never forget Grandma Loves You & made that candy4U
    • Back when a 10MB HD was $500 bucks
Re: HELP ??? SYMLINKS to OPTIONAL folder (part 3)
« Reply #2 on: June 26, 2021, 08:09:57 PM »
7. I checked /opt/.tce_dir and it points to /mnt/sdb2/tce

8. So I figured TCE "THINKS" /mnt/sdb2/tce is valid, so I went there and made

# /mnt/sdb2/tce/optional

9. then changed directories to

# /mnt/sdb2/tce/optional

10. then tried this prayer

# ln -s /mnt/sdb2/v3x/tce/optional/leafpad.tcz

which bombs - denied

and

# ln -s /mnt/sdb2/v3x/tce/optional/leafpad.tcz leafpad.tcz

denied

and

# ln -s /mnt/sdb2/v3x/tce/optional/leafpad.tcz /mnt/sdb2/tce/optional/leafpad.tcz

denied

Hmmm...

I figure if I can get the /mnt/sdb2/tce/optional folder to fill with symlinks then I can run

# tce-load -i leafpad

without having to copy all the files from

# cp /mnt/sdb2/v3x/tce/optional /mnt/sdb2/tce/optional

Does this make sense?

What am I doing wrong?

Why won't symlinks work/are denied.
« Last Edit: June 26, 2021, 08:16:29 PM by grandma »
~ Luv Grandma
"When children of all nations
play in the sandbox together
all morning-all day-all week, and
one fine sunny day; all year long ...
... then war will become an ancient memory
and Grandma can knit that sweater
you'll hold near to your heart
until long after you're my age.

Offline grandma

  • Full Member
  • ***
  • Posts: 213
  • Never forget Grandma Loves You & made that candy4U
    • Back when a 10MB HD was $500 bucks
Re: HELP ??? SYMLINKS to OPTIONAL folder (part 4)
« Reply #3 on: June 26, 2021, 08:11:25 PM »
11. If I can get this to work then I can create

# /mnt/sdb2/v8x/tce/onboot.lst
# /mnt/sdb2/v8x/tce/ver8x/vmlinuz
# /mnt/sdb2/v8x/tce/ver8x/core.gz
# /mnt/sdb2/v8x/tce/ver8x/optional/leafpad.tcz (and all the others)

and then create a menu.lst

# timeout=5
# default=0
 
# title 3X ON 2ND PARTITION
# find --set-root /v3x/tce/ver3x/bzImage
# kernel /v3x/tce/ver3x/bzImage tce=UUID=B4BE-097E quiet  waitusb=10 norestore xvesa=1024x768x32
# initrd /v3x/tce/ver3x/tinycore.gz

# title 8X ON 2ND PARTITION
# find --set-root /v8x/tce/ver8x/vmlinuz
# kernel /v3x/tce/ver8x/vmlinux tce=UUID=B4BE-097E quiet  waitusb=10 norestore xvesa=1024x768x32
# initrd /v3x/tce/ver8x/core.gz

Is this clear?

Is there a better way?

Thank you.

p.s. I broke this up bc server kept spitting error - until I figured out to add the # sign in front of commands.
~ Luv Grandma
"When children of all nations
play in the sandbox together
all morning-all day-all week, and
one fine sunny day; all year long ...
... then war will become an ancient memory
and Grandma can knit that sweater
you'll hold near to your heart
until long after you're my age.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11586
Re: HELP ??? SYMLINKS to OPTIONAL folder
« Reply #4 on: June 26, 2021, 08:20:55 PM »
Hi grandma
Assuming that UUID is for  sdb2 , try changing this:
Code: [Select]
tce=UUID=B4BE-097Eto this:
Code: [Select]
tce=UUID="B4BE-097E"/v3x/tce