Page 11 of 18 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 172

Thread: Dual Boot on Two Drives

  1. #101
    Join Date
    Jun 2006
    Location
    The Netherlands
    Beans
    Hidden!

    Re: Dual Boot on Two Drives

    The question in this is where's GRUB installed and how is it configured.
    If you disconnect all the disks exept Ubuntu it will boot,no problem,but if all disks are connected,it won't boot.

    This in fact is that GRUB is counting your hdd's and comes with the wrong hdd for Ubuntu so it can't boot.
    You have to edit menu.lst so it points to the right hdd for ubuntu and probably your fstab too.

    That's why I advice to leave all the disks connected so they are properly assigned in GRUB and menu.lst and fstab as well.

    Try sudo fdisk -l to find out how your disk are ordered and alter menu.lst and fstab to correct things.
    Resistance is futile.....you will be assimilated!

    Registered Linux User 418427.
    #Ubuntu User 3226#

  2. #102
    Join Date
    Nov 2006
    Location
    Southern California
    Beans
    10
    Distro
    Ubuntu 6.10 Edgy

    Re: Dual Boot on Two Drives

    Quote Originally Posted by bulldog View Post
    The question in this is where's GRUB installed and how is it configured.
    If you disconnect all the disks exept Ubuntu it will boot,no problem,but if all disks are connected,it won't boot.

    This in fact is that GRUB is counting your hdd's and comes with the wrong hdd for Ubuntu so it can't boot.
    You have to edit menu.lst so it points to the right hdd for ubuntu and probably your fstab too.

    That's why I advice to leave all the disks connected so they are properly assigned in GRUB and menu.lst and fstab as well.

    Try sudo fdisk -l to find out how your disk are ordered and alter menu.lst and fstab to correct things.
    AH HA! That doesn't mean I have this where I want it, but I understand better. I went through some of your direction.

    Booted into Live CD
    In terminal I typed "sudo fdisk -l"
    I got this in Reply:

    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 60800 488375968+ 7 HPFS/NTFS

    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 18703 150231816 83 Linux
    /dev/sdb2 18704 19457 6056505 5 Extended
    /dev/sdb5 18704 19457 6056473+ 82 Linux swap / Solaris

    Disk /dev/sdc: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdc1 * 1 38914 312571192+ af Unknown
    ubuntu@ubuntu:~$

    Then I typed "sudo grub" > "/boot/grub/stage1"
    I received this in reply:

    (hd1,0)

    Does this help us at all?

  3. #103
    Join Date
    Nov 2006
    Location
    Southern California
    Beans
    10
    Distro
    Ubuntu 6.10 Edgy

    Re: Dual Boot on Two Drives

    SUCCESS!!! Many Thanks to bulldog and gn2. System booting with 4 drives and 4 OS's through Motherboard F11 (BIOS Prioritization).

    Will Post the How To Tutorial as soon as I get done walking the dog!

  4. #104
    Join Date
    Jun 2006
    Location
    The Netherlands
    Beans
    Hidden!

    Re: Dual Boot on Two Drives

    Post your menu.lst so we can take a look how it's configured.
    I suppose it points to (hd0) cause you had just one drive connected.
    In your situation your Ubuntu is on sdb which is in GRUB talk (hd1)

    So you should examine your GRUB and have a look at fstab to correct these items so it points to (hd1,0)

    Windows is on sda = (hd0)
    Ubuntu is on sdb = (hd1)
    OSX is on sdc = (hd2)

    With this knowledge we can alter GRUB to start windows and Ubuntu,I have no experience with OSX,can't tell about that one.
    We also should make the sdb [Ubuntu disk] the master boot device so you always boot with GRUB and choose your OS.
    When GRUB should fail,you can always boot the windows disk by making it boot device,so could you do with OSX.

    Your windows and OSX disks are not affected by this way of doing things,and it's easier to boot in my view.
    Resistance is futile.....you will be assimilated!

    Registered Linux User 418427.
    #Ubuntu User 3226#

  5. #105
    Join Date
    Nov 2006
    Location
    Southern California
    Beans
    10
    Distro
    Ubuntu 6.10 Edgy

    Re: Dual Boot on Two Drives

    For those who wish to multi boot operating systems that are on separate drives with the BIOS. Accomplished by selecting an F key during BIOS post to bring up a drive list or by actually entering the BIOS and prioritizing a drive.

    1. I hooked a 500GB SATA drive to my system (alone) and loaded Windows XP
    onto it.
    2. I repeated the process with Osx86 onto a 360GB SATA drive (alone)
    3. Once again with Linux Ubuntu 6.1 onto a 160GB SATA (alone)
    4. All drives were added to the system each to it's specific plug in.
    5. Testing either from a cold boot or restart, each drive was tested by
    prioritizing it in the BIOS.
    6. All booted normally except for Linux. It gave the error:
    .bin.sh: can't access tty; job control turned off
    (initramfs)
    7. Why did it do this is the grand question... Why didn't it just behave
    like the other OS's? And how do we fix it?
    8. Reboot the system with the live Ubuntu CD with the complete array of
    drives installed.
    9. Select: Applications > Accessories > Terminal
    10. In the Terminal Window type: sudo fdisk -l
    11. I got this: (note colored text)

    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 60800 488375968+ 7 HPFS/NTFS

    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 18703 150231816 83 Linux
    /dev/sdb2 18704 19457 6056505 5 Extended
    /dev/sdb5 18704 19457 6056473+ 82 Linux swap / Solaris

    Disk /dev/sdc: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdc1 * 1 38914 312571192+ af Unknown
    ubuntu@ubuntu:~$

    12. When same function is performed with only the Linux drive in place it
    comes up as:

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 18703 150231816 83 Linux
    /dev/sda2 18704 19457 6056505 5 Extended
    /dev/sda5 18704 19457 6056473+ 82 Linux swap / Solaris

    This is the problem. It changed.
    13. The menu.lst and the fstab files must be edited to reflect the “b”
    which is what it becomes when the drives are all in the array.
    14. If you are like me, 4 days ago I had no idea where you would find those
    files.
    15. First you need to log in a root or there is no way you will be able to
    edit them.
    16. Places > Home Folder > (hit up arrow twice) > double click “boot”
    folder > double click “grub” folder and there you will find menu.lst
    17. Places > Home Folder > (hit up arrow twice) > double click “etc” folder
    > and there you will find fstab.

    18. My Original menu.lst (single drive):

    ## ## End Default Options ##

    title Ubuntu, kernel 2.6.17-10-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda1 ro quiet splash
    initrd /boot/initrd.img-2.6.17-10-generic
    quiet
    savedefault
    boot

    title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda1 ro single
    initrd /boot/initrd.img-2.6.17-10-generic
    boot

    title Ubuntu, memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin
    quiet
    boot
    ### END DEBIAN AUTOMAGIC KERNELS LIST

    19.Edited menu.lst

    ## ## End Default Options ##

    title Ubuntu, kernel 2.6.17-10-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sdb1 ro quiet splash
    initrd /boot/initrd.img-2.6.17-10-generic
    quiet
    savedefault
    boot

    title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sdb1 ro single
    initrd /boot/initrd.img-2.6.17-10-generic
    boot

    title Ubuntu, memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin
    quiet
    boot

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    20.My Original fstab (stand alone drive):

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda1
    UUID=acf68984-8e11-4132-b926-ccd4c263201b / ext3 defaults,errors=remount-ro 0 1
    # /dev/sda5
    UUID=56da790e-550a-4751-9fff-05baa2b53494 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/hda /media/cdrom1 udf,iso9660 user,noauto 0 0
    /dev/hdb /media/cdrom2 udf,iso9660 user,noauto 0 0

    21.Edited menu.lst

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sdb1
    UUID=acf68984-8e11-4132-b926-ccd4c263201b / ext3 defaults,errors=remount-ro 0 1
    # /dev/sdb5
    UUID=56da790e-550a-4751-9fff-05baa2b53494 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/hda /media/cdrom1 udf,iso9660 user,noauto 0 0
    /dev/hdb /media/cdrom2 udf,iso9660 user,noauto 0 0

    22.That's it! Enjoy.

    Many Thanks to gn2 and bulldog for making me think!. It may not be the easiest way to skin the cat but it works. No GRUB and No Acronis. Although now you could set Windows to boot as your default drive, install the Acronis bootloader on Windows and Voila.. There ya go.

  6. #106
    Join Date
    Jun 2006
    Location
    The Netherlands
    Beans
    Hidden!

    Re: Dual Boot on Two Drives

    Nice, you have it as you want now,it's not that difficult to understand how GRUB works

    If you connect just one hdd it's alway recognized as (hd0).
    But if you connect more of them,that could change very easily .

    Just find out which drive is which with sudo fdisk -l and change the menu.lst and fstab to correct it to the proper disk and you're off to go.

    To find GRUB [menu.lst] with terminal commands,
    Code:
    gksudo gedit /boot/grub/menu.lst
    To find fstab with the terminal
    Code:
    gksudo gedit /etc/fstab
    But I'm glad to be of some assistence to you.
    Last edited by bulldog; December 2nd, 2006 at 05:59 PM.
    Resistance is futile.....you will be assimilated!

    Registered Linux User 418427.
    #Ubuntu User 3226#

  7. #107
    Join Date
    Sep 2005
    Location
    Ontario, Canada
    Beans
    57
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Dual Boot on Two Drives

    Quote Originally Posted by gn2 View Post

    Always disconnect other OS's drive if re-installing.

    This process will also work for adding Windows to an Ubuntu system
    Why does the other OS's drive need to be disconnected? I just added a second SATA disk to my system. I would like to install windows on an NTFS partition on this new disk and split the rest between FAT32 (for file sharing) and ext3 (for system backup). Do I need to unplug my existing SATA drive with Kubuntu before installing Windows on the new disk?

  8. #108
    Join Date
    Jul 2006
    Location
    Bonnie Scotland
    Beans
    2,307
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Dual Boot on Two Drives

    Quote Originally Posted by casfindad View Post
    Why does the other OS's drive need to be disconnected?
    The quote was relating to re-installing.

    If you re-install Ubuntu using the standard CD, it will put Grub in your Windows drive MBR.

    As you are installing Windows on a new SATA drive, you may not have todisconnect, however if you do disconnect the Ubuntu drive you will defiinitely not be able to install Windows to the wrong drive by mistake.

    Disconnection is a safety precaution.

    If your hardware is up to it, I would suggest running a Virtual PC with VMWare or Parallels instead of dual-booting.

  9. #109
    Join Date
    Oct 2006
    Beans
    14

    Re: Dual Boot on Two Drives

    Well my friends, can't find solution/succeed in this important thread, and I do expect that someone can help me:
    SATA with 2 partitions, the 1st with Ubuntu 6.10, the 2nd as storage (100 Gb each one)
    IDE drive with a FAT32 partition (slave).
    If a type:
    sudo fdisk -l
    output:
    /dev/sda1 1 65 522081 83 Linux
    /dev/sda2 66 326 2096482+ 82 Linux swap / Solaris
    /dev/sda3 327 13075 102406342+ 83 Linux
    /dev/sda4 13076 30401 139171095 83 Linux

    My question is: why Ubuntu 6.10 does not recognize my FAT32 partition?
    This partition runs pretty good with XP & Fedora Core 5.
    /etc/fstab:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda3
    UUID=bfa5b0de-ae59-4c0b-822e-3323ac21129e / ext3 defaults,errors=remount-ro 0 1
    # /dev/sda1
    UUID=66adee43-571d-43b2-a7eb-88da5660a74e /boot ext3 defaults 0 2
    # /dev/sda4
    UUID=dd2145af-6b95-441f-ab8b-37f88a4b980a /opt ext3 defaults 0 2
    # /dev/sda2
    UUID=67e984fe-4e5e-4225-969a-e4625bf484a6 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
    /dev/ /media/floppy0 auto rw,user,noauto 0 0
    /etc/mtab:
    /dev/sda3 / ext3 rw,errors=remount-ro 0 0
    proc /proc proc rw,noexec,nosuid,nodev 0 0
    /sys /sys sysfs rw,noexec,nosuid,nodev 0 0
    varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
    varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
    procbususb /proc/bus/usb usbfs rw 0 0
    udev /dev tmpfs rw,mode=0755 0 0
    devshm /dev/shm tmpfs rw 0 0
    devpts /dev/pts devpts rw,gid=5,mode=620 0 0
    lrm /lib/modules/2.6.17-10-generic/volatile tmpfs rw 0 0
    /dev/sda1 /boot ext3 rw 0 0
    /dev/sda4 /opt ext3 rw 0 0
    binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0

    Thanks in advance!

  10. #110
    Join Date
    Jul 2006
    Location
    Bonnie Scotland
    Beans
    2,307
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Dual Boot on Two Drives

    Quote Originally Posted by willcox View Post
    My question is: why Ubuntu 6.10 does not recognize my FAT32 partition?
    What's on this Fat32 partition on your IDE slave drive?

Page 11 of 18 FirstFirst ... 910111213 ... LastLast

Bookmarks

Posting Permissions

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