LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Dual boot Win2k and RH7/7.1

[ILUG] Dual boot Win2k and RH7/7.1

David Crozier davidcrozier at hotmail.com
Mon Oct 1 16:07:01 IST 2001


Came across this and thought some may find it useful!!  I have tried it on a
dual setup on a Toshiba Tecra 8000 and worked fine.

Dave

Dual-Boot Setup
Having got Red Hat 7.0 installed and bootable from a floppy, you can go on
to make the machine dual boot Windows 2000 or Linux without needing
floppies. Start in Linux with a blank floppy disk inserted (not the boot
floppy!) and run:

  mount -t vfat /dev/fd0 /mnt/floppy
  dd if=/dev/hda3 of=/mnt/floppy/bootsect.lnx bs=512 count=1
  umount /mnt/floppy

Then shutdown Linux and boot Windows, and from a Command Prompt run:

  C:
  cd \
  copy A:\bootsect.lnx BOOTSECT.LNX
  attrib -s -h boot.ini
  copy boot.ini boot.ini.orig
  notepad boot.ini

and edit boot.ini so that it reads e.g.
  [boot loader]
  timeout=10
  default=C:\bootsect.lnx
  [operating systems]
  C:\bootsect.lnx="Red Hat Linux 7.0"
  multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000
Professional" /fastdetect

then run:
  attrib +s +h boot.ini
  attrib +s +h bootsect.lnx

Next time you boot, after the Dell logo, you'll get a text screen saying:
  Please select the operating system to start:

  Red Hat Linux 7.0
  Microsoft Windows 2000 Professional

  Use ^ and v to move the highlight to your choice
  Press enter to choose.

Note: After any Linux kernel rebuild, you'll need to re-run LILO, make a new
Linux boot floppy, and re-copy the new Linux boot sector to Windows all over
again. Otherwise, you won't be able to boot Linux any more.

David Crozier
www.davidcrozier.co.uk




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell