LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-05-2009, 03:05 PM   #1
christux
LQ Newbie
 
Registered: Nov 2007
Location: San Francisco
Distribution: Fedora 7
Posts: 2

Rep: Reputation: 0
dual ubuntu xp broke--trying to load stage 2 from wrong partition


I had just gotten dual boot with Ubuntu Intrepid added to drive that was previously only XP.

Something happened where now it is trying to load stage2 from (hd3,4) whereas it should be loading everything from (hd0,4). I may have gotten an additional grub install on hd3 by mistake, in all my efforts to make this work.

hd0 / hd1 is a raid-1 mirror also fyi.

How can I tell my grub to look for stage2 in (hd0,4)?
Can I remove grub from hd3?
I have tried of course the root/setup/reboot stuff and many other things I found while googling, including various things with Super Grub Disk.

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x78d578d5

Device Boot Start End Blocks Id System
/dev/sda1 * 1 17294 138914023+ 7 HPFS/NTFS
/dev/sda2 17295 30401 105281977+ 5 Extended
/dev/sda5 17295 29863 100960461 83 Linux
/dev/sda6 29864 30401 4321453+ 82 Linux swap / Solaris

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x78d578d5

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 17294 138914023+ 7 HPFS/NTFS
/dev/sdb2 17295 30401 105281977+ 5 Extended
/dev/sdb5 17295 29863 100960461 83 Linux
/dev/sdb6 29864 30401 4321453+ 82 Linux swap / Solaris

Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x91c53552

Device Boot Start End Blocks Id System
/dev/sdc1 1 30401 244196001 7 HPFS/NTFS

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
16 heads, 63 sectors/track, 969021 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x25a45971

Device Boot Start End Blocks Id System
/dev/sdd1 1 969018 488385040+ 7 HPFS/NTFS

Disk /dev/sde: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc80f68d5

Device Boot Start End Blocks Id System
/dev/sde1 * 1 30401 244196001 7 HPFS/NTFS


----------------------------------------------------
menu.lst (minus comments)
-------------------------
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 3604ff57-e944-4928-ab70-0811188e3a12
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=3604ff57-e944-4928-ab70-0811188e3a12 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 3604ff57-e944-4928-ab70-0811188e3a12
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=3604ff57-e944-4928-ab70-0811188e3a12 ro single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 8.10, memtest86+
uuid 3604ff57-e944-4928-ab70-0811188e3a12
kernel /boot/memtest86+.bin
quiet


title Other operating systems:
root


title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1


title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1


title Microsoft Windows XP Professional
root (hd4,0)
savedefault
makeactive
map (hd0) (hd4)
map (hd4) (hd0)
chainloader +1
 
Old 03-06-2009, 08:33 AM   #2
bmj2728
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Bear in mind that I myself am also a nOOb, but I've had success with dual booting Ubuntu 8.10 and XP.

If you boot into the Ubuntu Live CD, you can easily access the partition manager, GParted. From there you can change the flags for each partition. Make sure that the partition containing GRUB is set as boot.

If you don't have any luck there, you could try turning off RAID in the BIOS. I've seen a lot of posts about issues with RAID.
 
Old 03-06-2009, 09:18 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
You might try adding this line to your Ubuntu entries:

Quote:
root (hd0,4)
So it looks like this:

Quote:
title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd0,4)
uuid 3604ff57-e944-4928-ab70-0811188e3a12
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=3604ff57-e944-4928-ab70-0811188e3a12 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
 
Old 03-07-2009, 12:26 AM   #4
christux
LQ Newbie
 
Registered: Nov 2007
Location: San Francisco
Distribution: Fedora 7
Posts: 2

Original Poster
Rep: Reputation: 0
decided to break the raid

I finally decided to break the raid.

I'm just going to install linux on one of the two former raid drives. The other one I already filled with an XP image I fortunately made a few days ago before I attempted the dual boot.

So my plan now, when I have more time probably tomorrow, is to put Ubuntu Intrepid on the other of my former raid drives, with all other drives physically unplugged and just use BIOS and/or one-time-boot menu to choose what to boot to... Unless someone has a better suggestion but I don't even want to look at grub at this point.

When I get ubuntu and the software I want properly set up, I expect that I'll only ever have to boot to windows on the rare occasion I want to play with some audio software (my sort of home DAW).



Chris
 
  


Reply


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
Ubuntu 7.10 Dual Boot with XP, ubuntu partition deleted, grub 1.5 error 22 narchy Linux - Newbie 11 02-07-2011 04:54 AM
down load to wrong partition? medan Linux - Software 6 03-22-2008 05:13 PM
WinXP, FC-5 Dual Boot, Grub failing to load FC-5 (can't mount selected partition) rcmpsc Fedora 4 09-21-2006 10:53 AM
Grub will not load Windows XP with Ubuntu dual boot Alex4R Linux - Software 1 03-26-2005 12:29 PM
GRUB stage 2 won't load MALDATA Linux - General 2 03-17-2005 04:32 PM


All times are GMT -5. The time now is 11:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration