Results 1 to 4 of 4

Thread: [SOLVED] How does "dist-upgrade" find the intial grub menu.lst options?

  1. #1
    Join Date
    Nov 2008
    Beans
    32

    Question [SOLVED] How does "dist-upgrade" find the intial grub menu.lst options?

    I am using Xubuntu8.04, below is the part content of menu.lst which generated when installed system initially:
    root (hd1,0)
    kernel /vmlinuz-2.6.24-19-generic root=/dev/md0
    Later, I moved my system to another place and edited the menu.lst manually like below:
    root (hd0,0)
    kernel /vmlinuz-2.6.24-19-generic root=/dev/sda3
    When I executed "sudo apt-get dist-upgrade" to upgrade the system, kernel 2.6.24-22-generic was installed newly, when upgrade tool updated "menu.lst", there are some options, the first is "install the package maintainer's version", the second is "keep the local version currently installed", I selected the first option, upgrade tool generated menu.lst come with the options when I installed system initially, like below:
    root (hd1,0)
    kernel /vmlinuz-2.6.24-19-generic root=/dev/md0
    How does dist-upgrade find the menu.lst options of the system installed initally? Where is the system to keep the information of the menu.lst when system was installed initially?

    I guess a bug I reported maybe related with this. This bug is ("Segmentation fault" after "apt-get dist-upgrade" for Hardy) https://bugs.launchpad.net/ubuntu/+bug/297546 . But, I can't reproduce this bug and can't find the crux of the problem. Maybe, bug "https://bugs.launchpad.net/ubuntu/+bug/297546" isn't a bug, it was produced by my mistake.

    Thanks.
    Last edited by littlebat; December 6th, 2008 at 07:42 AM.
    An open source video and audio converting tool customized on Tinycore Linux, MobileMate.

  2. #2
    Join Date
    Nov 2008
    Beans
    32

    Re: How does "dist-upgrade" find the intial grub menu.lst options?

    Hi, if anyone have run into the same situation?
    I have tried my best to look for the answer, but I failed.

    If I didn't express my meaning clearly? Please tell me. My english is a bit poor.
    An open source video and audio converting tool customized on Tinycore Linux, MobileMate.

  3. #3
    Join Date
    Dec 2005
    Location
    N.C.
    Beans
    4,796
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How does "dist-upgrade" find the intial grub menu.lst options?

    If I understand your problem correctly, you may need to change the line beginning with kopt in your menu.lst:
    http://users.bigpond.net.au/hermanzone/p15.htm#kopt

  4. #4
    Join Date
    Nov 2008
    Beans
    32

    Re: How does "dist-upgrade" find the intial grub menu.lst options?

    Quote Originally Posted by confused57 View Post
    If I understand your problem correctly, you may need to change the line beginning with kopt in your menu.lst:
    http://users.bigpond.net.au/hermanzone/p15.htm#kopt
    Thanks. I think you have answered my question. It is the time I learn GRUB deeply now.
    An open source video and audio converting tool customized on Tinycore Linux, MobileMate.

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
  •