Re: (no subject) [er...how to get rid of hibernate hooks in grub on F7]



Ok...this problem is fixed. I found a post somewhere else that
mentioned that the script I'm looking for is now located in
/usr/lib/pm-utils/sleep.d - I'm not sure why I couldn't find this
myself. I had searched for all files with 'grub' in the name...but
didn't notice this. So...mission accomplished here.

I would add to this question though...is there a way I could temporarily
set the default kernel (as the current script does in
/usr/lib/pm-utils/sleep.d/01grub), but without taking away the option
see the grub screen so that I might select the windows OS instead? It
would just be handy in case I get a kernel update, but hibernate before
rebooting...then I wouldn't have to worry about picking the wrong kernel
by accident (not that I'm careless about this). I'm not really able to
follow what the current script does, so all I can do at the moment is
comment-out the current code as I did before.

Thanks for your help,
Mike

Mike Leahy wrote:
Hello Tom,

I could do that...but it's not the timeout that's the problem. There's
already a 5-second timeout. But it doesn't even do that. I never get
to see the grub screen at all. There's something that temporarily
reconfigures grub when hibernate is used, forcing it to boot back into
the same OS/Kernel version. At least, that's what it did in FC6...I
just can't find the equivalent script that used to be located in
/etc/pm/hooks.

Mike


Tom Weniger wrote:
On 6/8/07, Mike Leahy <mgleahy@xxxxxxxxxxxxxxxxxxx> wrote:
Hello,

I'm wondering how I can unhook the hibenate process in Fedora 7 from the
grub boot sequence. With FC6, I'd normally comment-out the code in
/etc/pm/hooks/01grub so that it won't force grub to automatically boot
back into Fedora if it has been hibernated. This way, I can still boot
into WinXP on my dual-boot setup, without having to un-hibernate Fedora,
shut-down, and restart again.

On Fedora 7, however, the folder in /etc/pm/hooks, and I have no clue
whre I would find a file like 01grub that was on FC6 - a file of that
name does not exist anywhere on my drive, and the /etc/pm folder
contains no configuration files. I have successfully hibernated my
system running F7, so I know that's working fine...but I can't find
where I might be able to re-configure things so that I can still select
the OS when grub starts.

I've posted about this on fedoraforum.org already, but as there have
been no replied while my thread gets gradually submerged by newer
topics, I figured I'd try the list.

Does anyone have any suggestions - if there's documentation that would
help me, maybe somebody could point me to it.

Thanks in advance,
Mike


Greetings Mike,

Have you tried extending the timeout in /etc/grub.conf?



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: GRand Unified Boot misery and Fedora Core 4
    ... > And grub sucks. ... > people, but then so does Windows, would you argue that Windows is ... You already installed Win98SE with large disk support, ... thread, get rid of the "hdd=ide-scsi" in your Fedora boot stanza, reboot, ...
    (linux.redhat.install)
  • Re: GRand Unified Boot misery and Fedora Core 4
    ... > And grub sucks. ... > people, but then so does Windows, would you argue that Windows is ... You already installed Win98SE with large disk support, ... thread, get rid of the "hdd=ide-scsi" in your Fedora boot stanza, reboot, ...
    (comp.os.linux.setup)
  • Re: Ubuntu installation questions
    ... Last time I was using fedora I was using fedora 3. ... knowledge the only distributions that disable a direct root login by ... As for GRUB, many if not most of the modern distributions use GRUB as ... partition is not a bad thing at all. ...
    (comp.os.linux.setup)
  • Re: install woes, SUCCESS! and a bit about GRUB added
    ... looking at the Fedora 9 64bit DVD: ... vmlinuz initrd=initrd.img noapic nolapic ... If so, and you have FC3's Grub in the MBR, thus allowing you to boot ... Now add a chainloader entry to point to the / partition where you ...
    (Fedora)
  • Re: Cant boot Windows XP after installing FC6
    ... (Fedora 6 boots OK) ... How can i get Windows XP to get booted by grub again? ... It looks scrambled after chainloader +1 - Anyway, other than the scrambled file and the wrapping, I have no idea. ...
    (Fedora)

Quantcast