Page 40 of 94 FirstFirst ... 3038394041425090 ... LastLast
Results 391 to 400 of 931

Thread: Grub 2 Basics

  1. #391
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Grub 2 Basics

    Quote Originally Posted by cmcginty View Post
    Can you please update your doc to indicate that GRUB_TIMEOUT does not work at this time. There is a bug report on PPA. Thank you.
    Can you give me the bug? Also, if it is from a ppa then you may be using the experimental version, which I try not to incorporate in the guides. My timeout with the standard Grub2 seems to work properly.
    GRUB2

    Retired.

  2. #392
    Join Date
    Dec 2006
    Beans
    78

    Re: Grub 2 Basics

    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/420077
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/462888
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/512593

    Here are the bugs however, I think I found my problem. I'm booting my OS root partition in read-only mode, so the script can not change the value in /boot/grub/grubenv. If I manually change it, I'm guess it will work.
    Last edited by cmcginty; March 28th, 2010 at 10:07 PM.

  3. #393
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Grub 2 Basics

    Quote Originally Posted by cmcginty View Post
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/420077
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/462888

    Here are the bugs however, I think I found my problem. I'm booting my OS root partition in read-only mode, so the script can not change the value in /boot/grub/grubenv. If I manually change it, I'm guess it will work.
    cmcginty,

    I think you solved it for yourself.

    The first bug report is pretty old. The problems in both is not a timer problem but a problem generating a "recordfail" event. When Grub2 finds a problem, the default is to prevent automatic booting so the user has to make a decision as to what to do next. So the menu is displayed and Grub 2 awaits further input from the user.

    Finding the cause of a "recordfail" event can be difficult, but if it's a one-time issue resetting the grubenv may solve things. In your case, the read-only mode may have been causing the problem.

    For others with 'recordfail' events, the problem either has to be tracked down or, failing that, the 'recordfail' check has to be disabled. The second option of course isn't the desired one but can get a system booting again without the menu displaying.
    GRUB2

    Retired.

  4. #394
    Join Date
    Apr 2008
    Beans
    11,113

    Re: Grub 2 Basics

    I ran into something interesting. Of course you know that grub2 now uses UUID's even for Windows partitions, whereas legacy grub only used the device name, eg: root (hd0,0).

    Well here's someone that's cloned an XP and has two Win partitions with the same UUID:

    http://ubuntuforums.org/showthread.php?t=1442606

    I'm wondering if /etc/grub.d/30_os-prober can be edited in some manner to not use UUID's only for Windows????????????

  5. #395
    Join Date
    Aug 2008
    Location
    South East Montana
    Beans
    6,153

    Re: Grub 2 Basics

    I wonder if there is an entry possible for MS like the symbolic entries I use for Debian based OS'. It calls for a particular partition. That might work if it is possible.
    Dell 480 XPS 3G ram Quad Core 2.40GHz, Radeon HD 2400 PRO, Audigy1, 3x320G HDD, 320G External, Debian Testing for use, Debian Squeeze for secure use, Debian Sid for FUN

  6. #396
    Join Date
    Nov 2006
    Location
    United States
    Beans
    666
    Distro
    Ubuntu Development Release

    Re: Grub 2 Basics

    Very helpful, thanks!
    The one and only, Master Kernel Thread
    KernelCheck - Finally. A way to easily download, compile, and install the latest kernel. Release 1.2.5 available now.

  7. #397
    Join Date
    Dec 2006
    Beans
    78

    Exclamation Re: Grub 2 Basics

    Quote Originally Posted by cmcginty View Post
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/420077
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/462888
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/512593

    Here are the bugs however, I think I found my problem. I'm booting my OS root partition in read-only mode, so the script can not change the value in /boot/grub/grubenv. If I manually change it, I'm guess it will work.
    Hi, this bug is still biting me. How can I prevent grub2 from writing to my partitions that are supposed to be read-only. I know grub2 is trying to do the "smart" thing here. But there should be some way to disable this.

    Hmm. Just a thought.. if I make the grubenv file RO will grub2 observe it?

  8. #398
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Grub 2 Basics

    Quote Originally Posted by cmcginty View Post
    Hi, this bug is still biting me. How can I prevent grub2 from writing to my partitions that are supposed to be read-only. I know grub2 is trying to do the "smart" thing here. But there should be some way to disable this.

    Hmm. Just a thought.. if I make the grubenv file RO will grub2 observe it?
    I don't know the specifics of which partitions Grub2 is writing to on your system. Here are some options:

    Create a custom script and disable the offending script file by removing the executable bit. For instance, if it's writing to a Windows partition, create a 40_custom menuentry for Windows, then disable /etc/grub.d/30_os-prober if you don't have any other OS's on your computer.

    Some users use only a 40_custom script, in which case 10_ and 30_ can both be deactivated. In 40_ you can use "/vmlinuz" and "/initrd.img" so that it continues to use the most recent kernel without needing any updates.

    If you tell us the target of the disk writes and which script is producing the inputs we might be able to give you more specific ways to alter the scripts.
    GRUB2

    Retired.

  9. #399
    Join Date
    Nov 2009
    Beans
    4

    Re: Grub 2 Basics

    great guide to Grub 2! Problem is in the "saved" setting for grub_default in Lucid doesn't even work.....how did they screw that up? Linux Mint has Grub all decked out, and saved works....Ubuntu still can't even add graphics to grub, let alone even implement grub with a working SAVED OPTION!!!! I love Ubuntu, I just wish they would stop screwing up the packages, and concentrate on implementing them AS IS!!!!!

    PS. Great Guide to Grub 2. Hope to see more updates in the future cuz I'll be watching

  10. #400
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Grub 2 Basics

    Quote Originally Posted by lee8oi View Post
    great guide to Grub 2! Problem is in the "saved" setting for grub_default in Lucid doesn't even work.....how did they screw that up? Linux Mint has Grub all decked out, and saved works....Ubuntu still can't even add graphics to grub, let alone even implement grub with a working SAVED OPTION!!!! I love Ubuntu, I just wish they would stop screwing up the packages, and concentrate on implementing them AS IS!!!!!

    PS. Great Guide to Grub 2. Hope to see more updates in the future cuz I'll be watching
    I am the first to agree that the "saved" function could only be designed by geeks.

    As I understand it, "GRUB_DEFAULT=saved" only enables two commands to work: grub-set-default and "grub-reboot".

    To get the last selected OS to be 'saved' and used on future boots, you have to use "GRUB_SAVEDEFAULT=true".

    Have you tried that second setting?

    Glad you like the guide.
    GRUB2

    Retired.

Page 40 of 94 FirstFirst ... 3038394041425090 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •