Using grub to boot.. How do I edit to get mandrake to boot?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using grub to boot.. How do I edit to get mandrake to boot?
Here is my entry and when it is selected I cannot boot into mandrake on hda1 or the first partition. It is on a primary partition and can boot from the floppy.
Edit the kernel parameters for Mandrake so that they look like the the params for Kanotix (from Kanotix, mount /dev/hda1 to a mount point in /mnt directory in Kanotix. If no mount point exists, create one: mkdir /mnt/Drake or some such, then give the mount /dev/hda1 command). Cd to the Kanotix /mnt/Drake/boot folder and get the name of Drake's vmlinuz compressed kernel. Edit the grub.conf or menu.lst file you are currently using (Kanotix) to boot, and change the kernel params for Drake to read kernel /boot/vmlinuz-<kernel number> instead of kernel /mnt/hda1.
I changed to vmlinuz-2.6.8.1-10mdk like the file says but I don't quite understand the other part of what was said. I did create a dir called /mnt/drake. When I reboot and try Mandrake I get an error that says the file does not exist. So that tells me that it is not looking in the right place.
Using the name of the mount point in the kernel won't boot the system. Grub needs to know where the root of the file system is (the device name, such as /dev/hda1) and where to find the /boot directory and the name of the compressed kernel to use. That's why using /mnt/hda1 won't boot Drake.
In the Drake kernel params, change "kernel /mnt/hda1/boot/initrd.img" to "kernel /boot/initrd.img" (in other words, drop the /mnt/hda1 part. That tells grub that initrd.img is in /boot. The next part of that line (root=/dev/hda1) tells grub where the root of the file system is. You might also want to correct the spelling splach=silent to splash=silent.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.