Find the answer to your Linux question:
Results 1 to 5 of 5
Hello everyone, I'm not sure if this is to go in the Fedora forum or a windows XP category. Anyway, here's my problem / question: I have 2 SATA hard ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8

    OS choice list 2 hard drives 3 operating systems


    Hello everyone,

    I'm not sure if this is to go in the Fedora forum or a windows XP category.
    Anyway, here's my problem / question:

    I have 2 SATA hard drives running in a Dell Optiplex computer. One hard drive has one partition which is windows xp home edition. The other hard drive has windows xp professional as the primary and Fedora 13 as the secondary. I so far got the xp professional to show up on the os choice list along with the home edition but don't know how to get the Linux to show up as well.

    In Fedora i changed the grub to boot xp first.

    My question is, how do i get Fedora to show up on the OS Choice List when i start up the computer. This is what the boot.init looks like....


    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Home Edition" /noexecute=optin /fastdetect
    multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Micro soft Windows XP Professional" /noexecute=optin /fastdetect



    Would i add anything to this to pull up the Fedora operating system? Maybe other than WINDOWS="" what else would go there? I've searched around and haven't found anything that's related to my situation. Most of it is done within Fedora, and dealing with only 1 hard drive.

    Thanks in advanced,
    Braden

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,159
    What version of Fedora are you running? Since you are using the grub (or grub2) boot loader, the Windows boot.ini doesn't come into play here. That only works with the Windows boot loader. You need to edit your /boot/grub/grub.conf file (grub), or /boot/grub/grub.cfg (grub2) and then you can change the order and which is loaded by default.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8
    Quote Originally Posted by braden87 View Post
    The other hard drive has windows xp professional as the primary and Fedora 13 as the secondary.

    Ok so i have to edit the menu.list (think i got the extension wrong) file and add the professonal edition to the grub. But my only other question is would this still hold true to using the 2 different hard drives? in other words, can i still add the operating system from the first hard drive to the grub menu on the second hard drive containing linux

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,159
    The number of hard drives shouldn't matter. Note the first line for each entry - "root (hdN,X)"? The part in parens is the hard drive, partition. IE: for this entry, the system will be found on the first hard drive and first partition on that drive:
    Code:
    title CentOS (2.6.18-194.17.4.el5.centos.plus)
            root (hd0,0)
            kernel /vmlinuz-2.6.18-194.17.4.el5.centos.plus ro root=LABEL=/ rhgb quiet crashkernel=128M@16M
            initrd /initrd-2.6.18-194.17.4.el5.centos.plus.img
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8
    Ok i've made a little bit of progress. I'm on my linux OS right now and here is a list of the fdisk -l and the menu.lst.....

    fdisk -l
    root@localhost grub]# fdisk -l

    Disk /dev/sda: 40.0 GB, 40000000000 bytes
    255 heads, 63 sectors/track, 4863 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x82b6303e

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1305 10482381 7 HPFS/NTFS
    /dev/sda2 1306 2610 10482412+ 6 FAT16
    /dev/sda3 2611 3915 10482412+ 6 FAT16
    /dev/sda4 3916 4863 7613440 5 Extended
    /dev/sda5 3916 3979 512000 83 Linux
    /dev/sda6 3980 4863 7099392 8e Linux LVM

    Disk /dev/sdb: 40.0 GB, 40000000000 bytes
    255 heads, 63 sectors/track, 4863 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x2527a2c7

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 4863 39062016 7 HPFS/NTFS

    Disk /dev/dm-0: 6241 MB, 6241124352 bytes
    255 heads, 63 sectors/track, 758 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/dm-0 doesn't contain a valid partition table

    Disk /dev/dm-1: 1006 MB, 1006632960 bytes
    255 heads, 63 sectors/track, 122 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/dm-1 doesn't contain a valid partition table




    menu.lst

    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,4)
    # kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
    # initrd /initrd-[generic-]version.img
    #boot=/dev/sda
    default=1
    timeout=9
    splashimage=(hd0,4)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora (2.6.33.3-85.fc13.i686)
    root (hd0,4)
    kernel /vmlinuz-2.6.33.3-85.fc13.i686 ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
    initrd /initramfs-2.6.33.3-85.fc13.i686.img
    title Windows XP Professional
    rootnoverify (hd0,0)
    chainloader +2


    What would i add to the menu.lst to access the Home edition on /dev/sdb1?

    Braden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •