Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: WIndows to 8.04 Hard Drive Boot Issue

  1. #1
    Join Date
    Oct 2008
    Location
    USA
    Beans
    13
    Distro
    Ubuntu 8.04 Hardy Heron

    WIndows to 8.04 Hard Drive Boot Issue

    Just made the leap from xp to 8.04. I have 2 hard drives installed, one for data the other for OS. Every time I boot, I have to go into the bios and re-select the correct hard drive to boot from.

    I make the selection to save, and computer boots. Shut down, same thing happens again. What am I missing??

    Any insight will be appreciated.

  2. #2
    Join Date
    Feb 2008
    Location
    /home/martrn
    Beans
    501

    Re: WIndows to 8.04 Hard Drive Boot Issue

    Are you sure you have to enter the BIOS to select the correct hard disk to boot from. Usually when entering the BIOS you have to hold down the <DEL> key or hold down the <F*> or <F6> key or simular. Grub can look like the BIOS update sometimes. The BIOS will load everytime a computer is started regardless of you holding down any screens although normaly you will not have to enter it. If your BIOS is not remembering your settings when you save and exit the BIOS enter program then you may have a flat CMOS batter in your motherboard.

    If you motherboard will not boot any disk other than the first hard disk in your computer system then you may need to install grub to the other hard disk on the computer system. Goto https://help.ubuntu.com/community/GrubHowto to find out how to do this. Normally you don't need to do this you can play around with the BIOS to make sure it boots the correct disk.

    Sometimes it can be difficult to work out whats going on, the BIOS will bootstrap load the MBR on the hard disk specified in the BIOS, but the MBR could be installed to either the first hard disk or the second hard disk in your computer system. The MBR on the disk the BIOS points to should contain grub, which will boot stage2 of grub if you need to boot ubuntu.

  3. #3
    Join Date
    Oct 2008
    Location
    USA
    Beans
    13
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: WIndows to 8.04 Hard Drive Boot Issue

    I have to hold down the DEL key. Once in the Bios I have to change the order of the hard disk boot drive, press F10 to save, and select [OK]. The drive I change to is the drive with Ubuntu loaded. The other drive has no OS; contains only my data files.

    Thanks for the link. I will give it a try.
    Last edited by mary900; October 31st, 2008 at 04:11 AM.

  4. #4
    Join Date
    Feb 2008
    Location
    /home/martrn
    Beans
    501

    Re: WIndows to 8.04 Hard Drive Boot Issue

    Grub is only a boot strap loader. An operating system would load in several stages, the first part would be to load, the BIOS, which would load the first part of grub. The part contained in the MBR. The second stage of grub would be on a partition where your operating system is stored which is the part where your kernel (or operating system) is stored.

    The first part of grub, which is the boot strap will only contain instructions to load the second part. It wouldn't matter which disk (or MBR) the first part of grub would be placed upon as long as the BIOS is pointing to it.

    As before you have two options:

    1. Get the BIOS to point to the MBR with grub on. Check your motherboard manual for an howto.
    2. Put grub on the MBR of the disk that the BIOS is pointing toward. See https://help.ubuntu.com/community/GrubHowto for the how to on that.

  5. #5
    Join Date
    Oct 2008
    Location
    USA
    Beans
    13
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: WIndows to 8.04 Hard Drive Boot Issue

    Thanks for the info martrn. I will try the instructions of the link you provided. I'll do that tomorrow night...this has wore me out today!!!

  6. #6
    Join Date
    Oct 2008
    Location
    USA
    Beans
    13
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: WIndows to 8.04 Hard Drive Boot Issue

    After reading the link you provided, my kopt=root has the following setting:

    # kopt=root=UUID=138a7cfd-6cb7-47c9-89e8-b903740b8a59 ro

    I'm thinking it should be: "kopt=root=/dev/sdb1 ro" because when I "df /" I get sdb1. Will I crash anything by changing the value of my current kopt=root line?

    Once again, thanks.

  7. #7
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: WIndows to 8.04 Hard Drive Boot Issue

    Mary900, are you sure you can't go into BIOS and simply change the boot order permanently so you don't have to change it each time on start up? If you install Grub to the MBR (Master Boot Record) of your data drive, then your two drives become dependent on each other for booting, meaning that if you have problems with either of them you may not be able to boot Ubuntu. It is much more ideal to boot directly from the Ubuntu drive on start up like you are doing now, but you should be able to make the boot order change permanent in BIOS so you don't have to do it manually every time on start up.

    If it's not too much trouble, it would help if you could also post:
    Code:
    sudo fdisk -lu
    You can do that from a terminal (applications > accessories > terminal).

  8. #8
    Join Date
    Oct 2008
    Location
    USA
    Beans
    13
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: WIndows to 8.04 Hard Drive Boot Issue

    Something odd I just discovered. If I just "restart" computer the Bios doesn't retain settings that I just changed in the Bios to bring up the computer. However, if I do "Shut Down" and re-boot, the computer boots from the correct drive.

    The 40.9 GB drive is just my data drive.

    Disk /dev/sda: 40.9 GB, 40982151168 bytes
    255 heads, 63 sectors/track, 4982 cylinders, total 80043264 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0xea1aa9c7

    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 78108029 39053983+ 7 HPFS/NTFS

    Disk /dev/sdb: 122.9 GB, 122942324736 bytes
    255 heads, 63 sectors/track, 14946 cylinders, total 240121728 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x96b196b1

    Device Boot Start End Blocks Id System
    /dev/sdb1 63 237103334 118551636 83 Linux
    /dev/sdb2 237103335 240107489 1502077+ 5 Extended
    /dev/sdb5 237103398 240107489 1502046 82 Linux swap / Solaris

  9. #9
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: WIndows to 8.04 Hard Drive Boot Issue

    One thing I notice is that none of your partitions on your sdb Ubuntu drive are marked as bootable, and some BIOSes will refuse to boot a drive that doesn't have one partition marked as bootable. That's not quite your case since you can obviously boot the Ubuntu, but I think it would be wise to at least mark one partition active in case that has any effect on how your BIOS treats the boot order on start up. In other words, it can only help, not hurt.

    If that sounds OK with you, then just do:
    Code:
    sudo fdisk /dev/sdb
    Press "a", "1", then "w". fdisk should quit, and then do:
    Code:
    sudo fdisk -l
    And make sure sdb1 has an asterisk * next to it showing that it is bootable. See if that makes any difference about booting the Ubuntu drive when doing a shutdown vs. restart. Let me know how it goes.

  10. #10
    Join Date
    Oct 2008
    Location
    USA
    Beans
    13
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: WIndows to 8.04 Hard Drive Boot Issue

    caljohnsmith -- I now have * beside sdb1 but now I get "cannot find operating system" error if I just do a restart. Before I was getting "cannot find array" error. Still boots fine from a shut down.

    But your method cured another ill I was having (either that or the stars are aligned correctly)... I could not get correct monitor or resolution to show up. Now, presto, I have correct monitor and all corresponding screen resolutions -- go figure!!

    Well...I spoke too soon...did another shut down and got the same monitor and resolution problem back. I'm wondering if I should re-install ubuntu...??
    Last edited by mary900; October 31st, 2008 at 04:11 PM.

Page 1 of 2 12 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
  •