Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
LatOffline
Post subject: grub2-fll-fromiso doesn't set timezome properly  PostPosted: 12.02.2011, 17:30



Joined: 2010-09-19
Posts: 168

Status: Offline
Every time I booted with fromiso my clock would get a different time

I changed /etc/default/grub2-fll-fromiso to
      Code:
FLL_GRUB2_TZ="America/New_York"

but it always booted with timezone ETC/ETC

Modifying /etc/grub.d/60_fll-fromiso solved the problem


      Code:
--- 60_fll-fromiso.bak  2011-02-12 12:08:10.932577502 -0500
+++ 60_fll-fromiso      2011-02-12 12:08:27.957085460 -0500
@@ -54,7 +54,7 @@
 fi
 
 # assemble cmdline
-CMDLINE="boot=fll lang=${FLL_GRUB2_LANG} TZ=${FLL_GRUB2_TZ} ${FLL_GRUB2_CHEATCODE} "
+CMDLINE="boot=fll lang=${FLL_GRUB2_LANG} tz=${FLL_GRUB2_TZ} ${FLL_GRUB2_CHEATCODE} "
 
 # create a tem device.map as the actual can be not uptodate
 DEVICE_MAP_TMP=$(mktemp)
 
 View user's profile Send private message  
Reply with quote Back to top
x-un-i
Post subject: RE: grub2-fll-fromiso doesn  PostPosted: 27.05.2011, 17:17
Team Member


Joined: 2010-08-26
Posts: 170

fixed.
thks.

_________________
Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter

Será que o diabo perdeu a virgindade?
 
 View user's profile Send private message  
Reply with quote Back to top
LatOffline
Post subject: RE: grub2-fll-fromiso doesn  PostPosted: 29.05.2011, 04:17



Joined: 2010-09-19
Posts: 168

Status: Offline
Thank you x-un-i

While we're modifying that file, I would like to propose this patch
      Code:
user@pc:/etc/grub.d# diff 60_fll-fromiso.dpkg-dist 60_fll-fromiso  -Nru
--- 60_fll-fromiso.dpkg-dist    2011-05-27 13:16:47.000000000 -0400
+++ 60_fll-fromiso      2011-05-29 00:04:57.851802930 -0400
@@ -31,7 +31,7 @@
 FLL_GRUB2_ISO_PREFIX="${FLL_GRUB2_ISO_PREFIX:-"aptosid fullstory"}"
 FLL_GRUB2_LANG="${FLL_GRUB2_LANG:-"en_EN"}"
 FLL_GRUB2_TZ="${FLL_GRUB2_TZ:-"UTC"}"
-FLL_GRUB2_CHEATCODE="${FLL_GRUB2_CHEATCODE:-"quiet noeject"}"
+FLL_GRUB2_CHEATCODE="${FLL_GRUB2_CHEATCODE:-"vga=791 quiet noeject"}"
 
 # we need isoinfo, bail out if it's available
 ISOINFO="$(which isoinfo)"
@@ -91,6 +91,11 @@
        for kernel in ${kernels}; do
                printf "menuentry \"$(basename ${iso_image} .iso) (${kernel#vmlinuz\-})\" {\n"
                printf "\tinsmod iso9660\n"
+               #### Added so GFXPAYLOAD_LINUX works in fll_fromiso
+                              if [ "x${GRUB_GFXPAYLOAD_LINUX}" != x ]; then
+                                      printf "\tset gfxpayload=$GRUB_GFXPAYLOAD_LINUX\n"
+                              fi
+               ### End Added so GFXPAYLOAD_LINUX works in fll_fromiso
                prepare_boot_cache="$(prepare_grub_to_access_device ${cur_device} | sed -e "s/^/\t/")"
                printf '%s\n' "${prepare_boot_cache}"


This makes my monitor to flicker less. The "@@ -31,7 +31,7 @@" (vga=791) part can be ignored, since that's really a personal change, not intended to be put in the actual package to be distributed
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio