From: <sle...@st...> - 2004-03-01 14:07:23
|
Hi all I've just installed coLinux with the debian-image. I recompiled the kernel with ntfs-support, and am trying to mount one of my ntfs-drives in coLinux. Is this possible? I've tried my best according to the documentation I've been able to find. I've tried <block_device index="1" path="\Device\HarddiskVolume1" enabled="true"></block_device> in default.colinux.xml, and then tried to mount the ntfs-drive in linux as usual. Then I get the message "mount: /dev/cobd1: can't read superblock". I also tried different HarddiskVolume-numbers, but they seem to give the same result. Can anyone please guide me in the right direction? --Erlend |
From: Alejandro R. S. <asedeno@MIT.EDU> - 2004-03-01 14:32:16
|
You won't be able to mount the file system that way. Something doesn't let you mount the filesystem twice. Not sure if it's windows, linux, or both, but it's generally a good idea. I got the same results trying to mount my Compact Flash card in Linux if I had anything trying to touch it in Windows (command promot, explorer window, etc...), and Windows told me the device was busy if I tried to use it while coLinux had it mounted. For now, I believe your best bet to get at the ntfs system is Samba. -Alejandro On Mon, 2004-03-01 at 08:55, Erlend Slettevoll wrote: > Hi all > > I've just installed coLinux with the debian-image. I recompiled the kernel with ntfs-support, and am trying to mount one of my ntfs-drives in coLinux. Is this possible? > > I've tried my best according to the documentation I've been able to find. I've tried <block_device index="1" path="\Device\HarddiskVolume1" enabled="true"></block_device> in default.colinux.xml, and then tried to mount the ntfs-drive in linux as usual. Then I get the message "mount: /dev/cobd1: can't read superblock". I also tried different HarddiskVolume-numbers, but they seem to give the same result. Can anyone please guide me in the right direction? > > --Erlend > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel > |
From: Sean B. <sea...@so...> - 2004-03-01 15:09:46
|
This is another message warning you against that. You may possibly be able to get concurrent read access to the drive but writing to the drive will corrupt your file system. There would certainlybe weird results reading the drive over time when the partition is updated for the drive from Windows. Also consider that ntfs support in Linux is and probably always will be expermental code. I would go with samba too but try checking this out: http://winscp.sourceforge.net/ ----- Original Message ----- From: "Alejandro R. Sedeno" <asedeno@MIT.EDU> To: "Erlend Slettevoll" <sle...@st...> Cc: <col...@li...> Sent: Monday, March 01, 2004 2:19 PM Subject: Re: [coLinux-devel] mounting ntfs | You won't be able to mount the file system that way. Something doesn't | let you mount the filesystem twice. Not sure if it's windows, linux, or | both, but it's generally a good idea. I got the same results trying to | mount my Compact Flash card in Linux if I had anything trying to touch | it in Windows (command promot, explorer window, etc...), and Windows | told me the device was busy if I tried to use it while coLinux had it | mounted. For now, I believe your best bet to get at the ntfs system is | Samba. | | -Alejandro | | On Mon, 2004-03-01 at 08:55, Erlend Slettevoll wrote: | > Hi all | > | > I've just installed coLinux with the debian-image. I recompiled the kernel with ntfs-support, and am trying to mount one of my ntfs-drives in coLinux. Is this possible? | > | > I've tried my best according to the documentation I've been able to find. I've tried <block_device index="1" path="\Device\HarddiskVolume1" enabled="true"></block_device> in default.colinux.xml, and then tried to mount the ntfs-drive in linux as usual. Then I get the message "mount: /dev/cobd1: can't read superblock". I also tried different HarddiskVolume-numbers, but they seem to give the same result. Can anyone please guide me in the right direction? | > | > --Erlend | > | > | > ------------------------------------------------------- | > SF.Net is sponsored by: Speed Start Your Linux Apps Now. | > Build and deploy apps & Web services for Linux with | > a free DVD software kit from IBM. Click Now! | > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click | > _______________________________________________ | > coLinux-devel mailing list | > coL...@li... | > https://lists.sourceforge.net/lists/listinfo/colinux-devel | > | | | | ------------------------------------------------------- | SF.Net is sponsored by: Speed Start Your Linux Apps Now. | Build and deploy apps & Web services for Linux with | a free DVD software kit from IBM. Click Now! | http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click | _______________________________________________ | coLinux-devel mailing list | coL...@li... | https://lists.sourceforge.net/lists/listinfo/colinux-devel |
From: Erlend S. <sle...@st...> - 2004-03-01 16:04:30
|
> This is another message warning you against that. You may possibly > be able to get concurrent read access to the drive but writing to the > drive will corrupt your file system. There would certainlybe weird > results reading the drive over time when the partition is updated for the > drive from Windows. Also consider that ntfs support in Linux is and > probably always will be expermental code. I would go with samba too > but try checking this out: http://winscp.sourceforge.net/ I am aware of the state of the ntfs-support in the linux kernel. I understand samba or ssh will be a safer way to transfer data between the systems, but I was curious how the mounting of RAW-devices is in coLinux. This could be useful for example to access CD/DVD-readers or -writers. --Erlend |
From: keksov <ke...@gm...> - 2004-03-02 00:46:22
|
Hello, I was able to access my Linux partition on second HDD with the following line: <block_device index="1" path="\DEVICE\Harddisk1\Partition3" enabled="true"/> Try to use \Device\Ide\IdePort0 for atapi... Unfortunately, it looks like default coLinux kernel has no supoort for iso9660. Dim Monday, March 1, 2004, 4:52:14 PM, you wrote: >> This is another message warning you against that. You may possibly >> be able to get concurrent read access to the drive but writing to the >> drive will corrupt your file system. There would certainlybe weird >> results reading the drive over time when the partition is updated for the >> drive from Windows. Also consider that ntfs support in Linux is and >> probably always will be expermental code. I would go with samba too >> but try checking this out: http://winscp.sourceforge.net/ ES> I am aware of the state of the ntfs-support in the linux kernel. I ES> understand samba or ssh will be a safer way to transfer data between the ES> systems, but I was curious how the mounting of RAW-devices is in coLinux. ES> This could be useful for example to access CD/DVD-readers or -writers. ES> --Erlend ES> ------------------------------------------------------- ES> SF.Net is sponsored by: Speed Start Your Linux Apps Now. ES> Build and deploy apps & Web services for Linux with ES> a free DVD software kit from IBM. Click Now! ES> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ES> _______________________________________________ ES> coLinux-devel mailing list ES> coL...@li... ES> https://lists.sourceforge.net/lists/listinfo/colinux-devel |
From: Erlend S. <sle...@st...> - 2004-03-02 13:12:05
|
> Hello, > > I was able to access my Linux partition on second HDD with the following line: > <block_device index="1" path="\DEVICE\Harddisk1\Partition3" enabled="true"/> > > Try to use \Device\Ide\IdePort0 for atapi... Unfortunately, it looks like > default coLinux kernel has no supoort for iso9660. > > Dim Thanks! That was exactly the info I was looking for. I'll check it out when I get home. I've already compiled a new kernel with support for more filesystems, so iso9660-support won't be a problem --Erlend |
From: keksov <ke...@gm...> - 2004-03-02 13:33:49
|
Just let us know about your results. Thank you, Dim Tuesday, March 2, 2004, 1:59:17 PM, you wrote: >> Hello, >> >> I was able to access my Linux partition on second HDD with the following line: >> <block_device index="1" path="\DEVICE\Harddisk1\Partition3" enabled="true"/> >> >> Try to use \Device\Ide\IdePort0 for atapi... Unfortunately, it looks like >> default coLinux kernel has no supoort for iso9660. >> >> Dim ES> Thanks! That was exactly the info I was looking for. I'll check it out ES> when I get home. I've already compiled a new kernel with support for more ES> filesystems, so iso9660-support won't be a problem ES> --Erlend ES> ------------------------------------------------------- ES> SF.Net is sponsored by: Speed Start Your Linux Apps Now. ES> Build and deploy apps & Web services for Linux with ES> a free DVD software kit from IBM. Click Now! ES> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ES> _______________________________________________ ES> coLinux-devel mailing list ES> coL...@li... ES> https://lists.sourceforge.net/lists/listinfo/colinux-devel |
From: Sean B. <sea...@so...> - 2004-03-02 14:45:59
|
With iso9660 support I can mount a cdrom using a path through \DosDevices\<drive letter> This is not raw access AFAIK Windows has lots of keys to access the same value with lots of redundancy in the registry. AFAIK the raw way to a cdrom is accessed through: \Device\Cdrom<x> When I try to mount a cdrom through that device my system just reboots. I think this is to expected because NT does not let software access hardware directly (at least it did not used too, ie HAL). ----- Original Message ----- From: "keksov" <ke...@gm...> To: "Erlend Slettevoll" <sle...@st...> Cc: <col...@li...> Sent: Tuesday, March 02, 2004 1:20 PM Subject: Re[3]: [coLinux-devel] mounting ntfs | Just let us know about your results. | | Thank you, | Dim | | | | Tuesday, March 2, 2004, 1:59:17 PM, you wrote: | | >> Hello, | >> | >> I was able to access my Linux partition on second HDD with the following line: | >> <block_device index="1" path="\DEVICE\Harddisk1\Partition3" enabled="true"/> | >> | >> Try to use \Device\Ide\IdePort0 for atapi... Unfortunately, it looks like | >> default coLinux kernel has no supoort for iso9660. | >> | >> Dim | | ES> Thanks! That was exactly the info I was looking for. I'll check it out | ES> when I get home. I've already compiled a new kernel with support for more | ES> filesystems, so iso9660-support won't be a problem | | ES> --Erlend | | | ES> ------------------------------------------------------- | ES> SF.Net is sponsored by: Speed Start Your Linux Apps Now. | ES> Build and deploy apps & Web services for Linux with | ES> a free DVD software kit from IBM. Click Now! | ES> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click | ES> _______________________________________________ | ES> coLinux-devel mailing list | ES> coL...@li... | ES> https://lists.sourceforge.net/lists/listinfo/colinux-devel | | | | ------------------------------------------------------- | SF.Net is sponsored by: Speed Start Your Linux Apps Now. | Build and deploy apps & Web services for Linux with | a free DVD software kit from IBM. Click Now! | http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click | _______________________________________________ | coLinux-devel mailing list | coL...@li... | https://lists.sourceforge.net/lists/listinfo/colinux-devel |
From: Clemmitt M. S. <sig...@bl...> - 2004-03-02 15:00:51
|
On Tue, 2 Mar 2004, Sean Brook wrote: > With iso9660 support I can mount a cdrom using a path through > \DosDevices\<drive letter> > This is not raw access AFAIK. Windows has lots of keys to access the > same value with lots of redundancy in the registry. > AFAIK the raw way to a cdrom is accessed through: > \Device\Cdrom<x> I haven't had time to get elbow-deep in the source yet, so I don't understand this. However, it would be a *big* help if someone who groks the XML config format could post a few sentences here or in the Wiki. The biggest need I see is explaining access to raw hard disk partitions, CD-ROM and other IDE devices, and similar. Is it path="\Device\HarddiskVolumeX", or is it path="\Device\HarddiskVolumeX\PartitionY", or what? A great place to post this would be: http://www.colinux.org/wiki/index.php/index.php/coLinuxFAQ#A3 http://www.colinux.org/wiki/index.php/index.php/ConfigurationXMLFormat Thanks in advance :^D Clemmitt |
From: Sean B. <sea...@so...> - 2004-03-02 15:24:58
|
----- Original Message ----- From: "Clemmitt M. Sigler" <sig...@bl...> To: "Sean Brook" <sea...@so...> Cc: "keksov" <ke...@gm...>; "Erlend Slettevoll" <sle...@st...>; <col...@li...> Sent: Tuesday, March 02, 2004 2:47 PM Subject: Re: [coLinux-devel] mounting cdrom | On Tue, 2 Mar 2004, Sean Brook wrote: | > With iso9660 support I can mount a cdrom using a path through | > \DosDevices\<drive letter> | > This is not raw access AFAIK. Windows has lots of keys to access the | > same value with lots of redundancy in the registry. | > AFAIK the raw way to a cdrom is accessed through: | > \Device\Cdrom<x> | | I haven't had time to get elbow-deep in the source yet, so I don't | understand this. However, it would be a *big* help if someone who | groks the XML config format could post a few sentences here or in | the Wiki. The biggest need I see is explaining access to raw hard | disk partitions, CD-ROM and other IDE devices, and similar. Is | it path="\Device\HarddiskVolumeX", or is it | path="\Device\HarddiskVolumeX\PartitionY", or what? The value in 'path' is not a coLinux thing. It is a Windows thing. Also: | > Windows has lots of keys to access the | > same value with lots of redundancy in the registry. Whole branches of redundancy in fact. | | A great place to post this would be: | | http://www.colinux.org/wiki/index.php/index.php/coLinuxFAQ#A3 | http://www.colinux.org/wiki/index.php/index.php/ConfigurationXMLFormat I agree. Though I think first we just started posting back here what works and what doesnt. There is already incorrect information in the wiki ;) | | Thanks in advance :^D | | Clemmitt | | | | ------------------------------------------------------- | SF.Net is sponsored by: Speed Start Your Linux Apps Now. | Build and deploy apps & Web services for Linux with | a free DVD software kit from IBM. Click Now! | http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click | _______________________________________________ | coLinux-devel mailing list | coL...@li... | https://lists.sourceforge.net/lists/listinfo/colinux-devel |
From: Clemmitt M. S. <sig...@bl...> - 2004-03-02 15:30:06
|
Hi, On Tue, 2 Mar 2004, Sean Brook wrote: > | Is it path="\Device\HarddiskVolumeX", or is it > | path="\Device\HarddiskVolumeX\PartitionY", or what? > The value in 'path' is not a coLinux thing. It is a Windows thing. Oh, dear me. My bad! I'll google for some info and try to fix anything I got wrong. > I agree. Though I think first we just started posting back here what > works and what doesnt. There is already incorrect information in > the wiki ;) Well, this is just my opinion, but I think we should edit the Wiki to correct misinformation. If I wrote anything wrong (I've tried not to, but I am well known to mess up ;^) I certain hope someone would correct it. And I'd hope anyone who wrote something inaccurate wouldn't mind having the record set straight. Please let me know where the incorrect info is and, if I can, I'll correct it. Thanks :^) Clemmitt |
From: keksov <ke...@gm...> - 2004-03-02 22:26:57
|
CMS> disk partitions, CD-ROM and other IDE devices, and similar. Is CMS> it path="\Device\HarddiskVolumeX", or is it CMS> path="\Device\HarddiskVolumeX\PartitionY", or what? Just my two cents, it works fine for me: I have two HHDs in my PC, both are on first IDE controller, Master disk is for WIndows XP, Slave disk is for Linux. Well, to access RAW partitions from second disk I use the following line in XML config file: <block_device index="6" path="\DEVICE\Harddisk2\Partition1" enabled="true"/> |
From: Erlend S. <sle...@st...> - 2004-03-02 15:50:51
|
> With iso9660 support I can mount a cdrom using a path through > \DosDevices\<drive letter> > This is not raw access AFAIK > Windows has lots of keys to access the same value with lots of > redundancy in the registry. > AFAIK the raw way to a cdrom is accessed through: > \Device\Cdrom<x> > When I try to mount a cdrom through that device my system > just reboots. I think this is to expected because NT does not > let software access hardware directly (at least it did not used > too, ie HAL). Ok... I'm back with a little update. I'm now able to mount raw cdrom-devices using \Device\Cdrom<x>. I had some problems with my DVD-drive at first, but when I turned off autoplay (http://www.microsoft.com/windowsxp/expertzone/tips/february/knox1.asp), everything goes smooth. I'm unable to mount if the drive is accessed by explorer or any other program, and the drive is inaccessable from XP when mounted in linux (no surprises here). You claim it's possible to mount devices in a non-raw way using \DosDevices\<drive letter>, but I've not been able to do this. If it's then mounted through some windows-driver, shouldn't it be able to access drives already mounted by XP in that way too (both harddisks and cdroms)? --Erlend |
From: Sean B. <sea...@so...> - 2004-03-02 16:05:28
|
----- Original Message ----- From: "Erlend Slettevoll" <sle...@st...> To: "Sean Brook" <sea...@so...> Cc: "keksov" <ke...@gm...>; <col...@li...> Sent: Tuesday, March 02, 2004 3:38 PM Subject: [coLinux-devel] Re: mounting cdrom | > With iso9660 support I can mount a cdrom using a path through | > \DosDevices\<drive letter> | > This is not raw access AFAIK | > Windows has lots of keys to access the same value with lots of | > redundancy in the registry. | > AFAIK the raw way to a cdrom is accessed through: | > \Device\Cdrom<x> | > When I try to mount a cdrom through that device my system | > just reboots. I think this is to expected because NT does not | > let software access hardware directly (at least it did not used | > too, ie HAL). | | Ok... I'm back with a little update. I'm now able to mount raw | cdrom-devices using \Device\Cdrom<x>. I had some problems with my | DVD-drive at first, but when I turned off autoplay I would prefer if my system allowed me access to \Device\Cdrom<x> but again, it reboots. I have autoplay off btw | (http://www.microsoft.com/windowsxp/expertzone/tips/february/knox1.asp), | everything goes smooth. I'm unable to mount if the drive is accessed by | explorer or any other program, and the drive is inaccessable from XP when | mounted in linux (no surprises here). | | You claim it's possible to mount devices in a non-raw way using | \DosDevices\<drive letter>, but I've not been able to do this. This is the only way I can do it. I think that it is interesting that our experience is the complete opposite. Again, AFAIK this is not raw access. If it's | then mounted through some windows-driver, shouldn't it be able to access | drives already mounted by XP in that way too (both harddisks and cdroms)? Exactly. Though I personally wont be doing that on a hard disk. | | --Erlend | | | ------------------------------------------------------- | SF.Net is sponsored by: Speed Start Your Linux Apps Now. | Build and deploy apps & Web services for Linux with | a free DVD software kit from IBM. Click Now! | http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click | _______________________________________________ | coLinux-devel mailing list | coL...@li... | https://lists.sourceforge.net/lists/listinfo/colinux-devel |
From: Sean B. <sea...@so...> - 2004-03-02 16:10:08
|
| | You claim it's possible to mount devices in a non-raw way using | | \DosDevices\<drive letter>, but I've not been able to do this. Forgot to mention to take a look at HKLM\SYSTEM\MountedDevices |
From: Erlend S. <sle...@st...> - 2004-03-02 16:14:43
|
> | You claim it's possible to mount devices in a non-raw way using > | \DosDevices\<drive letter>, but I've not been able to do this. > This is the only way I can do it. I think that it is interesting that our > experience is the complete opposite. Again, AFAIK this is not raw > access. Ok. And you are then able to access the drive from both XP and linux at the same time? Anyone else had experiences with mounting non-raw devices? > If it's > | then mounted through some windows-driver, shouldn't it be able to access > | drives already mounted by XP in that way too (both harddisks and cdroms)? > Exactly. Though I personally wont be doing that on a hard disk. If windows is managing the reading/writing to the disk, this shouldn't be a problem, should it? Anyway, I'm just experimenting on a non-important drive. --Erlend |
From: Sean B. <sea...@so...> - 2004-03-02 16:56:07
|
----- Original Message ----- From: "Erlend Slettevoll" <sle...@st...> To: "Sean Brook" <sea...@so...> Cc: "keksov" <ke...@gm...>; <col...@li...> Sent: Tuesday, March 02, 2004 4:01 PM Subject: Re: [coLinux-devel] Re: mounting cdrom | > | You claim it's possible to mount devices in a non-raw way using | > | \DosDevices\<drive letter>, but I've not been able to do this. | > This is the only way I can do it. I think that it is interesting that our | > experience is the complete opposite. Again, AFAIK this is not raw | > access. | | Ok. And you are then able to access the drive from both XP and linux at | the same time? No I cannot. | | Anyone else had experiences with mounting non-raw devices? | | > If it's | > | then mounted through some windows-driver, shouldn't it be able to access | > | drives already mounted by XP in that way too (both harddisks and cdroms)? | > Exactly. Though I personally wont be doing that on a hard disk. | | If windows is managing the reading/writing to the disk, this shouldn't be | a problem, should it? Anyway, I'm just experimenting on a non-important | drive. I think that is a big 'should'. It is Windows after all. Personally I do not think that it works exactly like that. ie. it is not as concrete as raw and not raw as in Linux IMO. I hope that I am proved wrong and you can tell me how you get on ;) | | --Erlend | | | ------------------------------------------------------- | SF.Net is sponsored by: Speed Start Your Linux Apps Now. | Build and deploy apps & Web services for Linux with | a free DVD software kit from IBM. Click Now! | http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click | _______________________________________________ | coLinux-devel mailing list | coL...@li... | https://lists.sourceforge.net/lists/listinfo/colinux-devel |