You are not logged in.
Pages: 1
Quick question, .. Is there any way that I can auto mount sda2 on boot?
I run Slitaz 5 on sda1 and have a second partition running Android-x86 on sda2.
The idea is basically so I can have bookmarks in PCManFM without having to mount the sda2 drive each time to use the bookmarks.
I have tried editing the fstab, but admit I am not very familiar with the syntax there.
Any help with this would be really appreciated
Offline
Hello,
Not really familiar with [c]fstab[/c] too.
You could create a dir (says [c]android[/c]) in [c]/media[/c] or wherever you want and add the line
/dev/sda2 /media/android ext3 defaults 0 2
in [c]fstab[/c]
(supposes that your Android-x86 partition is ext3 formated)
Better to replace [c]/dev/sda2[/c] with [c]UUID=uuid-of-your-android-part[/c].
You could also mount the partition from the [c]/etc/init.d/local.sh[/c] adding a line
[c]mount /dev/sda2 /where/you/want[/c]
Offline
Hello Ceel,
Thank you very, very much for your reply and help with this.
In short, the local.sh method worked perfectly.
Editing the fstab .. I guess I was doing it 'right' though I appreciate seeing your line so I could double check. The issue still remained though. The partition would not be usable until I actually manually went to that partition in the file manager.. then all the bookmarks would become 'active' and the partition would display in the directory and named as given in the fstab.
By using local.sh, it all just works right away on boot, so thank you very much for your help on this (Who knows how long I might have been still trying to figure the fstab)
Offline
Pages: 1
[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]