LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   i forgot my win's partition to mount (https://www.linuxquestions.org/questions/linux-software-2/i-forgot-my-wins-partition-to-mount-121011/)

Longinus 11-29-2003 12:11 PM

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 ; )

slakmagik 11-29-2003 12:39 PM

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.

Longinus 12-05-2003 09:18 PM

sigh... i do the fdisk thing and it said

bash: fdisk: command not found

also what is a ymmv?

ac1980 12-05-2003 09:33 PM

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.

ezra143 12-06-2003 09:02 PM

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

slakmagik 12-06-2003 11:13 PM

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?

ezra143 12-06-2003 11:15 PM

uh, yeah....sorry. Just got finished working in /etc/

slakmagik 12-06-2003 11:20 PM

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. :)

ezra143 12-06-2003 11:30 PM

well, it is better than some of the mistakes we could type...

slakmagik 12-06-2003 11:46 PM

Like to remove a shell script subdirectory from root's home, type 'rm -rf /bin'? Oops - I mean, 'rm -rf bin'. Pesky slash. :D

ezra143 12-06-2003 11:51 PM

yeah. just like that! thank god for backups!

Longinus 12-08-2003 02:28 PM

yeah i installed windows before i installed redhat linux 9

Longinus 12-08-2003 02:28 PM

heh ^_^;

sorry guyz for the late reply i thought people didnt really seem interested in my post

Longinus 12-08-2003 02:33 PM

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

ezra143 12-08-2003 02:51 PM

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.