Author Topic: SOLVED Dual Boot Revisited  (Read 1635 times)

0 Members and 1 Guest are viewing this topic.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1552
  • Karma: 123
  • Gender: Male
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #15 on: November 30, 2013, 09:45:44 pm »
I take it that you have not installed your grub to the MBR on /dev/sda
Common mistake is to install it to /dev/sdaX (X being the partition number)

You can reinstall it from your Ubuntu Live CD.
Once booted into the Live CD session:
Code: [Select]
sudo mount /dev/sda2 /mnt
then bind the directories that grub needs access to to detect other operating systems:
Code: [Select]
sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys
Then change root:
Code: [Select]
sudo chroot /mnt
Now install grub:
Code: [Select]
grub-install /dev/sda
Check it:
Code: [Select]
grub-install --recheck /dev/sda
Update grub:
Code: [Select]
update-grub
Now exit the chrooted system and unmount everything:
Code: [Select]
exit && sudo umount /mnt/dev && sudo umount /mnt/dev/pts && sudo umount /mnt/proc && sudo umount /mnt/sys && sudo umount /mnt
Now shut down and turn your computer back on and you should get the default grub screen.

Offline oakridge

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #16 on: December 02, 2013, 03:09:39 pm »
It's a good idea to take notice of whether there are replies on a second page.  So, now I am delighted to report that both systems are available at startup.  I just have the problem of Ubuntu not accessing the network, but this happened in September also so I will repeat that exercise.

I don not remember seeing the request install grub to the MBR. Could you just say when this should be done so anyone coming after can do things in the right order please? 

Thank you all again for all your help.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14306
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Dual Boot Revisited
« Reply #17 on: December 02, 2013, 07:09:52 pm »
It would have been in the "Advanced" section of the "partitioning" section of the installer .. the part of the Ubiquity installer where you "Allocate drive space" .. IIRC it's a drop menu at the bottom.

[EDIT]

« Last Edit: December 02, 2013, 07:20:12 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline oakridge

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #18 on: December 02, 2013, 07:41:23 pm »
Oh, yes, I remember that, but there was only the one option so there did not seem to be anything to be done.

The networking has cured itself so I am glad that I did not start messing about.

Thank you again.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14306
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: SOLVED Dual Boot Revisited
« Reply #19 on: December 02, 2013, 08:00:16 pm »
In the above example it would normally offer 2 options

/dev/sda = The HDD's master Boot Record
and
/dev/sda1 = the installation partition.

But whatever the reason, if SeZo's instructions worked GRUB stage 1 didn't get installed to the MBR .. possibly "just one of those things" ;)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal