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 recently switched from Ubuntu 11.04 to Mandriva 2010.2 and I have encountered a somewhat-serious issue. When I recently rebooted my computer to boot into Ubuntu (to export Chrome bookmarks, etc), I found that the GRUB was entirely overwritten by the Mandriva install, making me unable to boot into Ubuntu. How do I add my Ubuntu partition to GRUB, so I am to boot into it also?
First boot from Mandriva Linux, then mount Ubuntu's /boot partition.
Open Ubuntu's /boot/grub/menu.lst (if it is older version of GRUB).
Copy Ubuntu's boot configuration, paste it into Mandriva's /boot/grub/menu.lst file.
Then restart the machine.
I am booting Ubuntu 10.10 with Grub2 from PCLinuxOS (Mandriva based) with the following entry, Ubuntu on sda5:
It works with or without the savedefault and boot lines on my system. Others have said they need to remove those lines to boot. You would need to ascertain whether the core.img file is in the Ubuntu /boot/grub directory.
When I try to log in as root it says "Root logins are not allowed". What settings do I need to change
Are you trying to log in to the Graphical User Interface? You should just open a terminal and log in as root. I don't have Mandriva installed but you should have a menu icon in the Taskbar or somewhere. Just look for terminal or konsole and click it to open it. The type: su - (hit the enter key) type your root password when prompted, hit the enter key again. You will then need to open a text editor, I don't know which Mandriva uses. You could try: kwrite /boot/grub/menu.lst to see if it opens. Personally, to edit files as root I always use vi text editor. (Just tried kwrite on my system, it opened as a normal user but not as root??)
EDIT: I used su instead of su -, so if you want to try kwrite, enter su - in a terminal, enter root passwd, type: kwrite /boot/grub/menu.lst. That should work also.
Try: vi /boot/grub/menu.lst
If this opens your menu.lst file, hit the "i" key (lower case Letter I for insert) then use the arrow keys on your keyboard to navigate to where you want to put the entry for Ubuntu. You will most likely need to change the root entry as you did not indicate which partition your Ubuntu was on. When you have inserted your entry, hit the ESC key on your keyboard and to save and exit type: :wq and hit enter. That is a colo and lower case letters wq. There are other ways, this is just the one I'm familiar with.
Last edited by yancek; 06-26-2011 at 09:29 PM.
Reason: Add info