Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-08-2004, 12:00 PM
|
#1
|
Member
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 34
Rep:
|
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
|
|
|
10-09-2004, 01:31 AM
|
#2
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
whats wrong with just hitting the warm reboot switch?
do your dos commands need some preservation from a full bios boot up?
|
|
|
10-09-2004, 12:00 PM
|
#3
|
Member
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 34
Original Poster
Rep:
|
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.
|
|
|
10-09-2004, 03:57 PM
|
#4
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
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.
|
|
|
10-09-2004, 04:04 PM
|
#5
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
Last edited by aus9; 10-09-2004 at 04:09 PM.
|
|
|
10-09-2004, 05:57 PM
|
#6
|
Member
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 34
Original Poster
Rep:
|
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.
|
|
|
10-10-2004, 01:33 AM
|
#7
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
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?
|
|
|
10-10-2004, 02:18 AM
|
#8
|
Member
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 34
Original Poster
Rep:
|
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.
|
|
|
10-10-2004, 09:49 PM
|
#9
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
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
|
|
|
10-10-2004, 11:29 PM
|
#10
|
Member
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 34
Original Poster
Rep:
|
No luck...
if there was some DOS utility that can be pointed to the MBR to boot, this would be a simple matter
|
|
|
10-24-2004, 11:19 PM
|
#11
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
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?
|
|
|
10-25-2004, 02:57 AM
|
#12
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
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
|
|
|
10-31-2004, 12:16 AM
|
#13
|
Member
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 34
Original Poster
Rep:
|
I just gave up on the whole issue.
|
|
|
10-31-2004, 01:54 AM
|
#14
|
LQ Newbie
Registered: Oct 2004
Posts: 29
Rep:
|
|
|
|
All times are GMT -5. The time now is 02:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|