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

Thread: Can't instal bootloader

  1. #1
    Join Date
    May 2012
    Beans
    1

    Question Can't instal bootloader

    Hello.

    I have the following problem.

    I've tried to install ubuntu 11.10 and 12.04 versions and have the same problem:

    If I install it booting from ubuntu CD, everything is fine until I'm getting to the very end of installation and receive a message that the bootloader cannot be set to selected partition.
    This message appears every time I select any other partition.
    Then I choose to complete installation without bootloader and reboot.
    However I skipped the grub installation, it replaces windows bootloader and has absolutely no settings (no ubuntu and no windows entries) so I have to use windows CD to restore the boot section.

    If I begin the installation from windows via wubi, I get an error about wrong partition right after booting in ubuntu.

    I have following file system configuration:

    1st disk (OCZ Revodrive (it's a PCI-E SSD) configured as a RAID0 Massive
    100mb system reserved partition and 120GB Disk C with Windows and bootloader

    2nd disk is RAID0 made of 4 HDD's 500gb each
    Only 1 partiton on it (Disk D with files)

    and 3th disk is a single HDD 250gb
    Disk E with files

    All partitions are formatted in NTFS.

    (I shrink 20gb from C or E before trying to install ubuntu)


    I also have quad-core i7 CPU that causes kernel panic if I run the installation with all 4 cores enabled (but seems that its some kind of linux specific)

    I also use EasyBCD to configure boot section from windows.
    Can I add my OS's to grub from windows or something?

    I also cant configure the size of swap partition that I actually don't need at all (have 12GB of RAM)
    Last edited by Dartmaul; May 7th, 2012 at 09:02 AM.

  2. #2
    Join Date
    May 2012
    Beans
    5

    Re: Can't instal bootloader

    Beware the OCZ Revodrive...

    The last OS that installed on my computer from a CD without a problem was Ubuntu 10.10

    My computer is very simple:
    mobo: asus P6T deluxe
    cpu: i7 920
    memory: 6 gig
    disk: OCZ revodrive (original - 50 gig)
    graphics card: nvidia GeForce 9600 GT
    CD: Asus DRW-2014L1T


    I have no other drives except the Revodrive, and the only OS I had was already Ubuntu
    The entire drive was ext4.
    I have CDs with 11.04, 11.10, 12.04 and none of them would do a clean install.
    Every one of them tries to install the bootloader in sda1 and fails no matter what partition I select.
    It seems like Ubutnu forgot how to work with Revodrive between 10.10 and 11.04

    The only way I could manage to get 12.04 was to:
    1/ install 10.10 from a CD
    2/ upgrade to 11.04 online
    3/ upgrade to 11.10 online
    4/ upgrade to 12.04 online

    It was a long afternoon...

    PS. In desparation I've tried Linux Mint, but it has the same problem.

  3. #3
    Join Date
    Apr 2006
    Beans
    Hidden!

    Exclamation Re: Can't instal bootloader

    I have pretty much the same setup as PremC. Only difference is that I have a 110 GB SSD RevoDrive.

    I had Ubuntu running on this machine. Think it might have been 11.04, not sure though.

    I have been at it for a good two days now, installing, reinstalling, tearing my hair, and installing once more, just to check that I did not do anything wrong during the installation process.

    Now the installation works flawless. It is when I try to reboot and start the new, wonderfull distro that I get an error message saying that it is not able to find something to boot.

    I have tried the desktop version, the server version and even the alternate version. None of them works, although I got to do some RAID setup with tha latter one. I figured that had to be a positive thing.

    I have a 1 GB fat32 partition containing the booting stuff as prescribed in a tutorial I saw. Still no dice.

    Do I need to downgrade and upgrade the system vie the net? Please help!

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Can't instal bootloader

    Maybe I don't understand, but I'm afraid that you try to install grub into a partition instead of the beginning of the drive. What would happen if you choose /dev/sda (instead of /dev/sda1)?

    This the the selection at the bottom of the page when installing 'something else' alias editing/selecting partitions manually.

    Edit: Maybe the partition table is not what the installer expects. Please post the output of
    Code:
    sudo fdisk -lu
    Last edited by sudodus; May 12th, 2012 at 07:11 PM.

  5. #5
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Can't instal bootloader

    With all those drives, you have many MBRs. Why not use manual install and install grub2 to sde's MBR? Or are some of the drives gpt?

    If using RAID you may need extra drivers to see the RAID that are not in the Desktop install. Alternate or server installs include RAID drivers so you can 'see' the RAID partitions.

    Lets see what sudodus's suggestion on fdisk says.

    You may want to install this on liveCD. It still would not be in your install.
    sudo apt-get install mdadm
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  6. #6
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: Can't instal bootloader

    This is my result:

    ubuntu@ubuntu:~$ sudo fdisk -lu

    Disk /dev/sda: 16.2 GB, 16170196480 bytes
    64 heads, 32 sectors/track, 15421 cylinders, total 31582415 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: 0x0006a854

    Device Boot Start End Blocks Id System
    /dev/sda1 * 32 31582207 15791088 c W95 FAT32 (LBA)

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


    Disk /dev/sdb: 60.0 GB, 60022480896 bytes
    255 heads, 63 sectors/track, 7297 cylinders, total 117231408 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 234458623 117229311+ ee GPT

    Disk /dev/sdc: 60.0 GB, 60022480896 bytes
    255 heads, 63 sectors/track, 7297 cylinders, total 117231408 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

    Disk /dev/sdc doesn't contain a valid partition table

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


    Disk /dev/mapper/sil_biafbiabffaf: 120.0 GB, 120042815488 bytes
    255 heads, 63 sectors/track, 14594 cylinders, total 234458624 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/mapper/sil_biafbiabffaf1 1 234458623 117229311+ ee GPT
    Partition 1 does not start on physical sector boundary.

    Disk /dev/mapper/sil_biafbiabffaf1: 15.0 GB, 15000000512 bytes
    255 heads, 63 sectors/track, 1823 cylinders, total 29296876 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Alignment offset: 48128 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/sil_biafbiabffaf1 doesn't contain a valid partition table

    Disk /dev/mapper/sil_biafbiabffaf2: 101.0 GB, 101000000512 bytes
    255 heads, 63 sectors/track, 12279 cylinders, total 197265626 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Alignment offset: 58368 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/sil_biafbiabffaf2 doesn't contain a valid partition table

    Disk /dev/mapper/sil_biafbiabffaf3: 3000 MB, 3000000512 bytes
    255 heads, 63 sectors/track, 364 cylinders, total 5859376 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Alignment offset: 12288 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/sil_biafbiabffaf3 doesn't contain a valid partition table

    Disk /dev/mapper/sil_biafbiabffaf4: 1042 MB, 1042779648 bytes
    255 heads, 63 sectors/track, 126 cylinders, total 2036679 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Alignment offset: 53248 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    Last edited by shazzr; May 12th, 2012 at 08:41 PM.

  7. #7
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Can't instal bootloader

    Fdisk does not work with gpt drives. It seems your system promotes the USB flash to sda.

    Which device did you want to install to. If not in the RAID and gpt and booting with BIOS you need a small bios_grub partition for grub to install correctly.

    To see gpt partitions change sda to your drive(s):

    sudo parted -l
    or
    sudo parted /dev/sda unit s print
    or
    sudo gdisk -l /dev/sda

    Should look like this:

    Code:
    Model: ATA SSD G2 series 64 (scsi)
    Disk /dev/sdd: 60.0GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    
    Number  Start   End     Size    File system  Name     Flags
     1      1049kB  316MB   315MB   fat32                 boot
     2      316MB   317MB   1049kB                        bios_grub
     3      317MB   30.2GB  29.9GB  ext4         04
     4      30.2GB  60.0GB  29.9GB  ext4         Quantal
    
    fred@fred-Precise:~$ sudo gdisk -l /dev/sdd
    GPT fdisk (gdisk) version 0.8.1
    
    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present
    
    Found valid GPT with protective MBR; using GPT.
    Disk /dev/sdd: 117231408 sectors, 55.9 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 85A657E7-D379-4592-B060-E8EA09953D80
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 117231374
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 3821 sectors (1.9 MiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1            2048          616447   300.0 MiB   EF00  
       2          616448          618495   1024.0 KiB  EF02  
       3          618496        58925055   27.8 GiB    0700  04
       4        58925056       117229567   27.8 GiB    0700  Quantal
    fred@fred-Precise:~$
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  8. #8
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: Can't instal bootloader

    Quote Originally Posted by oldfred View Post
    Fdisk does not work with gpt drives. It seems your system promotes the USB flash to sda.
    Yes, it does.

    I wanted to install it to the SSD drive that I got. I have tried with bios_grub and boot flags on small partitions earlier today. No dice.

    Downloading 11.04 now. Going to try to install that, and maybe do a upgrade from there. Not a perfect solution, but maybe a solution that works.

    Just can't get my head around the SSD/GPT-thingy... :s

  9. #9
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Can't instal bootloader

    I just used gparted to create the partitions I showed above, and used manual install so I could choose to put grub2's boot loader into the MBR of sdd or the SSD. Grub likes to default to sda.

    I still have 11.10 (soon to be 12.10) in one partition and 12.04 from the alpha in the other.

    Is your system new enough to also be UEFI?
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  10. #10
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: Can't instal bootloader

    Quote Originally Posted by oldfred View Post
    Is your system new enough to also be UEFI?
    Yes. And that might also have something to do with the troubles? I have a Asus P8P67 Deluxe motherboard.

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •