Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 36

Thread: Windows boots, but not Ubuntu

  1. #11
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Windows boots, but not Ubuntu

    No, if you did that last time, that is because it's not booting. You didn't need to reinstall all of it, probably only grub2 needed installing on the mbr. That is done easily with two commands from live mode.

    Anyway, the grub2 bootloader goes to a MBR of a disk. In this case it would be the MBR of the hdd. NOT the ubuntu partition. The boot process starts on the MBR so the bootloader needs to be there.

    Also, you will need to tell bios to boot from that hdd first, not the ssd.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  2. #12
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Windows boots, but not Ubuntu

    You have to install the grub2 boot loader to the MBR of the hard drive you install Ubuntu into, not any partitions. Computers only boot from MBR in BIOS mode. UEFI only boots from efi partition. So no systems boot from a partition unless you have another boot loader that has the capability to chain load.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #13
    Join Date
    Mar 2013
    Beans
    18

    Re: Windows boots, but not Ubuntu

    alright that makes sense...


    here my sudo fdisk

    ubuntu@ubuntu:~$ sudo fdisk -l

    Disk /dev/sda: 128.0 GB, 128035676160 bytes
    255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x8bc7817c

    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
    /dev/sda2 206848 250066943 124930048 7 HPFS/NTFS/exFAT

    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


    Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 1953525167 976762583+ ee GPT
    ubuntu@ubuntu:~$

  4. #14
    Join Date
    Mar 2013
    Beans
    18

    Re: Windows boots, but not Ubuntu

    Quote Originally Posted by darkod View Post
    No, if you did that last time, that is because it's not booting. You didn't need to reinstall all of it, probably only grub2 needed installing on the mbr. That is done easily with two commands from live mode.

    Anyway, the grub2 bootloader goes to a MBR of a disk. In this case it would be the MBR of the hdd. NOT the ubuntu partition. The boot process starts on the MBR so the bootloader needs to be there.

    Also, you will need to tell bios to boot from that hdd first, not the ssd.


    can you tell me those 2 commands please to install the bootloader on the MBR of mz HDD

    i already installed it on the ubuntu partition...

  5. #15
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Windows boots, but not Ubuntu

    Hold on, that message about gpt table on sdb is important. Please post the result of:
    Code:
    sudo parted /dev/sdb print
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  6. #16
    Join Date
    Mar 2013
    Beans
    18

    Re: Windows boots, but not Ubuntu

    awesome, i installed it with grub2 on the mpr an now it works! Thanks!!!!



    test@test-System-Product-Name:~$ sudo parted /dev/sdb print
    [sudo] password for test:
    Model: ATA SAMSUNG HN-M101M (scsi)
    Disk /dev/sdb: 1000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt

    Number Start End Size File system Name Flags
    1 1049kB 994GB 994GB ntfs Basic data partition
    2 994GB 1000GB 6291MB ext3

    test@test-System-Product-Name:~$
    Last edited by sasparilla; March 2nd, 2013 at 08:20 PM.

  7. #17
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Windows boots, but not Ubuntu

    You have a 994GB ntfs partition on that disk, do you want to keep it? Do you have important data there?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  8. #18
    Join Date
    Mar 2013
    Beans
    18

    Re: Windows boots, but not Ubuntu

    exactly! is that a problem? i installed ubuntu only for test purpose on a 6gb Partition on that HDD, if i like it i will buy a second ssd anyways
    Last edited by sasparilla; March 2nd, 2013 at 08:28 PM.

  9. #19
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Windows boots, but not Ubuntu

    To get grub to install correctly on gpt drives you also need a tiny 1MB unformatted bios_grub partition. You can have that anywhere on drive and with gparted right click to add flags and add the bios_grub flag.

    You only have 6GB for Ubuntu. I normally suggest 10 to 25GB for / (root) with the larger size for larger drives since you should have space. With 6GB you will not be able to install a lot and will have to be careful to manage space with regular housecleaning.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #20
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Windows boots, but not Ubuntu

    Hmm, you left too little space for ubuntu, only 6GB. In theory it could install on 6GB, but it won't have much space. Plus it will not have a space for a swap partition.

    Another issue is that on gpt disks ubuntu needs a small bios_grub partition so that grub2 can install properly.

    If you still want to try it post the output of:
    Code:
    sudo parted /dev/sdb unit MiB print
    and I can give you more specific commands how to do the bios_grub partition.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

Page 2 of 4 FirstFirst 1234 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
  •