LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 09-15-2010, 10:08 PM   #1
Taylor355
LQ Newbie
 
Registered: Sep 2010
Location: UK
Distribution: Opensuse 11.3
Posts: 2

Rep: Reputation: 0
Question Triple boot - Opensuse/Mandriva/Debian - can't boot into Mandriva or Debian


Hi everyone.This is my first post on these forums. I recently installed Opensuse 11.3 and I'm really enjoying using it.
I decided to also install Mandriva on the same drive, and that's where the problems started.
I installed the Mandriva boot loader to Mandriva's root partition. No entry for Mandriva would appear in Opensuse's bootloader so I tried editing the /boot/grub/menu.lst file but no change. I then added an entry for Mandriva to the bootloader using YAST. Now I have an entry but get this error message when I try to boot into Mandriva :Error 1: Filename must be either and absolute pathname or blocklist
Anyway, I also want to use Debian so I installed the latest release (5.0) and the same thing has happened again. I now have two distros I'm unable to boot into.
This is what I get from fdisk -l in the Terminal:

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x18000000

Device Boot Start End Blocks Id System
/dev/sda1 1 262 2103296 82 Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2 262 2873 20972544 83 Linux
/dev/sda3 2873 25485 181630976 83 Linux
/dev/sda4 25486 91201 527863770 5 Extended
/dev/sda5 25486 27052 12586896 83 Linux
/dev/sda6 27053 27561 4088511 82 Linux swap / Solaris
/dev/sda7 27562 49963 179938220 83 Linux
/dev/sda8 * 49964 90871 328593478+ 83 Linux
/dev/sda9 90872 91201 2650693+ 82 Linux swap / Solaris

I installed Debian's bootloader on /dev/sda5

I know roughly what I need to do, which is edit the /boot/grub/menu.lst to make Mandriva and Debian show up, but I've tried various solutions and nothing has worked up to now.
Do I need to re-edit using YAST?

Thanks in advance.
Stephen
 
Old 09-15-2010, 10:26 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by Taylor355 View Post
I recently installed Opensuse 11.3 and I'm really enjoying using it.


Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x18000000

Device Boot Start End Blocks Id System
/dev/sda1 1 262 2103296 82 Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2 262 2873 20972544 83 Linux
/dev/sda3 2873 25485 181630976 83 Linux
/dev/sda4 25486 91201 527863770 5 Extended
/dev/sda5 25486 27052 12586896 83 Linux
/dev/sda6 27053 27561 4088511 82 Linux swap / Solaris
/dev/sda7 27562 49963 179938220 83 Linux
/dev/sda8 * 49964 90871 328593478+ 83 Linux
/dev/sda9 90872 91201 2650693+ 82 Linux swap / Solaris

I installed Debian's bootloader on /dev/sda5

I need to re-edit using YAST?

Thanks in advance.
Stephen
Yes you can edit the menu.lst in YaST. If you installed the grub to the root partition in Debian on sda5 your entry should look like this

title Debian
rootnoverify (hd0,4)
chainloader +1

title Mandrivia
rootnoverify (hd0,?)
chainloader +1

Replace the question mark with one number less than your root partition number for Mandrivia.
 
Old 09-16-2010, 12:34 PM   #3
Taylor355
LQ Newbie
 
Registered: Sep 2010
Location: UK
Distribution: Opensuse 11.3
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks. I tried that and it's still not working. I have tried changing the partitions in the entry I added to YAST in case I was mistaken in where I put Mandriva and Debian bootloaders but still no success. There are now entries in GRUB but when I try to boot either Mandriva or Debian, I get this new error message:

rootnoverify (hd0,5)
chainloader +1

Error 13: Invalid or unsupported executable format

Press any key to continue


This is what my /boot/grub/menu.lst now looks like:

# Modified by YaST2. Last modification on Thu Sep 16 17:24:17 BST 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 - 2.6.34.4-0.1
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.4-0.1-default root=/dev/disk/by-id/ata-ST3750528AS_9VP7CV8A-part2 resume=/dev/disk/by-id/ata-ST3750528AS_9VP7CV8A-part1 splash=silent quiet showopts vga=0x31a
initrd /boot/initrd-2.6.34.4-0.1-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.4-0.1
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.4-0.1-default root=/dev/disk/by-id/ata-ST3750528AS_9VP7CV8A-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.4-0.1-default

title Debian
rootnoverify (hd0,5)
chainloader +1

title Mandriva
rootnoverify (hd0,5)
chainloader +1


I tried what you suggested (hd0,4) and then tried different partition numbers but still can't boot into Mandriva or Debian. Opensuse works fine.
 
Old 09-16-2010, 08:33 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
You only need one swap partition for future reference, you've got a large drive so it shouldn't matter. Don't delete any of them now as it will mess up your partition numbering.

Possible Linux boot partitions are sda2, 3, 5, 7, 8 so try the entry suggested by Larry Webb changing the number for each attempt. Grub Legacy which Opensuse uses, counts from zero so your root entry in menu.lst should be one number lower that the sda?.

The entry Larry Webb suggested should have worked if the Debian bootloader is there? What happened when you tried it? error message?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple boot Windows Suse and Mandriva Chriscrof Linux - Software 4 05-21-2009 10:41 AM
Triple boot XP + Vista + Mandriva Dutch3 Mandriva 6 11-09-2007 07:54 PM
LXer: How to setup a Dual boot system with Debian and Mandriva sharing /home directory LXer Syndicated Linux News 0 06-04-2007 07:16 AM
Grub configuration for triple boot Mandriva 2007 / Suse 10.2 / Windows XP willy_9 SUSE / openSUSE 9 01-12-2007 06:54 PM


All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration