bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dual boot: 2 Linux's on same disk


From: qqq1one @yahoo.com
Subject: Dual boot: 2 Linux's on same disk
Date: Sun, 10 Aug 2008 22:26:30 -0700 (PDT)

I'm having some trouble dual booting 2 different Linux distributions (currently 
FC9 and FC7) on
the same disk.  I've actually had some success, but it's not set up the way I 
would like.  Any
help would be appreciated.  I'd like to have it set up like so:

  /dev/sda1  /boot  (boot root partition for Linux distribution #1)
  /dev/sda2  /boot  (boot root partition for Linux distribution #2)
  /dev/sda3  /home  (home directories shared between the two different 
distributions)
  /dev/sda4  (extended partition)
    /dev/sda5  /  (kernel root partition for Linux distribution #1)
    /dev/sda6  /  (kernel root partition for Linux distribution #2)

I tried installing the 2 distributions a few different ways.  Unfortunately, 
the only way I've
been able to get both distributions to boot, is if both the boot root partition 
and the kernel
root partition for Linux distribution #2 are entirely on /dev/sda6.  And trying 
that configuration
was an accident - I wanted the kernel root partition for Linux distribution #2 
to be by itself on
/dev/sda6 and the boot root partition for Linux distribution #2 to be by itself 
on /dev/sda2.

I've tried copying the Linux distribution #2 boot files from /dev/sda6 up to 
/dev/sda1 and making
the corresponding change to /dev/sda1's grub.conf file, but I get a

  Error 15: File not found

message when I try to boot to Linux distribution #2 from there.  Linux 
distribution #1 still boots
with this setup though, because I was careful not to clobber any Linux 
distribution #1 boot files.

I've also tried copying the Linux distribution #2 boot files from /dev/sda6 up 
to /dev/sda2 and
making the corresponding change to /dev/sda1's and /dev/sda2's grub.conf files, 
but I get the same
Error 15.

Any help would be appreciated.  Obviously I am missing something.  What file is 
not being found,
anyway?

Below are the contents of my grub.conf file on /dev/sda1, /dev/sda2.  As you 
can see, I also tried
some other combinations of boot root and kernel root.  Fedora Core 9 is Linux 
distribution #1 and
Fedora Core 7 is Linux distribution #2.

  default=0
  timeout=5
  splashimage=(hd0,0)/grub/splash.xpm.gz
  hiddenmenu
  title Fedora Core 9 (2.6.25.11-97.fc9.i686)  ***does boot***
        root (hd0,0)
        kernel /vmlinuz-2.6.25.11-97.fc9.i686 ro 
root=UUID=e03af86d-1813-4c72-b407-ee740caa9002
rhgb quiet  # *** this UUID corresponds to /dev/sda5; I haven't figured out 
this UUID stuff yet
        initrd /initrd-2.6.25.11-97.fc9.i686.img

  title Fedora Core 7  ***does boot***
        root (hd0,5)  # /dev/sda6 - this is not where I'd like to have Linux 
distributions #2's
boot files, but so far it's the only location that works
        kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/sda6 rhgb quiet
        initrd /boot/initrd-2.6.21-1.3194.fc7.img

  title Fedora Core 7  ***does NOT boot; "Error 15: File not found" ***
        root (hd0,1)  # /dev/sda2 - this is where I'd like to have Linux 
distributions #2's boot
files
        kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/sda6 rhgb quiet
        initrd /boot/initrd-2.6.21-1.3194.fc7.img

  title Fedora Core 7  ***does NOT boot; "Error 15: File not found"***
        root (hd0,0)  # /dev/sda1 - this is not where I'd like to have Linux 
distributions #2's
boot files, but I tried it anyway
        kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/sda6 rhgb quiet
        initrd /boot/initrd-2.6.21-1.3194.fc7.img


For completeness, here are the contents of the 3 boot directories:


  /dev/sda1: (same as /dev/sda2)
  /dev/sda2:
    boot/:
      config-2.6.21-1.3194.fc7
      config-2.6.25.11-97.fc9.i686
      config-2.6.25-14.fc9.i686
      efi
      grub
      initrd-2.6.21-1.3194.fc7.img
      initrd-2.6.25.11-97.fc9.i686.img
      initrd-2.6.25-14.fc9.i686.img
      lost+found
      memtest86+-2.01
      System.map-2.6.21-1.3194.fc7
      System.map-2.6.25.11-97.fc9.i686
      System.map-2.6.25-14.fc9.i686
      vmlinuz-2.6.21-1.3194.fc7
      vmlinuz-2.6.25.11-97.fc9.i686
      vmlinuz-2.6.25-14.fc9.i686
    /boot/efi:
      EFI
    /boot/efi/EFI:
      redhat
    /boot/efi/EFI/redhat:
      grub.efi
    /boot/grub:
      device.map
      e2fs_stage1_5
      fat_stage1_5
      ffs_stage1_5
      grub.conf
      grub.conf.fc7
      iso9660_stage1_5
      jfs_stage1_5
      menu.lst
      minix_stage1_5
      reiserfs_stage1_5
      splash.xpm.gz
      stage1
      stage2
      ufs2_stage1_5
      vstafs_stage1_5
      xfs_stage1_5
    /boot/lost+found:

  /dev/sda6:
    boot/:
      config-2.6.21-1.3194.fc7
      grub
      initrd-2.6.21-1.3194.fc7.img
      System.map-2.6.21-1.3194.fc7
      vmlinuz-2.6.21-1.3194.fc7
    boot/grub:
      device.map
      e2fs_stage1_5
      fat_stage1_5
      ffs_stage1_5
      grub.conf
      iso9660_stage1_5
      jfs_stage1_5
      menu.lst
      minix_stage1_5
      reiserfs_stage1_5
      splash.xpm.gz
      stage1
      stage2
      ufs2_stage1_5
      vstafs_stage1_5
      xfs_stage1_5
  


      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]