Page 1 of 1

Trying to install Mageia 3 to LVM

PostPosted: May 20th, '13, 13:12
by Bequimao
Hello all,

Im a trying to install Mageia 3 to a logical partition of an LVM. By custom, I use the full DVD Mageia-3-x86_64-DVD.iso. Is it possible at all with this installer? I missed the option to choose between grub Legacy and Grub2, and where to install the Bootloader. I dumped to ISO to a pen drive (command dd). I put everything into one partition, no separate /boot or /home.

The installation runs to a point after configuring root and user
Preparing bootloader ...
Internal error sdb10 ... unknown device ...
There is no sdb10 on my hard drive.

Best regards,
Bequimão

Re: Trying to install Mageia 3 to LVM

PostPosted: May 20th, '13, 14:58
by Bequimao
Hi, I found now that the selection which grub would occur later.

The messages look very similar to this bug-report: https://bugs.mageia.org/show_bug.cgi?id=9011
although here is no encryption involved.

I will now test an installation from a live system and try to catch the messages.

Some system info
Code: Select all
root@siductionbox:/home/bequimao# vgs
  VG   #PV #LV #SN Attr   VSize   VFree
  vg1    1  10   0 wz--n- 179,98g 58,98g
root@siductionbox:/home/bequimao# lvs
  LV    VG   Attr      LSize  Pool Origin Data%  Move Log Copy%  Convert
  mlvm1 vg1  -wi-ao--- 12,00g                                           
  mlvm2 vg1  -wi-ao--- 40,00g                                           
  mlvm3 vg1  -wi-a----  9,00g                                           
  mlvm4 vg1  -wi-a----  8,00g                                           
  mlvm5 vg1  -wi-a----  9,00g                                           
  mlvm6 vg1  -wi-a---- 11,00g                                           
  mlvm7 vg1  -wi-a----  8,00g                                           
  mlvm8 vg1  -wi-a----  9,00g                                           
  mlvm9 vg1  -wi-a----  9,00g                                           
  swap  vg1  -wc-ao---  6,00g                                           
root@siductionbox:/home/bequimao# fdisk -l /dev/sda

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x000b2af3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1       110942208   488396799   188727296   8e  Linux LVM
/dev/sda2            2048     2099199     1048576   83  Linux
/dev/sda3         2101239   110942207    54420484+   5  Extended
/dev/sda5         2103296    20606975     9251840   83  Linux
/dev/sda6        20609024    22657023     1024000   83  Linux
/dev/sda7        22659072    47824895    12582912   83  Linux

Partition table entries are not in disk order

Best regards,
Bequimão

Re: Trying to install Mageia 3 to LVM

PostPosted: May 20th, '13, 15:53
by sander85
I would suggest you to create /boot partition (200MB or so) and then LVM. Or choose grub2 as your bootloader, that should work too.

Re: Trying to install Mageia 3 to LVM

PostPosted: Sep 22nd, '13, 13:19
by Bequimao
sander85 wrote:I would suggest you to create /boot partition (200MB or so) and then LVM. Or choose grub2 as your bootloader, that should work too.


It doesn't matter, if I create a separate boot partition or not. And as I quoted before, the error occurred before one could choose between grub2 or grub Legacy. Just now I tested the installation with Mageia 4 alpha 1 (KDE amd64, live usb). The installer terminated before configuring root and user, or grub - I didn't see how. But I could start the kernel with grub2 from another linux installation. Then the configuration of all packages started, I configured root and user, rebooted and could even install grub2 in mcc. I guess that I have now a working complete installation of Mageia 4 in the virtual partition of LVM.

Next step, I tried to reproduce the original issue with Mageia-4-alpha2-x86_64-DVD. The bug is still active, it doesn't even matter, if I install to the logical partition of LVM or to another partition. Just the presence of my LVM only leads to the permanent loop.

The message begins with: Prepairing initial startup programs ...
and then
Code: Select all
Internal Error: Unknow device sdb10
MDK::Common::Various::Internal_Error called from /usr/lib/libDrakX/devices.pm:186

There is no sdb10 in my system. When I accept the button OK, than it starts again: Prepairing initial startup programs ...
By the way, the German translation "Initiale Systemstartprogramme vorbereiten ..." is more than awful.

I will attach my report to the original bug report.

Best regards,
Bequimão

Re: Trying to install Mageia 3 to LVM

PostPosted: Nov 1st, '13, 11:39
by Bequimao
Hi all,

I just have a hint what might have happened
Please have a look at
epidemic-4.1-b1-1-amd64.iso is nearly ready for USB stick

scdbackup wrote: ...
I myself had to do another change, due to a peculiar hard
disk layout and the mount-facility in your system.

This command stalls forever on my test machine
Code: Select all
mount -o rw -t ext3 /dev/sda15 /mnt/device


The machine has seen several failed installs and some
successful ones of Debian GNU/Linux, FreeBSD, Solaris.
So the existence and state of /dev/sda15 might be an extreme
case.
Nevertheless, mount of Debian 6 does not stall but refuses,
because of ext3 journal problems.


This is exactly what happened on my machine. I used it as test machine for quite many distros. I hope that it gives a clue to somebody how to fix the issue. There are some other bugs with similar error messages. I am nearly confident that all those bugs hang together.

Best regards,
Bequimão