-
Junior Member
registered user
mounting harddrive
ok im getting angry at this... i have been trying to get it forever
i go in terminal, make a windows directory, mount it like: mount /dev/hda1 /home/Drew/windows,
then in fstab i add this line:
/dev/hda1 /home/Drew/windows vfat user,uid=500,gid=500 0 0
but when i boot the windows directory either A) isnt there anymore or B) has a padlock on it.
if it is still there after booting i have to umount it and mount it again.
i know that the line i added in fstab is supposed to give access for users, because it is pissing me off that i can only access files as root and that i have to run everything from terminal.
any help as to why it wont mount and give user access would be greatly appreciated.
thank you.
-
Senior Member
registered user
Re: mounting harddrive
![Quote](images/misc/quote_icon.png)
Originally Posted by
blahblahblah
i go in terminal, make a windows directory, mount it like: mount /dev/hda1 /home/Drew/windows,
then in fstab i add this line:
/dev/hda1 /home/Drew/windows vfat user,uid=500,gid=500 0 0
Well to start with where did you get the uid & gid=500 from if you are using user knoppix it should be uid & gid=1000 and this is not needed anyway to find the correct number use id in a console window as your user. It's been awhile but I believe the line should read something like this:
Code:
/dev/hda1 /home/drew/windows vfat rw,user,auto 0 0
Also you should make a directory /windows off the / or /mnt directories to to use as your mount point ie. /windows or /mnt/windows this would be done as root.
-
Junior Member
registered user
that line that you gave me did not work.
i got the uid & gid 500 from someone who was trying to help me. as im new to linux i dont really know much at all.
i just replaced the 500's with 1000's and it works fine now. thank you.
Similar Threads
-
By ZeroKun in forum General Support
Replies: 1
Last Post: 05-06-2004, 02:56 PM
-
By tommydl in forum Hardware & Booting
Replies: 1
Last Post: 01-16-2004, 10:18 PM
-
By Isaacav2 in forum General Support
Replies: 6
Last Post: 06-26-2003, 10:38 PM
-
By ssrobzoom in forum General Support
Replies: 1
Last Post: 06-18-2003, 08:34 PM
-
By winowman in forum Hdd Install / Debian / Apt
Replies: 8
Last Post: 01-01-2003, 04:25 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![INTEL CORE I5-12400T PROCESSOR | 1.80GHZ | SRL5X picture](/store/img/g/y8cAAOSwz6hmiCGN/s-l225/INTEL-CORE-I5-12400T-PROCESSOR-1-80GHZ-SRL5X.jpg)
INTEL CORE I5-12400T PROCESSOR | 1.80GHZ | SRL5X
$99.99
![Intel Core i7-8700 3.20GHZ SR3QS Desktop Processor picture](/store/img/g/Sd4AAOSwvGdmg2g8/s-l225/Intel-Core-i7-8700-3-20GHZ-SR3QS-Desktop-Processor.jpg)
Intel Core i7-8700 3.20GHZ SR3QS Desktop Processor
$83.00
![Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture](/store/img/g/7-YAAOSwHaFjXQ2k/s-l225/Intel-Core-i7-12700K-Desktop-Processor-12-8P-4E-Co.jpg)
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$349.99
![Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture](/store/img/g/snwAAOSwhWZhsOrI/s-l225/Intel-Core-i9-12900K-Desktop-Processor-16-8P-8E-Co.jpg)
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$529.99
![Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture](/store/img/g/0eYAAOSwcHZlMDWu/s-l225/Intel-Core-i7-14700K-14th-Gen-20-Core-28-Thread-4-.jpg)
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$444.99
![AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray picture](/store/img/g/TPkAAOSwvv5mT7XN/s-l225/AMD-Ryzen-5-7600x-Processor-5-3-GHz-6-Cores-LGA-17.jpg)
AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray
$179.99
![Intel Core i5-12600K Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unlocked picture](/store/img/g/9XUAAOSwziNl~JH3/s-l225/Intel-Core-i5-12600K-Desktop-Processor-10-6P-4E-Co.jpg)
Intel Core i5-12600K Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unlocked
$153.99
![AMD Ryzen 5 3600 3.6GHz 6-Core 12T PROCESSOR Socket AM4 CPU 65W B450 picture](/store/img/g/IaIAAOSwmQxfUdRR/s-l225/AMD-Ryzen-5-3600-3-6GHz-6-Core-12T-PROCESSOR-Socke.jpg)
AMD Ryzen 5 3600 3.6GHz 6-Core 12T PROCESSOR Socket AM4 CPU 65W B450
$59.00
![INTEL CORE I5-14400 2.5GHZ PROCESSOR | SRN3Q picture](/store/img/g/sEEAAOSwRqxmhFGT/s-l225/INTEL-CORE-I5-14400-2-5GHZ-PROCESSOR-SRN3Q.jpg)
INTEL CORE I5-14400 2.5GHZ PROCESSOR | SRN3Q
$169.99
![LOT QTY 2 of INTEL XEON 10 CORE E5-2690 V2 25MB 3.00GHZ CPU SR1A5 picture](/store/img/g/NLUAAOSwSoBkpZ7y/s-l225/LOT-QTY-2-of-INTEL-XEON-10-CORE-E5-2690-V2-25MB-3-.jpg)
LOT QTY 2 of INTEL XEON 10 CORE E5-2690 V2 25MB 3.00GHZ CPU SR1A5
$139.99