WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Mount Windows file system on Microcore is read only!  (Read 8923 times)

Offline monday66

  • Newbie
  • *
  • Posts: 19
[SOLVED] Mount Windows file system on Microcore is read only!
« on: August 16, 2013, 02:36:13 PM »
Hi there!!
Before you ask, yes, i searched about this already and so far i didn't find any solution.
So i'm asking it here.

I'm booting a computer with micro core on my USB and i want to access and modify the windows system.
I'm running as root these commands:
Code: [Select]
cd /mnt
mkdir windows
mount -t ntfs /dev/sda1 /mnt/windows -o "umask=000"

The windows system mounts successfully but it's READ-ONLY always!
with the umask=000 i should had read write and execute!

What should i do? I read somewhere that i must install a program called "ntfs-3g" which mounts it with write access.
But i recently learned about remastering micro core and i don't know how to repackage microcore with ntfs-3g. (don't bother pointing me to tutorials here, i have already tried them without success)

I'm not new to Linux, and i want to know why the program "mount" mounts always with read-only access.
In all the others distributions i have used the program "mount" mounts successfully with full privileges.

Thanks for your time.
« Last Edit: August 17, 2013, 07:46:47 AM by monday66 »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Mount Windows file system on Microcore is read only!
« Reply #1 on: August 16, 2013, 02:43:52 PM »
Yes, you need to install ntfs-3g.
Since you refuse to be referred to our tutorials, you will have to figure it out yourself.

Offline monday66

  • Newbie
  • *
  • Posts: 19
Re: Mount Windows file system on Microcore is read only!
« Reply #2 on: August 16, 2013, 04:38:02 PM »
Yeah but why is it like this only in this distro while all the others can mount with write access?

Is the ntfs-3g the only option?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Mount Windows file system on Microcore is read only!
« Reply #3 on: August 16, 2013, 04:47:54 PM »
Core is not your normal distro.  It is a toolkit.
You have to be willing to read the online documentation.
Since you are booting from a USB drive, you can have ntfs-3g load "onboot".
Then you can mount your windows hard drive in /opt/bootlocal.sh.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Mount Windows file system on Microcore is read only!
« Reply #4 on: August 17, 2013, 04:41:52 AM »
Quote
Yeah but why is it like this only in this distro while all the others can mount with write access?

Is the ntfs-3g the only option?

The other distros commonly include ntfs-3g.
The only barriers that can stop you are the ones you create yourself.

Offline monday66

  • Newbie
  • *
  • Posts: 19
Re: Mount Windows file system on Microcore is read only!
« Reply #5 on: August 17, 2013, 05:33:08 AM »
Since you are booting from a USB drive, you can have ntfs-3g load "onboot".

Ok, how can i do this?

Because i'm doing a remastering of mc i want to install ntfs-3g in the mc (core.gz extracted) while mc isn't running.
This is were i get stuck.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Mount Windows file system on Microcore is read only!
« Reply #6 on: August 17, 2013, 07:41:40 AM »
Search wiki for "remaster".
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline monday66

  • Newbie
  • *
  • Posts: 19
Re: Mount Windows file system on Microcore is read only!
« Reply #7 on: August 17, 2013, 07:46:01 AM »
Haha!! Ok guys! I got it working with my own way!
I downloaded ntfs-3g.tcz separately and copied it to /tmp/tce/optional/

then i edited the /opt/bootsync.sh
and added this line:
Code: [Select]
su tc -c "tce-load -i ntfs-3g.tcz"

which loads ntfs-3g at boot time,
now i successfully mount windows filesystems with write access :-)
« Last Edit: August 17, 2013, 07:48:35 AM by monday66 »