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 12-14-2004, 01:56 PM   #1
Kix
Member
 
Registered: Mar 2003
Location: UK
Distribution: PCLINUXOS
Posts: 34

Rep: Reputation: 15
Yet another dual boot question.


I have two hard drives, primary ide master is SuSE 9.1 with GRUB as the boot loader. The other hard drive, primary ide slave with w2k (ntfs). After reading through aus9's dual boot how to I'm still confused.

How can I get grub to list the option of booting to the w2k drive?

After losing the entire xp partiition on my laptop when trying to dual boot, I've gone for the 2 disk scenario to give me a bit of cover.

Any assistance appreciated.

Cheers

kix

Last edited by Kix; 12-14-2004 at 02:02 PM.
 
Old 12-14-2004, 03:40 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Add (or just uncomment it - it's probably already there in roughly the correct format anyway) the following lines to your /boot/grub/menu.lst file:
Code:
title           Windows 2000
root            (hd1,1)
savedefault
makeactive
chainloader     +1
You may need to change the root entry depending on which partition you're using on your second IDE disk.
 
Old 12-14-2004, 04:38 PM   #3
Kix
Member
 
Registered: Mar 2003
Location: UK
Distribution: PCLINUXOS
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks mjrich.

Gave your suggestion a try, my menu.lst looked like this:

# Modified by YaST2. Last modification on Fri Nov 19 17:25:30 2004

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

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x31a splash=silent desktop resume=/dev/VolGroup00/LogVol01 showopts
initrd (hd0,1)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd0,1)/boot/initrd

So I changed it to this:

# Modified by YaST2. Last modification on Fri Nov 19 17:25:30 2004

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

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x31a splash=silent desktop resume=/dev/VolGroup00/LogVol01 showopts
initrd (hd0,1)/boot/initrd

title Windows 2000
root (hd1,0) *** also tried hd1,1 ***
savedefault
makeactive
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd0,1)/boot/initrd

When I select Windows 200 in GRUB I get:

root (hd1,0)
Filesystem type unknown, partition type 0x7
savedefault
makeactive
chainloader +1

So I guessed wrong and changed the line:

root (hd1,0)

to

root=/dev/hdb1 (and hdb0 and hdb2 just in case)

Same thing happens, only I get the GRUB list back after the error.

Hmmmmmmmmm, more play needed.

Thanks

kix
 
Old 12-14-2004, 05:03 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
From your SuSE /etc/fstab, do you know which partition Win2k is on ?

Cheers,

mj
 
Old 12-14-2004, 05:42 PM   #5
Kix
Member
 
Registered: Mar 2003
Location: UK
Distribution: PCLINUXOS
Posts: 34

Original Poster
Rep: Reputation: 15
mj

not much in there makes much sense to me:

/dev/hda2 / reiserfs acl,user_xattr 1 1
/dev/VolGroup00/LogVol01 swap swap pri=42 0 0
/dev/hda1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/dvdrecorder /media/dvdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

But hdb has no mention.

So, will I need to add something here?
 
Old 12-14-2004, 07:22 PM   #6
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
How inconsiderate of SuSE to not autodetect your win2k drive - someone really must have a word to Novell

Is there any sign (from your SuSE setup) of the second hard drive - whether in My Computer, /data-xyz, or elsewhere ? Anyway, it's possible that having win2k as a slave is upsetting things, so you could try adding two lines as follows:
Code:
title           Windows 2000
rootnoverify    (hd1,0)
map             (hd0,0) (hd1,0)
map             (hd1,0) (hd0,0)
savedefault
makeactive
chainloader     +1
The map lines will hopefully fool windows into thinking it's being loaded from the master drive. <sighs>. such is politics. Changing the root to rootnoverify, as above, may also help.

Cheers,

mj
 
Old 12-15-2004, 12:26 PM   #7
Kix
Member
 
Registered: Mar 2003
Location: UK
Distribution: PCLINUXOS
Posts: 34

Original Poster
Rep: Reputation: 15
mj

Cheers! Dual boot now works perfectly. However as you suspected, I still can't 'see' the windows drive as you normally can on a partitioned single disk. The only way I can find hdb is to use Partitioner from YaST.

So will I need to add a line to fstab to mount the drive on boot up?

Once again, thanks!

 
Old 12-15-2004, 01:04 PM   #8
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Great to hear

You could try adding a line to /etc/fstab, as follows
Code:
/dev/hdb1       /windows        ntfs    ro,auto,user,umask=0022       0       0
-and adding a /windows directory to your root partition. Or alternatively go through Yast to achieve the same thing. Once that's in, you should be able to add an icon to the desktop (add device/hard drive etc.) if you wish.

Cheers,

mj
 
Old 12-16-2004, 06:29 PM   #9
Kix
Member
 
Registered: Mar 2003
Location: UK
Distribution: PCLINUXOS
Posts: 34

Original Poster
Rep: Reputation: 15
Now that's what I call service.

Thanks man.

Kix
 
Old 12-16-2004, 07:30 PM   #10
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
No worries

Take care,

mj
 
  


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
Dual Boot Question spaceballs Slackware 11 03-28-2005 01:54 PM
Dual Boot Question caps_phisto Linux - General 1 11-03-2004 11:41 AM
Another dual boot question flira Slackware 2 05-29-2004 01:23 AM
Dual Boot Question jwjody Linux - Newbie 3 10-23-2003 10:57 PM
dual boot question eelee Linux - Software 21 12-20-2001 07:46 AM

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

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