Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (14 April 2014 - 05:28 PM) By The Way, This Could Be An Interesting Subject For A Topic, What About Posting This Question? Let's See If Other People Have The Same Feeling Concerning Bootlists!
@  yordan : (13 April 2014 - 09:36 AM) Boot Order : Cd, [Usb,] Hard Drive :D
@  yordan : (11 April 2014 - 07:23 PM) I Simply Let The Bios Do That
@  Ritesh : (11 April 2014 - 10:23 AM) Is It Possible To Launch Fedora Live Cd Or Installation Disk From Hard Drive On Windows Platform Using Grub Mbr File.
@  Ritesh : (11 April 2014 - 10:21 AM) No U Are Not.. Btw.. I Have Question For You.
@  yordan : (10 April 2014 - 08:02 AM) You Are Partially Right.
I Was Not.
Nevertheless, I Am Again :)
@  Ritesh : (09 April 2014 - 07:33 PM) :P
@  Ritesh : (09 April 2014 - 07:33 PM) I Think U R Not..
@  yordan : (09 April 2014 - 09:28 AM) I'm The Master Of The Shoutbox!
@  yordan : (05 April 2014 - 10:32 PM) He-He
@  Ritesh : (04 April 2014 - 06:59 PM) Ha Ha Ha ....
@  yordan : (04 April 2014 - 11:15 AM) Welcome Back, Starscream!
@  yordan : (03 April 2014 - 02:31 PM) And I Hope That He Will Come Back Soon :)
@  yordan : (01 April 2014 - 02:53 PM) Nice, Ritesh Came, I'm Not Home Alone Today.
@  Ritesh : (01 April 2014 - 08:51 AM) Oh!!! Poor Dear Yordan..
@  yordan : (31 March 2014 - 10:02 AM) I'm A Poor Lonesome Cow-Boy
@  yordan : (27 March 2014 - 02:22 PM) He Is Unpatient Due To His Patients!
@  Ritesh : (27 March 2014 - 10:46 AM) :(
@  Ritesh : (27 March 2014 - 10:46 AM) He Is Busy With His Patients.
@  yordan : (26 March 2014 - 08:12 PM) Ahsani, Where Are You?

- - - - -

Using Ntloader To Boot Linux Win2K or XP, should work with most Linux


3 replies to this topic

#1 Guest_mastercomputers_*

Guest_mastercomputers_*
  • Guests

Posted 22 November 2004 - 02:52 PM

Basically what we're going to do with NTLoader is use NTLoader to boot into Linux's bootloader which then boots Linux, why someone would do that when Grub works perfectly fine booting Windows on NTFS? Who knows what reason other than it could destroy their MBR and make both OS inaccessible or at least render Linux useless till it's recovered, NTLoader is not specifically designed to boot other Operating Systems other than Windows.

We will be using 2 Hard Drives, this is not necessary, we could use 2 partitions on a hard drive, but we should have the Operating Systems seperated, to make it easier on ourselves.

The hard drives are configured on the primary IDE controller (could use SATA, SCSI, etc but for this it's IDE), one hard drive setup as Master (C:) where Windows XP will be installed and the Other drive setup as Slave (D:).

First install Windows XP to the first hard drive, this should be easy enough and not require instructions on how to do this. Next install your choice of Linux, for this I am using Fedora Core 3 and using the GUI installer, this is simple enough too. There will be an option that gets you to configure your bootloader, default installation uses Grub, we need to configure it more and there's a checkbox at the bottom of the screen that allows us to do advanced configurations on it, check it then click next, we should be at the advanced configuration screen and there's two choices for booting using the MBR or installing it on our 2nd Hard Drive /dev/hdb we want to install it on our 2nd hard drive so choose the second option. Now just continue with the installation.

Fedora Core 3 has 4 installation CDs and 1 Rescue CD or we can replace the installation CDs with 1 DVD, You will need a rescue disk of some sort, or at least a program that can boot you into your OS from floppy or CD or other means, Red Hat/Fedora use to create Floppy disks for this type of installation but it seems to be non-existant in my quick install of it, so I needed an alternative method. Knoppix Live CD is also quite handy for this and should be kept as a Linux Recovery Tool.

After installation, I rebooted with the Rescue CD in, I press Enter to enter Rescue mode and had my root of my linux partition found and given a bash prompt, I then chroot'ed to this part of the drive.

I then placed a formatted blank floppy in the drive and mounted it.

mount -t msdos /dev/fd0 /media/floppy

next I found out which drive contained the boot information, there should exist two, one for Windows and one for Linux.

fdisk -l
(this is a lowercase "L")

This should display a table of the partitions and have an asterisk (*) marked where boot information exists. Since we need to know where the boot information is for the 2nd drive we know it's got to be /dev/hdb? where ? is the partition that has it. For this we will assume it's /dev/hdb1.

Next we copy the boot section to our floppy disk, make sure it's still in the drive.

dd if=/dev/hdb1 bs=512 count=1 of=/media/floppy/linux.img

If all goes well we should have linux.img residing in our floppy disk

ls /media/floppy/*

Now 'exit' till it reboots, remove the rescue CD and floppy disk. Boot into Windows and put the floppy disk back in, copy linux.img from A: over to C:\

Right-Click My Computer, go to Properties and click on the Advanced Tab, Next click on Startup and Recovery's Setting, where we will can edit our boot.ini file, so click on edit to edit our boot.ini. We now add underneath the [operating systems] tag, and the last entry to the file

C:\linux.img="Choose the name you want to display here"

Save the file and close, now back at this screen we can choose the default OS to boot, I've left it as Windows, I also lowered the time for waiting to around 8 seconds.

Remove the floppy disk and reboot the system, we are now presented with NTLoader with the option of booting Windows or Choose the name you want to display here, So we select out Linux boot, it will now boot into Grub, what's the point in using 2 bootloaders? I'll leave that up to you, so now once in Linux, we go through the final configuration, setup etc.

In your distribution, you should know how to get to your bootloader configuration via terminal or GUI, I would use terminal but my favourite console based editor is not available until I install it so I'll use the bootloader GUI found in system settings, there I set the timeout to 1 second so I am not shown the Grub bootloader, configure this how you like, you may have multiple kernels you would prefer to run, so you may like to use Grub bootloader as well as NTLoader.

And that's all folks, comments and suggestions are all welcomed.

Cheers,


MC

#2 marijnnn

marijnnn

    Premium Member

  • [HOSTED]
  • 336 posts

Posted 24 November 2004 - 07:28 AM

hey mc

i'v got a situation with my laptop:
i got linux installed on one partition & windows xp installed on the other. not that long ago, i decided to install xp from scratch and slipstream sp2.
alas, bye bye boot menu, as was to be expected off course.

problem is: i don't have a linux bootdisk and even if i had, i don't have a floppy drive in my laptop, so it'd be useless.

any idea how i'd get my boot menu back or just get into linux?

tnx in advance

#3 Guest_mastercomputers_*

Guest_mastercomputers_*
  • Guests

Posted 24 November 2004 - 10:16 PM

hey mc

i'v got a situation with my laptop:
i got linux installed on one partition & windows xp installed on the other. not that long ago, i decided to install xp from scratch and slipstream sp2.
alas, bye bye boot menu, as was to be expected off course.

problem is: i don't have a linux bootdisk and even if i had, i don't have a floppy drive in my laptop, so it'd be useless.

any idea how i'd get my boot menu back or just get into linux?

tnx in advance

<{POST_SNAPBACK}>


Hey marijnnn,

What distribution are you running, and what bootloader did you install?

tomsrtbt http://www.toms.net/rb/ can be used as a rescue disk, made for floppy though it's quite possible to build a bootable CD from it. You could also just use Knoppix Live CD or any of the Live CDs.

You could even try booting your first disk that you installed linux from and type linux rescue to enter rescue mode. Then you would do most these steps listed below, remember if you are using lilo you have to update it each change as well as update each image you use in NTLoader to boot from else it will appear as if no changes were made, grub does not suffer from this.

Failing that, you could install an 3rd party bootloader that can detect Linux. The problem I could see is that the boot sector was not installed on a partition of Linux but rather straight to the MBR, 3rd party software might be the way to go.

Cheers,


MC

#4 marijnnn

marijnnn

    Premium Member

  • [HOSTED]
  • 336 posts

Posted 25 November 2004 - 10:51 AM

copy pasted your answer, gonna try when i get home
as far as i remember, i did install my bootloader in the mbr
i use lilo + mandrake
i have a knoppix cd at home, will check it out.

tnx!



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users