Re: [newbie] dual boot with XP

2002-04-22 Thread Brian Parish

Norman,

You don't need to edit boot.ini  LILO will boot XP for you.  Did you
install XP first or second?  If Linux went in last, your boot loader
install should have given you a lilo entry for both XP and Linux.  If
this isn't the case (sounds like it), then you can either add whatever
lilo entries are not there manually and then run lilo as root, or you
can boot off the install cd again, select expert and upgrade, and let
the installer fix it for you.

Here is my /etc/lilo.conf in case you want to do it the first way:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/us.klt
lba32
prompt
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux
root=/dev/hda6
append= hdc=ide-scsi devfs=nomount quiet
vga=788
read-only
other=/dev/hda1
label=windoze
table=/dev/hda

This is for 8.1, so devfs is switched off.  You will probably want to
leave it on with 8.2

All you need is two entries like those above pointing as the right
partitions and you will be in business.

HTH
Brian


On Sun, 2002-04-21 at 17:48, Norman Zhang wrote:
 Hi,
 
 I am trying to dual boot Linux Mandrake 8.2 with XP. XP runs on the primary
 disk, and LM 8.2 runs on the secondary disk. They are both on the IDE slot
 1. I put LILO on hdb. Would someone please tell me how I can edit boot.ini
 to make it boot for both OS?
 
 Regards,
 Norman
 
 
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] dual boot with XP

2002-04-22 Thread Michael . Hughes

you have to put /boot on /dev/hda, I put my in the first 150mb of my hard
disk and then I created a Partition for Windows XP about 5gb and then the
rest is for Linux 

/
/home
/var
/swap
/tmp

etc...  and then I use LILO as my boot manager.  Also make sure you use
FDISK to make the 150mb partition active or else LILO won't load.  At least
this is what I had to do.  

As for editing the boot.ini

As 'root', edit '/etc/lilo.conf': the first line of lilo.conf reads
boot=hda, change the 'hda' to where ever the '/boot' partition is located
(find out with mount).

Run lilo

Make a copy of the new boot sector with
dd if=/dev/hda[x] bs=512 count=1 of=linux.lnx
Note: 'hda[x]' is whatever the '/boot' partition is.

Copy linux.lnx to the windows 'C: drive'
cp linux.lnx /mnt/windows_c

Modify the 'boot.ini' on the 'C: drive' by appending a line for Mandrake
pointing to the location of the copied LILO boot sector:

[boot loader]
timeout=5
default=C:\
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT=Microsoft Windows 2000 Pro
/fastdetect
C:\= Microsoft Windows 98se
C:\Linux.lnx=Mandrake 8.0

Reboot.

Login to Win98SE. Open a command line window and run:
fdisk /mbr
to restore the Windows boot sector.

-Original Message-
From: Norman Zhang [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 21, 2002 3:48 AM
To: [EMAIL PROTECTED]
Subject: [newbie] dual boot with XP


Hi,

I am trying to dual boot Linux Mandrake 8.2 with XP. XP runs on the primary
disk, and LM 8.2 runs on the secondary disk. They are both on the IDE slot
1. I put LILO on hdb. Would someone please tell me how I can edit boot.ini
to make it boot for both OS?

Regards,
Norman






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] dual boot with XP

2002-04-22 Thread civileme

Norman Zhang wrote:

Hi,

I am trying to dual boot Linux Mandrake 8.2 with XP. XP runs on the primary
disk, and LM 8.2 runs on the secondary disk. They are both on the IDE slot
1. I put LILO on hdb. Would someone please tell me how I can edit boot.ini
to make it boot for both OS?

Regards,
Norman






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Put the boot record on the MBR.  Easiest way is to use one CD to run 
Update, and cancel everything but bootloader then let it put the boot 
record where it belongs. It works fine dual-booting from there without 
disturbing the other OS.  Of course if you reinstall the other OS you 
will need to use CD1 as a rescue to get back into linuc and re-run 
/sbin/lilo.

Civileme






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] Dual Boot with XP?

2001-09-30 Thread Franki

windows2000 and presumably XP can handle Fat32, I know that for a fact as my
entire drive on my win2000 pro laptop is running on Fat32... (great for
testing CGI applications as you never have to worry about permissions..)

