Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just started using Mandrake linux 9.1 just yesterday.
Well i want to be able to use my second harddrive which has all my back up files on it. Used to be winxp ntfs how do i mount it and see it to move over files. thanks2
I linux alot better than windows for stability
thankz in advance
Last edited by DDR extreme; 09-15-2003 at 06:29 PM.
"how do i mount it and see it to move over files. thanks2"
First decide what file system type you want on the drive. If you don't know I recommend that you use ext2.
Log in as root
Create a directory called /backup
Note: This next step will wipe everything off of your second drive. Either save your backups temporarily somewhere else or recreate the backups after you finish setting up the drive.
Then format the hard drive without mounting it. To format drive hdc as ext2 use this command:
You can then mount the drive with this command:
mount -t ext2 /dev/hdc1 /backup
At the point the drive is completely useable for Linux.
If you want to mount /dev/hdc1 automatically every time you boot then put an entry in /etc/fstab for /dev/hdc1.
Assuming you use IDE...
mount /dev/hdxy /mnt/hd -t ntfs -o ro
x is a letter, a denotes Primary Master, b denotes Primary Slave, c denotes Secondary Master...ex: hda for Pri Master
y is the partition number, 1-4 denote primary/extended partitions. ex: hda1 (the windows C
5+denote logical partitions. ex: hda5
thanks I have data on the drive but linux can't mount it so i want to know how to mount to transfer the data over to the first harddrive. then maybe i well reformat it to be used in linux easier.
the dive is formated with a ntfs file system on it and data I want to get off it
"the dive is formated with a ntfs file system on it and data I want to get off it"
I answered your question backwards. I though you wanted to use the drive for backing up Linux. aaa gave the correct answer for what you want to do. I would create a directory called /backup and then use aaa's command:
i try what aaa said but it says no such file or directory. This is what i typed "mount/dev/hdb1 /mnt/hd -t ntfs -o ro". Also on my desktop there is hdb1 not mounted which i figure to be the second harddrive in the computer when I click on it. It trys to mount it buts says
"mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
or too many mounted file systems"
Also, if Mandrake hasn't done so already, you can add a line for your drive in the /etc/fstab file. This lets you mount the drive automatically on startup and makes mounting easier by a)allowing you to shorten the mount command, ex: mount /dev/hdb1 instead of the longer version, and b)lets you use gui tools to mount. Add a lnie like this to your fstab: