Grub error 22/15 on dual-boot Mageia 4 with Windows 7

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Grub error 22/15 on dual-boot Mageia 4 with Windows 7

Postby yek » May 14th, '14, 06:06

I have searched this forum and found similar incident but not the one that solve the problem.
Therefore I decided to ask questions here.

My PC environment:
ASRock X88FM2 Killer (AMD FM2+) / AMD A7700K (Kaveri) 128GB SSD + ( 3TB HDD * 5 )

I installed Windows 7 to 3TB hard disk drive before Mageia 4 installation.
Windows made 3 partitions. The "C:" drive is in the third partition. The
second partition is NTFS, and the first partition is unknown.

I installed Mageia 4. (I used semi-automated installation at this time.)
Then rebooted. Grub2 menu was displayed.
I selected "Windows 7" boot menu. Windows 7 says "check boot loader and recommend to repair it." I followed it.
Then I got "Grub stage 1.5 error 22".
I cannot start Windows because of same symptoms.

I had to re-install Mageia 4 since Catalyst installation caused Mageia to crush.
At this time, I used manual installation (partition, file system.) Then rebooted.
I selected "Windows 7" from boot menu. Then I got:


-----
Code: Select all
root (hd0,0)
  File system type unknown, partition type 0x03
make active
chainloader +1

remove disk or other media.
Press anykey to restart

-----

then

-----
Code: Select all
Grub loading stage1.5...


Grub loading, please wait.
error 15

-----

When booted with explicit given boot device (maybe it mean "Windows Boot Loader"), I get same error code (boot loader checked and error 22) but no human intervention involved.


I have following questions.

1.How should I repair windows to make it bootable ?
2.What is wrong?


Thank you in advance.
yek
 
Posts: 4
Joined: May 14th, '14, 03:01

Re: Grub error 22/15 on dual-boot Mageia 4 with Windows 7

Postby unklar » May 14th, '14, 11:47

GRUB 2 does not generate error numbers. If such be directly output at the start, this is always a sign that GRUB Legacy at least still in the MBR.

Please insert the live DVD and a Termial the issue of:
Code: Select all
parted -l
and
Code: Select all
fdisk -l -u -c
unklar
 
Posts: 40
Joined: Apr 10th, '12, 20:30

Re: Grub error 22/15 on dual-boot Mageia 4 with Windows 7

Postby yek » May 14th, '14, 12:14

Thank you for your reply. I have tried.

Result of parted -l

