buggNewSense GNU/Linux - Bugs: bug #28759, Generate /boot/boot.cfg during...

 
 

bug #28759: Generate /boot/boot.cfg during install

Submitter:  Karl Goetz <kgoetz>
Submitted:  Fri 29 Jan 2010 04:27:50 AM UTC
   
 
Category:  gNewSense 3 Severity:  2 - Minor
Item Group:  mipsel Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 14 Mar 2010 11:15:08 AM UTC, comment #7: 

should be fixed with the yeeloong-base 9/10 upload

Karl Goetz <kgoetz>
Sat 30 Jan 2010 12:50:40 AM UTC, comment #6: 

In pmon2k we both have:
karg = "console=tty root=/dev/hda1 no_auto_cmd"
but my Version = LM8089-1.3.6, his is LM8089-1.4.3. Don't know if this will turn out to be relevant.
kk

Karl Goetz <kgoetz>
Sat 30 Jan 2010 12:29:20 AM UTC, comment #5: 

Comments 2/3/4: This is now in GNU GRUB2 bug:
https://savannah.gnu.org/bugs/index.php?28770

Karl Goetz <kgoetz>
Fri 29 Jan 2010 09:55:26 PM UTC, comment #4: 

args some-dummy-string /does/ load grub successfully.
args with no options /does not/ load grub successfully.

Karl Goetz <kgoetz>
Fri 29 Jan 2010 09:41:25 PM UTC, comment #3: 

Strange.  Does it display if you use:

args some-dummy-string

  ?

Robert Millan <robertmh>
Fri 29 Jan 2010 09:32:27 PM UTC, comment #2: 

I removed "args console=tty no_auto_cmd" from boot.cfg, and grub no longer displays. I've left "machtype=8.9" out.

Karl Goetz <kgoetz>
Fri 29 Jan 2010 02:19:05 PM UTC, comment #1: 


> args console=tty no_auto_cmd


These aren't needed for GRUB.  They're Linux parameters.

> args might need to include 'machtype=8.9'.


Same here.

> Robert: does this idea sound sane to you? If it does I'll provide a patch for the relevant package.


Sounds fine.  I recommend putting it in yeeloong-base.

Robert Millan <robertmh>
Fri 29 Jan 2010 04:27:50 AM UTC, original submission:  

I think it would be appropriate to have either grub-yeeloong or yeelong-base install a /boot/boot.cfg which silently loads grub2.

If added to a postinst script it would look something like this:
if ! [ -r /boot.cfg -o -r /boot/boot.cfg]; then
cat << "EOF" >> /boot/boot.cfg
default 0
timeout 0
showmenu 0

title Boot with GRUB2
        kernel (wd0,0)/boot/grub.elf
        args console=tty no_auto_cmd
EOF
args might need to include 'machtype=8.9'.

Robert: does this idea sound sane to you? If it does I'll provide a patch for the relevant package.

Karl Goetz <kgoetz>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #19563:  create-boot.cfg.diff added by kgoetz (654B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)
  • -email is unavailable- added by kgoetz
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-14 kgoetz Open/ClosedOpen Closed
    2010-01-29 kgoetz Attached File- Added create-boot.cfg.diff, #19563
    2010-01-29 kgoetz Carbon-Copy- Added robertmh

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code