LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2009, 03:59 AM   #1
Bob Newbie
LQ Newbie
 
Registered: May 2007
Location: Palm Bay, FL
Distribution: Ubuntu 9.10
Posts: 6

Rep: Reputation: 0
Ubuntu - Dual Boot capabilty & GRUB errs


Over one yr ago i tried running a "dual boot" config: Win XP on first HD and Ubuntu on the second. Too often GRUB errs (usually # 17) would occur which required un-install & re-install of Ubuntu to allow access to Win. After several of these disasters i gave up. Ubuntu was removed & not replaced. But hope springs eternal so i'd like to try it again. IMHO there are several choices:

(1) re-install latest & greatest Ubuntu release on second HD determined to continue testing until cause of future possible GRUB err is determined
(2) cowards approach - just run Ubuntu from CD without installing on HD
(3) consider another distro

Any advice will be greatly appreciated since i'd really like to learn abt Ubuntu without tears & fears.

Thanx.
Bob Newbie
Palm Bay, FL
 
Old 04-20-2009, 04:16 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
put ubuntu in 1st HDD
in case you are feeling not good about loading windows from grub/lilo then do the other way about
use the windows boot loader.

While installing ubuntu, just ask it to install the boot loader in the partition where the / resides
instead of in the MBR.

load into rescue mode and dump first 1024 bytes of your boot loader of the / partition into a file ; say unix.boot
# dd if=/dev/<the device where the boot loader is present> of=/tmp/unix.boot bs=1024 count=1

copy this unix.boot file to windows partition c:\
(you can either do this by mounting the partition and copying it or by copying the unix.boot to a mem stick and then
booting into windows and copying from the memstick)

edit boot.ini and at the end just add a line
c:\unix.boot = "Ubuntu linux"

where c:\unix.boot is the boot loader dump you had stored ! this way you are not afride of messing up with the
bootloader

Now when you load windows, windows will show a menu asking to chose between linux and windows
whola ! you are there !
 
  


Reply

Tags
boot, dual



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
Ubuntu 7.10 Dual Boot with XP, ubuntu partition deleted, grub 1.5 error 22 narchy Linux - Newbie 11 02-07-2011 03:54 AM
GRUB prompt comes up on Ubuntu 8.04 dual boot, what now? powerbilly Linux - Newbie 7 10-15-2008 09:09 PM
XP won't boot, loops back to GRUB: dual-boot XP and Ubuntu dan2010 Linux - Newbie 4 08-08-2007 12:09 PM
Partition rearrangement & dual booting Ubuntu/XP via GRUB VoidRoamer Linux - Hardware 9 04-29-2007 08:32 AM
grub dual boot ubuntu/windows dellcom1800 Linux - General 1 01-25-2007 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 PM.

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
Open Source Consulting | Domain Registration