LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-03-2005, 04:29 AM   #1
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126
Blog Entries: 1

Rep: Reputation: 15
Installing multiple operating systems


Hi, I have been trying for some time to install 2 linux systems with 2 XP's . I am newish to Linux. I have 2 hard drives, on one I have Win XP and Suse 9.2 on the other I have XP and Mandriva, when I boot I only get a boot screen for XP and Suse, if I reinstall Mandriva I only get the boot for XP and Mandriva, so what ever one I install last makes a boot loader for only itself and Windows, even though they are on different drives. Q how can I get them all to show on the boot loader. hope I made sense as I said I am new to Linux so if you can answer in very simple terms I would be gratefull, thanks, Adrian
/dev/hda/windows/c 22.0GB HPFS/NTFS
/dev/hda5 16.3GB Linux LVM
/dev/hdb1windows/D 39.5GB HPFS/NTFS
/dev/hdb5 swap 1.0GB Linux swap
/dev/hdb6 / 36.0GB Linux native


Mandriva is on the c: disc /dev/hda5 16GB Linux LVM
 
Old 06-03-2005, 04:51 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
You'll have to edit /boot/grub/menu.lst

It will likely list the two operating systems that are currently available when you boot up. You'll have to add the other two. If you post the file we can help a little more.
 
Old 06-03-2005, 04:52 AM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If you're using grub, try something like this for your /boot/grub/menu.lst
Code:
timeout 10
color green/black yellow/black
default 1

title Windows C
root (hd0,0)
chainloader +1

title Mandrake
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 devfs=nomount splash=silent
initrd (hd0,4)/boot/initrd.img

title Windows D
root (hd1,0)
chainloader +1

title SuSE 9.2
kernel (hd1,5)/boot/vmlinuz root=/dev/hdb6 vga=788 splash=silent desktop showopts
initrd (hd1,5)/boot/initrd
 
Old 06-03-2005, 03:42 PM   #4
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126

Original Poster
Blog Entries: 1

Rep: Reputation: 15
still stuck/ multiple booting

Thanks guys, I have only just got back on line, I tried altering the boot menu and ended up re-installing, then another 4 attempts ended the same. I am new as I said so I need simple instructions, I am running Suse 9.2 professional and using the grub menu loader. Mandriva is loaded up on the c drive (/dev/system/Mandriva system 16.3 LV ) and I can see it in LVM in the Yast configuration but I can't get it in the Boot menu.
/dev/hda1 /windows/c 22.0 GB HPFS/NTFS
/dev/hdb1 /windows/D 39.5 GB HPFS/NTFS
/dev/hdb5 swap 1.0 GB HPFS/NTFS
/dev/hdb6 / 36 .0 GB HPFS/NTFS
/dev/system/Mandriva system 16.3 LV

I added the last one (/dev/system/Mandriva system 16.3 LV ) probably all wrong? can you help ? thanks Adrian
 
Old 06-04-2005, 04:22 AM   #5
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Installing Multiple operating systems

Hi again guys, I have taken some screen shots to show you what I have, if its any use?
http://adrian.shetlandscenes.co.uk/adrian.htm thanks for your time Adrian
 
Old 06-04-2005, 01:57 PM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Could you please do what musicman suggested, post the contents of your /boot/grub/menu.lst , that'll give us more information
 
Old 06-04-2005, 03:17 PM   #7
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Hi , the boot menu is:
SUSE 9.2
WINDOWS
FLOPPY
SUSE LINUX 9.2 (FAILSAFE)
 
Old 06-04-2005, 03:31 PM   #8
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
It's the contents of the file /boot/grub/menu.lst we need to see. Open it with a text editor
kate /boot/grub/menu.lst
kwrite /boot/grub/menu.lst
gedit /boot/grub/menu.lst
or even display it in a terminal
cat /boot/grub/menu.lst
then copy and paste it into this thread please
 
Old 06-04-2005, 03:57 PM   #9
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126

Original Poster
Blog Entries: 1

Rep: Reputation: 15
sorry for the delay, I am very new, had trouble getting it.

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd1,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.2
kernel (hd1,5)/boot/vmlinuz root=/dev/hdb6 vga=0x317 selinux=0 splash=silent resume=/dev/hdb5 desktop elevator=as showopts
initrd (hd1,5)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
root (fd0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.2
kernel (hd1,5)/boot/vmlinuz root=/dev/hdb6 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd1,5)/boot/initrd
linux:~ #
 
