LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 09-07-2004, 06:19 PM   #1
craigers
LQ Newbie
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20

Rep: Reputation: 0
cannot get windows partition anymore...


when i go to file:/mnt/windows there is nothing in the folder any more...
i had to take the windows hard drive out and when i put it back in i could not see any thing in the folder...
any ideas on how to get it working again?

2 40 gig western dig. hard drives
windows xp pro
mandrake linux 10 official

Last edited by craigers; 09-07-2004 at 06:21 PM.
 
Old 09-07-2004, 07:06 PM   #2
J.W.
Guru
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 67
Have you tried to manually mount the Windows partition to the mountpoint? Just enter the standard mount command as root
Code:
mount /dev/hdxy /mnt/windows
where "x" is the partition letter and "y" is the partition number that you are interested in attaching to /mnt/windows. That ought to do it. -- J.W.

Last edited by J.W.; 09-07-2004 at 09:23 PM.
 
Old 09-09-2004, 01:18 AM   #3
craigers
LQ Newbie
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20

Original Poster
Rep: Reputation: 0
it did not work, it said device not found and im not exactly sure what u mean with the x and y thing. would i change it to c and 0 or something?
 
Old 09-09-2004, 01:50 AM   #4
J.W.
Guru
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 67
The hard drive will have a letter assigned to it depending on where it is installed. For reference:

/dev/hda = primary master
/dev/hdb = primary slave
/dev/hdc = secondary master
/dev/hdd = secondary slave

Each drive will also be divided into one or more partitions. How you partition your drive is up to you, so I can't tell you what number to use, but to give you a couple of examples of the command I mentioned previously, let's look at the following:

1. Mount the second partition of the primary master
mount /dev/hda2 /mnt/windows

2. Mount the first partition of the secondary slave
mount /dev/hdd1 /mnt/windows

3. Mount the fourth partition of the primary slave
mount /dev/hdb4 /mnt/windows

Hopefully that makes it clearer. Basically, you just need to determine which hard drive Windows lives on, and which partition of that drive Windows resides in. If you had installed Windows first, it's a very good bet that your Windows partition will be /dev/hda1

Good luck with it -- J.W.
 
Old 09-09-2004, 02:15 AM   #5
craigers
LQ Newbie
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20

Original Poster
Rep: Reputation: 0
thanks, that worked
 
Old 09-09-2004, 02:19 AM   #6
J.W.
Guru
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 67
Cool - congrats on solving the problem and thanks for posting back. -- J.W.
 
Old 09-09-2004, 02:26 AM   #7
craigers
LQ Newbie
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20

Original Poster
Rep: Reputation: 0
new prob...
i can only veiw the files if im root and i tryed to change the permission and said it was a read only file system
also...is there a way to auto mount the partition?
 
Old 09-09-2004, 02:56 AM   #8
craigers
LQ Newbie
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Mandrake Linux 10
Posts: 20

Original Poster
Rep: Reputation: 0
lol, nm...i got it
i had to add a line in fstab
 
Old 09-09-2004, 04:55 AM   #9
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 30
i use this fstab line:

/dev/hdb1 /mnt/window$ vfat uid=deepblue,gid=users,rw 0 0

then i can mount it as myself and get 100% permissions.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't install Windows anymore...? EliasAlucard General 29 06-17-2005 04:07 AM
can't access partition anymore thorn101 Debian 7 11-21-2004 08:39 PM
existing LVM partition won't mount anymore dehuszar Linux - Software 1 09-10-2004 01:26 PM
Windows 2000 partition not recognized by Linux (anymore) UberNoob Linux - Newbie 5 12-02-2003 12:35 PM
X Windows Won't start anymore help!! shizzilla Linux - Software 14 06-16-2003 07:24 PM


All times are GMT -5. The time now is 04:10 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration