LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-22-2009, 11:13 AM   #1
rben
LQ Newbie
 
Registered: Mar 2004
Location: Boston
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
Multi-boot Ubuntu-64/Vista-64/WinXP only boots Ubuntu and Vista


I have a newly built system with 3 hard drives, each holding a different OS. All are SATA drives, the first holds Windows Vista-64 (new OEM), the second holds Windows XP (32-bit) - it's transplanted from my old Alienware computer, and the third holds Ubuntu-64 8.10. What I would like to do is be able to run all three operating systems, at least for a while.

I installed Vista-64 first, because it has been my understanding that Windows does not play well with others. I did so without the other two drives hooked up, in order to keep life simple. Then I hooked the other drives up, and Vista can see the WinXP drive and ignores the Linux drive.

Being cautious, I decided to try WUBI first, and see how well the new system worked with Ubuntu-64. Everything seemed fine, when I rebooted, I was given a menu where I could choose from Ubuntu or Vista. Then I tried to have WUBI install Ubuntu permanently. In particular, I wanted Kubuntu. That didn't work well. (I can't remember the exact details.) Then I removed Wubi, as per the directions. Unfortunately, I was still left with the boot menu, but now the Kubuntu option went nowhere.

Undeterred, and figuring at worse I could yank out some hair and reinstall everything - if I had to, I went ahead and installed Ubuntu. That seemed to work, but when I rebooted I couldn't get into Ubuntu.

A friend advised me to use a Super Grub Disk, so I downloaded the ISO, burned a DVD, and booted off that. I thought all I did was look around, but when I rebooted, I had a full menu giving me access to Ubuntu, MemTest, WinXP and Vista - or so it seemed. If I selected Ubuntu I got Ubuntu, WinXP gave me Vista, and selecting Vista gives me an error.

I would like some help getting this straightened out. I might be able to stumble through on my own after reading the docs, but really don't want to do something that cripples my system.

The grub files are as follows:

device.map


Code:
(hd0)	/dev/sda
(hd1)	/dev/sdb
(hd2)	/dev/sdc

menu.lst
Code:
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=f0ca6709-1b6e-4431-86b2-b8c1bc0e3777 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=f0ca6709-1b6e-4431-86b2-b8c1bc0e3777

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 8.10, kernel 2.6.27-11-generic
uuid		f0ca6709-1b6e-4431-86b2-b8c1bc0e3777
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=f0ca6709-1b6e-4431-86b2-b8c1bc0e3777 ro quiet splash 
initrd		/boot/initrd.img-2.6.27-11-generic
quiet

title		Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid		f0ca6709-1b6e-4431-86b2-b8c1bc0e3777
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=f0ca6709-1b6e-4431-86b2-b8c1bc0e3777 ro  single
initrd		/boot/initrd.img-2.6.27-11-generic

title		Ubuntu 8.10, kernel 2.6.27-7-generic
uuid		f0ca6709-1b6e-4431-86b2-b8c1bc0e3777
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=f0ca6709-1b6e-4431-86b2-b8c1bc0e3777 ro quiet splash 
initrd		/boot/initrd.img-2.6.27-7-generic
quiet

title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid		f0ca6709-1b6e-4431-86b2-b8c1bc0e3777
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=f0ca6709-1b6e-4431-86b2-b8c1bc0e3777 ro  single
initrd		/boot/initrd.img-2.6.27-7-generic

title		Ubuntu 8.10, memtest86+
uuid		f0ca6709-1b6e-4431-86b2-b8c1bc0e3777
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title		Microsoft Windows XP Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title		Windows Vista/Longhorn (loader)
root		(hd1,0)
savedefault
makeactive
map		(hd0) (hd1)
map		(hd1) (hd0)
chainloader	+1
 
Old 02-22-2009, 07:08 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 9,935

Rep: Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300
Quote:
selecting Vista gives me an error.
And what might that error be?

If Ubuntu boots and you select xp and get vista, start by copying the vista title line to where the xp line is.

sudo gedit /boot/grub/menu.lst (this should get you into the file as root)

I would run command:

sudo -fdisk -l

this will give you a list of partitions so you know where your different OS's are. The entry you currently show for xp (which you say actually boots vista) is "root (hd0,0). fdisk will show that as sda1. Check the output of fdisk to see if there is an asterisk (*) under boot for the sda1 and sdb1 partitions.

If you can't figure it out, I think it would be best if you posted the output of the fdisk -l command so someone could tell you the next step.

You could also download EasyBCD to edit vista bootloader to boot xp.
 
Old 02-22-2009, 07:17 PM   #3
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Rep: Reputation: 15
Did you install the different OS's in order?
I think you have to install it with XP, Vista, and then Linux in that order.

Here is a youtube link that shows you step by step on the installation instructions for
xp, vista, and ubuntu

http://www.youtube.com/watch?v=M3t8Js_STEs

It's split up in two different parts but you'll see part two if you want.
 
Old 02-23-2009, 01:56 PM   #4
rben
LQ Newbie
 
Registered: Mar 2004
Location: Boston
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by trnz$mr View Post
Did you install the different OS's in order?
I think you have to install it with XP, Vista, and then Linux in that order.

Here is a youtube link that shows you step by step on the installation instructions for
xp, vista, and ubuntu

http://www.youtube.com/watch?v=M3t8Js_STEs

It's split up in two different parts but you'll see part two if you want.
I appreciate the link, but right now, I can't run any YouTube stuff under Ubuntu. It just causes Firefox to hang. That's the next issue I plan to work on.
 
Old 02-24-2009, 04:52 AM   #5
rben
LQ Newbie
 
Registered: Mar 2004
Location: Boston
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
yancek,
Your reply has been very helpful. I've downloaded EasyBCD and have already eliminated the defunct Kubuntu menu selection on one of the bootloader screens. Now I'm going through the documentation trying to decide if I should use EasyBCD to do all the bootloading, or continue to have it split between GRUB and the Vista Bootloader. Hopefully, this will resolve the issue. When I'm done, I'll post more details so anyone else following this thread can repeat the process.

Thanks to all who responded.
 
  


Reply

Tags
grub, multiboot, ubuntu, vista, winxp


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
How can I remove vista from a ubuntu / vista dual boot! TheOneSYM Linux - Newbie 10 04-01-2010 01:21 PM
dual boot vista and ubuntu, lost after changes to vista monkeybritt Ubuntu 5 12-04-2008 02:16 PM
Vista and ubuntu duel boot how to links for ubuntu inspiron_Droid Ubuntu 1 04-16-2008 01:53 PM
fedora/vista dual boot - partimage: restored vista - vista won't let me log on redmoon zero Linux - General 1 12-31-2007 07:21 PM

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

All times are GMT -5. The time now is 06:22 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