Diskdrake will not resize your NTFS partition, since that requires writing
to it, and as far as I know, linux can't do that reliable as of yet.. you
are better off to remove the default XP and reinstall it yourself.. and set
the partitions that you want before mandrake makes an apprearance..

rgds

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dave Sherman
Sent: Sunday, 30 September 2001 9:59 PM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Dual Boot with XP?


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 30 September 2001 08:11 am, Doug Anderson wrote:
 Does the Linux utility that creates the partitions when LM is installed
 over an existing Windows partition care what is in the Windows
 partition? She would prefer to wait a few weeks and buy the new PC with
 XP. Will I have a problem because the contents of the Windows partition
 will be newer than the Linux utility that resizes it?

To answer your question, DiskDrake (the partitioning utility) should have
no trouble working with your Windows hard drive, as long as the existing
filesystem is FAT16 or FAT32 (DOS- and Win9x-formatted). If you get a
system with WinXP preinstalled, it may have the NTFS filesystem
(NT-formatted, since XP is based on Windows NT/2000), and I don't know
if DiskDrake can play with NTFS.

I know in the past Dell has offered NT workstations and servers with FAT16
partitions as an option (usually, C is FAT16 and is only used for the OS,
and D is NTFS, used for data and applications), so you may be able to get
your XP system setup the same way. I don't know if Gateway will do this.

Last time I checked, NT4 could not handle FAT32 partitions, thus the FAT16
option offered by Dell. I don't know if Win2000/WinXP has been improved to
handle FAT32.

Even if DiskDrake *is* able to work with your NTFS partition to resize it,
you may run into problems later because at this time, NTFS write support
in the Linux kernel is experimental, and I think Mandrake is still only
including read-only support for NTFS in their stock kernel. What this
means is, you will be able to read from your NTFS partition, but not save
files to it, when you are in Linux. Or, you can recompile your kernel with
full read-write support for NTFS, however this is considered experimental,
and you could actually damage your files by trying to write/save them to
the NTFS partition.

Dave
- --
Nihil tam munitum quod non expugnari pecunia possit. (No
fortification is such that it cannot be subdued with money.)
- - Marcus Tullius Cicero, 106-43 B.C.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7tyU/A68l26XsZUYRAqY6AKDjoRztVM/03iH6H/2hRFJpDb7MQQCfX9LX
m1EUY5myyh2j63a1PRdnFKI=
=Wl5d
-END PGP SIGNATURE-





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: Fw: Re: [newbie] Dual Boot with XP?

2001-09-30 Thread Franki

Is it possible to use a win98 floppy to partition the disk to the partition
you want XP to use and then load XP and mandrake after that???

that should work shouldn't it??

rgds

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of civileme
Sent: Sunday, 30 September 2001 11:42 PM
To: [EMAIL PROTECTED]; Charles A Edwards
Subject: Re: Fw: Re: [newbie] Dual Boot with XP?


On Sunday 30 September 2001 15:46, Charles A Edwards wrote:
 Begin forwarded message:

 Date: Sun, 30 Sep 2001 09:26:46 -0400
 From: Charles A Edwards [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] Dual Boot with XP?


 On Sun, 30 Sep 2001 09:11:50 -0400

 Doug Anderson [EMAIL PROTECTED] wrote:
  It's time to buy a replacement for my wife's old Gateway that's running
  dual boot with Caldera 2.3 and W95. She wants one with a USB port for a
  digital camera, which also means she will need a bigger HD. My new ASL
PC
  came with LM 7.2 installed. I am sold on LM but I have never installed
  it. I want to run the replacement PC (probably a low-end Gateway or Dell
  - any thoughts?) dual boot with LM 8.1 and some version of Windows,
which
  brings me to the question:
 
  Does the Linux utility that creates the partitions when LM is installed
  over an existing Windows partition care what is in the Windows
partition?
  She would prefer to wait a few weeks and buy the new PC with XP. Will I
  have a problem because the contents of the Windows partition will be
  newer than the Linux utility that resizes it?

 8.1 and WinXP will dual boot without problem.
 I am doing so with 8.1 and XP RC2 using Lilo and have had no problems.
 BUT!!
 The Mandrake installation CanNot resize NTFS, which is how XP will come
 pre-installed.
 If you can afford the $49-69 I would suggest getting PartitionMagic.
 It works very well and is easy to use.
 If you prefer not to do so, there are a few 'free' programs which profess
 the ability of PM.
 Just do a google search for partitioning programs.

 A side note on XP.
 Also if the cost is not prohibitive get XP Professional not not version
 marketed as Home/Desktop.


