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 mounted my NTFS Windows hard drive after much difficulty, and while still in root, since I thought I had to be, I copied all my documents over to my home dir.
Then I logged back in as me, and wasn't authorized for any of those files. So I went back in root, and chmod /home/phil to -R 777, hoping it would make all my files accessible. The book explained that this would make all the files from Phil on down accessible, which is what I want. But when I logged back in as phil, it completely bombed. It has a bunch of error X's but no words. I think it even loaded the other (KDE) desktop. There was no bar at the bottom of the screen, it was way screwed up. I haven't tried another user, but I think it will work, just phil is screwed up!
How do I fix this, is there an undo? or a reset to default?
Also I have 2 hard disks , NTFS Win XP and the new on I installed RH9 on. I have the tray to remove the Primary Master Linux drive, and the primary slave is windows. I unplugged the windows completely during the RH 9 install, cuz I didn't trust myself. I ran linux fine for a while, then I went back into windows by rebooting and pulling my linux drive out. When I tried to power off, then on with linux back in, it boots Windows. I heard about windows erasing the MBR, is that what happened? How can I fix it so I don't have to open my computer each time I want to switch, and still be able to copy files between systems?
you need to swap drives at all everytime. if you installl windows first and linux next everything will work just fine unless you reinstall windows again. get a boot disk ( toms boot disk is nice) and boot into the system and check whethe u screwed anything.
you shouldnt run the system as root.
ntfs support for read is reliable. writing is not. use fat 32 or fat partitions for sharing data
I think you've got more problems than file permissions. I don't know of much that will bomb because you gave it full access permission. What kind of errors are you getting? You should definitely try another user to make sure it's not a system wide problem.
If you can't get your phil user fixed, you can store off your data into another directory for backup. Then you can delete the user and the home directory, then readd it. Should be like doing a complete reset.
As far as your booting problem, if you can slave the drives together in your machine, you can set up grub, or bootmagic to give you the choice of which operating system to boot into.
as far as the booting windows, I didn't "re-install" windows, but somehow it has taken over. When I installed linux, the win drive was physically disconnected from the computer, and when I plugged it back in after installation, it booted up fine, just after I logged back into windows, and then tried again.
As far as what error messages I am getting, I know they are there, but I can't read any of them, no text, just big red X's that look bad.
ill try the boot disk, the one i created failed just now, so Ill just disconnect the drive again.
If you have your windows drive as master, you'll need to install a boot manager like bootmagic to boot the second disk. If your linux drive is your master you should be able to add a line to the /boot/grub/grub.conf file.
I think you'll find that the windows drive had the windows loader in its master boot record, and the linux drive has a linux boot loader(Lilo or Grub) in its MBR.
Because you'd only used either OS at once, connected as the primary master disk, they had their boot loader used, as they were in the MBR.
Now you have both drives in, you need to overwrite the windows loader with the linux one, so you have the options of linux or windows when booting the window drive, and thus the windows MBR in this case. The windows loader cant load linux.
the reason everything is changed is because you installed linux without the system being able to detect the windows installation on the other drive. That's ok, because it's reparable. In your /boot/grub/grub.conf file there are entries which tell the OS how to boot the system, and the physical hard-drive locations needed to boot. My system has the following entry detailing how to boot MS Windows XP:
You should be able to add a similar line in your grub.conf file like so:
provided hd1 is the hard drive where windows is loaded. running grub-install with the drives in place should complete the process.