barjac wrote:I finally decided to dig into os-prober code myself - and found the problem.![]()
I sent a patch upstream (Debian) which is now included in os-prober-1.53 (just released).
menuentry "Linux (Mageia 2) (on /dev/sdb6)" --class gnu-linux --class gnu --class os {
savedefault
insmod part_msdos
insmod ext2
set root='(hd1,msdos6)'
search --no-floppy --fs-uuid --set=root 48707fcd-effe-4c9a-83ba-139382d77ebc
linux /boot/vmlinuz BOOT_IMAGE=Linux_(Mageia_2) root=UUID=48707fcd-effe-4c9a-83ba-139382d77ebc nokmsboot splash quiet resume=UUID=81768dbf-7e86-4826-a37e-a84c6f28acb0 vga=791
initrd (hd0,5)/boot/initrd.img
initrd /boot/initrd.img
Creto wrote:Hi,
Well my dear, and have the kubuntu mageia in dual boot and there was a kernel update in kubuntu and there was a kernel panic and wonder Mageia is using version 1.53 os-prober
barjac wrote:Try changing the last line to :-
- Code: Select all
initrd /boot/initrd.img
Now, what is the reason for this or rather how should I phrase my bug report on OS-Prober when I submit one?
barjac wrote:Now, what is the reason for this or rather how should I phrase my bug report on OS-Prober when I submit one?
This is known and already fixed bug in os-prober.
You don't say what your grub2 based distro is, however you need to check whether there is a package available for os-prober >= 1.53 available for your distro. You may need to enable a backport or testing repo.
If not, then file a bug on their tracking system requesting an update of os-prober to a version equal to or greater than 1.53 as the current version breaks dual booting with Mageia/PCLOS/Mandriva etc.
Best of luck
menuentry 'Mageia 2' {
search --no-floppy --label --set=root mageia2
chainloader +1
}
su
grub
grub> find /etc/mageia-release
(hdX, Y)
grub> root (hdX, Y)
grub> setup (hdX, Y)
grub> quit
Nice procedure. But find will give you wrong root Y and possibly X too if user has separate boot partition. I suggest adding a note about that. Unfortunately BIOS can see X differently than the kernel. In my case it sure does as I boot from SATA and I have also one IDE hd.barjac wrote:You will also need to put a copy of your Mageia bootloader in the root partition boot sector - in Mageia do :-
- Code: Select all
su
grub
grub> find /etc/mageia-release
(hdX, Y)
grub> root (hdX, Y)
grub> setup (hdX, Y)
grub> quit
The 'find' command will return your Mageia root partition, use the values of X and Y in the next commands.
You should then be able to boot from your grub2 menu in mint.
filip wrote:Nice procedure. But find will give you wrong root Y and possibly X too if user has separate boot partition. I suggest adding a note about that. Unfortunately BIOS can see X differently than the kernel. In my case it sure does as I boot from SATA and I have also one IDE hd.
su
grub
grub> find /etc/mageia-release
(hdX, Y)
grub> find /boot/grub/menu.lst
[check that (hdX,Y) is also returned here, if it's not then do the next line]
grub> find /grub/menu.lst
[if that returns just one output, then use it below]
grub> root (hdX, Y)
grub> setup (hdX, Y)
grub> quit
grub> find /boot/grub/stage1
su
# touch /boot/grub/hey-there
grub
grub> find /boot/grub/hey-there
(hdX, Y)
grub> root (hdX, Y)
grub> setup (hdX, Y)
grub> quit
# rm /boot/grub/hey-there -f
exit
That is fine unless you have two or ten grub legacy installations on the system -
search --no-floppy --label --set=root xxx
ohmysql wrote:I've downloaded the latest version, but when I go to that folder, I do make and make install and nothing happens. It says "make: *** No rule to make target `install'. Stop."
Yet according to Mageia this is the preferred solution. So how is it done?
Users browsing this forum: No registered users and 1 guest