From: Nico Kadel-Garcia on
On 15 Apr, 21:03, "j...(a)wexfordpress.com" <j...(a)wexfordpress.com>
wrote:
> On Apr 15, 12:40 pm, Andrew Gideon <c172driv...(a)gideon.org> wrote:
>
> > On Tue, 15 Apr 2008 06:43:00 -0700, j...(a)wexfordpress.com wrote:
> > > Now I want to install Win XP (OEM version) on /dev/hda1. It is newly
> > > purchased and hasn't been installed elswhere.
>
> > Starting from scratch, perhaps you'd be better off with Xen or VMWare.
>
> >         - Andrew
>
> No, I need real Windows XP Home edition to be compatible with my
> audience. If a procedure works on my partition it should work on
> theirs.
>
> I managed to solve the windows problem, but my solution was a bit
> goofy. First I went into the bios
> and reset the bios settings to "safe". Then I tried installing old
> reliable Win 2000. Win 2000  detected a faulty mbr and obligingly
> fixed it when requested. XP lacked this routine. Then after going
> through all the install steps for Win 2000 I rebooted the Win XP CD
> and went through its routines, including deleting the partition,
> recreating it, formatting it with ntfs and so on.
>
> This gave me a functioning MS XP partition that starts automatically
> at boot time. To start my Linux partition
> I initially used the install cdr, then I modified Lilo to write to a
> floppy, formatted a floppy and ran Lilo.
> Now I can toggle between /hda1 (XP) and /hda2 (Slack Linux) by booting
> either with or without the floppy.
>
> There are directions going back some years about creating a true dual
> boot with lilo and without the floppy usage. Are these current enough
> to be believed?
>
> Thanks to all who responded.
>
> John C.

These are 5 years out of date. You should very seriously look into
using grub, not LILO, which is the much newer default boot loader for
Linux ystems.
From: Baho Utot on
On Tue, 15 Apr 2008 13:03:22 -0700, john(a)wexfordpress.com wrote:

> On Apr 15, 12:40 pm, Andrew Gideon <c172driv...(a)gideon.org> wrote:
>> On Tue, 15 Apr 2008 06:43:00 -0700, j...(a)wexfordpress.com wrote:
>> > Now I want to install Win XP (OEM version) on /dev/hda1. It is newly
>> > purchased and hasn't been installed elswhere.
>>
>> Starting from scratch, perhaps you'd be better off with Xen or VMWare.
>>
>> - Andrew
>
> No, I need real Windows XP Home edition to be compatible with my
> audience. If a procedure works on my partition it should work on theirs.
>
> I managed to solve the windows problem, but my solution was a bit goofy.
> First I went into the bios
> and reset the bios settings to "safe". Then I tried installing old
> reliable Win 2000. Win 2000 detected a faulty mbr and obligingly fixed
> it when requested. XP lacked this routine. Then after going through all
> the install steps for Win 2000 I rebooted the Win XP CD and went through
> its routines, including deleting the partition, recreating it,
> formatting it with ntfs and so on.
>
> This gave me a functioning MS XP partition that starts automatically at
> boot time. To start my Linux partition I initially used the install cdr,
> then I modified Lilo to write to a floppy, formatted a floppy and ran
> Lilo. Now I can toggle between /hda1 (XP) and /hda2 (Slack Linux) by
> booting either with or without the floppy.
>
> There are directions going back some years about creating a true dual
> boot with lilo and without the floppy usage. Are these current enough to
> be believed?
>
> Thanks to all who responded.
>
> John C.

Use Grub, it just works


--
Tayo'y Mga Pinoy
From: Unruh on
"john(a)wexfordpress.com" <john(a)wexfordpress.com> writes:

>On Apr 15, 12:40 pm, Andrew Gideon <c172driv...(a)gideon.org> wrote:
>> On Tue, 15 Apr 2008 06:43:00 -0700, j...(a)wexfordpress.com wrote:
>> > Now I want to install Win XP (OEM version) on /dev/hda1. It is newly
>> > purchased and hasn't been installed elswhere.
>>
>> Starting from scratch, perhaps you'd be better off with Xen or VMWare.
>>
>> - Andrew

>No, I need real Windows XP Home edition to be compatible with my
>audience. If a procedure works on my partition it should work on
>theirs.

