WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tce/tclocal not working from usb-why?  (Read 3163 times)

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
tce/tclocal not working from usb-why?
« on: May 26, 2009, 07:00:56 AM »
OK, trying to do a tclocal on my usb and everytime I boot I get chown errors and although everything seems to load correctly, no apps are usable after loading the Desktop.

TCE's seem to work and load right, except at the end of loading it says "chown /mnt/sda1/tce operation not permitted" This happens always.

here is the entry for both-

Code: [Select]
label tce-sav2sda1
menu default
menu label ^TCE-Sav2 SDA1
kernel /bzImage
append initrd=/tinycore.gz quiet restore=sda1 tce=sda1 waitusb=5

and

Code: [Select]
label tce-sav2sda1
menu default
menu label ^TCE-Sav2 SDA1
kernel /bzImage
append initrd=/tinycore.gz quiet restore=sda1 local=sda1 waitusb=5

I have rw over usb and changed all permissions to rw all before putting on usb, still issues...
Any help?

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tce/tclocal not working from usb-why?
« Reply #1 on: May 26, 2009, 07:18:16 AM »
The answer depends on how your formatted the pendrive.
You should use a flesystem that suupport *nix permissions.
Many Windows filesystems, e.g., DOS FAT, do not.
10+ Years Contributing to Linux Open Source Projects.

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
Re: tce/tclocal not working from usb-why?
« Reply #2 on: May 26, 2009, 10:04:59 AM »
 ;)
OK, it is FAT32, 4GB Kingston USB; The tclocal "file" and tce extensions work OK, so maybe when I did the
tclocal directory(folder) I did something wrong, as it's the only one that freaks out at boot.

Now, I'm gonna try it on my other USB with EXT3/grub.

I noticed that, as with MyDSL, the extensions seem to prefer being on the 2nd partition of the USB or a HD partition, as I don't get any problems if I put the backups/tce's there.

I think I'm gonna go with both the tclocal "file" and tce for FAT32 USB's.

This is for a new/improved "unofficial" TC-1.4.3 USB at my site multidistro.com
I basically made a hd and usb submenu system so you could choose to restore from different partitions without having to type it in at the boot line. For tce/tcz/and local.

Admin Roberts can you tell me; as I believe that TC always mounts a USB(1st partition), as sda1, no matter what the host pc recognizes it as?

My pc's see my usb as sdf1 on one and sdb1 on the other; but TC will always mount it on /mnt/sda1-yes?
This question is for the submenu system...Because TC sees every usb as sda1 then I only need 1 usb menu-not several menu's for sdb1/sdc1/sde1/sdf1/etc right? Or wrong?

So here's the USB submenu-

Code: [Select]
label -
menu label ^Back
kernel /boot/syslinux/menu.c32

label tce-sav2sda1
menu default
menu label ^TCE-Sav2 SDA1
kernel /boot/bzImage
append initrd=/boot/tinycore.gz quiet restore=sda1 tce=sda1 waitusb=5

label tce-sav2sda2
menu label TCE-Sav2 SDA2
kernel /boot/bzImage
append initrd=/boot/tinycore.gz quiet restore=sda2 tce=sda2 waitusb=5

label tce-sav2sda3
menu label TCE-Sav2 SDA3
kernel /boot/bzImage
append initrd=/boot/tinycore.gz quiet restore=sda3 tce=sda3 waitusb=5

label tce-sav2sda4
menu label TCE-Sav2 SDA4
kernel /boot/bzImage
append initrd=/boot/tinycore.gz quiet restore=sda4 tce=sda4 waitusb=5

If necessary I will make one for the others, but hopefully not needed....
Thanks for your time, I appreciate it.
B

« Last Edit: May 26, 2009, 10:06:36 AM by linus72 »

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tce/tclocal not working from usb-why?
« Reply #3 on: May 26, 2009, 10:27:21 AM »
The answer sometimes depends on which USB port it is plugged into, or BIOS settings, or possibly other devices. For a given specific pendrive it is best to use UUID or LABEL as discussed in the FAQ http://www.tinycorelinux.com/faq.html#pendrives
10+ Years Contributing to Linux Open Source Projects.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: tce/tclocal not working from usb-why?
« Reply #4 on: May 26, 2009, 10:53:02 AM »
OK, it is FAT32, 4GB Kingston USB; The tclocal "file" and tce extensions work OK, so maybe when I did the
tclocal directory(folder) I did something wrong, as it's the only one that freaks out at boot.

Now, I'm gonna try it on my other USB with EXT3/grub.

I noticed that, as with MyDSL, the extensions seem to prefer being on the 2nd partition of the USB or a HD partition, as I don't get any problems if I put the backups/tce's there.

I think I'm gonna go with both the tclocal "file" and tce for FAT32 USB's.

After about 4 years of using dsl and tc on usb sticks I've seen that many problems will disappear if you use ext2 (and I suppose ext3) and grub/extlinux rather than fat...

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
Re: tce/tclocal not working from usb-why?
« Reply #5 on: May 26, 2009, 02:35:57 PM »
Thank you both, and yes I've checked out the UUID stuff and am trying it.
Also, yes Juanito I too like using EXT2/3 on USB, but what happens when I stick that EXT2/3 USB into a Windows machine; will I be able to retrieve files, etc from/to USB?

Also; i haven't yet been successful with EXTLINUX, though not sure why-any advice?
I've read and did everything from the syslinux wiki.

Another thing is I think I should still do a FAT32 version as many Linux peeps like me multiboot various distro's off a single non-partitioned USB- I can't boot multiple distro's off a non-partitioned ext3 USB can I?

I mean I could if I used distro's that don't have a traditional install like TC/DSL....but others would need seperate partitions yes?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: tce/tclocal not working from usb-why?
« Reply #6 on: May 26, 2009, 08:12:59 PM »
Also, yes Juanito I too like using EXT2/3 on USB, but what happens when I stick that EXT2/3 USB into a Windows machine; will I be able to retrieve files, etc from/to USB?

See: http://www.fs-driver.org/