Jump to content

How do I setup GRUB? - 9 Operating Systems - 1 Hard-Drive

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
27 replies to this topic

#1
Panarchy

Panarchy

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 258 posts
Hi

Well I've finally purchased it. Took me 3 months, but I did it!

Posted Image

Nice new internal SATA 1 terrabyte hard-disk-drive :P

Well anyways, I've decided to put 9 operating systems on this hard-drive.

I've spent a lot of time working out the finer details, here is the excel file I made to help myself out in the working out of my partitioning schema: Download (I've included both an .xls and a .xlsx).

And I have also created a perhaps easier to work out version, which you can view below;

Posted Image

Please help me with setting up my /boot/grub folder.

I would also like to know if it would be possible to put a loop into the boot.ini file and the BCD that will take you back to the grub menu. I will also [probably] use EasyBCD to list the OS's from the BCD listings.

Please help me out with doing these two things (especially the GRUB part of it).

Thanks in advance,

Panarchy

Edited by Panarchy, 16 January 2009 - 05:26 PM.
Finished this post at 1am, had done HFS instead of HFS+... LOL


#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Holy hell, I've never seen someone put so many Operating Systems on one HD. Editing your grub file is easy. Take a look at on of our sister sites thread: Add Windows (XP) to Grub - Linux Forums

My response to the thread shows how to add a Windows Partition. To add other Unix/Linux partition you basically just add:

title Linux Name
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.9-42.0.10.EL ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.9-42.0.10.EL.img

Change root (hd0,0) to your partition (read that post from link above for a description).

Here is an example Redhat ES4 entry:

title Red Hat Enterprise Linux ES (2.6.9-42.0.10.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.10.EL ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-42.0.10.EL.img

and another one:

	title Red Hat Linux (2.4.18-19.8.0.19mar2003)
		root (hd0,8)
		kernel /boot/bzImage.2.4.18-19.8.0.19mar2003 ro root=LABEL=/ hdd=ide-scsi
		initrd /boot/initrd-2.4.18-19.8.0custom.img.19mar03


#3
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
HOLY COW
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#4
Panarchy

Panarchy

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 258 posts
^Hahahaha, lol :P

Jordan said:

Holy hell, I've never seen someone put so many Operating Systems on one HD. Editing your grub file is easy. Take a look at on of our sister sites thread: Add Windows (XP) to Grub - Linux Forums

My response to the thread shows how to add a Windows Partition. To add other Unix/Linux partition you basically just add:

title Linux Name
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.9-42.0.10.EL ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.9-42.0.10.EL.img

Change root (hd0,0) to your partition (read that post from link above for a description).

Here is an example Redhat ES4 entry:

title Red Hat Enterprise Linux ES (2.6.9-42.0.10.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.10.EL ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-42.0.10.EL.img

and another one:

	title Red Hat Linux (2.4.18-19.8.0.19mar2003)
		root (hd0,8)
		kernel /boot/bzImage.2.4.18-19.8.0.19mar2003 ro root=LABEL=/ hdd=ide-scsi
		initrd /boot/initrd-2.4.18-19.8.0custom.img.19mar03

Thanks...

I sort of understand that. Well I understand the title and the root, but that's where my knowledge fades.

BTW: The linuxes (linuxi? linux's?) will probably be Ubuntu and OpenSuSE

Please continue to help me out with this.

Thanks in advance,

Panarchy

PS: Remade the xls & xlsx to fit on one A4 page. Download it here!

Edited by Panarchy, 16 January 2009 - 06:06 PM.
Added PS:


#5
Panarchy

Panarchy

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 258 posts
Hi

Well I haven't received a reply for 3 days, so I've decided to update you on the progress, and to ask for some more advice.

I think I've worked out how to add an entry in the boot.ini to 'return/loop-back' to the GRUB menu. It has been worked out by following this guide.

Now all that's left to do is to finish writing GRUB's menu.lst.

Can I get [some more] help on this front?

Thanks in advance,

Panarchy

#6
Guest_Jordan_*

Guest_Jordan_*
  • Guests
What do you not understand/where are you stuck? Also, did you look at that link I posted?

#7
Panarchy

Panarchy

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 258 posts
Adding Windows XP to GRUB?

[site didn't load for me BTW]

Windows XP is added to GRUB by default, never had any problems with it.

But Windows XP isn't part of my multi-boot system.

Also, I'm more interested in knowing how to add the Solaris's and FreeBSD entries manually into the menu.lst.

If anyone has any knowledge on how this could be done, please tell me.

Thanks in advance,

Panarchy

PS: FreeBSD uses UFS not ZFS...

#8
Guest_Jordan_*

Guest_Jordan_*
  • Guests
It works fine for me, perhaps it was your Internet? Try again: Add Windows (XP) to Grub - Linux Forums

#9
Panarchy

Panarchy

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 258 posts
Not to worry, I found a way to add a 'loop-back' to the GRUB menu via boot.ini [NTLDR].

Alternative Dual Boot linux/win (nt/2k/xp) with NTLDR !!! - Ubuntu Forums

So now all I need help doing is adding all the other operating systems to GRUB. (I don't know for sure how much of this can be done automatically)

Please help,

Thanks in advance,

Panarchy

PS: Also, how do I hide/unhide partitions from certain operating systems (pretty sure I can do this in GRUB)

#10
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
I was going to buy an external HDD of 1TB... but it required to be plugged in... so i just bought a portable USB 300GB one... anyways...

I'd go with EasyBCD.. it's the best way I think.

#11
Panarchy

Panarchy

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 258 posts
Well that's nice and all, but then I wouldn't learn GRUB

#12
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Yeah, that is true.. well, if you feel like messing around then go for it lol..

And let us know once you are done!