Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2004, 10:59 PM   #1
LQ Newbie
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
Installation success, boot load fails

I have completed a successful instal of Mandrake 9.2 on my PC as a second OS along with XP home. XP is loaded on the master HD on the primary IDE and Mandrake is loaded on the first partition of the slave HD on the primary IDE (root is in hdb5 in my case).

I installed GRUB as my bootloader and loaded it into hdb5 as part of the install. Apparently, the install also loaded LILO into my MBR and when I rebooted, I got a screen full of 07 07 07 ... I used the rescue mode on the install disc to reload my windows boot loader. At that point, windows booted fine but no way to get to linux.

The next thing I tried was booting back into the rescue mode and going to the console window. There, I did the following:

dd if=/dev/hdb5 of=/bootsect.lnx bs=512 count=1

mount /dev/fd0 /mnt

cp bootsect.lnx /mnt

My floppy now had the bootsect.lnx file (512 bytes) on it and I was able to reboot into windows and copy the file to my c:\ directory. I then modified my boot.ini file with the line

c:\bootsect.lnx="Mandrake 9.2 Linux"

I saved that, rebooted the machine and the windows boot loader gives me the option of XP or Mandrake. The problem is, when I choose Mandrake, the screen goes blank (with the exception of a blinking cursor in the upper left corner) and nothing happens after that.

Any ideas as to what may be wrong and how I go about fixing it?

Thanks in advance!

Old 01-12-2004, 07:02 PM   #2
Registered: Aug 2002
Posts: 17,340

Rep: Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231
I would say that lilo didn't install to both the MBR and hdb5. BTW did you also create a boot floppy during the install? Look at /etc/lilo.conf.

You need to boot the 1st CD to rescue mode.
Mount the / partition.
chroot /mnt/<mount point of root>
Edit lilo.conf to write to hdb5
lilo (to write boot loader to hdb5)
Do the dd copy file thing.

Create a boot floppy (using another floppy disk)
mkbootdisk <kernel image name>
Old 01-12-2004, 09:43 PM   #3
LQ Newbie
Registered: Jan 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I finally got it figured out. The problem was in my BIOS. The setting for my second device on the primary IDE (the drive where my linux install resides) was "none". I changed it to "auto" and now have access to linux.

Thanks for the help.


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
GUI fails to load eqisow SUSE / openSUSE 2 06-13-2005 10:01 AM
Installation a Success... But Mouse doesn't work QzarBaron Slackware 2 10-24-2004 01:37 PM
Mandrake 10.0 Community installation - boot floppy fails at reckognizing SCSI CDROM nixguide Mandriva 5 06-03-2004 11:38 AM
RH9 installation fails on boot JezzerP Linux - Distributions 1 07-06-2003 06:20 AM
eth 0 fails to load at boot up bonomex Linux - General 0 01-30-2002 11:19 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:42 PM.

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