Charles

If the manufacturer has installed XP with the NTFS made for XP, there is
_NO_
chance that you can even install Mandrake there without first wiping the
hard
disk.  If they have installed with FAT32 filesystem, then there is _NO_
problem at all, Mandrake will make room for itself and install without
disturbing XP.

XP is not difficult to install, but the manufacturer may supply you only
with
a system restore disk which will simply put XP the way the manufacturer
wanted it right ion your disk taking up all the space with an NT Filesystem
that linux cannot read because it is a Microsoft trade secret.

There is no particular advantage to XP, and like all win systems, it is
suicidal to operate it connected to the internet.  My tests showed it was
smooth enough, and would cooperate well with mandrake's bootloaders if it
was
either NTFS and installed on only part of the disk or FAT32 and installed on
all or part of the disk.

COSMOS engineering supplies hard disks with linux preinstalled, and I think
it is pretty much to order as to what system you have.  That may be the
necessary workaround if you buy a cheap, mass-produced system with a System
Restoration CD.

Much the same statements apply to Win2K which also has an unreadable
filesystem that is probably illegal to reverse engineer.

Civileme





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: Fw: Re: [newbie] Dual Boot with XP?

2001-09-30 Thread civileme

On Sunday 30 September 2001 15:46, Charles A Edwards wrote:
 Begin forwarded message:

 Date: Sun, 30 Sep 2001 09:26:46 -0400
 From: Charles A Edwards [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] Dual Boot with XP?


 On Sun, 30 Sep 2001 09:11:50 -0400

 Doug Anderson [EMAIL PROTECTED] wrote:
  It's time to buy a replacement for my wife's old Gateway that's running
  dual boot with Caldera 2.3 and W95. She wants one with a USB port for a
  digital camera, which also means she will need a bigger HD. My new ASL PC
  came with LM 7.2 installed. I am sold on LM but I have never installed
  it. I want to run the replacement PC (probably a low-end Gateway or Dell
  - any thoughts?) dual boot with LM 8.1 and some version of Windows, which
  brings me to the question:
 
  Does the Linux utility that creates the partitions when LM is installed
  over an existing Windows partition care what is in the Windows partition?
  She would prefer to wait a few weeks and buy the new PC with XP. Will I
  have a problem because the contents of the Windows partition will be
  newer than the Linux utility that resizes it?

 8.1 and WinXP will dual boot without problem.
 I am doing so with 8.1 and XP RC2 using Lilo and have had no problems.
 BUT!!
 The Mandrake installation CanNot resize NTFS, which is how XP will come
 pre-installed.
 If you can afford the $49-69 I would suggest getting PartitionMagic.
 It works very well and is easy to use.
 If you prefer not to do so, there are a few 'free' programs which profess
 the ability of PM.
 Just do a google search for partitioning programs.

 A side note on XP.
 Also if the cost is not prohibitive get XP Professional not not version
 marketed as Home/Desktop.


Charles

If the manufacturer has installed XP with the NTFS made for XP, there is _NO_ 
chance that you can even install Mandrake there without first wiping the hard 
disk.  If they have installed with FAT32 filesystem, then there is _NO_ 
problem at all, Mandrake will make room for itself and install without 
disturbing XP.

XP is not difficult to install, but the manufacturer may supply you only with 
a system restore disk which will simply put XP the way the manufacturer 
wanted it right ion your disk taking up all the space with an NT Filesystem 
that linux cannot read because it is a Microsoft trade secret.

There is no particular advantage to XP, and like all win systems, it is 
suicidal to operate it connected to the internet.  My tests showed it was 
smooth enough, and would cooperate well with mandrake's bootloaders if it was 
either NTFS and installed on only part of the disk or FAT32 and installed on 
all or part of the disk.

COSMOS engineering supplies hard disks with linux preinstalled, and I think 
it is pretty much to order as to what system you have.  That may be the 
necessary workaround if you buy a cheap, mass-produced system with a System 
Restoration CD.

