OpenSUSE 11.3 - Multi-Boot System - New User

Hello everyone,

I’m very new to OpenSUSE. I started with Linux couple of months ago and I installed OpenSUSE 11.3 few days ago. I’m addicted to Ubuntu but I see there are some differences between Ubuntu and OpenSUSE and I’d like to walk through this new path.

Anyway, I have a bit of a problem. Actually, I got two problems. These problems might be very easy to fix but I failed to fix these problems and I failed to find any thread that could show me how to fix. As I learned from Ubuntu’s forum, when someone can’t find what he/she is looking for, then definitely start his/her own thread. My case is required a new thread anyway.

There you go:

**My PC:
**
CPU: P4 - 3GHz
RAM: 512MB
HDD1: 80GB IDE
HDD2: 20GB IDE

I have the following Operating Systems installed:


Disk /dev/sdb: 20.1 GB, 20060135424 bytes
255 heads, 63 sectors/track, 2438 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: 0x328f6f4b

   Device Boot      Start         End      Blocks   Id  System
**/dev/sdb1   * **          1        2438    19583203+   7  HPFS/NTFS

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 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: 0x0006b2b6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1306    10490413+  83  Linux
/dev/sda2            1307        2873    12586927+  83  Linux
/dev/sda3            2874        9729    55070820    5  Extended
/dev/sda5            2874        4179    10490413+  83  Linux
/dev/sda6            4180        5485    10490413+  83  Linux
/dev/sda7            5486        6791    10490413+  83  Linux
**/dev/sda8**            6792        8097    10490413+  83  Linux
/dev/sda9            8098        9403    10490413+  83  Linux
/dev/sda10           9404        9729     2618563+  82  Linux swap / Solaris

I installed all these Operating Systems/Distributions first then I installed OpenSUSE 11.3 except for Windows XP, I installed a second HDD first (20GB) then I installed Windows XP.
OpenSUSE was able to detect ALL the other distributions (antiX, SliTaz, Debian, PCLinuxOS) except for Vector. XP was installed later so it’s not included in GRUB.

**My Problems are:
**

  1. on dev/sda8 I have LinuxVector installed. I could not boot into Vector. I have NO problems booting into any other Linux OS except for Vector

  2. XP is installed on a second HDD. The only way to boot into XP is to set the second HDD to be the first drive to boot from via BIOS. Otherwise, the first HDD will be bootable and OpenSUSE’s boot loader will be shown. Obviously it’s happening because XP was installed “after” I installed OpenSUSE

So, how would I fix these two issues?

Things I have tried:
From YaST2 Control Center, I tried to add Vector and XP from Boot Loader but when I reboot and choose Vector, I got an error message (no 15 or 13 - not sure) with press any key-message to continue. When I choose XP, nothing happens and it returns me back to GRUB menu.

With Ubuntu, that could be done in one step with 3 words:

sudo update-grub

I know that OpenSUSE comes with GRUB Legacy and honestly, I have no idea how to fix these two issues.

**What I want?
**

  1. I want to boot into Vector and add it to the list
  2. Boot into XP without changing the HDD priority from BIOS.
  3. Is there anyway to upgrade GRUB Legacy in OpenSUSE 11.3 to GRUB2 and how?

That’s all for now.

Just to let you know, I have a 2nd PC with 9 OS’s installed. 8 are Linux Distributions and Windows XP on a 2nd HDD. I have no problem because Ubuntu 10.04 is taking the control and its GRUB2 could detect all the other installed OS’s. Even if I have to change anything, sudo update-grub will do the job.

Thanks in advance :slight_smile:

I can’t decide if Ubuntu is on this HD also
If you can boot it. Would it be easier to boot it and the following:

sudo update-grub
sudo grub-install /dev/sda

I don’t know if Vector uses Grub2 or Legacy. To add a Legacy entry to SUSE menu.lst

title Vector Linux
root (hd0,7)
configfile /boot/grub/menu.lst

To add an entry for a Grub2 based OS

title      Vector
root       (hd0,7)
kernel     /vmlinuz root=/dev/sda8 ro quiet splash
initrd     /initrd.img

Thanks for your reply.
No, Ubuntu is not installed on this PC, it’s on the other one. It would be much easier for me to fix these two issues with Ubuntu installed but it’s not.

