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'm new to running linux. I've managed to set up a dual-boot (Mandrake 10.0/XP) on my IBM Thinkpad. I'd like XP to be the default boot, so I changed lilo.conf so that the 'default' key was set to "windows". Afterwards I ran lilo as root, and it seemed to finish successfully (even putitng an asterix next to the windows line it prints out, which I assume means that it has been set as the default). However, after reboot windows is still not the default. I tried this a few times, no changes.
I looked in /boot/grub, and I don't see a grub.conf file, or a menu.lst file, which makes me think that lilo is in fact what is being used by my system, and not grub (I just used a Mandrake 10.0 install disk, I didn't build the kernel myself, so I don't know exactlhy what's going on). Anyone know how I can fix this?
OK, tried that, no obvious errors...it syas that it can't make a backup copy of the boot sector because the default file already exists, but that's about it (grep'd the output for n=5 with "warn", "fail", and "err").
I don't know if this could be related, but installation was a little rocky for me. Initially I had Mandrake on the linux partition. I couldn't get the wireless card working, so someone tried to "fix" it for me and installed FedoraCore instead. He couldn't get the wireless card working, but I found someone who had gotten it working under mandrake, so I put mandrake back on (and got the card working, eventually). Now when I reinstalled Mandrake I had some problems and I had to try it a couple of times. During this process, I tried different values for the "mount point" option in the Mandrake 10.0 installation wizard (remember, running linux is new to me, I was just going with a trial-and-error approach). Is it possible that I choose the wrong thing? Or by choosing different values on different installation attempts maybe lilo got confused about where the MRB is? Just a thought....any way to check this? From my lilo.conf file I see that the root for the linux boots is /dev/had3, but for windows it's /dev/hda. Is that bad?
If it's /dev/hda for windows (and the lilo was installed to the mbr), then it probably is just going in circles loading itself again and again. Try '/dev/hda1' (assuming windows is on the first partition).
I just tried MCC, it already had windows listed as the default boot. Still, I went through the configuration, but it had no effect.
As for "trying /dev/hda1", I'm not sure what is menat by this. The first line in my lilo.conf file says "boot=/dev/hda3", are you saying I should change this to "boot=/dev/hda1"? Or just change the windows entry? The windows entry looks like:
I'm asking before I try because I _REALLY_ don't want to hose things so I can't boot. As a newbie it would be a pain for me to figure out how to fix it....
Do not use 'boot=/dev/hda1'. I thought you were talking about the windows 'other=' line. Maybe you are actually using grub. The 'boot=/dev/hda3' means the lilo is being installed to the linux partition instead of the mbr. This would mean that the windows mbr was not overwritten, which is not the case since it seems you have some sort of boot menu (maybe grub) in the mbr now.
Try editing the /etc/grub.conf (the file's location often varies, but I think this where it is for Mandrake). Or you try to install lilo to the mbr instead by using 'boot=/dev/hda' in lilo.conf, then running 'lilo' to apply.
Changing to boot=/dev/hda did the trick...thanks! I guess I had overwritten the MBR on one of my previous Mandrake installs, but on the latest one I chose /dev/hda3 as the mount point, so I guess lilo was writing to the linux partiton instead. Anyway, it's all good now, :-)
Maybe I should start a new thread for this, but while I'm at it, I noticed that Ihave a small (99Mb) partition at /dev/hda2, I can't tell where it came from or what it's used for. Is there a simple way to figure out if I can get rid of it?