Bug 16038 - Re-add, but this time a working, "liveDVD boot from hard disk option" (Removed because it didn't work in VM, nor on real hw or from USB/DVDRW)
Summary: Re-add, but this time a working, "liveDVD boot from hard disk option" (Remov...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: Mageia 7
Assignee: ISO building group
QA Contact:
URL:
Whiteboard:
Keywords:
: 17627 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-25 12:08 CEST by You-Cheng Hsieh
Modified: 2017-03-05 10:56 CET (History)
8 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description You-Cheng Hsieh 2015-05-25 12:08:11 CEST
Description of problem:
At the boot menu of liveDVD, the "boot from hard disk" option always failed with following error:
Booting from local disk...

Boot failed: press a key to retry...

Version-Release number of selected component (if applicable):
Mageia-5-RC-LiveDVD-KDE4-i586-DVD.iso


How reproducible:
Always

Steps to Reproduce:
1.use liveDVD iso as DVD drive in virtualbox.
2.boot up guest vm that have a working os on virtual hard disk.
3.at boot menu, select "Boot from Hard Disk"


Reproducible: 

Steps to Reproduce:
Comment 1 Thierry Vignaud 2015-05-25 14:37:57 CEST
Is that a Mageia install?

CC: (none) => ennael1, tmb

Comment 2 Rémi Verschelde 2015-05-25 15:01:02 CEST
Changing the summary, since this is only about the "boot from hard disk" option in the boot menu (comment 0 makes it clear, but the summary was a bit evasive).

IIRC this "boot from hard disk" option as always been broken on:
- boot from USB
- boot in a VM (at least VirtualBox)

And it works fine when booting from a burned DVD.

Summary: liveDVD boot from hard disk failed => liveDVD boot from hard disk option does not work in VM or from USB

Comment 3 You-Cheng Hsieh 2015-05-25 15:20:16 CEST
Answer Thierry's question, yes the virtualbox guest vm is a Mageia install.
Samuel Verschelde 2015-05-31 21:20:14 CEST

Whiteboard: (none) => FOR_ERRATA

Comment 4 You-Cheng Hsieh 2015-06-01 03:34:41 CEST
Please see if the following description is OK for errata:


* The "Boot from Hard Disk" option in the boot menu of live media will not work if the live media is booted in a virtualbox guest or the live media is dumped into USB flash device.
Comment 5 Rémi Verschelde 2015-06-01 19:31:54 CEST
Looks good to me :)
Comment 6 You-Cheng Hsieh 2015-06-02 04:41:15 CEST
OK. It's on errata now. I also modified "Kernel option selection" to "Boot option selection" so this issue can be covered.
Samuel Verschelde 2015-06-02 10:12:22 CEST

Whiteboard: FOR_ERRATA => IN_ERRATA

Comment 7 Dick Gevers 2016-05-03 20:13:06 CEST
Valid for Live DVD Plasma 64 bit dated 2nd May 2016 (real hw boot from dvd)

Keywords: (none) => 6sta1

Comment 8 Dick Gevers 2016-07-13 12:13:35 CEST
valid for 6RC live DVD's

Keywords: 6sta1 => 6RC

Samuel Verschelde 2016-11-01 13:08:17 CET

Keywords: (none) => IN_ERRATA5
Assignee: bugsquad => isobuild
Whiteboard: IN_ERRATA => (none)

Comment 9 Dick Gevers 2016-11-09 09:58:48 CET
Valid for Mageia 5.1 GNOME 64 bit LiveDVD (booting from DVDRW in real hardware) dated 07 NOV 2016

CC: (none) => dvgevers

Comment 10 Dick Gevers 2016-11-09 10:00:01 CET
Assuming "all" from 32 and 64 bit

Hardware: i586 => All
Summary: liveDVD boot from hard disk option does not work in VM or from USB => liveDVD boot from hard disk option does not work in VM or from USB/DVDRW

Marja Van Waes 2016-11-09 10:00:22 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=18392

Comment 11 Rémi Verschelde 2016-11-09 10:06:16 CET
Bug 18392 describes the same issue with classical installer ISOs, can someone from the iso building team confirm whether it would be a duplicate, or if those are similar bugs with potential different causes?
Comment 12 Martin Whitaker 2016-11-09 20:58:38 CET
They aren't identical. The isolinux.cfg entry on the CI ISOs is:

label harddisk
  com32 chain.c32 hd0 exit

and on the Live ISOs is:

label harddisk
    localboot 0x80

As my reading of the two bug reports is that booting from real DVD works with the CI ISOs and doesn't work with the Live ISOs, I could change the configuration on the Live ISOs to match the CI ISOs. I can't easily test this though, as all my hardware is UEFI/GPT.

However, my reading of the bug reports is that it has never worked for either type of ISO in VirtualBox or when booting from a USB stick. Given that we would still have something that only partially worked, I'll ask the question, how useful is this feature? Would anyone care if we just removed this option from the menu?

CC: (none) => mageia

Comment 13 Marja Van Waes 2016-11-09 22:40:40 CET
(In reply to Martin Whitaker from comment #12)

> Would anyone care if we just removed
> this option from the menu?

Maybe it's only there for users who forgot to remove the DVD or USB key after installation and feel trapped when they find themselves in its boot menu again, when there's no obvious way out.

CC'ing doktor5000, who'll know whether (many?) forums users reported panicking when the "boot from HD" option didn't work.

CC: (none) => doktor5000, marja11

Comment 14 Martin Whitaker 2016-11-11 00:57:44 CET
OK, I've tried changing the harddisk entry in the Live ISO isolinux.cfg file to match the one on the CI ISO, and it works in VirtualBox. Obvious limitations are going to be:

  - it will only look at the first hard disk in the system
  - that disk must be bootable from the MBR

The reason that it doesn't work when booted from a USB stick is that then the USB stick is hd0 and the first local disk is hd1. I can't see any way to handle this without creating two different ISO images.

So the question remains, do we want something that only works when booting from DVD, or should we remove this option from the boot menu?
Comment 15 Marja Van Waes 2016-11-11 10:37:53 CET
I'm for removing it.

If we learn that many users need an easy way out, then we can consider adding a "remove your mageia DVD or USB-key and reboot" menu entry for Mageia 7
Comment 16 Samuel Verschelde 2016-11-11 12:52:59 CET
(In reply to Marja van Waes from comment #15)
> I'm for removing it.
> 
> If we learn that many users need an easy way out, then we can consider
> adding a "remove your mageia DVD or USB-key and reboot" menu entry for
> Mageia 7

Me too. We've got more critical bugs to fix, let's just remove the feature altogether for now.

Priority: Normal => High
Target Milestone: --- => Mageia 6

Comment 17 Martin Whitaker 2016-11-11 19:46:49 CET
I agree. If I need to rebuild the 5.1 ISOs for other reasons (and if nobody objects), I'll remove it on them too.
Comment 18 Mageia Robot 2016-11-12 20:38:27 CET
commit 885d6cda77ae32b858710e026ca8ff553b5abb3e
Author: Martin Whitaker <mageia@...>
Date:   Sat Nov 12 12:06:47 2016 +0000

    Workaround for mga#16038 - remove largely non-working "boot from hardisk" boot option.
---
 Commit Link:
   http://gitweb.mageia.org/software/build-system/draklive-config/commit/?id=885d6cda77ae32b858710e026ca8ff553b5abb3e
Comment 19 Mageia Robot 2016-12-08 20:11:58 CET
commit 576d4a40ec76ac7f9eb5f60b719f90a3f6349b64
Author: Martin Whitaker <mageia@...>
Date:   Tue Dec 6 22:44:56 2016 +0000

    Workaround for mga#16038 - remove largely non-working "boot from hardisk" boot option.
---
 Commit Link:
   http://gitweb.mageia.org/software/build-system/draklive-config/commit/?id=576d4a40ec76ac7f9eb5f60b719f90a3f6349b64
Comment 20 Marja Van Waes 2017-03-05 10:56:02 CET
Changing the summary now that the non-working option has been removed from both 5.1 and cauldron Live isos.

If anyone thinks it's too confusing to keep this bug report for re-adding the option when it works, then I'll open a new one.

Keywords: 6sta1.5, IN_ERRATA5 => (none)
Priority: High => Normal
Target Milestone: Mageia 6 => Mageia 7
Summary: liveDVD boot from hard disk option does not work in VM or from USB/DVDRW => Re-add, but this time a working, "liveDVD boot from hard disk option" (Removed because it didn't work in VM, nor on real hw or from USB/DVDRW)
Severity: normal => enhancement

Comment 21 Marja Van Waes 2017-03-05 10:56:26 CET
*** Bug 17627 has been marked as a duplicate of this bug. ***

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=17627
CC: (none) => westel


Note You need to log in before you can comment on or make changes to this bug.