LinuxQuestions.org
Help answer threads with 0 replies.
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 06-08-2010, 05:51 AM   #1
rhklinux
Member
 
Registered: Jan 2010
Location: india/pune
Distribution: Arch Fedora20
Posts: 126

Rep: Reputation: 18
How to add entry to GRUB2 with 2 hard disks


I am a newbie !
I have two ide hard disks.
One with windows and other with ubuntu 10.04.
i want both windows and ubuntu in grub menu so what should i do ?
thanks in advance!!
 
Old 06-08-2010, 06:43 AM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,217

Rep: Reputation: 139Reputation: 139
1. plug in both hard drives.
2. it would be better if linux boots up, because linux use grub where you can add another OS
3. this another OS - windows is added to grub by selecting boot command and hard drive where os is located

edit as superuser:/boot/grub
http://www.faqs.org/docs/Linux-mini/...with-GRUB.html

my advice:try to sitck to single-OS as newbie as it is easier
 
Old 06-08-2010, 07:20 AM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 241Reputation: 241Reputation: 241
http://www.gnu.org/manual/

http://www.gnu.org/software/grub/manual/

Basically it depends. Is grub currently installed? Which OS does it currently boot / not boot? What distro? And other factors.

Technically speaking, the device has to appear in:
/boot/grub/device.map

And an entry for the bootable item in:
/boot/grub/grub.cfg

How you get there from here and how that looks varies. Could be as simple as:
# dpkg-reconfigure grub2

Or something less cordial. If grub / grub2 is not currently installed, it gets even more tricky. More details would helps us help you.

Last edited by Shadow_7; 06-08-2010 at 07:21 AM.
 
Old 06-08-2010, 07:26 AM   #4
halvy
Member
 
Registered: Aug 2005
Location: Boston Massachussets, USA
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 917

Rep: Reputation: 41
Post Stay far away from Grub 2!!

I'v spent waaaaaay too much time trying to get grub 2 to work.

So I am just waiting until they get a decent version out finally.

Meanwhile, I'd just use the original grub (legacy) ver. 0.97-61

It does everything you want..

If you are using ext4 on any of your bootable partitions.. then you need to have a separate partition for grub files (kernels, initrds also).. which is an ext3 file system.

Either way, lettuce know

Last edited by halvy; 06-08-2010 at 07:27 AM.
 
  


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
How do I need to format grub entry to boot from grub2 into grub legacy? mitchell7man Linux - Software 6 04-03-2010 04:03 AM
Grub2 sata ahci dvdrom and hard disks ASUS P5Q-LE Mobo pjeeanah Linux - Hardware 1 10-28-2009 08:33 PM
Adding a menu entry to grub2 Jeff91 Linux - General 1 08-28-2009 07:12 PM
Four hard disk problems over four hard disks in a row. Yaro Linux - Hardware 13 04-25-2009 07:47 PM
Add route entry ust Linux - Newbie 5 09-04-2008 10:43 PM


All times are GMT -5. The time now is 05:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration