Dual Boot drive share with kubuntu/win2000
Hi everyone,
I tried posting this on the ubuntu board with litle success, then i discovered this newbies board so i think it'll be more suitable here. i'm new to the whole kubuntu/linux thing, so you're all going to have to be a little patient with me. i have a few issues/questions, but i'm going try and tackle them one by one, with your help hopefully. my first issue is as follows. I recently put a new hard drive in my computer that currently had win2000 installed. i left the existing hard drive as is and installed kubunutu on the new hard drive, with the intention on having them both run on a dual boot. This works fine. The only problem i'm having is that i'm unable to access the win2000 hard drive from kubuntu. the media folder only has my 2 cd/dvd drives and floppy. after reading around abit on these forums i figured out how to unhide hidden files and get into the dev folder. I don't have enough permission to read the hda, hda1, hdb, hdb2, hdb5 subfolders (i was sorta hoping my win2000 drive was hiding somewhere in there... any help would be appreciated :) |
Read up on the "fdisk" and "mount" commands.
fdisk -l will show you where your win2k partition is and you use this info with the mount command . You will have to be logged in as root or use the "sudo" command to use fdisk/ mount commands. |
Hard drives typically get mounted in /mnt and things like CDs, thumb drives, etc. in /media. These are conventions, not rules.
You don't access devices thru /dev, unless using low-level commands. Building on what was already posted, /etc/fstab gives you all the mounts that are pre-configured (whether mounted automatically or manually). /etc/mtab gives you what is actually mounted. Example: You want to mount /dev/hda1 to /mnt/windows If there is an fstab entry: mount /mnt/windows If not: mount /dev/hda1 /mnt/windows |
thanks guys. got me going on the right track. eventually figured out how to mount it.
the only problem now is that its not letting me access the /mnt/windows. i thought id try to change the permissions with chmod 755 windows, but i get the following error message: chmod: changing permissions of 'windows/': read-only file system also once i figure out how to mount it properly, will it automatically remount when i reboot my computer? |
First, I would activate the root account on Ubuntu so you don't have to use sudo all the time:
sudo passwd root enter user password enter new root password Now you can do "su" to become root. The windows drive might be mounted read-only--if so, you will not be able tuse chmod to change it. It will mount automatically at re-boot if the fstab entry is set correctly. "man fstab" for details |
OK, I'm moving here too. So you can access your Windows partition, right? But you probably want to write to it. However, as Windows 2000 is using NTFS as filesystem and until very recently there were no stable NTFS driver for Linux, it only had read support. I never installed it, so you will have trust this manual(it's named NTFS-3G).
To mount it permanently you will need correct entries in /etc/fstab (probably already the case) and then edit /etc/mtab. |
OK, I'm moving here too. So you can access your Windows partition, right? But you probably want to write to it. However, as Windows 2000 is using NTFS as filesystem and until very recently there were no stable NTFS driver for Linux, it only had read support. I never installed it, so you will have trust this manual(it's named NTFS-3G).
To mount it permanently you will need correct entries in /etc/fstab (probably already the case) and then edit /etc/mtab. |
For shared files, I now use ext2fsd (a Windows driver). Files are all on an EXT3 partition and are easily accessed from both Windows and Linux.
|
@pixellany
Thats just the other way around. It works fine by the way. |
ive been reading around for the past couple of hours,so i understand i may not be able to write to the windows drive.
that doesnt bother me too much for the time being, i want to at least be able to open it. as it stands i cant open it unless im logged in as root ive been trying mount -t ntfs -o uid=775, doesnt seem to make a difference though Code:
# /etc/fstab: static file system information. Code:
and i really gotta download firefox.. this konqueror is starting to get on my nerves.. |
Ok we can consider this problem solved everyone :), finally figured out how to set the right permissions.
If anyone comes across this while trying to figure it out themselves I came across a very helpful resource at http://www.linux-faqs.com/faq/misc/ntfs.php Now onto my next problem, sharing over the network :) http://www.linuxquestions.org/questi...d.php?t=532962 |
All times are GMT -5. The time now is 09:16 PM. |