Much the same statements apply to Win2K which also has an unreadable 
filesystem that is probably illegal to reverse engineer.

Civileme



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Dual Boot with XP?

2001-09-30 Thread civileme

On Sunday 30 September 2001 15:59, Dave Sherman wrote:
 On Sunday 30 September 2001 08:11 am, Doug Anderson wrote:
  Does the Linux utility that creates the partitions when LM is installed
  over an existing Windows partition care what is in the Windows
  partition? She would prefer to wait a few weeks and buy the new PC with
  XP. Will I have a problem because the contents of the Windows partition
  will be newer than the Linux utility that resizes it?

 To answer your question, DiskDrake (the partitioning utility) should have
 no trouble working with your Windows hard drive, as long as the existing
 filesystem is FAT16 or FAT32 (DOS- and Win9x-formatted). If you get a
 system with WinXP preinstalled, it may have the NTFS filesystem
 (NT-formatted, since XP is based on Windows NT/2000), and I don't know
 if DiskDrake can play with NTFS.

 I know in the past Dell has offered NT workstations and servers with FAT16
 partitions as an option (usually, C is FAT16 and is only used for the OS,
 and D is NTFS, used for data and applications), so you may be able to get
 your XP system setup the same way. I don't know if Gateway will do this.

 Last time I checked, NT4 could not handle FAT32 partitions, thus the FAT16
 option offered by Dell. I don't know if Win2000/WinXP has been improved to
 handle FAT32.

 Even if DiskDrake *is* able to work with your NTFS partition to resize it,
 you may run into problems later because at this time, NTFS write support
 in the Linux kernel is experimental, and I think Mandrake is still only
 including read-only support for NTFS in their stock kernel. What this
 means is, you will be able to read from your NTFS partition, but not save
 files to it, when you are in Linux. Or, you can recompile your kernel with
 full read-write support for NTFS, however this is considered experimental,
 and you could actually damage your files by trying to write/save them to
 the NTFS partition.

 Dave


NT Write support is experimental for NTFS 4--the reason is that NTFS is a 
Microsoft trade secret, and what has been done has been done by careful 
guesswork.

Win2K uses NTFS5  -- not even read support
Win XP uses YET ANOTHER VARIATION -- not even read support

And there may be little or no hope of ever getting any read support, because 
the DMCA might be used to protect the filesystem from reverse engineering.

Civileme



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] Dual Boot with XP?

2001-09-30 Thread Franki

I don't really understand microsofts thinking on that one..

Since we know that unix and linux (mostly unix) hold a large portion of the
high end server market, wouldn't it make sense for M$ to make ntfs read and
writable by unix/linux? seems that there would be alot of sysadmins who have
server farms of unix machines who would not let the bean counters try XP or
2000 on servers  (not that they should anyway...)

The pain that non readable/writable would cause for things like unified
backup and stuff would be a complete pain in the ass...


dumb decision that one,, then again, who can honestly say that they are
surprised...

If someone asked M$ why, they'd say that the recommended method involves
bining the unix, installing 2000 or XP on everything, get 50 extra servers
to do the same work as the unix systems and use M$ Task scheduler to
schedule reboots every 5 hours under load... (or not under load, much the
same with M$ on servers...) (I know cos we have a couple,,, I loaded a
software firewall on one of ours, just for some extra piece of mind, (its
also behind other firewalls) and the 2000 machine core dumps on a regular
basis, when the firewall is loaded, yet the same firewall runs perfectly on
win2000pro. its almost like win2000 server doesnt want protection.. ) The
firewall was Tiny Firewall for anyones interest... I put it on more for the
checksom on files more then the firewall itself but I can't use either
without a core dump... bloody Winblows!!!

just my rambling for the evening... :-)


rgds

Frank



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of civileme
Sent: Sunday, 30 September 2001 11:47 PM
To: [EMAIL PROTECTED]; Dave Sherman
Subject: Re: [newbie] Dual Boot with XP?


