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.
is there a way to transfer files in windows to linux via one OS operating inside the other on my dual boot machine, as i have windows files that need reading inside linux, but i dont want to burn cd's every time!
Just mount a vfat partition that can be used for data in both systems.
It is best not to mount your windows drive incase you corrupt any system files. Also if it is NTFS - the linux NTFS support is still not perfect and should really ony be used for reading from an NTFS drive.
Yes, you can. From Linux, you can usually mount the other partition (if you're using RedHat and NTFS you need to download extra modules) .
Let's say you've got Windows (FAT32) partition - /dev/hda1. To mount it, create /mnt/windows (command: 'mkdir /mnt/windows') directory (or similar) and run
mount -t vfat /dev/hda1 /mnt/windows
Now you can access your Windows files in /mnt/windows.
The best way I know is to go /mnt/windows/...wherever. If not mounted, you probably can mount it yourself. It should be one of your hard disk entries under /dev. (maybe hda3 or something). It comes mounted on every Linux installation I've seen. You don't even have to copy it to your linux partition to use it!
If you installed Windows first most likely it is on hda1, which would be your 1st partiton. When you look under Windows explorer or some similar Windows based tool do you see any other letters besides C. If not then Windows is probably only using one partiton.
For another clue of what is using which partiton try typing df or possibly typing mount without any extra parameters. That will show what is currently mounted as what under Linux. I have never had anything bad happen when I used the mount command and guessed wrong about what is where, it would just fail to mount the partition. I tend to think there probably is not much danger in making wrong guess.
Using fdisk would probably also give you that information about all the partitons. I do not use fdisk very often and would need to look up how to use it, so I will skip that option. By the way what version of Windows do you have. If it is Win 95, 98 or ME Windows would be on a FAT 32 or possibly a FAT 16 partiton. If you have Win NT 4.0, WIN 2000 or Win XP Windows could be on a NTFS or FAT partiton.
Ok, in Windows now? Open a virtual dos prompt and type fdisk.
It will ask you if you want to enable large disk support. Answer yes.
See any letters other than C? Tell us.
Under file system, does it say fat32 or ntfs?
Note: Windows's fdisk does not recognize Linux partitions. It will see them as empty unpartitioned space. Don't mess with any partitions. Once I deleted a windows partition I didn't need anymore and then all of a sudden Linux didn't boot (no kernel found) so be careful. All you want to do now is chhoice 4 - display partition information.
Which windows OS are you running?
Here's the "works on most computers that have Windows loaded on the first partition of the primary master IDE drive" method.
Bot into linux.
Log on as root.
go to /mnt and create dir 'win' or 'windows' or whatever you wanna call it.
Open a terminal and type the following:
mount -t vfat /dev/hda1 /mnt/win
navigate to /mnt/win. Do you see all the stuff you have on c: in Windows?