Results 1 to 6 of 6

Thread: Installed 10.04.4 & lost Mandriva

  1. #1
    Join Date
    Sep 2010
    Beans
    36

    Installed 10.04.4 & lost Mandriva

    Hello.

    At work I use Mandriva 2008 {can't change that now because there is paid-for software installed in it that can not be transferred to anywhere else}.

    From next April the UK Inland Revenue require us to run their software and Ubuntu is [one of two of] their designated choices of Linux.

    So I installed Ubuntu which works fine, BUT ..........
    then when I selected Mandriva at the Boot Screen ..........
    nothing booted up.

    It turns out that Mandriva requires to be booted up from whatever it put in the first 63 sectors of the hard drive.
    VERY fortunately, for entirely unrelated reasons, I had backed-up those sectors last week and so I have been able to get Mandriva working again.

    So, two points:
    1) To prevent any surviving commercial users of Mandriva getting sacked and then commiting suicide when they too eventually do an alongside-install of Ubuntu and have no boot sector back-ups to fall back on, can the development team please at LEAST add-in a routine to back-up the first 63 sectors of the hard drive so that the unfortunate person has some hope of restoring their original system.

    2) Can anyone please tell me how to modify the Mandriva menu.lst file (below), so that when I select Ubuntu from the Boot-Menu it will start Ubuntu; there is only one hard drive and it has three partitions: Ubuntu on hda3, Mandriva on hda2 and something unmentionable on hda1.
    Code:
    timeout 10
    color black/cyan yellow/cyan
    gfxmenu (hd0,1)/boot/gfxmenu
    default 0
    
    title linux
    kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hda2  splash=silent vga=788
    initrd (hd0,1)/boot/initrd.img
    
    title linux-nonfb
    kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/hda2 
    initrd (hd0,1)/boot/initrd.img
    
    title failsafe
    kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hda2  failsafe
    initrd (hd0,1)/boot/initrd.img
    
    title windows
    root (hd0,0)
    makeactive
    chainloader +1
    Thank you

  2. #2
    Join Date
    Jul 2011
    Beans
    3,037
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installed 10.04.4 & lost Mandriva

    A grub1 tutorial for Ubuntu can be found here:

    http://ubuntuforums.org/showthread.php?t=724817

    Please note that Ubuntu now uses grub2. Appropriate tutorials for grub2 can be found here:

    http://ubuntuforums.org/showthread.php?t=1195275
    https://help.ubuntu.com/community/Grub2%20Other%20Os

    It should be no problem to either get Mandriva to boot Ubuntu or vice versa.

  3. #3
    Join Date
    Sep 2010
    Beans
    36

    Re: Installed 10.04.4 & lost Mandriva

    Thanks.

    Being a work computer, it is impractical for me to be trying bootloaders that I likely can not get to work.
    I have to be able to start Mandriva at the push of the Reset button.
    Only the existing Grub1 bootloader can do that for me, so I have to get that working with Ubuntu.

    I have tried:

    Code:
    title linux-Ubuntu
    kernel (hd0,2)/boot/vmlinuz-2.6.32-38-generic  root=/dev/hda3   vga=788
    initrd (hd0,2)/boot/initrd.img-2.6.32-38-generic
    and also:
    Code:
    title linux-Ubuntu
    kernel (hd0,2)/vmlinuz  root=/dev/hda3   vga=788
    initrd (hd0,2)/initrd.img
    in the menu.lst file, but neither worked;
    a BIOS message popped up for the blink of an eye [couldn't read it] and then the screen stayed blank.
    AFAIKS - that should have worked, so I am starting to think that Ubuntu needs something extra (??)

    Ubuntu /boot looks like:
    Code:
    abi-2.6.32-38-generic
    config-2.6.32-38-generic
    grub/
    initrd.img-2.6.32-38-generic
    memtest86+.bin
    System.map-2.6.32-38-generic
    vmcoreinfo-2.6.32-38-generic
    vmlinuz-2.6.32-38-generic
    and in / there are:
    Code:
    initrd.img
    vmlinuz
    Mandriva's /boot/grub/device.map file looks like:
    Code:
    (fd0) /dev/fd0
    (hd0) /dev/hda
    any ideas, please.

  4. #4
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Installed 10.04.4 & lost Mandriva

    Have you tied without the vga parameter? You might need that only for Mandriva.

    In general, it could be video driver related. Try first wihout any vga parameter, if that doesn't work try to replace the vga with nomodeset.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Installed 10.04.4 & lost Mandriva

    Almost sure grub2 would have boot mandriva, but since you want grub legacy this is a boot stanza to boot the most current kernel. Change to your drive & partition.


    Code:
    title    Most Current Ubuntu on sda3
    root    (hd0,2)
    kernel   /vmlinuz root=/dev/sda3 ro quiet splash
    initrd  /initrd.img
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Sep 2010
    Beans
    36

    Re: Installed 10.04.4 & lost Mandriva

    darkod:
    Your idea about vga was correct.
    Ubuntu started - but didn't complete and dropped into Busybox.
    However the error message a few inches above it on the screen related to a search for the hard drive - 'hda' and - luckily - I remembered that Ubuntu doesn't use the 'hda' format but the 'sda' one instead.
    So I changed menu.lst to read:
    Code:
    title linux-Ubuntu
    kernel (hd0,2)/vmlinuz  root=/dev/sda3
    initrd (hd0,2)/initrd.img
    and then - success.

    Thank you to you too oldfred.
    You'd have got me there too if my memory had been less with it.

    But I now have another problem with this CD here:
    http://ubuntuforums.org/showthread.php?t=1987803

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
  •