Ubuntu Dual Boot Vista 64bit

Joined
Jan 28, 2009
Messages
522
Im currently running Vista Premium 64bit on a Raid (stripped) two hitachi drives

The mobo
An-M2 supports another 2 sata drives.
So i purchases a new 160gb which I wanna partion in half so I can install Ubuntu on
one partition and the other half will be storage for windows.

Im confused about a couple of things and hope some one can help me.

Should I format my new drive in windows or when i install linux?

Can I do a dual boot with my raid drive and this new drive?
Remember I have vista already installed on my raid drive
and linux will be installed on its own drive.

Thanks for any help guys..
 
1-shut down comp.
2-plug in hard drive
3-boot live cd and install.
You can format everything during the install process. Just make sure you're installing to the new drive and not the raid array.
 
Hey hoffstetter thanks for the response.

Ok so i installed ubuntu as follows

I have my vista 64 installed on my raid

This is what my installation looks like

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/sdb: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe80dce22

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 20023 160833536 7 HPFS/NTFS

Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x540b8ddd

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 1216 9767488+ 83 Linux
/dev/sdc2 10199 19457 74366976 6 FAT16
/dev/sdc3 1217 10198 72147915 5 Extended
/dev/sdc5 7768 10198 19527007+ 83 Linux
/dev/sdc6 7524 7766 1951866 82 Linux swap / Solaris
/dev/sdc7 1217 7522 50652882 b W95 FAT32

I installed the boot loader on "/" primary
but when i start the computer it boots directly into windows..

How do i get it to dual boot..
I got that info by using the live CD..
 
cool, at least we know you didn't break your windows installation. Normally you would expect to boot into Grub, linux's boot manager, giving you a menu to select windows or linux.
try hitting F12 or whatever button brings up your mobo's boot menu and try booting to the hard drive you put linux on.
One of several things should happen:
1 - It won't boot. In this case you'll have to find some guides on configuring grub and see if you can fix it.or maybe there's some key you have to hold down at boot to get into grub
2 - It will boot right into ubuntu in which case you have the choise of hitting F12 (or whatever) whenever you want to boot into linux or configuring grub
3 - It will boot to the Grub menu in which case you can set your bios to boot to this hard drive and get the grub menu every time you boot or you can use F12 to choose which one to boot to.

Does this make sense?
 
I do understand what you are saying about trying to boot into ubuntu by making it the primary boot drive
Im afraid of messing up my Raid drives by doing this..

There has to be a way to fix the grub loader...
What I think its happening its simple

The boot loader was not setup on the proper partition..
is there anyway to fix the grub loader from inside linux?

If this is the case I guess I will disable my raid so that I can load into ubuntu
do you think this will mess up my raid drive?

I installed the new ubuntu 9.04 Im starting to think i should of installed 8.04
 
Your motherboard raid is software or fakeraid (as opposed to hardware based raid which Ubuntu will likely have drivers for). Ubuntu will very likely not recognize the controller although it will see the drives individually (which is what it tells you when you run fdisk). As such, you cannot use grub as a boot loader (or at least without some work) to load your Vista partition which resides on the raid controller. Your easiest choice is to use F12 when your computer posts and manually choose to boot either from the raid controller ( to load Win) or choose the new 160GB disk (to load Ubuntu). Your grub stage 1 files were installed on the 160GB disk and will load Ubuntu when you choose this option. This is actually the preferred option for folks who are not very familiar with how boot loaders work and want to try out different Linux distros without affecting their daily driver OS. You should NOT have to disable your mobo raid controller to make this work, BUT Ubuuntu will not be able to access any partitions on the raid drives unless you can find and install Linux drivers for your specific raid controller in Ubuntu.
 
Last edited:
Yeah, what he said. Hit F12 and see if the linux drive is an option there. This is a one time choice so it won't effect the raid array and it will still boot to windows the next time you boot.

If it's not a choice on the F12 menu, you might have to change the boot order in the bios to get it on the drive to show up, but you should be able to do this without breaking the raid array.
 
aubsxc welcome and thanks for your help


Ok I did the reseach about my mobo bios and setting up my hard drive as primary boot.

Because my Raid uses (nvidea) raid drivers when I go to my bios
under "Hard Drive boot Priority" It only gives me the option to
boot "Nvidea Stripe 153GB" (which is my raid) and "Bootable additional card"
I do not have the option to boot from the WD 160GB.. Unless I disable my RAID

Onchip sata = enabled, Onchip Sata Controller = Enabled
Onchip Raid Config =
sata 1 + sata 2 enabled.
The WD is connected to Sata 3 which I have enabled and tried to restart but it still loads the RAID (sata 1+2)

The grub loader from what I have read needs to be loaded to the correct partition
I thought I loaded it to the correct partition "/" when I 1st installed ubuntu

"sudo grub"
this will get me the grub> prompt

"find /boot/grub/stage1"

which produces
"(hd2,0)"

this tells me the grub loader is in my setup this way (hd2[which is hard drive 2, which is also part of my raid],0 [which is the partition])

The next code is "setup(hdx,y)"
So shouldn't I load it this way according to my set up (hd3[which is the 3rd hardrive representing the WD 160],1 [which is the 1st partition "/"])

Now I don't think this will work thought since I know I installed it to the correct partition.

aubsxc what you are saying makes sense..
You are saying to install the RAID drivers for UBUNTU..

Will this damage my current raid array?
Im sure the LIVE cd has the drivers i would need to
find out the terminal code and install it.

I do not want to use the bios to switch from HD to HD
there should be a proper way to install the loader/ubuntu raid driver
 
hoff this is an awsome solution.

Im still at work and I wont be home for another 4 hours or so.

This actually looks like the best way to get Vista/Ubuntu to play nice..lol

Once I get home if this works I will let you know..

Thanks again
 
Well linux is already installed, Vista doesnt see the partitions for Linux and my Nvidea Raid software wants to install the drive?

So im still alittle confused because I installed EASY BCD
on the screen where they guide you when I open the linux tab
the software does not see the Linux partition at all...

The only option I get is my stripe drive and drive 0 which i have no
idea what it is.
 
something to remember is that with the desktop cd ubuntu does not play nice with fakeraid, if you use the alternet cd/dvd you should run into no problems.

rody
 
Back
Top