Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: crazy_jay on January 30, 2012, 01:47:15 AM
-
Hi,
I'm very new to TinyCore. I'm using Ubuntu and want to try TC. So I installed TC to my existing Linux partition and add to grub boot loader :
linux /tce/boot/vmlinuz rw quite tce=sdb2 opt=sdb2 home=sdb6
where sdb2 is my ubuntu root partition and sdb6 my ubuntu home.
But the opt folder will be delete everytime I reboot. So I have to backup to get my configs persistent. What am I doing wrong?
Many thanks!
-
Opt will not be deleted every time you boot.
-
Hi crazy_jay
You might want to mention which version of Tinycore you installed. You should be more specific
about the symptoms. Let me help you:
After I reboot
A. There is no /opt directory on my system.
B. My /opt directory is empty.
C. My /opt directory only contains the stock Tinycore files.
Please select the answer that best describes your problem, or elaborate using your own words.
I don't know if it is wise to map Tinycore directories to another Linux system. Possible permission
problems come to mind. For /home, user startup scripts may be incompatible.
-
Sorry, by "opt will be deleted" I mean the configurations ( bootlocal.sh) I saved in there during my session will be lost.
For example I configure my eth0 and saved. But every time I reboot, I have to do it again. The opt directory only contains the stock TC files. I'm using TinyCore Plus 4.2.1.
In the installation it says :
"If you already have a Linux System booting, then you do not need to make a partition for Tiny Core! Tiny Core can run in a single directory in your existing Linux installation."
So I guess it should not be a problem
-
Sounds to me like your sdb is not being found.
Add boot code "waitusb=5".
-
But I don't want to boot from usb. TinyCore is already running from my sdb2. sdb6 also exists! I only have problem with the opt directory and don't know why
-
When you use the opt= boot code, you must remove opt from .filetool.lst or restore may overwrite your files.
-
If not a usb then shouldn't the path be sda1 etc then?
-
Hi crazy_jay
"If you already have a Linux System booting, then you do not need to make a partition for Tiny Core! Tiny Core can run in a single directory in your existing Linux installation."
That refers to having a /tce directory for storing extensions and your backup file. The key phrase
there was "single directory". It says nothing about using a persistent /opt or /home in an existing
Linux installation. If you want to do that, I'd recommend you put those in their own partition.
coreplayer2: Not necessarily. If he has two internal drives, they could be mapped as sda and sdb.
-
If neither of the two "classical" issues mentioned in reply #4 and #6 are helping to resolve this, maybe it's time to share with us the output of: mount | grep /dev/sd
-
The output for mount | grep /dev/sd is
/dev/sdb6 on /mnt/sdb6 type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb6 on /home type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb2 on /mnt/sdb2 type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb2 on /opt type ext4 (rw,relatime,barrier=1,data=ordered)
I remove the line opt from .filetools and change my bootlocal.sh a little bit. then I remove my backup so it wouldn't restore. So the solution from gerald_clark works!
But my Xorg configuration is lost. Do I have to use bootcode for etc too ?
Or I just could move the TC directories to a new partition and let see if this problem is solved automatically.
Thanks you guys so much !!!
-
Do not forget to also remove home from .filetool.lst, as it is now on sdb6.
You need to add etc/X11/xorg.conf to .filetool.lst and do a backup.