Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

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


  • Please log in to reply
27 replies to this topic

#1 Panarchy

Panarchy

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 247 posts

Posted 16 January 2009 - 05:57 AM

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

  • 0

#2 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 16 January 2009 - 06:10 AM

Holy **, 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

  • 0

#3 amrosama

amrosama

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 2765 posts

Posted 16 January 2009 - 07:10 AM

HOLY COW
  • 0
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

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 247 posts

Posted 16 January 2009 - 05:17 PM

^Hahahaha, lol :P

Holy **, 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:

  • 0

#5 Panarchy

Panarchy

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 247 posts

Posted 20 January 2009 - 02:15 AM

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
  • 0

#6 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 20 January 2009 - 02:03 PM

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

#7 Panarchy

Panarchy

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 247 posts

Posted 20 January 2009 - 03:05 PM

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...
  • 0

#8 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 21 January 2009 - 12:21 PM

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

#9 Panarchy

Panarchy

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 247 posts

Posted 21 January 2009 - 05:38 PM

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)
  • 0

#10 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 27 January 2009 - 11:31 PM

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.
  • 0

#11 Panarchy

Panarchy

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 247 posts

Posted 28 January 2009 - 08:43 PM

Well that's nice and all, but then I wouldn't learn GRUB
  • 0

#12 TcM

TcM

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 7563 posts

Posted 28 January 2009 - 08:56 PM

Yeah, that is true.. well, if you feel like messing around then go for it lol..

And let us know once you are done!
  • 0




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download