ieXbeta Board: [LNX] Booting Your Linux Installation from the Windows NTLDR - ieXbeta Board

Jump to content

OS Topic Title Guidelines

Please preface your operating system topic titles as follows:

  • For Microsoft's Windows product line, use "[WIN]".
  • For Apple's Mac OS series, use "[MAC]".
  • For Linux distributions, use "[LNX]".
  • For customizations, use "[CSTM]".

Thank you.
  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

[LNX] Booting Your Linux Installation from the Windows NTLDR How To Rate Topic: -----

#1 User is offline   Dutch2005 

  • Supa Dupa Member
  • Icon
  • Group: Sponsors
  • Posts: 1843
  • Joined: 02-February 04
  • Location:The Netherlands

Posted 15 September 2004 - 12:18 PM

  • Step1 Install your favourite linux
  • step2 On installation DONT install your linux on your MBR, install it in the bootsector of your linux partition
  • step3 After installation boot linux using the linux rescure disks.
  • step4 login as root, open a terminal window and enter the following CODE
dd if/dev/hdd1 of /temp/boot.lnx bs=512 count=1


p.s. in this CODE example i installed linux on my 4th hd (thats why its hdd ;)), on partition 1
p.s.s. if you got a SCSI hd the code should look like some thing like this:

dd if/dev/sda1 of /temp/boot.lnx bs=512 count=1


as you can see instead of hdd1 i typed sda1

Meaning 1st SCSI hd (hd =IDE hd's) sd = SCSI hd's

so if ya install linux on your 1st hdd (aka hd A) replace the D with the A ;-), same counts for the number ;-)
  • step5 Now you copy "/tmp/boot.lnx' to your floppy disk using the following command
mcopy /tmp/boot.lnx a:
  • step6 Boot windows (using NTLDR)
  • step7 Copy the boot.lnx to your c:\ directory
  • step8 Open your boot.ini (its hidden so ya have to make it vissible ;-) )
  • step9 Add under Operating systems the following line
c:\boot.lnx="Linux"
  • step10 Now quit the file, safe it and your done
  • step11 1 thing though --> wenn updating your linux kernel, ya have to redo this step because boot.lnx will other whise still containing the OLD kernel.
  • step12 these steps will be only possible when NOT installinx GRUB/LILO on your MBR, yet in your linux boot dir
what advantage??: Windows is allowed to overwrite your MBR, so you dont have 2 be afraid that your linux wont boot ;-)

Example of boot.ini before add of linux
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn


Example of Boot.ini after add of linux

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
c:\boot.lnx="linux"



am i missing some thing??? just post some thing here and i;ll add it if relevant :)


p.s. I did not mentioned before yet pre-partitioning your hd, is a Must (so get Partition Magic or a free tool to partition your hd, or just install linux on a 2nd hd)

***WARNING***: this tutorial has been tested in windows xp/2003 32bits edition, since the time that i tested it it worked fine USING "MBR"
this has NOT been tested using the new boot type used by win xp x64/2003 x64, yet as it only is a file that needs to be loaded every thing should be ok....

*notice 2* Since Windows "Longhorn" Vista is using a new boot loader i cant guarantee that doing a dual setup with JUST vista & linux will work, if you got "3" os'es, like vista, xp and linux...it is still possible... select the old os 1st then select your linux partition, and it should work the old way...

This post has been edited by Dutch2005: 03 August 2005 - 12:14 PM

0

#2 User is offline   Danthe 

  • Shardling
  • PipPipPipPipPip
  • Group: Retired Crew
  • Posts: 3410
  • Joined: 06-October 02
  • Gender:Male
  • Location:London, UK
  • Interests:Writing and - of course - listening to music, design in general, software development, games, etc...

Posted 15 September 2004 - 04:36 PM

Nice, Thanks :)
0

#3 User is offline   Dutch2005 

  • Supa Dupa Member
  • Icon
  • Group: Sponsors
  • Posts: 1843
  • Joined: 02-February 04
  • Location:The Netherlands

Posted 15 September 2004 - 07:34 PM

can a MOD pin this??
0

#4 User is offline   Taco Bell 

  • Life is drama ...
  • Icon
  • Group: Administrators
  • Posts: 15579
  • Joined: 04-February 03
  • Gender:Male
  • Location:Detroit, Michigan USA
  • Interests:Everything, but sports and politics.

Posted 15 September 2004 - 08:36 PM

