Bug 352020 - Graphical failsafe mode
Summary: Graphical failsafe mode
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 1
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Alexander Osthof
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 246158
  Show dependency treegraph
 
Reported: 2008-01-07 15:01 UTC by Stefan Dirsch
Modified: 2008-04-25 12:00 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/home/sndirsch/yast2-bootloader-bug352020-graphical-failsafe.diff (1.01 KB, patch)
2008-01-07 22:10 UTC, Stefan Dirsch
Details | Diff
perl-Bootloader-x11failsafe.diff (1.06 KB, patch)
2008-04-24 19:46 UTC, Stefan Dirsch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Dirsch 2008-01-07 15:01:34 UTC
In Bug #246158 a proposal for a graphical failsafe mode has been made, which
is supported by the openSUSE project manager (coolo). Apart from some changes in xdm init script we also need some small changes in generating /boot/grub/menu.lst.

 * use the same "vga" option value as in the non-"Failsafe" entry
 * remove "3" option (runlevel)
 * add "x11failsafe" option

I suggest to put the "vga=" option behind "showopts" so one can still edit it.
Just an example:

Before:
kernel /boot/vmlinuz root=/dev/sda5 vga=normal showopts ide=nodma apm=off
       acpi=off noresume edd=off 3

Afterwards:
kernel /boot/vmlinuz root=/dev/sda5 showopts vga=0x315 ide=nodma apm=off
       acpi=off noresume edd=off x11failsafe
Comment 1 Stefan Dirsch 2008-01-07 22:10:31 UTC
Created attachment 189633 [details]
/home/sndirsch/yast2-bootloader-bug352020-graphical-failsafe.diff

patch (completely untested) similar to this?
Comment 2 Jozef Uhliarik 2008-01-24 13:20:10 UTC
done patch is added in version 2.16.4 of bootloader
Comment 4 Stefan Dirsch 2008-04-24 12:49:01 UTC
In Beta1 the failsafe entry contains again "vga=normal" and "3" and is missing "x11failsafe". :-( I need to reopen this bugreport.
Comment 7 Stefan Dirsch 2008-04-24 19:46:05 UTC
Created attachment 210324 [details]
perl-Bootloader-x11failsafe.diff

Similar patch, this time against perl-Bootloader.
Comment 10 Alexander Osthof 2008-04-25 09:55:51 UTC
(In reply to comment #0 from Stefan Dirsch)
> I suggest to put the "vga=" option behind "showopts" so one can still edit it.

As the vga parameter is treated as an extra parameter besides the other appended parameters in perl-Bootloader, the only doable solution would be:

Before:
kernel /boot/vmlinuz root=/dev/sda5 vga=normal showopts ide=nodma apm=off
       acpi=off noresume edd=off 3

Afterwards:
kernel /boot/vmlinuz root=/dev/sda5 showopts ide=nodma apm=off
       acpi=off noresume edd=off x11failsafe vga=0x315

Would this anyway suit your needs?
Comment 11 Stefan Dirsch 2008-04-25 10:06:31 UTC
Sure, sounds perfect to me. :-)
Comment 12 Alexander Osthof 2008-04-25 11:22:44 UTC
Fixed package submitted to STABLE, thus closing RESOLVED FIXED.
Comment 13 Stefan Dirsch 2008-04-25 12:00:20 UTC
Thanks. I'll give it a try with Beta2.