LinuxQuestions.org
Help answer threads with 0 replies.
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 03-01-2006, 08:12 PM   #1
joeflies256
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
Dual Boot SUSE 10.0 With WinXP


Hi there.

This is my first post so bear with me...

My current system is:
SN95G5 V2.0,
Athlon 64 3000+ Venice Core
Leadtek WinFast Ti4800SE MyVivo
Seagate SATA Hard Drive
Western Digital Caviar SATA Hard Drive

I currently have Windows XP installed and want to dual boot with SUSE 10.0 64bit ed.
As I did not want to fiddle with the MBR I kept my Windows XP installation on Seagate (number 1 hard drive). This is currently partitioned with One primary partition and one extended partition both in NTFS.
The Western Digital Hard Drive has SUSE Installed in the first partition with RESIERF. I have three other partitions one being a SUSE SWAP partition the other being a FAT32 partition for swapping files between XP and SUSE and the last another NTFS Partition for storage (Winxp).
Obviously with this setup when I bootup my computer it goes directly into Windows XP as I have not loaded GRUB or LILO as a boot loader.

My question is, is there anyway to boot into this SUSE installation without having to mess with the MBR or by changing the above Partition structure etc.

Can I create a bootable CD that I could just put in to my computer when I wanted to run SUSE?
I have a copy of SUSE Live which I thought would be able to do this for me however once booted it only gives me the option of booting Windows…

Does anyone have any ideas?
I would prefer to keep SUSE completely separate from Windows and not have to put a /boot partition on the Seagate hard drive.

Could I copy grub to the MBR of the Western digital hard drive, would that make it easier to make a boot cd, and just direct that to the second hard drive when ever I wanted to boot SUSE?

Thanks for any help in advance.
 
Old 03-02-2006, 03:05 AM   #2
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 165

Rep: Reputation: 23
use fdisk (command line utility, use with extreme caution) to make Western Drive bootable. Install grub onto the MBR of Western then alter bios to boot from that drive.

(If Western is hdb then

# fdisk /dev/hdb

(to check if it is bootable type p and hit enter)

Command (m for help): p

Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 2434 19551073+ 83 Linux

If there is an asterix under the word Boot then it is bootable (this example is not bootable). If not then type a and hit enter to make it bootable you can check again with p if you like. Tpye w then enter to save the change and exit fdisk if needed
 
Old 03-02-2006, 03:33 PM   #3
crazibri
Member
 
Registered: Mar 2004
Location: Orange County, CA
Distribution: OS X, SuSE, RH, Debian, XP
Posts: 377

Rep: Reputation: 31
The alternate way is to install LILO instead of GRUB. BTW, I tried the LILO thing and it sucks so I just overwrote the MBR with GRUB since you can get the windows MBR back easy with the XP boot disc repair utility. I just dont like Lilo because every kernel update/install you have to do the "/sbin/lilo" before you reboot or you are "SOL".


If you install LILO during Suse install, and not overwrite MBR you'll be set. Then you need to boot with a live linux cd (like Knoppix). Then perform:

#: dd if=/dev/hdb of=/mnt/driveWithFat32/suse.bin bs=512 count=1

This will copy the first 512 bytes from your Western Digitial to the path you give in "of=" including the file name you give it (i gave it suse.bin).

You want to put this on your fat32 or a floppy or cd.

Next boot back into Windows.

Put the suse.bin file at C:\

Show System Files, uncheck Read-only for the boot.ini. Open Boot.ini and add a line that shows:

c:\suse.bin="Suse Linux 10.0"

save the boot.ini.
put it back as read-only.

reboot.

Now you'll get the windows option to boot windows or Suse linux 10.0.
Select Suse and then NTLDR will transfer control to Lilo and lilo will give you the short 2 second menu and then boot Suse.

Hope you or someone else finds this useful.
 
Old 03-02-2006, 05:14 PM   #4
ciaran_skye
Member
 
Registered: Mar 2004
Location: Jeffersonville, IN
Distribution: Fedora 8 x86_64
Posts: 30

Rep: Reputation: 15
I wanted to do the same thing using dual boot with WinXp and SuSE 10 on a SATA system with two 250GB drives (I had intended to RAID the drives, but it didn't work properly), but no matter which drive I told the BIOS was the boot drive it would only boot Windows. When I added GRUB to the Windows disk Linux booted fine, but as soon as I switched it back to Windows it wouldn't boot. I tried fixing the MBR with the Windows recovery console and it gave an error saying it was a non-standard MBR and that it probably wouldn't work right and it didn't. In the end I had to wipe the Linux install and reinstall Windows (so I could keep the existing files in Windows.)
 
Old 03-02-2006, 09:45 PM   #5
joeflies256
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the adice I will give the above suggestions a try this weekend and then post back the results once done. Cheers,
 
Old 03-03-2006, 02:39 AM   #6
mylinuxquestionsname
Member
 
Registered: Feb 2006
Posts: 37

Rep: Reputation: 15
Quote:
Originally Posted by ciaran_skye
I wanted to do the same thing using dual boot with WinXp and SuSE 10 on a SATA system with two 250GB drives (I had intended to RAID the drives, but it didn't work properly), but no matter which drive I told the BIOS was the boot drive it would only boot Windows. When I added GRUB to the Windows disk Linux booted fine, but as soon as I switched it back to Windows it wouldn't boot. I tried fixing the MBR with the Windows recovery console and it gave an error saying it was a non-standard MBR and that it probably wouldn't work right and it didn't. In the end I had to wipe the Linux install and reinstall Windows (so I could keep the existing files in Windows.)
If you even consider installing with raid....read this.....you may know more than me (which isn't difficult)...but my experience was a disaster.

http://www.suseforums.net/index.php?...5&#entry120395
 
Old 03-03-2006, 11:06 AM   #7
ciaran_skye
Member
 
Registered: Mar 2004
Location: Jeffersonville, IN
Distribution: Fedora 8 x86_64
Posts: 30

Rep: Reputation: 15
What it did was when I turned on the RAID (and set them up in the RAID screen that is separate from the main BIOS) the drives were dropped completely from the BIOS screen so when Windows tried to install it would say there were no hard drives attached even if the driver off of the mobo's CD was installed which I assume was supposed to let it detect them. Most likely I just don't understand how to set them up.

Right now one of the drives is more than enough for my uses and the SATA/300 is plenty fast, so I'm thinking I want to use the empty drive for Linux. I think what I'm going to do it use NTLDR to do it so I don't risk bothering the Windows drive's MBR and possibly forcing a reinstall.
 
Old 03-06-2006, 04:55 AM   #8
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
joe: Does SUSE not have an option NOT to install a bootloader when you install? That way you can insert the DVD/CD install disc and boot up SUSE from there.
 
Old 03-07-2006, 03:03 PM   #9
joeflies256
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for all the help.

Jongi, I originally tried that method however although there is n option not to install a bootloader, when you insert SUSE install DVD it only gives you the option of re-installing. Once going through all the system identifications etc you can then choose to boot from the hard drive that has the SUSe installation but this takes ages...

In the end I just installed GRUB to the Western Digital MBR (Second SATA Drive). Fortunatley for me the SN95G5 allows you to press {ESC) during the post sequence that goes straight to a boot menu. From there you can tell the computer to boot from any hard drive or device you like.

Doing nothing from the post screen just boots from hard drive one as expected, which is real handy. If I wanted to make SUSE the default operating system I would just change the HardDrive boot order in bios....

Thanks for all the help, all sorted now....

Cheers.
 
Old 03-08-2006, 06:50 AM   #10
chameleon06
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
Hi
If you use GRUB and assuming Disk1 is your SUSE and Disk2 is your Windows
then just edit the file/boot/grub/menu.lst
and insert

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


(see sample attached)

# ==============================
# Modified by YaST2. Last modification on Sat Nov 19 01:10:26 EST 2005

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

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

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0 no apic
root (hd0,0)
kernel /vmlinuz root=/dev/tauruslvm/root vga=0x314 selinux=0 acpi=off apm=off noapic resume=/dev/sda2 splash=silent showopts
initrd /initrd

###Don't change this comment - YaST2 identifier: Original name: xen###
title XEN
root (hd0,0)
kernel /xen.gz dom0_mem=2031616
module /vmlinuz-xen root=/dev/tauruslvm/root vga=0x314 selinux=0 acpi=off noapic resume=/dev/sda2 splash=silent showopts
module /initrd-xen

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +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,0)
kernel /vmlinuz root=/dev/tauruslvm/root vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /initrd

###Don't change this comment - YaST2 identifier: Original name: memtest86###
title Memory Test
kernel (hd0,0)/memtest.bin
 
  


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
Problem setting up a dual boot (WinXP/SUSE 10.0) system firecrotch Linux - General 3 02-05-2006 06:24 AM
Dual-boot WinXP / Suse 9, keeps crashing after installing Suse MagNiTek Linux - General 2 07-08-2005 01:39 PM
Winxp Dual Boot with Suse 9.2 ozman46 SUSE / openSUSE 12 03-29-2005 11:56 PM
cannot dual boot suse 9.1 and winxp between sata and ide respectively jarobman SUSE / openSUSE 7 01-12-2005 12:06 AM
Installing WinXP in a SuSE 9.0 enviroment (dual boot) fubzot Linux - Newbie 3 04-15-2004 03:05 PM

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

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