Thanks a lot Long for replying. Can you tell me how can I apply that patch. I have a file savedefault.diff now but how do i use it. On Fri, Jan 15, 2010 at 1:13 PM, Bu, Long <[email protected]> wrote:
> Savedefault has not been working since Grub 0.97 upstream. > > You can reference savedefault.diff patch in debian grub package and try to > apply this patch. > > Cheers. > Long > > >-----Original Message----- > >From: [email protected] [mailto:[email protected]] On Behalf Of > >Usman Ajmal > >Sent: 2010年1月15日 13:59 > >To: [email protected] > >Subject: [Moblin Dev] Problem with using savedefault option of GRUB in > Moblin > > > >Hi, > > > >I am trying to use the savedefault option as I did with my machine on > which > >Ubuntu and Windows are installed. What I did in that system is that i set > >the "default" option to "saved" and then under the Linux entry (which is > the > >first entry) I set "savedefault 1" so that next time the Windows option > >(which is the second entry) is activated by default and under the Windows > >entry I set "savedefault 0" so that next time the Linux option is > activated > >by default. > > > >This kind of functionality is not working with Moblin. It seems as if the > >savedefault option is diabled by the GRUB of Moblin. Is there any thing > else > >I should do? > > > >Following is my grub.conf > > > ># grub.conf generated by anaconda > ># > ># Note that you do not have to rerun grub after making changes to this > file > ># NOTICE: You do not have a /boot partition. This means that > ># all kernel and initrd paths are relative to /, eg. > ># root (hd0,0) > ># kernel /boot/vmlinuz-version ro root=/dev/sda1 > ># initrd /boot/initrd-version.img > >#boot=/dev/sda > >default saved > >timeout=5 > >#splashimage=(hd0,0)/boot/grub/splash.xpm.gz > >#hiddenmenu > >#silent > >title Moblin (2.6.31.5-10.1.moblin2-netbook) > >root (hd0,0) > >kernel /boot/vmlinuz-2.6.31.5-10.1.moblin2-netbook ro root=/dev/sda1 > >vga=current > >savedefault 1 > > > >title Pathetic Windows > >rootnoverify (hd0,1) > >chainloader +1 > >savedefault 0 > >_______________________________________________ > >Moblin dev Mailing List > >[email protected] > > > >To manage or unsubscribe from this mailing list visit: > >http://lists.moblin.org/listinfo/dev or your user account on > http://moblin.org > >once logged in. > > > >For more information on the Moblin Developer Mailing lists visit: > >http://moblin.org/community/mailing-lists > _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
