LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-24-2008, 11:49 AM   #1
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Rep: Reputation: 15
Mount or Delete NTFS partition


In my multiboot system I have windows, linux and sxde 9/07. I have a ntfs partition in windows which I need to access from linux and solaris. No problem with linux, but can't mount it in solaris. Tried this solution , But no help !!! Anyone please help me...

One more question... If I want to delete that partition and create again in FAT 32, is it necessary to modify anything in linux / solaris except editing the /etc/fsab from linux ? (I edited this file to mount that partition during system startup )Does it affect anyway ???
 
Old 04-24-2008, 12:31 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by rithik_ghoshal View Post
Tried this solution , But no help !!!
What solution did you try and what problem had you with it ?
Quote:
One more question... If I want to delete that partition and create again in FAT 32, is it necessary to modify anything in linux / solaris except editing the /etc/fsab from linux ?
Edit /etc/vfstab in Solaris.
 
Old 04-24-2008, 09:51 PM   #3
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
Ohh I am so sorry... I forget to mention the solution.
anyway , I have tried a solution from :
http://blogs.sun.com/pradhap/entry/mounting_ntfs_partition_in_solaris .

But , it's giving me an error like:
cannot open disk image.
 
Old 04-25-2008, 02:03 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Try that one:
http://www.genunix.org/distributions....FSWfsmisc.txt
 
Old 04-27-2008, 11:28 AM   #5
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
It's giving me the same error ::

Quote:
Could not open the disk/image c1d0p3.
 
Old 04-27-2008, 11:39 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
What command are you running to get that message ?
 
Old 04-27-2008, 11:40 AM   #7
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
Code:
 mount -F ntfs c1d0p0 /mnt/windows
 
Old 04-27-2008, 11:41 AM   #8
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
extremely sorry :
the command was ...

Code:
mount -F ntfs c1d0p3 /mnt/windows
 
Old 04-27-2008, 11:46 AM   #9
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
this command
Code:
fdisk /dev/rdsk/c1d0p0
is giving me :



Total disk size is 14593 cylinders
Cylinder size is 16065 (512 byte) blocks

Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 IFS: NTFS 0 3186 3187 22
2 Active Solaris2 3187 7132 3946 27
3 IFS: NTFS 10320 14592 4273 29
4 EXT-DOS 7133 10319 3187 22


SELECT ONE OF THE FOLLOWING:
1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Change between Solaris and Solaris2 Partition IDs
5. Exit (update disk configuration and exit)
6. Cancel (exit without updating disk configuration)
Enter Selection:
 
Old 04-27-2008, 02:52 PM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by rithik_ghoshal View Post
Code:
mount -F ntfs c1d0p3 /mnt/windows
That should be something like:
Code:
mount -F ntfs -o ro /dev/dsk/c1d0p3 /mnt/windows
 
Old 04-27-2008, 10:50 PM   #11
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks a lot... that worked perfectly for me...
Presently , my /etc/vfstab looks like :

Quote:
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1d0s1 - - swap - no -
/dev/dsk/c1d0s0 /dev/rdsk/c1d0s0 / ufs 1 no -
/dev/dsk/c1d0s7 /dev/rdsk/c1d0s7 /export/home ufs 2 yes -
/dev/dsk/c1d0s4 /dev/rdsk/c1d0s4 /second_root ufs 2 yes -
/devices - /devices devfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
I want to add a line here to mount that partition during system startup. Should I add a line like :

Quote:
/dev/dsk/c1d0p3 - /mnt/windows ntfs - yes -
 
Old 04-27-2008, 10:58 PM   #12
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
One more question :

Is it possible anyway to mount an 'ext3' partition ??
 
Old 04-28-2008, 12:39 AM   #13
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I think the ro flag is mandatory:
Code:
/dev/dsk/c1d0p3 - /mnt/windows ntfs - yes ro
Yes, you can mount an ext3 filesystem read-only. Just use ext2fs as type.
 
Old 04-28-2008, 03:02 AM   #14
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
I am using sxde 9/07. I didn't mention the ro flag unknowingly but it worked !! Anyway , now I have added that flag in /etc/vfstab.

I am using this command to mount my linux partition ,
Quote:
mount -F ext2fs -o ro /dev/dsk/c1d0p4 /mnt/linux
but it is not working... also not producing any error message. when I pressed the return key after typing the command, nothing was happening... not even the # prompt was coming. I waited for few minutes , the (ctrl + c) to terminate the process. It results
Quote:
^C#
.
 
Old 04-28-2008, 05:00 AM   #15
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
c1d0p4 isn't an ext2/ext3fs partition but an extended one.

I don't know if the ext2fs driver is able to access extended partitions like the pcfs one do.

Last edited by jlliagre; 05-25-2008 at 10:59 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can i delete windows files from linux in ntfs partition sting1220 Linux - Newbie 1 12-23-2007 12:08 AM
How to delete the .trash folder on a NTFS partition Elzix Linux - Newbie 1 07-02-2007 10:43 AM
How can I mount a NTFS partition? LegendBreath Fedora 1 06-05-2005 11:02 AM
How to delete file on NTFS partition jalperin Linux - Newbie 1 08-27-2004 08:47 AM
Shrinking NTFS partition - can I delete mirror of MFT in the middle of the drive? hktonk Linux - Hardware 4 09-17-2003 05:01 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration