GRUB Dual Boot


SUBMITTED BY: Guest

DATE: June 2, 2014, 11:57 a.m.

FORMAT: Text only

SIZE: 2.0 kB

HITS: 5764

  1. Dual Boot
  2. Will GRUB allow me to hibernate Linux and activate another operating system (such as Windows XP) that I hibernated earlier, i.e. a !DualHibernate rather than a DualBoot?
  3. Nothing will prevent you to hibernating (GRUB isn't aware that your host is suspended). However, make sure you don't mount the same partition (RW) under any two suspended OS !
  4. Is there a way to install GRUB in the MasterBootRecord from DOS or Windows XP, i.e. a utility similar to rawrite.exe or fdisk.exe that write a GRUB MBR? What I want here is to install Linux without having a bootable floppy
  5. There is/was a win32 Version of GRUB, i used it to install linux from Windows 2000 , but i am not sure what exactly the source is ;-) (google for grubwin32) Just unzip grubwin32 to c:\ then run c:\boot\grub\w32grub This would patch the necessary files(under XP, not linux). Then add :
  6. c:\boot\stage1="GRUB"
  7. to c:\boot.ini
  8. And you now have a grub boot loader on your XP system.
  9. When I upgraded from grub to grub2 I lost an entry to XP/WP7 , how can I recover the menu entry to boot there?
  10. You have to install os-prober, make sure its enabled in grub2 configuration and sync grub2.
  11. apt-get install os-prober
  12. Then edit /etc/default/grub and make sure you have a line like
  13. GRUB_DISABLE_OS_PROBER=false
  14. Finally run update-grub2
  15. By default grub2 in debian will not add 'resume=/dev/swap-partition' option.
  16. But if you want to perform this by default you can edit /etc/grub.d/10_linux file and make some changes there:
  17. Replace
  18. linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
  19. with this
  20. linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args} resume=`swapon -s | grep '/dev/sd.[0-9]' -o`
  21. This will add your first swap partition to all found linux entries.

comments powered by Disqus