LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-06-2006, 06:45 PM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,458

Rep: Reputation: 85
NTLDR Dual-boot with Damn Small Linux-Not and Windows


I have Windows XP on my uncle's computer. He has a second hard drive. He was okay with me putting Linux on it. I wanted to do the minimal changes to the first hard drive with Windows XP. That's why I choose to try to dual boot using NTLDR (default bootloader with many newer MS systems including XP). I'd like to go 100% Linux, but I can't in this case. I looked at a few guides that write the same thing differently. I followed the guides.
http://www.astahost.com/info.php/usi...nux_t1510.html
http://ubuntuforums.org/showthread.php?t=87751
Some described doing the dual boot with NTLDR using Fedora Core release 3. I have "Damn Small Linux Not" installed to the second hard drive. I have not been able to boot it. The installer asked me if I wanted Grub, and I choose Grub. I am not sure exactly where Grub was installed. Does anyone know where? Did it try to put it on /dev/hda and did not install it anywhere because it could not? I am not getting enough information from the output of the installer. It's not on /dev/hda because I still go to the ntloader and boot windows normally. I did find the /boot/grub/ and some files with it including menu.lst on hdb1 after mounting it on the DSL-n live cd (same cd used for install). Something must go wrong each time I reinstall DSL-n trying to get what I am doing to work because Grub should have took over and allowed a dual boot right away like other distros do such as Ubuntu. I answered yes when the installer asked if windows was on /dev/hda1. I had no choice where to install Grub nor do I know where it went. I choose to use ext2 because it is recommended for slower computers. I have a / and swap partition. / starts at the beginning of the drive and the swap is at the end. I did use dd and follow all of the directions the same. I put linux.img, the image of linux's boot sector in my removable pen drive and then copied it over to c:\ in windows. I tried changing "c" in c:\ to "C" in boot.ini, but that did not make any difference. I tried doing dd again to start the process over again and even reinstalling "Damn Small Linux Not" again. I am stumped in finding the problems because I followed the direction. I had no choice where to install Grub with DSL-n, and it wasn't clear where it did go, however, the /boot is on the same partition mounted with / and it looks like all the Grub files are there. Before I forget to say, DSL-n shows in the ntloader. Windows boots normally if I choose it or let it go automatically. If I choose DSL-n, I get a black screen that does not change with a blinking white underscore at the top left. I was wondering what would happen if I used dd to make a copy of the boot sector for windows, so I did, copied it over and added the entry to boot.ini. When I choose that, it would take me back to the ntloader as it should and the timeout starts back at 8, what I had it set to. Here is what I added to a bottom line in boot.ini on a line by itself: c:\linux.img="Damn Small Linux Not". I also tried "grub-install /dev/hdb" and the grub notation, hd1 instead. Nothing changed. I ran it as root. I have not found a way to copy and paste from aterm that's in DSL-n. I have tried with xterm, and I could not with it either.


boot.ini
Code:
[boot loader]
timeout=8
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
C:\linux.img="Damn Small Linux Not"

Last edited by fakie_flip; 11-06-2006 at 06:52 PM. Reason: added boot.ini
 
Old 11-06-2006, 10:51 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
Suggestion: Long run-on paragraphs are very hard to follow and significantly reduce the amount of help you will get.

Have you tried putting grub on a floppy?
Have you tried switching the boot order in the bios and putting grub on the Linux drive?
If you have the Windows install disk, why not just put Grub on the first drive? (You can always re-install the Windows mbr code with fixmbr)
 
Old 11-07-2006, 10:01 AM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,458

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by pixellany
Suggestion: Long run-on paragraphs are very hard to follow and significantly reduce the amount of help you will get.

Have you tried putting grub on a floppy?
Have you tried switching the boot order in the bios and putting grub on the Linux drive?
If you have the Windows install disk, why not just put Grub on the first drive? (You can always re-install the Windows mbr code with fixmbr)
I did not put grub on a floppy because I did not have a floppy I could use at that time, and I was able to use and install grub from the DSL-n Live CD I thought. Does grub on a floppy allow me to do something I can't from a Live CD that has the grub utilities including grub-install?

The bios on the machine I am working with says it will boot the first hard drive first and if it can't, then it will boot the next one. I can't manually tell it which one to try to boot first. I tried to put grub on the first drive, but I do not think I can do it without resizing Windows on the first drive. That's been risky and caused problems for me when I tried it before. I tried "grub-install hd0" and "grub-install /dev/hda", but neither allowed me to do it. Somehow when I used Ubuntu for a dual boot in the past, it wasn't a problem, no resizing was needed, and everything was automatic and worked. However this machine wouldn't run as fast with Ubuntu with its slower hardware. I'd prefer to use NTLDR to boot the second hard drive which will bring up grub on the second hard drive and I can set the timeout in grub low enough, so I won't even see grub.

Last edited by fakie_flip; 11-07-2006 at 10:03 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"NTLDR not found" when trying to boot Linux (Mandriva PowerPack 2007) from NTLDR Xogede Linux - Newbie 9 10-07-2006 03:47 PM
Ubuntu 5.10 dual boot problem using NTLDR Boca Ubuntu 9 05-16-2006 03:46 PM
Damn Small Linux doesn't seem to want to boot. Maritime Linux - Newbie 3 05-13-2006 01:55 AM
NTLDR Dual Boot XP(RAID)/SuSE9.0 MrOuija Linux - Newbie 24 03-04-2004 02:52 AM
installing Damn Small Linux but can't boot with cd. FLaSER Linux - Newbie 4 09-19-2003 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration