Re: How to auto-mount a ntfs partition on a TazUSB Slitaz?

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Thanks Allan!
I had not found the init.d folder, but now realized that she was invisible.
I had to include a line to create a folder in / media before mounting.
It worked perfectly!

Rodrigo Boechat

2010/2/19 Allan Pinto <allan316@xxxxxxxxx>:
> hi,
> what i have done is, create  a file mount.sh in /etc/init.d , chmod +x
> it, and add it in /etc/rcS.conf in the run_scripts="" section , this
> will make it run everytime you start the pc/laptop.
> also i made  a directory called windows in the /media folder.
>
> contents of mount.sh is
>
> #!/bin/sh
> ntfs-3g /dev/sda2 /media/windows
> # add here any other partition you want to mount,
> On Fri, Feb 19, 2010 at 1:24 AM, Rodrigo Tenorio
> <rodrigo.boechat.tenorio@xxxxxxxxx> wrote:
>> Hello,
>>
>> I'm using Slitaz [TazUSB] in a hd/usb, partitioned as follows:
>>
>> Sdb1 - EXT3
>> Sdb2 - NTFS
>> Sdb3 - SWAP
>>
>> I tried to make the partition sdb2 be mounted automatically at /mnt/sdb2 folder.
>> But I had no success editing the fstab file.
>> And after much thought, I remembered that if the computer does not have an
>> SataHD, probably my external drive would be recognised as SDA.
>> Then I realised that perhaps a script was needed.
>>
>> So please, someone help me with the script? Or someone could tell me how to do?
>> And where I put the script to run automatically? I did not find the
>> /etc/init.d folder.
>>
>> Thanks,
>> Rodrigo Boechat
>>
>> ---
>> SliTaz GNU/Linux Mailing list - http://www.slitaz.org/
>>
>>
>
>
>
> --
> Thanx and regd's.
>
> Allan.
> http://www.in2dwok.com
>
> ---
> SliTaz GNU/Linux Mailing list - http://www.slitaz.org/
>
>

---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/