Old 06-04-2005, 04:26 PM   #10
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Ok, so try adding two more entries to the bottom of it
Code:
title Mandrake
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 devfs=nomount splash=silent
initrd (hd0,4)/boot/initrd.img

title Windows D
root (hd1,0)
chainloader +1
You'll need to be root to edit it.
 
Old 06-04-2005, 05:14 PM   #11
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thanks Andrew, Q how do I add it, sorry but its still all a bit new, (1) how do I log-in as root 2 how do I edit it. I brought up the boot info in a terminal and pasted it on to the bottom , was that right? but I don't see how to save it, I rebooted but it wasn't there. Adrian
 
Old 06-04-2005, 05:54 PM   #12
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If you logout of your own save you should be able to login as root at the login screen. Or you could use su and run a text editor like kate from a terminal
Code:
su
password
kate /boot/grub/menu.lst
 
Old 06-05-2005, 04:32 AM   #13
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Hi, can't seem to get it done. I copied the problem I get below. If I use kate I don't seem to be allowed to edit it although I logged in with my password and username. I can get to the list via the terminal but there doesn't seem to be a way to save the text I paste in. I tried to open the text editors in the console but get is: aaria5@linux:~> su
Password:
linux:/home/aaria5 # kate /boot/grub/menu.lst
bash: kate: command not found
linux:/home/aaria5 #





Password:
linux:~ # kate /boot/grub/menu.lst
kate: ERROR: KUniqueApplication: Can't determine DISPLAY. Aborting.
linux:~ #

also get this:
emacs: Cannot connect to X server :1.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.



I know its my lack of knowledge , can you advise, thanks Adrian

Last edited by obstinatesod; 06-05-2005 at 05:40 AM.
 
Old 06-05-2005, 06:17 AM   #14
obstinatesod
Member
 
Registered: Apr 2005
Location: Shetland
Distribution: PClinuxOS, Suse 10.0, Mandriva, Alinux,
Posts: 126

Original Poster
Blog Entries: 1

Rep: Reputation: 15



# Modified by YaST2. Last modification on Fri Jun 3 17:09:42 2005


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd1,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.2

Hi again, got in as root(what an idiot I am) got the new boot loader screen with mandrake but when I click on it I get : kernel (hhd0,4)/boot/vvmlinuz root=/dev/hda5 devfs=nomount splash=silent
Error 17: cannot mount selected partition, I have posted the new boot thingy below. Actual screen reads:
Suse 9.2
Windows
Floppy
Suse 9.2 (failsafe)
Mandrake
Windows D

kernel (hd1,5)/boot/vmlinuz root=/dev/hdb6 vga=0x317 selinux=0 splash=silent resume=/dev/hdb5 desktop elevator=as showopts
initrd (hd1,5)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
root (fd0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.2
kernel (hd1,5)/boot/vmlinuz root=/dev/hdb6 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd1,5)/boot/initrd
title Mandrake
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 devfs=nomount splash=silent
initrd (hd0,4)/boot/initrd.img

title Windows D
root (hd1,0)
chainloader +1

Last edited by obstinatesod; 06-05-2005 at 07:08 AM.
 
Old 06-05-2005, 07:07 AM   #15
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Well that's good that you're making progress. It seems the options I guessed for mandrake aren't right. You need to see what options Mandrake would use to boot itself in it's own menu.lst. The problem there is that Mandrake installs Lilo by default, so even if you mounted the partition that Mandrake is installed on and went looking for it's /boot/grub/menu.lst, it wouldn't be there. You may need to use your mandrake CD's to repair or reinstall Mandrake so that you can boot into it and then use the Mandrake Control Centre to change the boot loader to grub. Then you can edit Mandrakes /boot/grub/menu.lst and add an entry for SuSE to it. There should be no problem with that bit as you've posted the settings that work in this thread. Good luck
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB and Multiple operating systems jughead Linux - Software 2 11-21-2005 04:36 PM
Multiple Operating Systems workerfly Linux - Newbie 2 09-06-2002 04:24 PM
Multiple Operating Systems workerfly Linux - General 1 09-06-2002 03:45 PM
multiple operating systems on the same hard disk mk1_1 Linux - Software 2 02-13-2002 01:01 AM
Booting Up with Multiple Operating Systems Randy-RH7 Linux - Newbie 4 07-03-2001 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:59 PM.

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
Open Source Consulting | Domain Registration