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 have added a second distro (kubuntu) to my box running xp and simply mepis. I have a problem with grub/,menue.list. he wouldnt add kubuntu to the list even though he recognized it when writing grub to mbr. so I edited menue.list manually. here is what i wrote
I always get error 15: file not found
my box is amd64 and so is the distro, root is on hdd11, home is on hdd10. so what could be wrong with this? Is it possible,that every distro gets only their own entry in their menue.list,because right now I got both entries in both menue.list?
Ive been after this for 8 hours now on different forums and I can hardly type the same thing anymore so please help. no more ideas left here.
The first line of your menu.lst says root (hd1,10)
This doesn't match the partition described in the kernel line, root=/dev/hdd11
If root is on /dev/hdd11, then the first line should read root (hd3,10) i.e. the eleventh partition on the fourth drive.
If root (hd1,10) is correct, then root=/dev/hdb11
For Grub, you always subtract 1 from your drive or partition number. So, for instance, if root was on the third partition of the first hard drive you would have root (hd0,2). But root=/dev/hda3. Hope this is clear enough.
Also, the identification of root partition in Grub must match that of your /etc/fstab
I had the same thoughts as you about hdd being hd3, but mepis is on hde and thats hd2 in my menue list and it works. so my only conclusion was that hdd must be hd1, the more so cause there is no hda or hdb in my fstab, it starts of with hdc being winxp, kubuntu is on hdd and mepis on hdd. I might try your hint with hd3, but that wouldnt be logical at all. see what happens.
If something like a CD is on the first interface, and the disks on the second interface, the hard disks will shows as /dev/hdc and /dev/hdd - even though grub will see them as hd0 and hd1. Confusing maybe, but logical - grub (normally) only cares about hard disks and floppies.
I suspect the problem is the /boot in the kernel path.
How about you post the entire menu.lst - uneditted.
Maybe also a list of /dev/hda11, and it's boot directory as well.
title Windows auf hdc1
I dont really know how to copy the contents of hd11 under linux yet. is there something like a snapshot-tool? its probably console, but more than simple commands are to much for now, so if you could give me a line?
Originally posted by mikieboy It doesn't work like that on my system! That information is in the MBR. The root directive for each of my distros points to the root partition for that distro.
It *DOES* work that way on your system. To be more precise it indicates where the boot-loader is installed - including ntldr of course.
The code in the MBR is *VERY* limited - the majority of the Linux code is in (generally) in the /boot directory.
I assume you allowed your latest distro to (re-)install grub. This is not wise - although I am prepared to believe that you may not have had much say in it.
Your configuartion worked in the past because of chance - the order in which you installed your systems.
My recommendation would be to locate the most recently installed grub. Find the menu.lst (maybe grub.conf - generally symlink'd to appear as the same file) of that install.
Update it to have all the systems in it - use the root directive to point at this most recently installed grub for both your Linux systems.
You may need to use the format I showed to explicitly address your "old" Linux system kernel and initrd.
In future installs, don't allow a bootloader to be installed - merely update the current menu.lst manually.
This may be difficult to achieve with the trend to GUI "do-it-all" installers.