LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-17-2006, 11:49 AM   #1
ill_c
LQ Newbie
 
Registered: Oct 2005
Location: manchester
Posts: 15

Rep: Reputation: 0
sorry....its a dual boot qn..


please someone help me get windows to boot, i just can't find an answer that suits me:

1x sata drive, Windows XP
1x IDE drive, Suse 10

suse will boot fine, windows won't.


menu.lst

# Modified by YaST2. Last modification on Mon Apr 17 18:15:24 BST 2006

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hdb6 selinux=0 resume=/dev/hdb5 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows XP
chainloader (hd1)+1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
chainloader (fd0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hdb6 showopts ide=nodma apm=off acpi=off noresume selinux=0 edd=off 3
initrd /boot/initrd


device map:
(hd0) /dev/hdb
(fd0) /dev/fd0
(hd1) /dev/sda


any replies will be most appreciated
 
Old 04-17-2006, 11:55 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
title Windows XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
 
Old 04-17-2006, 12:11 PM   #3
ill_c
LQ Newbie
 
Registered: Oct 2005
Location: manchester
Posts: 15

Original Poster
Rep: Reputation: 0
that didn't work
i got:
ERROR 12 - invalid device requested
thanks for tryin tho
 
Old 04-17-2006, 01:05 PM   #4
ill_c
LQ Newbie
 
Registered: Oct 2005
Location: manchester
Posts: 15

Original Poster
Rep: Reputation: 0
cmon guys help a friend in need here!
 
Old 04-17-2006, 01:06 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Let's see the output from "fdisk -l" (ell, as in list)
 
Old 04-17-2006, 01:07 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Try adding "hide" to the list:

title Windows XP
rootnoverify (hd1,0)
hide (hd0,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader (hd1)+1

Last edited by pljvaldez; 04-17-2006 at 01:13 PM.
 
Old 04-17-2006, 01:14 PM   #7
ill_c
LQ Newbie
 
Registered: Oct 2005
Location: manchester
Posts: 15

Original Poster
Rep: Reputation: 0
fdisk -l

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 13 104391 83 Linux
/dev/hdb2 14 8172 65537167+ 7 HPFS/NTFS
/dev/hdb3 * 8173 9964 14394240 f W95 Ext'd (LBA)
/dev/hdb5 8173 8303 1052226 82 Linux swap / Solaris
/dev/hdb6 8304 9964 13341951 83 Linux

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 8924 71681998+ 7 HPFS/NTFS
/dev/sda2 8925 30514 173421675 f W95 Ext'd (LBA)
/dev/sda5 8925 30514 173421643+ 7 HPFS/NTFS
 
Old 04-17-2006, 01:30 PM   #8
ill_c
LQ Newbie
 
Registered: Oct 2005
Location: manchester
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
title Windows XP
rootnoverify (hd1,0)
hide (hd0,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader (hd1)+1
got the same error 12 - invalid device request.

any ideas?
 
Old 04-17-2006, 01:39 PM   #9
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Frankly, I'm all out of ideas... I'll mull it over some more, but you might check out this link and see if there's anything useful...

I'm not really good with the grub command line, but you might try to boot to the grub command line (I think you have to hit some key combo during the grub menu) and try to boot Windows that way.
 
Old 04-17-2006, 01:46 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I'm with pljvaldez - what he suggested sounded sane.
Try using simply
Code:
rootnoverify (hd0,0)
chainloader +1
Yes, I know. Try it.
 
Old 04-17-2006, 03:03 PM   #11
ill_c
LQ Newbie
 
Registered: Oct 2005
Location: manchester
Posts: 15

Original Poster
Rep: Reputation: 0
got it to work but talk about needing a brick wall doh!

i really should pay more attention to all those radio buttons in yast, i might be able to keep track of what i'm actually doing then!
i realised that i'd written over the mbr with the boot windows info on, and i take it when grub loads, if u choose windows, it passes control back over to the mbr on the windows disk..
so after much routing for xp cds and raid drivers i ran the windows recovery, fixboot and fixmbr commands, then back to suse and to yast ... and hey presto your original solution
Quote:
title Windows XP
rootnoverify (hd1,0)
hide (hd0,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader (hd1)+1
works a treat.

apologies for being stupid.
thanks for the help
 
  


Reply



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
Installing dual Boot 98/Linux - WONT 'LILO' Dual Boot !? L1nux3d Linux - Laptop and Netbook 15 02-11-2006 05:36 AM
Do dual boot systems need dual instalations of programs (GIMP, Firefox etc.) madsporkmurderer Linux - Newbie 2 12-05-2005 12:45 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:02 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
Open Source Consulting | Domain Registration