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.
Hi everyone. I am an utter Linux newb who was tricked into putting Ubuntu for 64-bit on his machine. After a few months of thinking I was an idiot, I realized that 64-bit stuff simply isn't available yet in sufficient quantities to be useful for an average user (despite my techie friends' exhortations). So I went and installed Simply Mepis, which I like, although I find the KDE desktop very busy.
Anyways, I had already partitioned the hard drive when I put Ubuntu on, figuring I might make the machine dual boot in the future. So I easily preserved /home and such, and Mepis installed like a dream.
Except that I can't get to Ubuntu now. Somehow I must have screwed up and made it that the machine doesn't offer me the choice of OS. I have no idea how to fix this, and am hoping there is some simple line that will make the machine offer me the choice again.
Ubuntu is on /hda1, while Mepis is on /hda2. /home is on its own partition, as is the swap.
Any help to be found? (crosses fingers and prepares to sacrifice ducks to the computer gods.)
What happened is that the boot loader Grub(I think Grub is the option for Mepis) installed in the MBR. All you need to do is to is edit /boot/grub/menu.lst. Add an entry for Ubuntu and restart. An example from my menu.lst:
I have my Ubuntu at /dev/hda10. You need to change 'root (hd0,9)' to 'root (hd0,0)' and 'root=/dev/hda10' to 'root=/dev/hda1'. Then it should work. You can check that the Ubuntu partition has the files that grub is trying to load, /boot/vmlinuz and /boot/initrd.img. otherwise you just change to the right file name.
One can mount Ubuntu partition /dev/hda1 in Mepis (Mepis could have mounted it automatically because that is what is different from others) and see the actual lines lines ubuntu use to boot itself. The file is /boot/grub/menu.lst in hda1. You can cut and paste the 4 relavant lines as indicated by esbel.
As Mepis now control the MBR your editing should be confined to the /boot/grub/menu.lst of hda2.
title Ubuntu, kernel 2.6.10-5-amd64-generic (recovery mode)
kernel /boot/vmlinuz-2.6.10-5-amd64-generic root=/dev/hda1 ro console=tty0 single
title Ubuntu, kernel memtest86+
So I have 2 questions:
First: Which of those lines should I paste in?
Second: Why is it than when I do paste something in, I get a warning saying I can't edit that file? I suspect it has to do with getting into super user mode, but I tried running KEdit in super user and that accomplished nothing. Maybe I have to log out and log back in as super user? (Mepis appears to not let you just switch into super user mode).
I thought maybe I had to run a text editor from the terminal, but I appear to only have vi, which is impossible to understand for a newbie.
title MEPIS at hda2, kernel 2.6.10
kernel (hd0,1)/boot/vmlinuz-2.6.10 root=/dev/hda2 nomce quiet splash=silent vga=791
title Ubuntu at hda1, kernel 2.6.10-5-amd64-generic Default
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 ro console=tty0 quiet splash
This resulted in getting 3 options when I rebooted: Mepis kernel 2.6, Ubuntu amd64, and memtest. But when I select Ubuntu it just hiccups into offering me the same 3 again, and doesn't actually load Ubuntu.
Did I put in the wrong one? Should I put in all 4? And if I do, do I include the boot at the end?