LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to add entry to GRUB2 with 2 hard disks (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-add-entry-to-grub2-with-2-hard-disks-812849/)

rhklinux 06-08-2010 04:51 AM

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!!

yooy 06-08-2010 05:43 AM

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

Shadow_7 06-08-2010 06:20 AM

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.

halvy 06-08-2010 06:26 AM

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 :)


All times are GMT -5. The time now is 02:13 PM.