Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Operating system not loading, Cannot 'find Active Partition' error !

  1. #11

    Default Re: Operating system not loading, Cannot 'find Active Partition'error !

    Hi Carlos. thanks for the fast reply.

    Quote Originally Posted by robin_listas View Post
    What disk is selected in the BIOS to be the boot disk?
    Is it sdb, perhaps?

    Currently, the BIOS loops through all possible disks. sda is a SSD with storage only. sdb has Windows7/OpenSuse12.1 dualboot with two extra windows partitions. sdc is my recovery USB stick.

  2. #12
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Operating system not loading, Cannot 'find Active Partition'error !

    On 2012-12-03 14:36, serengeti wrote:

    > Currently, the BIOS loops through all possible disks. sda is a SSD with
    > storage only. sdb has Windows7/OpenSuse12.1 dualboot with two extra
    > windows partitions. sdc is my recovery USB stick.


    And none boots?

    I think that the message comes from sdb. It has a generic boot, which
    expects a partition to be marked bootable, and none is marked (like
    sdc1). If you mark, for instance, sdb1, you would boot Windows, I think.

    Normally you would have grub installed on one of the sdb partitions. It
    could be sdb4. Or it could be installed on the MBR of that disk, with
    the rest on one of the linux partitions there (the root partition of
    openSUSE, normally).


    However, you have grub installed on sda, and I have no idea why that one
    doesn't boot. It belongs to an Ubuntu install, maybe it is incomplete.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  3. #13

    Default Re: Operating system not loading, Cannot 'find Active Partition'error !

    Quote Originally Posted by robin_listas View Post
    However, you have grub installed on sda, and I have no idea why that one
    doesn't boot. It belongs to an Ubuntu install, maybe it is incomplete.
    And all the partitions on that disk are FAT32 - which is extremely strange.


    Quote Originally Posted by serengeti View Post
    Code:
    linux:~ # findgrub 
    Find Grub Version 4.4.1 - Written for openSUSE Forums
    
     - reading MBR on disk /dev/sda                       ... --> Grub2 (1.99) found in sda MBR     => sda1   0xc (Ubuntu)
     - searching partition /dev/sda1      (FAT32)         ...
     - reading bootsector  /dev/sda2      (Extended)      ...
     - searching partition /dev/sda5      (FAT32)         ...

  4. #14

    Default Re: Operating system not loading, Cannot 'find Active Partition'error !

    Quote Originally Posted by please_try_again View Post
    And all the partitions on that disk are FAT32 - which is extremely strange.
    Not so strange. I formatted this disk in windows and use it for media only. Very strange is why there is a GRUB2 (and from Ubuntu). I did never install Ubuntu other than in a VM

  5. #15

    Default Re: Operating system not loading, Cannot 'find Active Partition'error !

    Quote Originally Posted by robin_listas View Post

    And none boots?
    No. (Except sdc1 of course)

    Quote Originally Posted by robin_listas View Post
    I think that the message comes from sdb. It has a generic boot, which
    expects a partition to be marked bootable, and none is marked (like
    sdc1). If you mark, for instance, sdb1, you would boot Windows, I think.

    Normally you would have grub installed on one of the sdb partitions. It
    could be sdb4. Or it could be installed on the MBR of that disk, with
    the rest on one of the linux partitions there (the root partition of
    openSUSE, normally).
    Things are clearing up a bit. sda is actually not recognized in BIOS (and never was) as it is an expresscard. For simplicity I have removed it now.
    This leaves me with sdb.
    I have opened the bootloader app of YAST. It launches with an error saying "Because of the partitioning, the boot loader cannot be installed properly." Does this mean all the changes I do will have no effect?

    I then tried to set a custom boot partition /dev/sdb4 This creates an error (Error 17: Cannot mount selected partition)

    I have the feeling I am editing /boot/ of the sdc and changes are lost after reboot. How can I check that I am doing the right thing?

  6. #16

    Default Re: Operating system not loading, Cannot 'find Active Partition'error !

    Quote Originally Posted by serengeti View Post
    Not so strange. I formatted this disk in windows and use it for media only. Very strange is why there is a GRUB2 (and from Ubuntu). I did never install Ubuntu other than in a VM
    You do have Grub in MBR of your sda, and it is most likely Ubuntu's Grub. Don't ask me why!

    The information in blue must be correct. But the information in red might be wrong - and is wrong in your case - because findgrub can not guess the BIOS drive mapping since you don't have a device.map, as the warning at the end says. The partition information is correct though, but the disk is wrong. It should be sdc1. You installed Ubuntu - somehow - while sda was set as your first BIOS disk - and Ubuntu installs by default the Grub boot loader in the MBR of the boot disk - because it is the one which is supposed to boot after all.

    Code:
    linux:~ # findgrub 
    Find Grub Version 4.4.1 - Written for openSUSE Forums
    
     - reading MBR on disk /dev/sda                       ... --> Grub2 (1.99) found in sda MBR     => sda1   0xc (Ubuntu)
     - searching partition /dev/sda1      (FAT32)         ...
     - reading bootsector  /dev/sda2      (Extended)      ...
     - searching partition /dev/sda5      (FAT32)         ...
    
     - reading MBR on disk /dev/sdb                       ... --> SUSE Generic MBR (Sig: 0xed0a5378)
     - searching partition /dev/sdb1      (NTFS)          ... --> Windows7/Vista Loader found in /dev/sdb1
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    You can add the following entry to /boot/grub/menu.lst :
    
    ###Don't change this comment - YaST2 identifier: Original name: WindowsBootLoader###
    title Windows on /dev/sdb1
        rootnoverify (hd1,0)
        map (hd1) (hd0)
        map (hd0) (hd1)
        chainloader +1
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
     - searching partition /dev/sdb2      (NTFS)          ... --> Windows7/Vista Loader found in /dev/sdb2
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    You can add the following entry to /boot/grub/menu.lst :
    
    ###Don't change this comment - YaST2 identifier: Original name: WindowsBootLoader###
    title Windows on /dev/sdb2
        rootnoverify (hd1,1)
        map (hd1) (hd0)
        map (hd0) (hd1)
        chainloader +1
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
     - searching partition /dev/sdb3      (NTFS)          ...
     - reading bootsector  /dev/sdb4      (Extended)      ...
     - searching partition /dev/sdb5      (FAT32)         ...
     - skipping partition  /dev/sdb6      (swap)         
     - reading bootsector  /dev/sdb7      (LINUX)         ...
     - reading bootsector  /dev/sdb8      (LINUX)         ...
     - reading bootsector  /dev/sdb9      (LINUX)         ...
     - reading bootsector  /dev/sdb10     (LINUX)         ...
     - searching partition /dev/sdb11     (NTFS)          ...
    
     - reading MBR on disk /dev/sdc                       ...
     - reading bootsector  /dev/sdc1   *  (LINUX)         ...
    
    ********************************************************************************
    WARNING: /boot/grub/device.map not found.
         Displayed BIOS device mapping may be incorrect!
    ********************************************************************************

  7. #17

    Default Re: Operating system not loading, Cannot 'find Active Partition' error !

    This is an update what I have. Not sdb became sda and sdc became sdb as I removed the sda (removable SSD)

    Code:
    linux:~ # updategrub -a
    - patching /etc/default/grub ...
    Generating grub.cfg ...
    Found theme: /boot/grub2/themes/openSUSE/theme.txt
    Found background: /boot/grub2/themes/openSUSE/background.png
    Found linux image: /boot/vmlinuz-3.4.6-2.10-default
    Found initrd image: /boot/initrd-3.4.6-2.10-default
      No volume groups found
    Found Windows 7 (loader) on /dev/sda1
    Found Windows 7 (loader) on /dev/sda2
    Found openSUSE 12.1 (x86_64) on /dev/sda7
    done
    linux:~ # findgrub -a
    Find Grub Version 4.4.1 - Written for openSUSE Forums
    
     - reading MBR on disk /dev/sda                       ... --> SUSE Generic MBR (Sig: 0xed0a5378)
     - searching partition /dev/sda1      (NTFS)          ... --> Windows7/Vista Loader found in /dev/sda1
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    You can add the following entry to /boot/grub/menu.lst :
    
    ###Don't change this comment - YaST2 identifier: Original name: WindowsBootLoader###
    title Windows on /dev/sda1
        rootnoverify (hd0,0)
        chainloader +1
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
     - searching partition /dev/sda2      (NTFS)          ... --> Windows7/Vista Loader found in /dev/sda2
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    You can add the following entry to /boot/grub/menu.lst :
    
    ###Don't change this comment - YaST2 identifier: Original name: WindowsBootLoader###
    title Windows on /dev/sda2
        rootnoverify (hd0,1)
        chainloader +1
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
     - searching partition /dev/sda3      (NTFS)          ...
     - reading bootsector  /dev/sda4   *  (Extended)      ...
     - searching partition /dev/sda5      (FAT32)         ...
     - skipping partition  /dev/sda6      (swap)         
     - reading bootsector  /dev/sda7      (LINUX)         ...
     - reading bootsector  /dev/sda8      (LINUX)         ...
     - reading bootsector  /dev/sda9      (LINUX)         ...
     - reading bootsector  /dev/sda10     (LINUX)         ...
     - searching partition /dev/sda11     (NTFS)          ...
    
     - reading MBR on disk /dev/sdb                       ...
     - reading bootsector  /dev/sdb1   *  (LINUX)         ...
     - reading bootsector  /dev/sdb4      (LINUX)         ...
    
    ********************************************************************************
    WARNING: /boot/grub/device.map not found.
         Displayed BIOS device mapping may be incorrect!
    ********************************************************************************
    
     Bootflag can not be set: No Grub was found in primary or in the extended partition.
    Why does updategrub complete, but findgrub not find any grub on the system?

  8. #18

    Default Re: Operating system not loading, Cannot 'find Active Partition' error !

    I think I have to give up.
    Now the recovery live USB fails to load. I get

    Code:
    Loading Kiwi CD- Boot system
    -----------------------------
    Creating device nodes with udev
    ...
    failed to mount root filesystem
    rebootException: reboot in 120 sec
    I will try if I can fix the MBR with the windows recovery CD and go from there

  9. #19

    Default Re: Operating system not loading, Cannot 'find Active Partition' error !

    Quote Originally Posted by serengeti View Post
    I think I have to give up.
    <SNIP>
    I will try if I can fix the MBR with the windows recovery CD and go from there
    Don't give up! You have just worked out the easiest solution of using the Windows recovery CD. For detailed instructions, see How to Fix Windows 7 When It Fails to Boot [NB/ the most important part for you will be the use of the DISKPART utility which will allow you to select the Windows C:/ as your active partition].

    This will restore your Windows installation but will not allow you to boot into Linux. When this works, you can then come back to us and ask a Linux expert (and that's not me!) the best way to set up your dual boot if you still want one ... my advice would be to use GRUB Legacy because my experience of GRUB2 has been pretty horrendous, but the experts would probably think (rightly!) that this was mostly likely due to my own ignorance.

  10. #20

    Default Re: Operating system not loading, Cannot 'find Active Partition' error !

    Quote Originally Posted by serengeti View Post
    Why does updategrub complete, but findgrub not find any grub on the system?
    Because updategrub -a only rewrites the boot menu but doesn't install the boot loader. updategrub -i can be used to install Grub2 boot loader under 12.1, but this feature is disabled under 12.2. Here's the code:

    Code:
    ...
    	if [ $distnum -ge 122 ] ; then
    		printf "updateGrub2 should not be used to install Grub2 on openSUSE >= 12.2\n"
    	else
    ...
    As for findgrub, it doesn't find grub because there isn't any. The question is: how come you ended up with SUSE generic boot code in MBR but not a single Grub boot loader anywhere? That's the problem here.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

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