Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: mb0 on July 30, 2012, 10:12:54 PM
-
How can i make a partition persistent? It is only going to have media on it, no TC guts. I don't wish for it to act as home or opt, however (i read the wiki).
-
Just mount it.
Only partitions containing TC data will be left mounted at boot.
Others need to be mounted manually or by the /opt/bootlocal.sh script.
-
well it seems to be being mounted automatically? it always comes up as /mnt/sda2, without any intervention. So you are saying ignore this and mount it ('again') manually ?
e: ..yes, i think this is the case... /mnt/sda2 was just an illusion (placeholder) afaict now. Thanks.
-
Hi mb0
No, don't try to mount it again. If it's being mounted automatically, you got what you were looking for, right?
-
@rich; No, i was writing to /mnt/sda2.. but i'm guessing this was just a placeholder folder and nothing was actually mounted-- everything written disappeared on reboot.
now, i have a knock-on problem.. from trying to set boot options 'opt=sda2' and 'home=sda2' (which have since been un-set) i now have /boot, /home and /opt directories on /dev/sda2, and i can't delete them[e: just /boot i can't delete] (permission denied). >??
-
You do NOT want to delete /boot. That contains your loader.
-
Hi mb0
At this point I can't tell whether your drive is mounted or not, so , do this:
mount /mnt/sda2
If the drive is already mounted, you will see a message indicating that. If the drive was not mounted, you
will not see any messages.
-
rich, i've sorted the mounting issue thanks, it wasn't but now it is.
as for /boot, i have it on both sda1 (primary partition 1, which was initially set w/ boot flag) and sda2. It seems it was added when trying setting home/opt = sda2 boot flags