On Sunday 30 September 2001 15:59, Dave Sherman wrote:
 On Sunday 30 September 2001 08:11 am, Doug Anderson wrote:
  Does the Linux utility that creates the partitions when LM is installed
  over an existing Windows partition care what is in the Windows
  partition? She would prefer to wait a few weeks and buy the new PC with
  XP. Will I have a problem because the contents of the Windows partition
  will be newer than the Linux utility that resizes it?

 To answer your question, DiskDrake (the partitioning utility) should have
 no trouble working with your Windows hard drive, as long as the existing
 filesystem is FAT16 or FAT32 (DOS- and Win9x-formatted). If you get a
 system with WinXP preinstalled, it may have the NTFS filesystem
 (NT-formatted, since XP is based on Windows NT/2000), and I don't know
 if DiskDrake can play with NTFS.

 I know in the past Dell has offered NT workstations and servers with FAT16
 partitions as an option (usually, C is FAT16 and is only used for the OS,
 and D is NTFS, used for data and applications), so you may be able to get
 your XP system setup the same way. I don't know if Gateway will do this.

 Last time I checked, NT4 could not handle FAT32 partitions, thus the FAT16
 option offered by Dell. I don't know if Win2000/WinXP has been improved to
 handle FAT32.

 Even if DiskDrake *is* able to work with your NTFS partition to resize it,
 you may run into problems later because at this time, NTFS write support
 in the Linux kernel is experimental, and I think Mandrake is still only
 including read-only support for NTFS in their stock kernel. What this
 means is, you will be able to read from your NTFS partition, but not save
 files to it, when you are in Linux. Or, you can recompile your kernel with
 full read-write support for NTFS, however this is considered experimental,
 and you could actually damage your files by trying to write/save them to
 the NTFS partition.

 Dave


NT Write support is experimental for NTFS 4--the reason is that NTFS is a
Microsoft trade secret, and what has been done has been done by careful
guesswork.

Win2K uses NTFS5  -- not even read support
Win XP uses YET ANOTHER VARIATION -- not even read support

And there may be little or no hope of ever getting any read support, because
the DMCA might be used to protect the filesystem from reverse engineering.

Civileme





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: Fw: Re: [newbie] Dual Boot with XP?

2001-09-30 Thread Charles A Edwards

On Sun, 30 Sep 2001 17:41:40 +0200
civileme [EMAIL PROTECTED] wrote:

 On Sunday 30 September 2001 15:46, Charles A Edwards wrote:
  Begin forwarded message:
 
  Date: Sun, 30 Sep 2001 09:26:46 -0400
  From: Charles A Edwards [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: [newbie] Dual Boot with XP?
 
 
  On Sun, 30 Sep 2001 09:11:50 -0400
 
  Doug Anderson [EMAIL PROTECTED] wrote:
   It's time to buy a replacement for my wife's old Gateway that's running
   dual boot with Caldera 2.3 and W95. She wants one with a USB port for a
   digital camera, which also means she will need a bigger HD. My new ASL PC
   came with LM 7.2 installed. I am sold on LM but I have never installed
   it. I want to run the replacement PC (probably a low-end Gateway or Dell
   - any thoughts?) dual boot with LM 8.1 and some version of Windows, which
   brings me to the question:
  
   Does the Linux utility that creates the partitions when LM is installed
   over an existing Windows partition care what is in the Windows partition?
   She would prefer to wait a few weeks and buy the new PC with XP. Will I
   have a problem because the contents of the Windows partition will be
   newer than the Linux utility that resizes it?
 
  8.1 and WinXP will dual boot without problem.
  I am doing so with 8.1 and XP RC2 using Lilo and have had no problems.
  BUT!!
  The Mandrake installation CanNot resize NTFS, which is how XP will come
  pre-installed.
  If you can afford the $49-69 I would suggest getting PartitionMagic.
  It works very well and is easy to use.
  If you prefer not to do so, there are a few 'free' programs which profess
  the ability of PM.
  Just do a google search for partitioning programs.
 
  A side note on XP.
  Also if the cost is not prohibitive get XP Professional not not version
  marketed as Home/Desktop.
 
 
 Charles
 
 If the manufacturer has installed XP with the NTFS made for XP, there is _NO_ 
 chance that you can even install Mandrake there without first wiping the hard 
 disk.  If they have installed with FAT32 filesystem, then there is _NO_ 
 problem at all, Mandrake will make room for itself and install without 
 disturbing XP.


PM 7.0 is MS certified for XP and Can resize such partitions.

   Charles 
 
 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com