Tiny Core Extensions > TCE Q&A Forum
tce/tclocal not working from usb-why?
linus72:
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: ---label tce-sav2sda1
menu default
menu label ^TCE-Sav2 SDA1
kernel /bzImage
append initrd=/tinycore.gz quiet restore=sda1 tce=sda1 waitusb=5
--- End code ---
and
--- Code: ---label tce-sav2sda1
menu default
menu label ^TCE-Sav2 SDA1
kernel /bzImage
append initrd=/tinycore.gz quiet restore=sda1 local=sda1 waitusb=5
--- End code ---
I have rw over usb and changed all permissions to rw all before putting on usb, still issues...
Any help?
roberts:
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.
linus72:
;)
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: ---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
--- End code ---
If necessary I will make one for the others, but hopefully not needed....
Thanks for your time, I appreciate it.
B
roberts:
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
Juanito:
--- Quote from: linus72 on May 26, 2009, 01:04:59 PM ---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.
--- End quote ---
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...
Navigation
[0] Message Index
[#] Next page
Go to full version