WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: persistent partition??  (Read 2284 times)

Offline mb0

  • Jr. Member
  • **
  • Posts: 86
persistent partition??
« 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).

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: persistent partition??
« Reply #1 on: July 30, 2012, 10:19:10 PM »
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.

Offline mb0

  • Jr. Member
  • **
  • Posts: 86
Re: persistent partition??
« Reply #2 on: July 30, 2012, 10:23:20 PM »
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.
« Last Edit: July 30, 2012, 10:27:33 PM by mb0 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11515
Re: persistent partition??
« Reply #3 on: July 30, 2012, 10:29:51 PM »
Hi mb0
No, don't try to mount it again. If it's being mounted automatically, you got what you were looking for, right?

Offline mb0

  • Jr. Member
  • **
  • Posts: 86
Re: persistent partition??
« Reply #4 on: July 30, 2012, 11:01:56 PM »
@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).  >??
« Last Edit: July 30, 2012, 11:11:11 PM by mb0 »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: persistent partition??
« Reply #5 on: July 30, 2012, 11:46:37 PM »
You do NOT want to delete /boot.  That contains your loader.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11515
Re: persistent partition??
« Reply #6 on: July 31, 2012, 12:31:36 AM »
Hi mb0
At this point I can't tell whether your drive is mounted or not, so , do this:
Code: [Select]
mount /mnt/sda2If the drive is already mounted, you will see a message indicating that. If the drive was not mounted, you
will not see any messages.

Offline mb0

  • Jr. Member
  • **
  • Posts: 86
Re: persistent partition??
« Reply #7 on: July 31, 2012, 11:22:52 AM »
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