Re: Help: Triple boot Win XP, Win 98, and Linux (Updated)

From: Timo Voipio (oh_hami_at_hotmail.com)
Date: 08/30/03


Date: Sat, 30 Aug 2003 22:06:00 +0300

Jim Bowering wrote:
> Buy Partition Magic and partition your HD like this:

WTF? Linux fdisk does all the things that are needed.

> 5GB primary - FAT32 for Win98
> 5GB primary - NTFS for WinXP
> 5GB primary - set aside for Linux

Doesn't actually need to be a primary.

> 25GB extended - with logical drives 10GB FAT32, 10GB NTFS and 5GB set aside
> for Linux.

The amounts sound reasonable.

Here's the way I used to install 2k, 98 and Debian as triple-boot:

1. Use fdisk off the Debian install cd, partition as follows:

/dev/hda1, 8 MB - /boot, type 83 (Linux)
/dev/hda2, 5 GB - /win98, type FAT32 LBA (I can't recall the type number for
that)
/dev/hda3, 5GB - /xp, type HPFS/NTFS
/dev/hda4, the rest - FAT32 Extended (type 0e or 0f... IIRC)
/dev/hda5, 10GB - /shared, type FAT32
/dev/hda6, 10GB - /xp2, type HPFS/NTFS
/dev/hda7, 512MB - swap, type 82 (Linux swap)
/dev/hda8, rest - /, type 83

2. Use 98's CD's tools to format C: (/dev/hda2). Then install Win98 there.
3. Install XP on D: (/dev/hda3). Make sure that it does not just
automagically fdisk and format the whole 40GB disk...
4. Install Linux. Make an ext2 filesystem on /dev/hda1 and use it as the
/boot filesystem. This ensures that Linux can get around brainless BIOSes.
Make sure that lilo is installed on /dev/hda1, NOT on the MBR of /dev/hda.
5. Add linux to XP's boot menu by dd'ing the first 512 bytes of /dev/hda1 to
a file (say, bootsect.lin), copy that file to /win98. Then add the following
line in boot.ini under [operating systems]:
C:\BOOTSECT.LIN="Linux"

6. Boot and pray.

The method mentioned above worked with 98, 2k and Debian Woody. There's a
possibility that M$ has changed their boot method again -- in that case
configuring triple-boot might be bit more challenging.

-Timo

-- 
Timo Voipio | Helsinki, Finland | ICBM at: 60 11.800 N 024 52.760 E
GeekCode ver 3: GU>CC d s-: a--- C++ UL(+)$>+++$ P+>+++ L++(+) E- W++ N++
o? K? w O M- V- PS PE Y+ PGP+ t 5++ X R tv- b++(++++) DI+ D G e- h! r !y
Remove +newsharvested to e-mail me | Poista +newsharvested jos meilaat


Relevant Pages

  • Re: Grub did not install on dual boot machine.
    ... why did you "install" Linux on a FAT16 partition. ... See below re: grub. ...
    (comp.os.linux.setup)
  • Re: dual boot with xp on same drive
    ... >>i would like to install linux (i have downloaded fedora and burnt to ... >>i have partition magic to create a new partition. ... >>on partition 1 where i would like to put linux. ... Backup your Windows partitions. ...
    (comp.os.linux.setup)
  • Re: Co-existing with Windows and Linux
    ... Windows XP and Linux can co-exist on the same laptop and hard drive ... one for Linux and much ... NTFS partition to give you room for Linux. ... Install XP first using the restore disk that came with your system. ...
    (comp.os.linux.portable)
  • Toshiba 2450-101
    ... Installing Linux on a Toshiba 2450-101 Laptop ... Hardware ... After going through the standard install process, ... FAT32 partition containing Windows XP. ...
    (comp.os.linux.portable)
  • Re: unregmp2.exe - Entry Point Not Found................
    ... running fdisk and deleting partitions will ensure you will ... drive out of the install machine, set it as a slave drive ... >delete the non-dos partition, create a primary dos ...
    (microsoft.public.windowsxp.general)