>I managed to solve the windows problem, but my solution was a bit
>goofy. First I went into the bios
>and reset the bios settings to "safe". Then I tried installing old
>reliable Win 2000. Win 2000 detected a faulty mbr and obligingly
>fixed it when requested. XP lacked this routine. Then after going
>through all the install steps for Win 2000 I rebooted the Win XP CD
>and went through its routines, including deleting the partition,
>recreating it, formatting it with ntfs and so on.

>This gave me a functioning MS XP partition that starts automatically
>at boot time. To start my Linux partition
>I initially used the install cdr, then I modified Lilo to write to a
>floppy, formatted a floppy and ran Lilo.
>Now I can toggle between /hda1 (XP) and /hda2 (Slack Linux) by booting
>either with or without the floppy.

>There are directions going back some years about creating a true dual
>boot with lilo and without the floppy usage. Are these current enough
>to be believed?

Yes. You can try them out on your floppy if you are doubtful.



>Thanks to all who responded.

>John C.

From: Unruh on
Nico Kadel-Garcia <nkadel(a)gmail.com> writes:

>On 15 Apr, 21:03, "j...(a)wexfordpress.com" <j...(a)wexfordpress.com>
>wrote:
>> On Apr 15, 12:40 pm, Andrew Gideon <c172driv...(a)gideon.org> wrote:
>>
>> > On Tue, 15 Apr 2008 06:43:00 -0700, j...(a)wexfordpress.com wrote:
>> > > Now I want to install Win XP (OEM version) on /dev/hda1. It is newly
>> > > purchased and hasn't been installed elswhere.
>>
>> > Starting from scratch, perhaps you'd be better off with Xen or VMWare.
>>
>> > =A0 =A0 =A0 =A0 - Andrew
>>
>> No, I need real Windows XP Home edition to be compatible with my
>> audience. If a procedure works on my partition it should work on
>> theirs.
>>
>> I managed to solve the windows problem, but my solution was a bit
>> goofy. First I went into the bios
>> and reset the bios settings to "safe". Then I tried installing old
>> reliable Win 2000. Win 2000 =A0detected a faulty mbr and obligingly
>> fixed it when requested. XP lacked this routine. Then after going
>> through all the install steps for Win 2000 I rebooted the Win XP CD
>> and went through its routines, including deleting the partition,
>> recreating it, formatting it with ntfs and so on.
>>
>> This gave me a functioning MS XP partition that starts automatically
>> at boot time. To start my Linux partition
>> I initially used the install cdr, then I modified Lilo to write to a
>> floppy, formatted a floppy and ran Lilo.
>> Now I can toggle between /hda1 (XP) and /hda2 (Slack Linux) by booting
>> either with or without the floppy.
>>
>> There are directions going back some years about creating a true dual
>> boot with lilo and without the floppy usage. Are these current enough
>> to be believed?
>>
>> Thanks to all who responded.
>>
>> John C.

>These are 5 years out of date. You should very seriously look into
>using grub, not LILO, which is the much newer default boot loader for
>Linux ystems.

lilo is fine.
It is also "new". grub is a bit more flexible but both work fine.
From: Grant on
On Tue, 15 Apr 2008 13:03:22 -0700 (PDT), "john(a)wexfordpress.com" <john(a)wexfordpress.com> wrote:

....
>There are directions going back some years about creating a true dual
>boot with lilo and without the floppy usage. Are these current enough
>to be believed?

Probably, boot the slack install CD, mount your linux boot partition
to /mnt, edit /mnt/etc/lilo.conf to add the winxp partition, then run
'lilo -r /mnt' to give lilo boot control.

For reference, this is winxp on /dev/hda1 and slackware on /dev/hda3:

root(a)black:~# cat /etc/lilo.conf
#
boot = /dev/hda
root = /dev/hda3
read-only
compact
lba32
prompt
timeout = 50

image = /boot/bzImage-2.6.24.4a
label = 2.6.24.4a

image = /boot/bzImage-2.6.23.14a
label = 2.6.23.14a
....
other = /dev/hda1
label = Windoze
table = /dev/hda
#
root(a)black:~# fdisk -l /dev/hda

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

Device Boot Start End Blocks Id System
/dev/hda1 1 1024 8225248+ 7 HPFS/NTFS
/dev/hda2 1025 2048 8225280 83 Linux
/dev/hda3 * 2049 3072 8225280 83 Linux
/dev/hda4 3073 30400 219512160 f W95 Ext'd (LBA)
....

Grant.