Guest rickycodie Posted August 13, 2007 Report Share Posted August 13, 2007 hi all i use ubuntu and wanted to try other flavors, and i read a good revew of mandriva so here i am! my problem is that i want to boot mandriva from my ubuntu's grub setup. i can edit /boot/grub/menu.lst and have added the following to it: title Mandriva root (hda0,5) chainloader+1 when in the grub i select mandriva, and nothing happens! what can i do? Quote Link to comment Share on other sites More sharing options...
aioshin Posted August 13, 2007 Report Share Posted August 13, 2007 here's my grub.conf title Mandriva kernel (hd0,4)/vmlinuz BOOT_IMAGE=linux root=/dev/sda7 initrd (hd0,4)/initrd.img hd0,4 - is my /boot and /dev/sda7 is my / partition. make sure that you specify the kernel image. And I think you don't need the chainloader part, its for windows boot if not mistaken Quote Link to comment Share on other sites More sharing options...
Guest rickycodie Posted August 13, 2007 Report Share Posted August 13, 2007 well we'll see if it works, wish me luck. Quote Link to comment Share on other sites More sharing options...
Guest rickycodie Posted August 13, 2007 Report Share Posted August 13, 2007 nope now i get error 17 cannot mount drive. this is the result of sudo fdisk -l Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 7077 56845971 83 Linux /dev/sda2 7078 9729 21302190 5 Extended /dev/sda5 7078 8096 8185086 83 Linux /dev/sda6 9554 9729 1413688+ 82 Linux swap / Solaris /dev/sda7 8097 8456 2891668+ 82 Linux swap / Solaris /dev/sda8 8457 9553 8811621 83 Linux it looks like there is a swap or two in the middle of the two ext3 partitions. is it supposed to be this way? looks odd to me. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 13, 2007 Report Share Posted August 13, 2007 Two swap partitions aren't needed- one used by both OS'es is enough. You can get rid of one of them, but this needs a bit of work. Assuming that /dev/sda1 is your *buntu root partition and /dev/sda5 Ubuntu's /home, then your Mandriva is on /dev/sda8 and the grub entry should be title Mandriva kernel (hd0,7)/vmlinuz BOOT_IMAGE=linux root=/dev/sda7 initrd (hd0,7)/initrd.img No chainloader stuff needed here. A common practice for multibooting different Linux distributions is one separate+common /boot partition at the harddisk start, used by all of them, and just ONE grub installation in one of the distros- no bootloader installed in the others. Quote Link to comment Share on other sites More sharing options...
aioshin Posted August 13, 2007 Report Share Posted August 13, 2007 swap location does not matter on wether you can boot or not on mandriva, though you only need one. You should be able to identify the partitions of your mandriva, where the / or boot been located, or did you just use a single partition for your mandriva during install? if yes, where it is located below? Device Boot Start End Blocks Id System /dev/sda1 * 1 7077 56845971 83 Linux /dev/sda2 7078 9729 21302190 5 Extended /dev/sda5 7078 8096 8185086 83 Linux /dev/sda6 9554 9729 1413688+ 82 Linux swap / Solaris /dev/sda7 8097 8456 2891668+ 82 Linux swap / Solaris /dev/sda8 8457 9553 8811621 83 Linux btw, are you finished installing mandriva? Quote Link to comment Share on other sites More sharing options...
Guest rickycodie Posted August 13, 2007 Report Share Posted August 13, 2007 partitions 5 and 8 are mandriva. how do i use one swap partition for both? and yes mandriva is intsallled but it has never been booted. how do i fix my error 17? Quote Link to comment Share on other sites More sharing options...
Guest rickycodie Posted August 13, 2007 Report Share Posted August 13, 2007 ok i figured out the error 17 but now i get a error 23! seriously this is a pain. what am i doing wrong? i really want to try mandriva. should i wipe my drive and then install mandriva and then ubuntu? Quote Link to comment Share on other sites More sharing options...
arctic Posted August 13, 2007 Report Share Posted August 13, 2007 Umm... the easiest way would be (imho): 1. Boot into Ubuntu 2. Mount the Mandriva / partiton ( or /boot if you have that one). 3. open Mandrivas /boot/grub/menu.lst file and copy the Mandriva-specific boot entry. 4. open with sudo an editor in Ubuntu, open Ubuntus /boot/grub/menu.lst file and copy the Mandriva entry into it. Save and exit. 5. reboot The Mandriva boot entry should now work. Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted August 13, 2007 Report Share Posted August 13, 2007 Regarding the swap partitions. You don't have to be concerned about them. Linux automatically detects swap partitions and integrates them (i.e. links them) into the OS. If it detects 1, 2, 3 or more then it links to them and uses them as it wishes. Considering how little hardware space a swap partition uses on a modern hard drive it is hardly worth worrying about how to remove the excess of one. It is far easier to make that decision to not create extra swap partitions when doing additional OS installs in the first place. In other words stop worrying about the extra swap partitions, it is not worth the energy . Cheers. John. Quote Link to comment Share on other sites More sharing options...
Guest rickycodie Posted August 14, 2007 Report Share Posted August 14, 2007 great that worked! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.