WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Remove media after Netbooting  (Read 4289 times)

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 7397
Re: Remove media after Netbooting
« Reply #15 on: March 08, 2013, 02:31:45 PM »
Hi Zendrael
Yes, but it sounds like you may not have enough RAM for what you want to do. If being able to remove the
pen drive after boot is important, moving the tce directory may be your only choice.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Remove media after Netbooting
« Reply #16 on: March 09, 2013, 02:58:36 AM »
1. Boot with code "base" but without "tce=".
2. Make sure that /etc/sysconfig/tcedir points to -> /tmp/tce and that no partition is mounted before processing to step 3.
3. mount partitions containing extensions and boot files.
4. In an aterm type:
Code: [Select]
watch df -h /5. cp extensions plus their corresponding .dep and .md5.txt to -> /tmp/tce/optional and/or tce-load -wi extensions from repo.
    Restrict yourself to a minimum of extensions really necessary, while having a close watch on free space (see 4.).
6.
Code: [Select]
tce-load -i /tmp/tce/optional/*.tcz7. run
Code: [Select]
tc-terminal-server8. Check for free space and based on result eventually cp and tce-load -i additional extensions.
9. Umount all mounted partitions.
10. Verify no partition is mounted and then unplug pendrive.
11. Point out which details I forgot or overlooked :P
« Last Edit: March 09, 2013, 03:00:46 AM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)