LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-23-2008, 12:16 AM   #1
highlandish
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Rep: Reputation: 0
adding multiple linux OS's to grub


hi, i have 4 partitions created for 4 OS's, XP, w2003, SLES10.1 and finally backtrack3.

SLES (hda3 with hda5=swp and hda6 as "/") detected that i have 2 windows(hda1/hda2)and added them to the grub, but backtrack installed on hda4 ext2 cant be added to the grub.

i have no idea how to mount a drive or edit the grub to add backtrack3 to the OS choices during bootup

so far i am using the SLES10.1 grub
 
Old 02-23-2008, 02:03 AM   #2
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
I think you mean

hda1 primary c xp or 2k
hda2 primary c xp or 2k
hda3 extended
hda5 swap
hda6 /
hda4 backtrack??

so what bootloader did you set up for backtrack?

I guess its lilo? but grub can chainload to it as well as ms

if above is correct, change grub with root powers in sles

title BT
root (hd0,3)
chainloader +1
 
Old 02-23-2008, 03:40 AM   #3
highlandish
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by aus9 View Post
I think you mean

hda1 primary c xp or 2k
hda2 primary c xp or 2k
hda3 extended
hda5 swap
hda6 /
hda4 backtrack??

so what bootloader did you set up for backtrack?

I guess its lilo? but grub can chainload to it as well as ms

if above is correct, change grub with root powers in sles

title BT
root (hd0,3)
chainloader +1
hi, your description of the partitions is correct, i created 2 ext partitions for 2 linux os's, then i installed backtrack3 on the last one (hda4) and SLES on the 3rd one. backtrack did create a lilo boot loader, but after i installed sles it did not detect the lilo nor will it acknowledge there is even a backtrack installed on another partition.

i assumed once i could mount hda4 then i could point the sles grub to the right backtrack files, but then i get fstab errors and i dont understand what to do.
 
Old 02-23-2008, 08:39 AM   #4
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
you are confusing mount....meaning make accessible....to a booted system with grub or lilo.

if you want to view or copy files you add lines to each system's fstab file for the relevant folder

eg if both are ext2 with su (root powers)

1) boot sles
Code:
mkdir /mnt/bt
edit Sles fstat to add one line
/dev/hda4 /mnt/bt ext2 users 0 0
2) boot bt....needs a grub entry in sles /boot/grub/menu.lst as above
Code:
mkdir /mnt/sles
edit BT fstat to add one line
/dev/hda6 /mnt/sles ext2 users 0 0
3) did you read my signature or not?

if grub is in mbr its the bootloader for sles....so you need to boot sles then using root powers to edits its bootloader grub file.
 
Old 02-24-2008, 12:01 AM   #5
highlandish
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by aus9 View Post

3) did you read my signature or not?

if grub is in mbr its the bootloader for sles....so you need to boot sles then using root powers to edits its bootloader grub file.
hi, as the forum states, i am a complete newbie. i tried to look at the links in your sig but it was over my head. i am trying but please be a little patient with me.

i am a network engineer and can program cisco routers, but nix language is completely new to me. i have programmed sles as a server using the gui but outside of the gui i'm a noob.

i'll try out your last suggestion, it seems well explained. thank you.
 
  


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
kickstart; how-to info needed for multiple instances of RH OS's and multiple unique v Joe_Wulf Linux - Server 4 06-22-2007 12:18 AM
Running Multiple Linux OS's Help JM11 Linux - Newbie 8 05-30-2007 03:07 AM
Multiple Linux OS's and Windows XP WolfeBay Linux - Newbie 1 01-30-2005 04:42 PM
Multiple LINUX OS's, same filesystem & accounts? yanger Linux - Distributions 1 06-28-2004 07:41 PM
using grub to boot multiple linux os's Smerk Linux - Software 9 03-21-2003 01:07 AM


All times are GMT -5. The time now is 03:13 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