LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 08-08-2010, 08:58 AM   #16
shayno90
Member
 
Registered: Oct 2009
Distribution: Debian Lenny 2.6.26 Ubuntu Lucid Lynx 10.04 Windows 7
Posts: 187
Blog Entries: 2

Original Poster
Rep: Reputation: 21

Ok I ran into a problem now, I updated Ubuntu now and the updated kernel has removed the EasyBCD settings for dual booting and now once the system boots up, a cursor flashes in the top right hand corner and then boots straight into Ubuntu without showing any options for booting into Ubuntu or Windows!

Has this problem being fixed yet or are there any solutions to retrieve the original EasyBCD bootloading setup?
 
Old 08-08-2010, 10:27 AM   #17
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 288Reputation: 288Reputation: 288
Quote:
Originally Posted by shayno90 View Post
Has this problem being fixed yet or are there any solutions to retrieve the original EasyBCD bootloading setup?
According to the guide you posted in post #13 of this thread, you first installed grub2 to the MBR, then you reinstalled the Windows boot loader to the MBR, then you booted Windows and installed EasyBCD.
When grub2 is installed to the MBR and a kernel update comes along, the update-grub command is run. So grub2 has now once again taken control of your MBR.
Options:
You can reinstall grub2 to the MBR. Then boot Ubuntu and run:
Code:
sudo update-grub
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
This should hopefully add an entry for booting Windows7 as well.

Or you could probably just reinstall EasyBCD like you did before.
You will likely have to reinstall EasyBCD whenever there is a kernel update for Ubuntu though.

You would think that EasyBCD would have a way to deal with this, since update-grub is run whenever there is a kernel update in Ubuntu, which is often. Perhaps you could ask on their forums. I am not familiar with EasyBCD.

Last edited by tommcd; 08-08-2010 at 10:29 AM.
 
Old 08-08-2010, 10:55 AM   #18
shayno90
Member
 
Registered: Oct 2009
Distribution: Debian Lenny 2.6.26 Ubuntu Lucid Lynx 10.04 Windows 7
Posts: 187
Blog Entries: 2

Original Poster
Rep: Reputation: 21
============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for /boot/grub.

sda1: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD

sda2: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /bootmgr /boot/BCD /Windows/System32/winload.exe

sda3: _________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sda4: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /boot/bcd

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 409,599 407,552 7 HPFS/NTFS
/dev/sda2 409,600 337,010,687 336,601,088 7 HPFS/NTFS
/dev/sda3 337,012,734 598,984,703 261,971,970 5 Extended
/dev/sda5 337,012,736 588,257,279 251,244,544 83 Linux
/dev/sda6 588,259,328 598,984,703 10,725,376 82 Linux swap / Solaris
/dev/sda4 598,984,704 625,139,711 26,155,008 7 HPFS/NTFS


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 122656F62656D9F5 ntfs SYSTEM
/dev/sda2 BE26AE8326AE3C71 ntfs
/dev/sda3: PTTYPE="dos"
/dev/sda4 488E0E1C8E0E0364 ntfs RECOVERY
/dev/sda5 bf00db6b-11e7-442c-b27b-7e508a37c0cc ext4
/dev/sda6 63fc54eb-ccbe-43ae-aabe-7785981c2d56 swap
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda5 / ext4 (rw,errors=remount-ro)

Coutesy of sudo bash [path/to/the/download_folder]/boot_info_script*.sh the boot info script.

Ok will run the grub update command to retrieve the Windows 7 Boot option as I want to redo the EasyBCD configuration for booting.
 
Old 08-08-2010, 11:06 AM   #19
shayno90
Member
 
Registered: Oct 2009
Distribution: Debian Lenny 2.6.26 Ubuntu Lucid Lynx 10.04 Windows 7
Posts: 187
Blog Entries: 2

Original Poster
Rep: Reputation: 21
OK I ran the grub update command in the terminal and it displayed the boot up options for Ubuntu and Windows 7 however once I rebooted, those options did not appear and it booted straight into Linux.

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows Vista (loader) on /dev/sda2
Found Windows Vista (loader) on /dev/sda4
done

This did not appear once I rebooted!

So if I cannot boot into Windows I cannot configure EasyBCD settings. Any idea how I can get the Grub2 boot menu to appear and not just boot straight into Ubuntu?

Do I need to reinstall GRUB 2 since it doesn't appear then change the grub config to boot into Windows 7 partition and then configure the MBR with EasyBCD?

Last edited by shayno90; 08-09-2010 at 06:39 AM.
 
Old 08-09-2010, 05:12 PM   #20
shayno90
Member
 
Registered: Oct 2009
Distribution: Debian Lenny 2.6.26 Ubuntu Lucid Lynx 10.04 Windows 7
Posts: 187
Blog Entries: 2

Original Poster
Rep: Reputation: 21
Well I configured the EasyBCD to organize the booting process. The original problem for not seeing the boot up grub menu was the time in /etc/default/grub and was set to 0 from the previous EasyBCD configuration. I would recommend not to change this 0 and leave it at the original as once the updated Ubuntu starts the changes to the kernel cause the grub to override the EasyBCD dualbooting settings and thus it would boot straight into Ubuntu 10.04 if the GRUB _TIMEOUT=0 so better leave it at 10.


Hint download startupmanager to handle the /boot/grub/grub.cfg and /etc/default/grub settings as once you update Ubuntu this will make it easier to make changes to those sensitive files.

~$ sudo apt-get install startupmanager

http://www.ubuntugeek.com/startup-ma...d-usplash.html

~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10 (this was set to 0 in the previous EasyBCD setting)
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Essentially just boot into Windows upon seeing it the grub menu and repeat step 7 of the installation guide!

Last edited by shayno90; 08-09-2010 at 05:24 PM.
 
Old 08-10-2010, 09:26 AM   #21
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 288Reputation: 288Reputation: 288
Sorry I never got back to you here, but I work a lot on the weekends so I did not have the time.
The next time there is a kernel update for Ubuntu, the EasyBCD install to the MBR may be overwritten again, like it was the last time.
I would just use grub2 to manage the MBR and dual booting. That way you would not have this problem. Here are 2 more excellent tutorials for grub2:
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
https://wiki.ubuntu.com/Grub2
Those tutorials will teach you how to manage grub2s configuration files. Most of what
startup-manager does can be accomplished from learning how to edit /etc/default/grub file.

Anyway, glad you got it sorted out.

Last edited by tommcd; 08-10-2010 at 09:28 AM.
 
  


Reply

Tags
booting, dual, easybcd, error, partitioning, ubuntu, update, windows, windows7


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual booting ubuntu with Vista on desired HDD partition twinu89 Linux - Laptop and Netbook 2 08-28-2009 02:31 PM
Dual booting Slackware 12.1 with Windows XP Pro, can't partition colonel_clink Slackware - Installation 2 06-01-2008 08:39 AM
Partition rearrangement & dual booting Ubuntu/XP via GRUB VoidRoamer Linux - Hardware 9 04-29-2007 09:32 AM
dual booting xp and ubuntu need help with the fat32 shared partition reddwarf1387 Linux - General 4 02-07-2007 11:23 PM
Dual booting, want to get rid of windows partition ksgill Linux - Newbie 3 10-29-2004 01:32 AM


All times are GMT -5. The time now is 06:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration