LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 12-10-2003, 08:41 AM   #1
oracsol
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
the good the bad and the ugly on dual boot


The good: I have a working dual boot but I have to use a linux boot floppy

The bad: I neglected to put a lilo boot record on the /boot partition. Instead I told it not to put any boot record on the disk.

The ugly: is there anyway I can pull the necessary info off the boot floppy that I can use to finalize my dual boot via the hard drive instead of the floppy? Or is it possible to attempt some sort of reinstall but only install the lilo on the /boot partition and then I could pull the info from the /boot partition properly?

Thanks in advance,
Chris
 
Old 12-10-2003, 08:46 AM   #2
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
As long as you have /etc/lilo.conf properly configured and neccesary files in /boot (boot.b etc, they come with lilo)
then all you have to do is run '/sbin/lilo'(or whereever the executable is) and it will install itself according to lilo.conf.

Last edited by Demonbane; 12-10-2003 at 08:48 AM.
 
Old 12-10-2003, 04:54 PM   #3
oracsol
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
no lilo.conf exists.....
 
Old 12-10-2003, 05:10 PM   #4
BrianH
LQ Newbie
 
Registered: Dec 2003
Distribution: Redhat 9.0
Posts: 5

Rep: Reputation: 0
what's the OS on the other partition? If its NT/2k/XP you can get the Windows boot loader to load linux.

You need to create a binary file of the boot information from the disk. Normally the command would look something like this

dd if=/dev/hda? of=/mnt/c-drive/bootsect.lnx bs=512 count=1

You'd be grabbing it from the floppy (/dev/fd0 ?) but it would be similar.

Once the file is created you just have to edit the boot.ini on the windows drive and add a line referencing your newly created boot file. A line something like this:

c:\bootsect.lnx="Linux Install"
 
Old 12-10-2003, 08:34 PM   #5
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
install lilo pakcage from your distro CD, though I recommend GRUB.

Quote:
dd if=/dev/hda? of=/mnt/c-drive/bootsect.lnx bs=512 count=1

You'd be grabbing it from the floppy (/dev/fd0 ?) but it would be similar.
That won't work if you extract the bootsector from the floppy..unless someone can prove me wrong.
 
  


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
Ubuntu, the good, the bad, and the ugly. From real users. R00ts Ubuntu 175 03-08-2006 06:14 AM
Suse 9.2 Pro Eval edition install: Good, bad, and ugly HawkeyeCoug Suse/Novell 3 03-18-2005 07:58 PM
ati x300 - good, bad or ugly? noeffred Linux - Hardware 1 03-05-2005 05:34 PM
dual boot problem -- partition tables bad? quarter_ethan Linux - Newbie 11 07-17-2004 02:20 PM
Linux Boot Floppy Went Bad on W2K-Linux Dual Boot rzward Linux - General 2 01-15-2003 10:52 AM


All times are GMT -5. The time now is 02:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration