Mailinglist Archive: opensuse (2912 mails)

< Previous Next >
Re: [SLE] Dual-booting...or trying, heh
  • From: Catimimi <catimimi@xxxxxxxxxxxxxx>
  • Date: Thu, 10 Feb 2005 22:01:03 +0100
  • Message-id: <420BCB8F.8040401@xxxxxxxxxxxxxx>
Bruce Marshall a écrit :

On Thursday 10 February 2005 03:06 pm, Chris wrote:

-----Original Message-----
From: John B [mailto:yonaton@xxxxxxx]
Sent: Thursday, 10 February 2005 6:07 PM
To: suse-linux-e@xxxxxxxx
Subject: [SLE] Dual-booting...or trying, heh


Heya gang,

I just installed W98 on a second hdd for a few games *only*. The way I
did it, was open case, unhook Linux hdd and made second hdd hdd0, installed
M$, rehooked everything back to normal.
Then I tried to use YaST to setup my LILO so I had the choice of windows
also to choose from in the boot screen. Unfortunately, it's not writing all
the things it apparently needs to boot the windows hdd. All fstab has
is /dev/hdb1 and 'other'.
Anyone mind showing me their fstab if they're dual-booting or giving me a
hint how to have YaST set it up?

Thanks,

John


FSTAB has nothing to do with dual booting., FSTAB tells linux how to mount its partitions once *linux* is in the process of booting.



Hi all,

Let me tell what I've understood since the question was not clear.

I think that John has Linux installed on drive hda (partition hda1), and Windows 98 on drive hdb.
He wants that his boot loader has two entries, one for Linux on hda and one for Windows on
drive hdb.

If it is your problem John, you have to know that the bios is unable to boot a second hard drive !
Nevertheless, you can do that with GRUB, I boot even from the third hard drive !

You need GRUB and not LILO, edit the file : /boot/grub/menu.lst so that it looks like below for the
Windows 98 entry :


# Modified by YaST2. Last modification on Fri Nov 26 09:41:53 2004


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

title Linux SUSE 9.2
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 vga=0x314 selinux=0 splash=silent resume=/dev/hda1 desktop elevator=as showopts
initrd (hd0,0)/boot/initrd

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

........

The two map instructions are swapping hd0 and hd1 so that the Bios thinks that it is booting from the first hard disk !!

The Linux entry is an example which supposes that you have only one partition, modify it in order to get
your own configuration.

Did I understand your problem, and is this a solution to it ?

As far as I know, there is no solution with Lilo.

Good luck.

Michel.


< Previous Next >
Follow Ups
References