[plug] Dual Boot Linux with XP (NTFS)
Jeff
blazer666 at dingoblue.net.au
Fri Mar 8 09:20:40 WST 2002
Sounds complicated
I cfdisked using a linux boot cd, installed XP then i installed linux
letting it control the mbr.
then i edited lilo.conf
other = /dev/hda?
label=xp
alias=3
run lilo and thats it
if i want to blow away linux its easy. use a win98 boot disk type fdisk
/mbr
reboot and use disk manager in Xp to repartition the ext2 dir.
or blow away windows by using cfdisk in linux.
My test machine is Win98, linux and XP. I used cfdisk to make 4
partitions. Installed win98 first then XP so i had dual boot XP and
Win98. I installed linux last because Linux isn't the jealous type and
lets other OS's co-exist. Then i used the above lilo.conf.
Now when i boot i get a menu of 1 for linux, 3 for windows. When i
choose windows i get a choice of xp and win98.
On Thu, 2002-03-07 at 17:35, Alan Mackenzie wrote:
Hi Brad ,
I don't know if this will help you but , I have the following config (
dual boot XP Pro and RH 7.1 )
Disk 0 C: 20 GIG NTFS - ( 20 Gig Seagate
Baracudda )
Disk 1 125 MB /boot 3.91 GIG / | 1.72 GIG FAT 32 - ( 6.4 Gig Quantum
Fireball )
Steps
1. Install XP First
2. Drop Linux CD in and boot from CD
3. Partition it using Disk Druid
4. Create Boot Disk
5. Install LILO NOT into the MBR but into the boot partition
6. Finish Install
7. Boot With Rescue Disk into Linux
8. Use dd to find the label for /boot eg: /dev/hdb1 or something along
those lines.
9. Now type
dd if=/dev/<ref step 9> of=/bootsec.bin bs=512 count=1
This will dumb the first sector into a file which we will use for XP
to boot linux later.
10. Now mount a FAT formatted floppy
mount -t vfat /dev/fd0 /mnt/floppy
11. cp /bootsec.bin /mnt/floppy
12. Shutdown and reboot into XP , remove floppy
13. Copy bootsec.bin from the floppy and dump it into C:\
14. edit boot.ini and add a line to the bottom section.
C:\bootsec.bin="Red Hat 7.1 (Seawolf)"
save and reboot.
Now XP Boot Menu should give you 2 choices , and if you choose linux it
will give you the choices in lilo
NOTES:
If you change your Kernel/ or update your lilo.conf you will need to
update bootsec.bin otherwise it will not work.
Cheers
Alan
-
Alan Mackenzie
wolfman at iinet.net.au
~ chmod 666 soul.tar.gz ~
-----Original Message-----
From: bpalmer at orbeng.com [mailto:bpalmer at orbeng.com]
Sent: Thursday, 7 March 2002 11:06
To: plug at plug.linux.org.au
Subject: [plug] Dual Boot Linux with XP (NTFS)
Hi There,
This is my first post, but I have been subscribed for a while now. Good
list and a good source of information. Thanks ;-)
I'm a bit of a newbie, but learning everyday.
Running an Athlon 1100 on a A7V, the two std ide channels have been
disabled and everything runs on ATA100 on a 30gig drv. XP was put onto
the primary partition, then Linux on the second.
Used Grub, and on the first reboot XP was not available, but during the
install it had XP as an option but Linux set as default.
I have spent a day or so now searching the www for a few clues, and have
looked at the grub.conf file.
Most of the info I have obtained tells me to mod this file which I have
tried, but so far no luck.
Also it seems quite a few people revert to fat32 out of frustration when
trying to get ntfs support in RH7.1 & 7.2.
Any ideas are greatly appreciated.
Regards,
Brad
PLEASE TAKE NOTE:
The contents of this email (including any attachments) may be privileged
and confidential. Any unauthorised use of the contents is expressly
prohibited. If you have received this email in error, please advise us
immediately (you can contact us by telephone on +61 8 9441 2311 by
reverse charge) and then permanently delete this email together with any
attachments. We appreciate your co-operation.
Whilst Orbital endeavours to take reasonable care to ensure that this
email and any attachments are free from viruses or other defects,
Orbital does not represent or warrant that such is explicitly the case
(C) 2000: Orbital Engine Company (Australia) PTY LTD and its affiliates
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20020308/461425c6/attachment.html>
More information about the plug
mailing list