LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   DOS bootdisk to bootloader (https://www.linuxquestions.org/questions/linux-software-2/dos-bootdisk-to-bootloader-240253/)

FuzzBall 10-08-2004 11:00 AM

DOS bootdisk to bootloader
 
Is there someway i could go from a DOS bootdisk command line(have it run some commands), then have it load the MBR, so GRUB loads, or something similiar?

Thanks for any help

--alex

aus9 10-09-2004 12:31 AM

whats wrong with just hitting the warm reboot switch?
do your dos commands need some preservation from a full bios boot up?

FuzzBall 10-09-2004 11:00 AM

yes they do need preservation.

I am having the DOS disk run tweak.exe, and load-up the tweaks for my BIOS, then i want to run linux. Rebooting resets the BIOS settings... leaving it unaffective.

aus9 10-09-2004 02:57 PM

ignoring grub or a linux bootloader why don't you search your windows files for its bootloader file.

xp and 2000 use ntldr aka ntloader and altho I don't have it may be in winnt/sys folder.

I used to have w98 and of course real dos but can't remember what the bootloader was called.

my fumbling brain can not immediately think of a way of going back to mbr but others have used a bootini file to point to grub on another partition so that may interest you if you can't find your windows bootloader.

aus9 10-09-2004 03:04 PM

edit found it

LQ user zatka
found this link

http://www.geocities.com/epark/linux...w2k-HOWTO.html


FuzzBall 10-09-2004 04:57 PM

Hmm...

Not sure if i can make this work, if there is some way to execute NTLDR from a bootdisk with a command, then i could make this work. :)
we'll see, this is gonna take alot of experiemnting.

aus9 10-10-2004 12:33 AM

I thought you would use dos commands to change directory to where your boot.ini resides possible c (root) and execute it?

XP or 200 users use ntldr.exe should be easy enough to find?

then you follow the link instructions to create your new boot.ini stuff then reboot do your tweak then navigate to ntldr.exe and run it or find your bootloader and run it?

can't help any further as I prefer grub in mbr.

start another thread with what you need for linux to run faster if it helps have a look at hdparm command to speed up your disk read and writes?

FuzzBall 10-10-2004 01:18 AM

My nix system isnt running windows.

and, there is no "ntldr.exe" just ntldr.



and, the reasons for using it is to resolve an IRQ problem.

aus9 10-10-2004 08:49 PM

this links suggests you may need to check your windows explorer settings correctly.

go to a windows forum if you still need help

http://www.comptechdoc.org/os/window...wsbooting.html

FuzzBall 10-10-2004 10:29 PM

No luck...


if there was some DOS utility that can be pointed to the MBR to boot, this would be a simple matter

aus9 10-24-2004 10:19 PM

I have discovered a way to get to my mbr

linux way added entry to /boot/grub/menu.lst

title mbr
rootnoverify (hd0)
chainloader 0+1

you will need
title mbr
rootnoverify (hd0)
makeactive
chainloader 0+1


COMMENTS not hd0,0 and its zeroplusone with no gaps.

change hd0 to hd1 etc to whatever your mbr is.
If your mbr is hd1 then we also need to hide hdo do so b4 the rootnoverify

title mbr
hide (hd0,0)

2) I may be wrong so can you post your results please?

aus9 10-25-2004 01:57 AM

Amendment
you will need to combine the link way of getting a boot ini file and saving that file to floppy and adding the grub stage 1 and 2 files etc to floppy.

That means you may have to delete some non-essential files.

I have recently downloaded a bootdisk for w98 and its only got 1Kb left so massive culling of files would be required.

But I don't have a XP system so can't test any further so its up to you, heh heh

FuzzBall 10-30-2004 11:16 PM

I just gave up on the whole issue.

dmigh 10-31-2004 12:54 AM

Hi, this is my wild guess, so don't hate me.

http://www.topologilinux.com/index.php?menu=6
http://www.topologilinux.com/index.php?menu=5


http://gag.sourceforge.net/

--


All times are GMT -5. The time now is 04:54 PM.