LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-29-2003, 01:11 PM   #1
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
Unhappy 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 ; )
 
Old 11-29-2003, 01:39 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 12-05-2003, 10:18 PM   #3
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
sigh... i do the fdisk thing and it said

bash: fdisk: command not found

also what is a ymmv?
 
Old 12-05-2003, 10:33 PM   #4
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
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.
 
Old 12-06-2003, 10:02 PM   #5
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
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
 
Old 12-07-2003, 12:13 AM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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?
 
Old 12-07-2003, 12:15 AM   #7
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
uh, yeah....sorry. Just got finished working in /etc/
 
Old 12-07-2003, 12:20 AM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 12-07-2003, 12:30 AM   #9
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
well, it is better than some of the mistakes we could type...
 
Old 12-07-2003, 12:46 AM   #10
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Like to remove a shell script subdirectory from root's home, type 'rm -rf /bin'? Oops - I mean, 'rm -rf bin'. Pesky slash.
 
Old 12-07-2003, 12:51 AM   #11
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
yeah. just like that! thank god for backups!
 
Old 12-08-2003, 03:28 PM   #12
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
yeah i installed windows before i installed redhat linux 9
 
Old 12-08-2003, 03:28 PM   #13
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
heh ^_^;

sorry guyz for the late reply i thought people didnt really seem interested in my post
 
Old 12-08-2003, 03:33 PM   #14
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
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
 
Old 12-08-2003, 03:51 PM   #15
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
forgot to partition marioV Debian 3 11-07-2005 05:14 PM
I installed linux and forgot to create a swap space partition Starch Linux - Newbie 5 06-22-2005 09:29 AM
forgot to make partition bootable nadroj Linux - Newbie 11 04-20-2005 11:17 PM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 09:56 AM
Mount the partition Hammad Linux - General 0 03-19-2003 05:11 AM


All times are GMT -5. The time now is 06:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration