LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   booting from linux to xp and back (https://www.linuxquestions.org/questions/linux-general-1/booting-from-linux-to-xp-and-back-80947/)

jense 08-11-2003 09:37 AM

booting from linux to xp and back
 
I have installed RH 8 on one hd and XP on the other. How can I, when i turn on the computer select the OS I want to run. Which hd should be master and which should be slave. Hope you can help me with my problem

fancypiper 08-11-2003 09:59 AM

You should have set that up in grub when you installed Linux. Can you post the results of this command:

# How are the hard drives partitioned
fdisk -l

Also post the contents of /boot/grub/grub.conf

Installing a bootloader
Multiboot with GRUB Mini-HOWTO

Here is my grub.conf:
Code:

# Celeron Coppermine 850 tinwhistle box /boot/grub/grub.conf file
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux 7.3
        root (hd0,1)
        kernel /vmlinuz-2.4.18-3 ro root=/dev/hda6
        initrd /initrd-2.4.18-3.img
title Mandrake 9.0
        kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 quiet devfs=mount vga=788
        initrd (hd0,6)/boot/initrd.img
title Gentoo
        root (hd0,1)
        kernel (hd0,1)/boot/bzImage root=/dev/hda3
title Windows 98 Sucky Edition
        rootnoverify (hd0,0)
        chainloader +1

My partitioning:
Code:

root@tinwhistle # fdisk -l

Disk /dev/hdc: 255 heads, 63 sectors, 4867 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot    Start      End    Blocks  Id  System
/dev/hdc1  *        1      4867  39094146  83  Linux

Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot    Start      End    Blocks  Id  System
/dev/hda1  *        1      1217  9772056    c  Win95 FAT32 (LBA)
/dev/hda2  *      1217      1229    99855  83  Linux
/dev/hda3          1230      1656  3429877+  83  Linux
/dev/hda4          1657      4865  25776292+  5  Extended
/dev/hda5          1657      1719    506016  82  Linux swap
/dev/hda6          1720      2146  3429846  83  Linux
/dev/hda7          2147      2573  3429846  83  Linux
/dev/hda8          2574      3719  9205213+  83  Linux
/dev/hda9          3720      4865  9205213+  83  Linux



All times are GMT -5. The time now is 12:06 PM.