Re: How to auto-mount a ntfs partition on a TazUSB Slitaz? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: Re: How to auto-mount a ntfs partition on a TazUSB Slitaz?
- From: Rodrigo Tenorio <rodrigo.boechat.tenorio@xxxxxxxxx>
- Date: Sat, 20 Feb 2010 15:12:29 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=N58HCIAbGb0Y1Iilqw1hCY8eS2uvwkcoGdFPEpjQgZ8=; b=uRrngu8YhMjck+72jVEzM4d879LkkPZB2qQnEINMfDIOqR2uFNWNRDaIUGr/IEVESF aLoBLVaRZIP/z1qzxqgkJn8RAn+saYmXbguuQVhYNiWf3Vh2qb9YkjxXzXNgoXxGj//5 5T1iJi73EpwUUvvPdV5S/6uN7vSdzpvzgNEVs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=e8yCZxd8Xz3hdRU7DqcXAuhB4rFFSLuIKQr1A72K59OkRb/oAN9OUh973b/41AjdGh raNsDhQ2GRIWjo0e+2DQn0DJ7syWGY6qDXF+CckUxdLCGIti/J/A6Q5VwFpe7KDbS8c8 vrKpH5e9+vxOkAXlOY+eFplK9kX373vG14jGg=
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/