As for the commends, will that install GRUB2 in OpenSUSE? shall I be able to use GRUB2 instead of GRUB legacy?

I don’t know if Vector uses Grub2 or Legacy. To add a Legacy entry to SUSE menu.lst

title Vector Linux
root (hd0,7)
configfile /boot/grub/menu.lst

To add an entry for a Grub2 based OS

title      Vector
root       (hd0,7)
kernel     /vmlinuz root=/dev/sda8 ro quiet splash
initrd     /initrd.img

Vector is using GRUB Legacy. I don’t know why OpenSUSE was able to detect the other Distributions but couldn’t detect Vector.

What about XP? how can I add it to GRUB?

I’m still confused as you didn’t mention whether OpenSUSE’s GRUB could be upgraded to GRUB2 or not?
Sorry but this is my first problem with OpenSUSE.

Thank you :slight_smile:

SUSE uses legacy
Don’t try using grub 2 in SUSE.

The entries I gave you were to add to the SUSE menu.lst
So you would add this for Vector:

title Vector Linux
root (hd0,7)
configfile /boot/grub/menu.lst

And this for windows:

title WIN XP
 map (hd0) (hd1)
 map (hd1) (hd0)
 rootnoverify (hd1,0)
 chainloader +1

This should help you in both cases with the edit
Edit the Grub Menu to add Windows entries.

Ok, then I have to learn how to deal with GRUB Legacy, I guess :slight_smile:

The entries I gave you were to add to the SUSE menu.lst
So you would add this for Vector:

title Vector Linux
root (hd0,7)
configfile /boot/grub/menu.lst

Done but I got an error message which is different than the one I got before editing grub/menu.lst (before, it was error 12).

The error message:

root (hd0,7)
Filesystem type is ext2fs, partition type 0*03
configfile /boot/grub/menu.lst
Error 15: File not found

Press any key to contiune …

So, I can’t boot into Vector yet :frowning:

And this for windows:

title WIN XP
 map (hd0) (hd1)
 map (hd1) (hd0)
 rootnoverify (hd1,0)
 chainloader +1

Yes, that’s done and it’s working, THANKS A LOT :slight_smile:

This should help you in both cases with the edit
Edit the Grub Menu to add Windows entries.

I was looking for that because looks like OpenSUSE’s CLI is a bit different than Ubuntu’s CLI (commands-wise).

So, is there any chance to get Vector up and running?

Try this

###Don't change this comment - YaST2 identifier: Original name: other###
title Vector
    rootnoverify (hd0,7)
    chainloader +1

:slight_smile:

Still :frowning:

Error 13: Invalid or unsupported executable format

Do a ls of the contents of /boot in Vector’s root
I want to see the files in there
Or post a screen shot of the open folder

You mean while I’m using OpenSUSE, I go to the partition where Vector is installed and check /boot folder? sorry, the flu is knocking me out :frowning:

Yes. That is what I mean

I’m there right now and there are only 3 itmes:

1- Folder called bitmap
2- initrd
3- vmlinuz

I can tell there’s something wrong. Other distributions have more files inside /boot.

Hmm, shall I re-install Vector?

You could.
It will probably take over the bootloader. But you can switch back by following this
Re-Install Grub Quickly with Parted Magic

Just make sure when you do the ‘find’, if there is more more than 1 menu.lst
Make sure you point to the SUSE one, which is on your SUSE root partition

Hi again,

It took too long to reply to this thread; sorry, I’ve been busy lately.

Unfortunately, I had to format OpenSUSE’s Partition and Install another OS - Ubuntu 10.04 Server Edition (was testing something) and because Ubuntu 10.04 uses GRUB2, it detected each and every OS I have installed including Vector. I just booted into Vector and it works without the need to re-install it. However, OpenSUSE is gone at the moment but I’ll install it later.

My point is: GRUB2 has fixed the issue, that’s why I asked on the first place whether it’s possible to replace GRUB Legacy with GRUB2 on OpenSUSE but you guys said NO.
I really love GRUB2 and it’s so much useful and powerful.

Hope I’ll install OpenSUSE soon :slight_smile:

Thank you everyone!

Yes. Grub2 works nicely
Enjoy your Linux experience.
Looks like 11.4 may have it as an option
https://features.opensuse.org/308497

Thank you so much :slight_smile:

WOW, that would be GREAT :smiley: