Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Installation
Reload this Page Boot Problems With Loadlin
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Installation Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Reply
 
Thread Tools Display Modes
Old 11-18-2002   #1 (permalink)
robnelli
Just Joined!
 
Join Date: Nov 2002
Posts: 5
Boot Problems With Loadlin

I've just installed SuSE 8.0 on my machine. The machine has two harddrives (40mg-primary, 8.4mg-slave). Windows 98 is on hda1 thru . SuSE install properly installed Linux on hdb6 (swap) and hdb7 (Linux-reiser) on the slave drive. The install never asked how or where to install Lilo, but I assume it put it in the MBR of the slave drive. Again, no problem since the MBR on the primarr drive was untouched so I can still boot Win98. I created a Linux boot disk from within the Suse YAST in Linux. I also copied loadlin.exe and vmlinuz (my kernal) to the C: partition in windows so that I can dual boot from the DOS autoexec.bat. Now I figure I have 2 ways to boot Linux ... but neither work.

When I boot with the boot disk and select "Boot Installed OS", Win98 boots and not Linux. How do I get the boot disk to boot from the slave-hd MBR and not the primary-hd MBR?

When I boot from DOS and select to boot Linux (as described in "The Loadlin+Win95/98/ME mini-HOWTO" by Chris Fischer), the loadlin process starts ok, but then aborts and starts the reboot cycle. The command being executed is:

c:\loadlin c:\vmlinuz root=/dev/hdb7 ro

and the resulting message in DOS is:

"Loadlin ........................ (etc.) "

I've double-checked that loadlin and vmlinuz were copied properly to c: and that hdb7 is where linux is installed. What could be causing Loadlin to kick out without successfully booting Linux?

The only way to successfully boot Linux is to boot from the install CD and begin the installation. When the installation choice option comes up (New Installation, Update Installation or Boot Installed System) I select the boot option and from there Linux booting occurs successfully.

Any suggestions?
__________________
Rob Nelli
robnelli is offline   Reply With Quote
Old 11-19-2002   #2 (permalink)
wassy121
Linux Enthusiast
 
Join Date: Jun 2002
Location: San Antonio
Posts: 622
Send a message via AIM to wassy121
use rawrite (dd in linux) to copy the kernel byte-for-byte onto a seperate floppy disk. This will allow you to boot linux no matter what. You can also create a grub boot disk, they have images on the internet (it is the binary image from ftp.gnu.org) If you go for the first way it will start loading linux as soon as it starts accessing the floppy, the other way you will have to do some command line stuff (specifically:
root (hd0,6)
kernel /boot/vmlinuz
boot
)
another thing you could do is boot into linux, and make a backup of your MBR with `dd if=/dev/hda of=/root/bootsect.dos bs=512 count=1` which says "take the data from /dev/hda and put it into /root/bootsect.dos, but only 1 section of 512 bits". After that, try installing grub or lilo, see if either of those will boot windows, if they will great, if they won't and you want to go back to the other way, reverse what you did before with `dd if=/root/bootsect.dos of=/dev/hda bs=512 count=1`
__________________
I respectfully decline the invitation to join your delusion.
wassy121 is offline   Reply With Quote
Old 11-19-2002   #3 (permalink)
robnelli
Just Joined!
 
Join Date: Nov 2002
Posts: 5
Well, I tried copying the kernal (vmlinuz) to a floppy as you stated and booting from there. But when it started up, I got:

Loading........................................... ..........................................
.................................................. ..............................................
AX:0212
BX:B200
CX:5101
DX:0000,
0200
(repeating forever)

There must be a standard way of booting when Linux is installed on /dev/hdb.
__________________
Rob Nelli
robnelli is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot loader problems... USB keyboard doesn't work jluecht Installation 6 12-12-2006 07:18 PM
Boot problems on SUSE 10.0, please help! LoserDude27 SuSE Linux Help 3 01-21-2006 11:22 PM
Installation Problems Linux, Windows XP, Grub reorourke Installation 2 12-22-2005 01:58 AM
Boot Problems after Redhat 8 install bkalicki Redhat / Fedora Linux Help 3 04-19-2005 12:07 AM
Howto solve boot problems with Grub Nerderello Linux Tutorials, HOWTO's & Reference Material 0 02-15-2004 10:38 PM




All times are GMT. The time now is 03:21 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0