Re: Kickstart and grub2

2011-08-18 Thread Tom H
On Wed, Aug 17, 2011 at 1:39 PM, Chris Lumens clum...@redhat.com wrote:

 Are there any new grub2-related kickstart settings for the bootloader
 line in kickstart?

 No, there have been no changes to the bootloader command for grub2.
 Should there be?

Using vga=... throws up a warning at boot that it's deprecated.

I've been using grub2 for almost two years and I've only now realized
(hopefully correctly!) that it's grub not the kernel that's
deprecating vga= So it's not necessarily an issue.

As for other grub2 settings, I was dreaming in full iMax mode that
kickstart might allow us to tweak some of the other grub2 settings. No
big deal.
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


Re: Kickstart and grub2

2011-08-18 Thread Tom H
On Wed, Aug 17, 2011 at 1:41 PM, Chris Lumens clum...@redhat.com wrote:

 OT for this thread but for the record regarding kickstart
 documentation: the part biosboot --fstype=biosboot --size=1
 kickstart entry to create a bios_grub partition on a GPT disk isn't
 yet documented on the kickstart fp.o page.

 There's still some discussion on whether we're going to require people
 to do that, or if we'll just create it automatically for you.  I imagine
 once we straighten that out, docs will get updated.

Thanks.
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


Re: Kickstart and grub2

2011-08-17 Thread Tom H
2011/8/17 Jóhann B. Guðmundsson johan...@gmail.com:
 On 08/16/2011 11:25 PM, Tom H wrote:

 Are there any new grub2-related kickstart settings for the bootloader
 line in kickstart?

 VGA= is not a kickstart setting it's an kernel command line parameter and
 with grub2 you need to use set gfxpayload=$your-desired-resolution
 instead.

 You can find the available kickstart settings on the ( extremely well )
 documented kickstart page [1] from the Anaconda team...

 For example, I installed F16 through kickstart yesterday with
 vga=794, which adds it to the linux ... line. I get correct
 resolution but I also get a boot message that using vga=... is
 deprecated and that gfxpayload should be used.

 vga=794 would be set gfxmode=1280x1024x16,1280x1024 and you will need to
 add something like the below to the grub2 config file

 set gfxmode=$your-desired-resolution
 set gfxpayload=keep
 insmod gfxterm
 insmod vbe

 1. http://fedoraproject.org/wiki/Anaconda/Kickstart

Thanks.

vga= may not be a kickstart setting but it is a grub kernel line
argument that can be set through the kickstart bootloader command's
--append= option.

I know how to set the gfxmode (I've been using grub2 since the alpha
of Ubuntu 9.10 and the canonical way is to edit /etc/default/grub
and regenerate grub.cfg and not to edit /boot/grub/grub.cfg - or
/boot/grub2/grub.cfg on Fedora - as you seem to be suggesting), so
thanks for the grub.cfg edit but my question remains unanswered. Is
there a way - other than through %post - to end up, for example,
with a set gfxmode=$desired-resolution line in grub.cfg rather than
adding vga=$desired-resolution to the grub.cfg linux line?
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


Re: Kickstart and grub2

2011-08-17 Thread Michal Jaegermann
On Wed, Aug 17, 2011 at 05:48:51AM +, Jóhann B. Guðmundsson wrote:
 
 VGA= is not a kickstart setting it's an kernel command line parameter 
 and with grub2 you need to use set gfxpayload=$your-desired-resolution 
 instead.
 
 You can find the available kickstart settings on the ( extremely well ) 
 documented kickstart page [1] from the Anaconda team...

 
 vga=794 would be set gfxmode=1280x1024x16||,1280x1024 and you will 
 need to add something like the below to the grub2 config file
 
 set gfxmode=$your-desired-resolution
 set gfxpayload=keep
 insmod gfxterm
 insmod vbe
 
 JBG
 
 1. http://fedoraproject.org/wiki/Anaconda/Kickstart