Nice work Dutch2004. **topic pinned**
0

#5 Guest_Arctirus_*

  • Group: Guests

Posted 15 September 2004 - 10:48 PM

Neato! Thanks for posting!
0

#6 User is offline   vada010 

  • vada aka /Bin/Latn
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 18-July 03
  • Interests:SNOWBOARDING, CHESS, BASKETBALL, CLUBS

Posted 18 September 2004 - 02:15 PM

Good Stuff:)
0

#7 User is offline   ::daedelus:: 

  • Sentient Program
  • PipPipPipPip
  • Group: Retired Crew
  • Posts: 2037
  • Joined: 27-June 03
  • Location:Sydney, Australia
  • Interests:Computers, Music, Women, and Motorcycle riding.

Posted 18 September 2004 - 03:16 PM

Nice post, thanks for the info
0

#8 User is offline   xaero 

  • blah blah blah
  • Icon
  • Group: Sponsors
  • Posts: 7778
  • Joined: 05-September 02

Posted 18 September 2004 - 05:23 PM

thx for the info :)
0

#9 User is offline   Dutch2005 

  • Supa Dupa Member
  • Icon
  • Group: Sponsors
  • Posts: 1843
  • Joined: 02-February 04
  • Location:The Netherlands

Posted 19 September 2004 - 12:58 PM

added some info about the difference between IDE hd's and SCSI hd (the way linux places then, aka hd (IDE) and sd (SCSI))

This post has been edited by Dutch2004: 19 September 2004 - 12:58 PM

0

#10 Guest_jonfr_*

  • Group: Guests

Posted 27 September 2004 - 12:47 PM

There is an other way around this.
#1: Install Windows <Version here>
#2: Install Linux <Distro here>
#3: Use grub or Lilo and install it on MBR

Or just get mobile rack and make that it your boot drive, then just swich hard drives as needed too.

I use the mobile rack tech. :P
0

#11 User is offline   Dutch2005 

  • Supa Dupa Member
  • Icon
  • Group: Sponsors
  • Posts: 1843
  • Joined: 02-February 04
  • Location:The Netherlands

Posted 11 October 2004 - 06:45 PM

euh, what are you talking about, i;'m talking about WINDOWS NT bootloader, NOT using LILO/GRUB, and you tel just install GRUB/lilo, that total nosence, please read before posting some dull thing

the windows NT loader has atlease SOME value wich i cant say from your post ;)
0

#12 User is offline   zxybgsyxz 

  • Currently attending Virginia Tech
  • PipPipPipPipPip
  • Group: Retired Crew
  • Posts: 2815
  • Joined: 07-November 02

Posted 11 October 2004 - 08:00 PM

Just out of curiousity, what is the advantage of using the NTLDR over GRUB? I know GRUB just displays "Other" for Windows, but does NTLDR recognize the distro as Linux?
0

#13 User is offline   Dutch2005 

  • Supa Dupa Member
  • Icon
  • Group: Sponsors
  • Posts: 1843
  • Joined: 02-February 04
  • Location:The Netherlands

Posted 11 October 2004 - 08:07 PM

Well windows 2000/xp some times overwrites the MBR, and this removing lilo from the MBR, now if NTLDR is installed in the MBR, it doesnt matter, cuz win2000/xp will just put the NTLDR back in place, and will not be able to put this NTLDR there wenn lilo is already there... and its just a quick way to have both windows as linux, and if you no longer want 1 distro you can formet the disk in windows (only possible thing you can do with a linux disk ni windows2000/xp/2003 ;)

so basically the advantage is: less chance of system failure when a OS overwrites the MBR ;)

***drat, msn still of? damm what the heck are they doing? 09:07PM *GMT+1**

This post has been edited by Dutch2004: 11 October 2004 - 08:08 PM

0

#14 Guest_jonfr_*

  • Group: Guests

Posted 12 October 2004 - 04:38 AM

If that happens, just re-install grub or lilo on the MBR. ;)
0

#15 User is offline   Dutch2005 

  • Supa Dupa Member
  • Icon
  • Group: Sponsors
  • Posts: 1843
  • Joined: 02-February 04
  • Location:The Netherlands

Posted 12 October 2004 - 11:47 AM

oh what, what ever, its most of the time handy for people that just want to experiment with linux and wenn they dont like linux thay just edit there NT boootloader, format the hdd and your of again with your Microsoft os ;)
0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users