booting linux after installing mandriva

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
gillmaharik
Level 1
Level 1
Posts: 6
Joined: Thu Mar 06, 2008 5:31 pm

booting linux after installing mandriva

Post by gillmaharik »

I install Mandriva 2008 after having Mint+XP dual boot working properly. Mandriva took over the bootloader, and now I can't load Mint. I tried to edit Mandriva's bootloader menu so that it'll include Mint. I wrote in the "image" field /boot/vmlinuz2-2.6.22-14-generic and in the "root" field "/dev/hda6 (which is where mint is installed). When I restart and choose mint, I get this message:

Kernel (hd6,0)/boot/vmlinuz2-2.6.22-14-generic BOOT_IMAGE=mint root=/dev/hda6
Error 15: file not found

Anybody has any idea how do i get my mint back without installing it all-over from the CD?

Husse
Level 23
Level 23
Posts: 18680
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: booting linux after installing mandriva

Post by Husse »

It's not hard
Two methods
Repair grub to use Mint's grub
http://www.linuxmint.com/wiki/index.php ... _your_grub
add Mandriva in Mint's menu.lst
Fix Mandrivas menu.lst and I immediately see an error
Kernel (hd6,0)
This is the first partition of the sixth disk in grub speak :)
The reason is
"root" field "/dev/hda6
Should be (hd0,5)
An entry in menu.lst for Mint in sda6 looks like

Code: Select all

title		Linux Mint, kernel 2.6.22-14-generic
root		(hd0,5)
kernel		/boot/vmlinuz-2.6.22-14-generic root=/dev/sda6 ro quiet splash
initrd		/boot/initrd.img-2.6.22-14-generic
boot
Grub starts counting from zero
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: booting linux after installing mandriva

Post by MagnusB »

You can just copy Mints menu.lst to Mandrivas menu.lst, just make sure you don't get any double entries.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin

Post Reply

Return to “Newbie Questions”