Is this a correct reference?  I looked at this page and nothing was
found by a search for a string gfx.  Just in case I checked also
http://fedoraproject.org/wiki/Features/Grub2
and there was no mention of that string either.

Regardless, when looking how to configure grub2 I doubt very much
if Anaconda/Kickstart would be my first, or even second, choice of
a place to visit.

Is this also really the case that in kickstart you do:
set gfxpayload=$your-desired-resolution while in grub2
configuration set gfxpayload=keep or the above is a mixup?

   Michal
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


Re: Kickstart and grub2

2011-08-17 Thread Tom H
On Wed, Aug 17, 2011 at 12:03 PM, Michal Jaegermann mic...@harddata.com wrote:
 On Wed, Aug 17, 2011 at 05:48:51AM +, Jóhann B. Guðmundsson wrote:

 VGA= is not a kickstart setting it's an kernel command line parameter
 and with grub2 you need to use set gfxpayload=$your-desired-resolution
 instead.

 You can find the available kickstart settings on the ( extremely well )
 documented kickstart page [1] from the Anaconda team...
 

 vga=794 would be set gfxmode=1280x1024x16||,1280x1024 and you will
 need to add something like the below to the grub2 config file

 set gfxmode=$your-desired-resolution
 set gfxpayload=keep
 insmod gfxterm
 insmod vbe

 1. http://fedoraproject.org/wiki/Anaconda/Kickstart

 Is this a correct reference?  I looked at this page and nothing was
 found by a search for a string gfx.  Just in case I checked also
 http://fedoraproject.org/wiki/Features/Grub2
 and there was no mention of that string either.

 Regardless, when looking how to configure grub2 I doubt very much
 if Anaconda/Kickstart would be my first, or even second, choice of
 a place to visit.

 Is this also really the case that in kickstart you do:
 set gfxpayload=$your-desired-resolution while in grub2
 configuration set gfxpayload=keep or the above is a mixup?

My initial question was about passing grub2 parameters through
kickstart so the discussion's a mix of kickstart and grub2.

The kickstart fp.o page referenced above doesn't have any info on
grub2 (unless it's been updated in the last few hours) hence my
question, especially since using 'bootloader ... --append=vga=...
... ...' in a kickstart configuration file adds vga=... to the
grub.cfg linux line, which results in a warning at boot that the
vga=... setting's deprecated.

The upstream way of setting the resolution is to set
GRUB_GFXMODE=resolution in /etc/default/grub and run
grub-mkconfig -o /boot/grub/grub.cfg (grub2-mkconfig -o
/boot/grub2/grub.cfg on Fedora) to re-generate grub.cfg.

Fedora adds a further twist (other than s/grub/grub2/g) because of
grubby. I've yet to create grub.cfg entries with grubby to see how
it's functioning, but if you run grub2-mkconfig ..., the menu entry
titles are Fedora Linux ...kernel_version..., whereas when the
kernel's upgraded through yum, the post-install script runs
/sbin/new-kernel-pkg, which creates Fedora ...kernel_version...
menu entry titles through grubby.

OT for this thread but for the record regarding kickstart
documentation: the part biosboot --fstype=biosboot --size=1
kickstart entry to create a bios_grub partition on a GPT disk isn't
yet documented on the kickstart fp.o page.
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


Re: Kickstart and grub2

2011-08-17 Thread Chris Lumens
 Are there any new grub2-related kickstart settings for the bootloader
 line in kickstart?

No, there have been no changes to the bootloader command for grub2.
Should there be?

- Chris
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


Re: Kickstart and grub2

2011-08-17 Thread Chris Lumens
 OT for this thread but for the record regarding kickstart
 documentation: the part biosboot --fstype=biosboot --size=1
 kickstart entry to create a bios_grub partition on a GPT disk isn't
 yet documented on the kickstart fp.o page.

There's still some discussion on whether we're going to require people
to do that, or if we'll just create it automatically for you.  I imagine
once we straighten that out, docs will get updated.

- Chris
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test