linux question booting????grub??

Discussion in 'OT Technology' started by unvme, Jan 3, 2004.

  1. unvme

    unvme Guest

    ok so i am going to explain this the best i can. have 2 hdd one linux (4gb - primary) and one windoze xp (30gb - secondary). i had windows and linux mandrake running fine but decided i would try windows and red hat 10 so i installed red hat but forgot to add windows to the grub boot installer i only have the option for linux and dos (which didnt do anything when choosen) does anyone know how i can go back and add windows to the grub loader so i can dual boot then like i did before? i hope i dont have to reinstall. :rant2: please please help me out??? :bowdown:
     
  2. col_panic

    col_panic calm like a bomb Moderator

    Joined:
    Sep 19, 2003
    Messages:
    188,160
    Likes Received:
    0
    Location:
    winter haven, fl
    yeah that's easy

    hold on and i'll log into a linux box and give you the config

    edit:

    this is mine - there are three linux kernels and w2k is at the bottom. should be easy enough to figure from there. i'm on bsd most of the time now so this is not at my fingertips these days

    #/boot/grub/grub.conf

    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You do not have a /boot partition. This means that
    # all kernel and initrd paths are relative to /, eg.
    # root (hd0,2)
    # kernel /boot/vmlinuz-version ro root=/dev/hde3
    # initrd /boot/initrd-version.img
    #boot=/dev/hde
    default=0
    timeout=10
    splashimage=(hd0,2)/boot/grub/splash.xpm.gz
    title Red Hat Linux 9
    root (hd0,2)
    kernel /boot/bzImage ro
    title Red Hat Linux (2.4.20-20.9)
    root (hd0,2)
    kernel /boot/vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdb=ide-scsi
    initrd /boot/initrd-2.4.20-20.9.img
    title Red Hat Linux (2.4.20-8)
    root (hd0,2)
    kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdb=ide-scsi
    initrd /boot/initrd-2.4.20-8.img
    title W2K
    rootnoverify (hd0,0)
    chainloader +1
     
    Last edited: Jan 4, 2004
  3. unvme

    unvme Guest

    how do i edit grub.config???
     
  4. col_panic

    col_panic calm like a bomb Moderator

    Joined:
    Sep 19, 2003
    Messages:
    188,160
    Likes Received:
    0
    Location:
    winter haven, fl
    boot into linux and use any editor. every *nix has vi, but you might want to start with emacs


    if you have gnome installed, try gedit - it's pretty good. if you have kde try kedit. in either case you are looking to add the last three lines of the config file

    title W2K
    rootnoverify (hd0,0)
    chainloader +1

    the hd0,0 is what you will need to change to suit your system

    for more info type "man grub" or "man grub.conf"
     
  5. ChosenGSR

    ChosenGSR Mama always said you'd be the chosen one

    Joined:
    Oct 24, 2001
    Messages:
    51,034
    Likes Received:
    228
    Location:
    HoCo, MD
    redhat 10 ? :eek3:
     
  6. unvme

    unvme Guest

    yea it is red hat 10, i reinstalled it and put the booting on the first section of the boot hard drive and my windows still wont boot fron grub bootloader. does anyone know why?
     
  7. ChosenGSR

    ChosenGSR Mama always said you'd be the chosen one

    Joined:
    Oct 24, 2001
    Messages:
    51,034
    Likes Received:
    228
    Location:
    HoCo, MD
    i installed fedora proj core 1, looks pretty slick
     
  8. unvme

    unvme Guest

    yea it kicks ass but it pisses me off that i cant get my dual boot to work with it like i had with mandrake....maybe i should just switch to mandrake cooker or maybe suse....if i could get gentoo working i would.
     

Share This Page