LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-10-2004, 07:47 PM   #1
bubble
LQ Newbie
 
Registered: Feb 2002
Location: sri lanka
Distribution: SUSE 9.1
Posts: 27

Rep: Reputation: 15
Question How to Multiboot


I've installed windows 2000 and Red Hat 9.0 to my system and after that I installed SUSE Linux 9.1 Pro. After installing linux I can no longer go into the RedHat system. It is not shown it the Grub. How can I get it into the booting list also so that I can choose that one when I want ot bot into the Redhat? I'll post my fdisk out put for referance. I'm a newbie for Linux just keep on testing things so details explanation will be much more prefered.

Disk /dev/hda: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 40641 20482843+ c W95 FAT32 (LBA)
/dev/hda2 40641 40848 104422+ 83 Linux
/dev/hda3 40848 48976 4096575 83 Linux
/dev/hda4 48976 158802 55351957+ f W95 Ext'd (LBA)
/dev/hda5 48977 50012 522081 82 Linux swap
/dev/hda6 50013 51585 792760+ 82 Linux swap
/dev/hda7 51586 158801 54036832+ 83 Linux

*P.S. the last linux partion is for the SUSE system which I can boot into an dhte /dev/hda3 is the redhat partion where all the files are located.

Last edited by bubble; 12-10-2004 at 07:49 PM.
 
Old 12-11-2004, 01:09 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 58
You need to add the entry for redhat in /boot/grub/grub.conf. Mimic the entry for suse but be sure to change the specifics. If you have another question about format of grub.conf just ask.
 
Old 12-11-2004, 01:13 PM   #3
bubble
LQ Newbie
 
Registered: Feb 2002
Location: sri lanka
Distribution: SUSE 9.1
Posts: 27

Original Poster
Rep: Reputation: 15
can you be more detaily about it. You're telling me that I've to edit the frub.conf file and put an entry over there isn't it? Well what are the things I've to write in there? can u let me know some more information about that?
 
Old 12-11-2004, 01:37 PM   #4
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
Depends .. upo where your boot options are coming from.

Typically with windows, the MBR is not modified and the selection is done in the windows .

Assuming you have made it work that the grub is the default loader ..

Goto the disk partion where vmlinz-xxxx files for suse are .. under there is a grub/ directory. Edit the menu.lst

Each boot entry looks like ..

[

title Suse Linux 2.6....
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x317 splash=silent desktop resume=/dev/hda5 showopts

]
sometimes there is in initrd line that follows it.

you will have to enter this line for Redhat also.

When you make this entry you have to specify where the "/" will be mounted from .. make sure it's correct.
You can copy the redhat kernel and config and other files into the Suse /boot directory and then you don't have to modify the
first kernel(disk)/folder .. it can be same as Suse .
You can find the RH kernel and other files in similar <boot> directory on your RH partition .. or whereever it was mounting it from.
those are the only files you need.

There are issues in doing things this way, for one every time you update the kernel in RH you will have to hand edit the
file.

Second, in the example above vmlinuz is the kernel .. in the boot directory it's linked to something like vmlinuz-2.6.8.1.100 etc.
the links don't work across file-systems ( for the grub at least) i.e. you can't link the vmlinz_Rh to the RH kernel etc. ...

Lastly from your partitiontable .. you don't need two separate swap spaces, just having one is fine, both kernels should be able to use it.

hope this helps








th
 
Old 12-11-2004, 02:21 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 58
If you post your grub.conf as it is now we can help you add the new entry, if winsnomore's instructions aren't clear enough...
 
Old 12-18-2004, 08:22 AM   #6
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 46
GAG v.4 can be easy solution. you can save your boot either to floppy or to hd.
floppy is safer variant
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiboot WinGeekLinuxNuB Linux - Newbie 4 05-28-2004 04:25 PM
Multiboot sevvy8 Linux - Software 2 03-24-2004 02:23 AM
multiboot confusion MightyKC Linux - Software 1 11-11-2003 05:06 PM
How many of your Multiboot with Windows? lava Linux - General 46 08-19-2003 05:52 PM
Multiboot ReSync Linux - Newbie 6 06-18-2002 09:22 PM


All times are GMT -5. The time now is 12:26 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration