Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
hay i have had xp installed on my system for a while and want to switch to linux, and now i want to multi boot XP, Ubuntu and Mandriva. i can get Mandriva and xp to dual boot but Ubuntu is not a choice on the menu. is there any therd party application that can scan my computer or installed OS's and create a grub for me? if not is there an easy way to fix my problem? i am a noob to linux and have almost no clue what i am doing so go easy on me.
Please confirm the configuration: eg:
Installed Mandriva and setup dual-boot---all working OK?
Then installed Ubuntu, but there is no entry in the boot menu for it--correct?
Running in Mandriva, open a terminal and do "fdisk -l" (You might have to su to become root)
Post the results here.
While waiting for the next installment of help, take a look at the link below on booting.
I'm guessing that Mandriva is on sda3 and Ubuntu is on sda6 or 7.
First, look at the existing GRUB config file. Running in Mandriva, it will be /boot/grub/menu.lst. You should have entries for Windows and Mandriva (maybe several). We will be adding an entry for Ubuntu.
Go to /mnt and see if there are mountpoints (directories) already set up for sda6 and sda7. You may be able to mount these by simply typing "mount nameofmountpoint". Otherwise, use mkdir to create a new mountpoint, and then:
mount /dev/sda6 mountpoint
cd mountpoint
ls
We are looking for the boot directory on this partition. If not here, then go back and mount sda7 instead. Once you find the boot directory, do this: cd boot (be sure not to use /boot, as that will take you back into Mandriva's directories) ls
you should now see files named "initrd....." and "vmlinuz......". You need either note the names, or set up soft links to make them generic, e.g.: ln -s vmlinuz* vmlinuz (this takes the long name beginning with vmlinuz and links it to a simple "vmlinux".
Now we are ready to edit menu.lst Go back to /boot/grub and open menu.lst with an editor---eg nano menu.lst.
Now add the following entry to the list of boot choices:
This assumes that Windows and GRUB are on hda1 (= hd0,0 in grub-speak)
Mandriva is on sda3 (= hd1,2)
Ubuntu /boot is on sda6 (= hd1,5)
title Ubuntu root (hd1,5) ##tells grub where home base is kernel /boot/vmlinuz root=/dev/sda6 ##use the name we discussed earlier, the root command tells the kernel where to mount the filesystem initrd /boot/initrd #again, the name created earlier boot
save the file and re-boot, and you should see Ubuntu as one of your choices.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.