WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tce-load not working  (Read 2598 times)

Offline esj

  • Newbie
  • *
  • Posts: 4
tce-load not working
« on: October 25, 2009, 09:49:27 AM »
not sure if this is the appropriate forum but, it is a question and I hope to get an answer.

I'm working on a script to automate installation of tc inside a virtual machine but should work also on a hard drive without any problems.  It's not the goal of the script to solve all problems for all people but is a simple solution for the 90% case, getting tc installed without typing lots of commands which can be a major source of problems.

The problem I'm having is that tce-load doesn't seem to work from  the script or the command line.  If I type a command like:

tce-load -w -i grub-0.97-splash.tcz
tce-load -w -i parted.tczl

the command terminates silently and the programs have not been loaded.  Clearly I'm missing something.  I haven't found it yet in my searches of the archives and the net  so I would appreciate some help understanding what's wrong.

http://pastebin.ca/1642711

thanks

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tce-load not working
« Reply #1 on: October 25, 2009, 09:52:25 AM »
Be sure you run these commands as user and not root.
10+ Years Contributing to Linux Open Source Projects.

Offline esj

  • Newbie
  • *
  • Posts: 4
Re: tce-load not working
« Reply #2 on: October 25, 2009, 10:52:40 PM »
oh dear.  That's not good.  The script runs as root or, more correctly, from the root account because of all the other options that normally run as root.  suggestions?

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: tce-load not working
« Reply #3 on: October 26, 2009, 12:28:30 AM »
you could try: sudo -u tc tce-load -w -i grub-0.97-splash.tcz