Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux    |    Getting to be as bloated as Windows!    |    107,822 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 106,100 of 107,822    |
|    Java Jive to All    |
|    GRUB dual-boot with Ubuntu 22 won't reme    |
|    15 Apr 24 13:06:36    |
   
   XPost: uk.comp.os.linux   
   From: java@evij.com.invalid   
      
   Problem as per subject. I have a laptop triple booting into Ubuntu 22,   
   Windows 7, & Windows 10. GRUB has the correct settings to remember the   
   last boot choice and correctly does so for Ubuntu & Windows 10, but, if   
   I choose Windows 7, at the next boot it offers Windows 10 as the   
   default, not Windows 7. All I can find online is many different   
   explanations for how to set up dual-booting and have it remember the   
   last choice, not what to do if for some reason this doesn't work.   
      
   Can anyone advise?   
      
   The relevant settings are reproduced below, and yes I have remembered to   
   run update-grub, in fact I've done it twice, but despite everything   
   looking correct, the problem persists. Note that in the resulting   
   grub.cfg the two Windows sections are identical except where they should   
   differ in designating the relevant partition, and that the W10 section   
   has an extra penultimate line 'drivemap ...', but I don't know enough   
   about how GRUB works to know whether that would be relevant ...   
      
   /etc/default/grub:   
      
   # If you change this file, run 'update-grub' afterwards to update   
   # /boot/grub/grub.cfg.   
   # For full documentation of the options in this file, see:   
   # info -f grub -n 'Simple configuration'   
      
   GRUB_DEFAULT=saved   
   GRUB_SAVEDEFAULT=true   
   GRUB_TIMEOUT_STYLE=hidden   
   GRUB_TIMEOUT=5   
   GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`   
   GRUB_CMDLINE_LINUX_DEFAULT=""   
   GRUB_CMDLINE_LINUX=""   
      
   [rest is commented out, until]   
      
   # Uncomment to get a beep at grub start   
   GRUB_INIT_TUNE="480 440 1"   
      
   /boot/grub/grub.cfg:   
      
   [...]   
      
   ### BEGIN /etc/grub.d/30_os-prober ###   
   menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os   
   $menuentry_id_option 'osprober-chain-C00A7FAA0A7F9BDA' {   
    savedefault   
    insmod part_msdos   
    insmod ntfs   
    set root='hd0,msdos1'   
    if [ x$feature_platform_search_hint = xy ]; then   
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1   
   --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 C00A7FAA0A7F9BDA   
    else   
    search --no-floppy --fs-uuid --set=root C00A7FAA0A7F9BDA   
    fi   
    parttool ${root} hidden-   
    drivemap -s (hd0) ${root}   
    chainloader +1   
   }   
   menuentry 'Windows 7 (on /dev/sda2)' --class windows --class os   
   $menuentry_id_option 'osprober-chain-C00A7FAA0A7F9BDA' {   
    savedefault   
    insmod part_msdos   
    insmod ntfs   
    set root='hd0,msdos2'   
    if [ x$feature_platform_search_hint = xy ]; then   
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2   
   --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 C00A7FAA0A7F9BDA   
    else   
    search --no-floppy --fs-uuid --set=root C00A7FAA0A7F9BDA   
    fi   
    parttool ${root} hidden-   
    chainloader +1   
   }   
      
   [...]   
      
   [In case it matters, but I don't think it does, this laptop is a Dell   
   Precision M6700 which I bought recently because the video card in my   
   best old Dell Precision M6300 died, which is the default manner for   
   those PCs to die - even though this new one also has a good 17"   
   screen, it's wider and shorter than the old one, which I preferred.   
   There are a couple of over-priced video cards on eBay for nearly the   
   same sort of price as you could get a working machine of the same model,   
   but it's just not worth spending that sort of money on such an old   
   machine. Sniff!]   
      
   --   
      
   Fake news kills!   
      
   I may be contacted via the contact address given on my website:   
   www.macfh.co.uk   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca