LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error: No Operating system (https://www.linuxquestions.org/questions/linux-newbie-8/error-no-operating-system-734074/)

james2b 06-21-2009 01:32 AM

Since you now have 2 grubs installed, you must either chainload to the main SUSE grub, or just reinstall the SUSE grub (such as from a live CD terminal console as root user. Then just add in the windows XP to boot by the chainload method as such if it is on your sda1 partition; title XP and next line in grub; root (hd1,0), then next line; makeactive, and the last line; chainloader +1 , also notice that spaces are critical, so do not add any spaces. To install grub again from terminal, enter su - to get as root, then type grub and hit enter, then enter; root (hdo,5) and hit enter, then type; setup (hd0) and hit enter, then type; quit and enter

colucix 06-21-2009 02:34 AM

I don't know what the grub under windows can be. Anyway, james2b gave a correct set of instructions. On my system I have Windows XP and OpenSuse 11.1 dual boot, but I have a slightly different menu.lst (different in the windows part from that suggested by james2b). Anyway, here is how your menu.lst should be:
Code:

# Modified by YaST2. Last modification on Thu Jun 18 20:58:33 EDT 2009
default 0
timeout 8
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1
    root (hd0,5)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD1200UE-22KVT0_WD-WXE906958552-part6 resume=/dev/disk/by-id/ata-WDC_WD1200UE-22KVT0_WD-WXE906958552-part5 splash=silent showopts vga=0x317
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1
    root (hd0,5)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD1200UE-22KVT0_WD-WXE906958552-part6 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows XP
    rootnoverify (hd0,1)
    chainloader +1

After having done the modification, you have to install GRUB in the Master Boot Record. As root type grub: this will open an interactive session of grub, from which you have to specify the root partition and to install grub:
Code:

# grub


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
  lists possible command completions.  Anywhere else TAB lists the possible
  completions of a device/filename. ]
grub> root (hd0,5)
grub> setup (hd0)
grub> quit
#


threatingbehaviour 06-22-2009 01:20 AM

Thanks!!! Worked like a charm. you know it's so funny how noobs (like me) overcomplicate these things untill it's actually shown to you then it's pretty simple. I'd really like to thank colucix for sticking with me on this one...I have not only gotten my system up and running again, but I have learned how to fix this kind of problem in case it happens again. Also, In other good news, I have gotten accepted into ITT Tech for Computer Network Systems, going in Wed. for student loans and such. I'm so syched!! and again everyone, thanks for all your great help I really appreciate it.

colucix 06-22-2009 01:45 AM

Quote:

Originally Posted by threatingbehaviour (Post 3581948)
Thanks!!! Worked like a charm. you know it's so funny how noobs (like me) overcomplicate these things untill it's actually shown to you then it's pretty simple. I'd really like to thank colucix for sticking with me on this one...

You're welcome! :)
Quote:

Also, In other good news, I have gotten accepted into ITT Tech for Computer Network Systems, going in Wed. for student loans and such.
Congratulations! :D


All times are GMT -5. The time now is 12:38 AM.