i forgot my win's partition to mount
I havent been on linux in a few months....
i forgot the name of the partition my windows is on i also need to mount the drive(once i find out which partition its on) if anyone can help me with finding which is the right partition and help with the ntfs file mounting i would be very grateful im also a newb so if ya got any tips feel free to tell ; ) |
This is local? You could 'fdisk -l' and look for an NTFS partition. As far as mounting, the defaults/auto gets it for me - 'mount /dev/hdb1 /mnt/hd', though ymmv. Maybe 'mount -t ntfs blah blah' if it does.
|
sigh... i do the fdisk thing and it said
bash: fdisk: command not found also what is a ymmv? |
run fdisk as root!
but first try cat /etc/fstab maybe you already have a line there if you use lilo, this may also give you a hint: cat /etc/lilo.conf if u use grub the file is usually /boot/grub/menu.lst, but partition names have different format. |
ok, did you have windows and then installed linux? if so, chances are that it is (under RH) /etc/hda1 or /etc/hda2
so mount /etc/hda1 /mnt/* where * is the folder you create to mout it on |
ezra - You mean /dev, not /etc. Unless RH is weirder than I thought. :) longinus - And I meant Your Mileage May Vary (ymmv).
And as far as mounting it, I was incorrect - true, as far I recall, I didn't have to do anything special as root just to view the contents of the partition with NTFS-support built into the kernel but to mount it as a normal user or if you don't have NTFS support or for various other things can be more complicated. But let's just find the thing first. :) Assuming you did have it recorded, ac1980's given some suggestions. Actually, if you did have it recorded and the mount point still exists, you'd just do 'mount /mnt/win' or whatever. So I assume you never actually had it configured or you've changed the arrangement? |
uh, yeah....sorry. Just got finished working in /etc/
|
I know the feeling - I noticed earlier that I told someone to use the '-t' option because I'm so used to using it to specify 'type' when '-F' was the option to specify FAT type for that particular tool. :)
|
well, it is better than some of the mistakes we could type...
|
Like to remove a shell script subdirectory from root's home, type 'rm -rf /bin'? Oops - I mean, 'rm -rf bin'. Pesky slash. :D
|
yeah. just like that! thank god for backups!
|
yeah i installed windows before i installed redhat linux 9
|
heh ^_^;
sorry guyz for the late reply i thought people didnt really seem interested in my post |
oh yes let me explain my drive setups
i have 2 phyisical drives one is 80 the other is 200 :) drool drool the 200 is partitioned into two virtual drives of 100's the first 100 is for windows and then the second part is for linux - oh yeah i also have no clue on how to do anything in linux except open up a internet browser and ask a whole lotta questions on my favorite resource, http://www.linuxquestions.org :) so dont be expecting me to know much about the command line stuff |
well, if you have your 200g setup as your second drive then you would mount /dev/hdb1 to a mount point in /mnt/ such as winxp
once you create a folder in /mnt named winxp from terminal you can 'mount /dev/hdb1 /mnt/winxp or if it is the first 'mount /dev/hda1 /mnt/winxp I dont need any switches in my setup, but if you cannot mount this way, check out ' man mount but, if i remember right, youll need to update your kernel via RPM from redhat for NTFS support. Also, to the best of my recollection, NTFS is not fully supported by the kernel as of yet. I would not recoomend writting to that drive under linux, open it read only. To transfer files from one to another, I would enable another partition formatted as fat 32 to share windows and linux files on. JMHO |
All times are GMT -5. The time now is 08:09 PM. |