Code: Select all
Error: Can't have overlapping partitions.
Error: /dev/mapper/HydrangeaVG-home--escape: unrecognised disk label
Error: /dev/mapper/HydrangeaVG-home--escape_rimage_1: unrecognised disk label
Error: /dev/mapper/HydrangeaVG-home--escape_rmeta_1: unrecognised disk label
Error: /dev/mapper/HydrangeaVG-home--escape_rmeta_0: unrecognised disk label
Error: /dev/mapper/HydrangeaVG-home--escape_rimage_0: unrecognised disk label
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Error: Can't have a partition outside the disk!

                                                                         
Model: ATA Corsair Force LS (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: pmbr_boot

Number  Start   End    Size    File system     Name                          Flags
 1      1049kB  106MB  105MB   fat32           EFI system partition          boot
 2      106MB   240MB  134MB                   Microsoft reserved partition  msftres
 3      240MB   429GB  429GB   ntfs            Basic data partition
 4      429GB   431GB  1074MB  ext4
 5      431GB   498GB  67.1GB  linux-swap(v1)
 6      498GB   766GB  268GB   reiserfs


Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  1104GB  1104GB                     lvm


Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdd: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  1104GB  1104GB                     lvm


Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sde: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  1104GB  1104GB                     lvm


Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdf: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  1104GB  1104GB                     lvm



                                                                         
Model: Linux device-mapper (raid) (dm)
Disk /dev/mapper/HydrangeaVG-home--escape: 1100GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:


                                                                         
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/HydrangeaVG-home--escape_rimage_1: 1100GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:


                                                                         
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/HydrangeaVG-home--escape_rmeta_1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:


                                                                         
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/HydrangeaVG-home--escape_rmeta_0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:


                                                                         
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/HydrangeaVG-home--escape_rimage_0: 1100GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:


                                                                         

                                                                         
Model: TSSTcorp CDDVDW TS-L633M (scsi)
Disk /dev/sr0: 1600MB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:




Result of fdisk

Code: Select all
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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
Disklabel type: dos
Disk identifier: 0x00087a69

Device    Boot     Start       End    Blocks  Id System
/dev/sda1 *      4208640 171976703  83884032  83 Linux
/dev/sda2           4095 234436544 117216225   5 Extended
/dev/sda5           4096   4192964   2094434+ 83 Linux
/dev/sda6      171978752 180152909   4087079  82 Linux swap / Solaris
/dev/sda7      180156416 234436544  27140064+ 83 Linux

Partition table entries are not in disk order.

Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 1FB3931F-D0F2-45C4-A61C-6E886D513BB0

Device           Start          End   Size Type
/dev/sdb1         2048       206847   100M EFI System
/dev/sdb2       206848       468991   128M Microsoft reserved
/dev/sdb3       468992    838862847 399.8G Microsoft basic data
/dev/sdb4    838862848    840959999     1G Microsoft basic data
/dev/sdb5    840960000    972031999  62.5G Microsoft basic data
/dev/sdb6    972032000   1496319999   250G Microsoft basic data


Disk /dev/sdc: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 059E108F-BC76-453C-9CA5-A939A4255E18

Device    Start          End Size Type
/dev/sdc1  2048   2156677119   1T Linux LVM


Disk /dev/sdd: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 7BAC7364-E807-4F1B-923C-53D157401D6E

Device    Start          End Size Type
/dev/sdd1  2048   2156677119   1T Linux LVM


Disk /dev/sde: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 8EDDD864-C362-40C5-9F72-25A3A9CBB495

Device    Start          End Size Type
/dev/sde1  2048   2156677119   1T Linux LVM


Disk /dev/sdf: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: D681678B-941B-4A1E-B848-B8DA4ED901A6

Device    Start          End Size Type
/dev/sdf1  2048   2156677119   1T Linux LVM


Disk /dev/mapper/HydrangeaVG-home--escape_rmeta_0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/HydrangeaVG-home--escape_rimage_0: 1 TiB, 1099511627776 bytes, 2147483648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/HydrangeaVG-home--escape_rmeta_1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/HydrangeaVG-home--escape_rimage_1: 1 TiB, 1099511627776 bytes, 2147483648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/HydrangeaVG-home--escape: 1 TiB, 1099511627776 bytes, 2147483648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

yek
 
Posts: 4
Joined: May 14th, '14, 03:01

Re: Grub error 22/15 on dual-boot Mageia 4 with Windows 7

Postby unklar » May 14th, '14, 12:38

sorry,
I can not help them with LVM
still help (U)EFI.

Please wait ...
unklar
 
Posts: 40
Joined: Apr 10th, '12, 20:30

Re: Grub error 22/15 on dual-boot Mageia 4 with Windows 7

Postby yek » May 14th, '14, 13:09

I complement.

Mageia uses disk sdb4 (in the list) (Ext4, /boot), sdb5 (Swap), sdb6 (ReiserFS, /), and LVM(/home).
space after LVM is reserved for ZFS pool (use in future.)

128GB SSD is not used.
In days goes by, Windows 7 and openSUSE are installed to it.
But they crashed.

Grub2 is installed top of sdb (in the list.)
Grub2 has menu
* Mageia4
* Windows 7 loader
* openSUSE 13.1
openSUSE13.1 is already deleted, so it don't startup.

I cannot select mageia installed harddrive on BIOS (UEFI?) menu.
So always need to use temporary boot device selecttion menu on start up.
If don't do it, Grub displays error 22.
yek
 
Posts: 4
Joined: May 14th, '14, 03:01

Re: Grub error 22/15 on dual-boot Mageia 4 with Windows 7

Postby unklar » May 14th, '14, 15:28

Because of the gpt partition table, the outputs from fdisk irrelevant.

parted is correct.
Code: Select all
...
 4      429GB   431GB  1074MB  ext4
...

They have a 1047MB ext4 (probably / boot) for Mageia created and there installed the bootloader (?).
This is wrong, because they use UEFI.
Find it here in the wiki "UEFI installation".

The system (Mageia) itself is not visible to me. Where is it installed? And, do not forget LVM...
unklar
 
Posts: 40
Joined: Apr 10th, '12, 20:30

Re: Grub error 22/15 on dual-boot Mageia 4 with Windows 7

Postby yek » May 15th, '14, 06:46

Thank you for your reply.

Mageia 4 is installed in the sixth partition (ReiserFS) of the harddrive(sdb) as root filesystem.
"I" have created the boot partition (sdb4) at the second installation. Mageia doesn't create it automatically.
Boot loader isn't in sda4. It is in top of sdb (MBR in general).

I have created LVM with command line after the first time installation.
Mageia doesn't know it in the time. I edited /etc/fstab.
Mageia installer found it at the second installation. So now Mageia knows /home in LVM.
LVM is used only for /home now.

I can start up Mageia normally. There is no problem.
Problem is that "I cannot start Windows" (with Grub error 15/22.)

"Boot device selection" is feature of M/B.
* Press F1 key at boot splash screen.
* Select "Boot" menu item.
* Select menu item that sequence of boot devices.
* I do not see the harddrive in the list.
But I think it is not a problem. I think it is feature of the M/B ;)

I found UEFI instllation topic in wiki.
But I need some time for understand the page (because I'm not good at english.)
yek
 
Posts: 4
Joined: May 14th, '14, 03:01


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest