LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-15-2003, 04:30 AM   #1
deathstar
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Rep: Reputation: 0
Question OS boot


I have installed Redhat 9 with my Windows XP Professional. However, the installation prompted me to create the bootdisk as there may be some problems if I don't. Now, I have to use the bootdisk to boot to RH 9 everytime. How can I see the LILO screen without any bootdisk?
 
Old 07-15-2003, 04:33 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Welcome to LQ

When you installed RH you should have had the option to install your Boot Loader (LILO) to the MBR (Master Boot Record). It sounds like this was not your choice at the time. You can now install it by booting into RH, then login as root and type into a console:
/sbin/lilo -v
This installs lilo into the MBR... usually. However, you should also post up here what your /etc/lilo.conf file looks like (to paste in linux you highlight the test to be pasted and then use your middle button to paste, if you don't have a middle button press both side buttons down at once).

Cool
 
Old 07-15-2003, 05:20 AM   #3
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 31
RH9 installs GRUB as default.
 
Old 07-15-2003, 05:24 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
They referred to LILO specifically If you'd like to give them grub specific advice, feel free

Cool
 
Old 07-15-2003, 10:10 AM   #5
deathstar
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Hi captainstorm, I have chosen LILO explicitly during the installation.

Hi MasterC, thanks for the prompt reply! I can't recall if I have chosen the option of installing it into the MBR, though I am sure I have chosen LILO over GRUB.

I will post the content of my /etc/lilo.conf tomorrow when I get hold of my RH. Thanks for your help.
 
Old 07-15-2003, 11:28 AM   #6
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Deathstar

Previous to having the option of creating a boot disk you should have been asked where you want to install a bootloader to - you have possibly chose to install LILO to a floppy or the boot sector of a partition - you should have installed it to the MBR - ie the boot sector of yourt 1st hard drive.

To check where you have installed LILO do
  • open a terminal
  • su
  • root password
  • vi /etc/lilo.conf


Your lilo.conf file will come up.

One of the first directives in lilo.conf will say something like


boot=/dev/hda ( or something similar )


This directive tells you where you installed Lilo to when installing Red Hat.

Post this line to us or perhaps the whole of your lilo.conf file.
 
Old 07-16-2003, 01:16 AM   #7
deathstar
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Here's my /etc/lilo.conf. Should I run the command "/sbin/lilo -v" first?

prompt
timeout=50
default=DOS
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="root=LABEL=/"

other=/dev/hda1
optional
label=DOS
 
Old 07-16-2003, 01:28 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
That looks fine to me, feel free to attempt (as root) to run:
/sbin/lilo -v
Now.

Cool
 
Old 07-16-2003, 02:39 AM   #9
deathstar
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
I got the following error ...

[root@localhost tm]# /sbin/lilo -v
LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman

Reading boot sector from /dev/hda
Merging with /boot/boot.b
Warning: device 0x0302 exceeds 1024 cylinder limit
Fatal: sector 25168547 too large for linear mode (try 'lba32' instead)
[root@localhost tm]#
 
Old 07-16-2003, 03:23 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Add:
lba32
And place a comment (#) in front of linear, save the file and re-run:
/sbin/lilo -v

Cool
 
Old 07-16-2003, 05:26 AM   #11
deathstar
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks! It is working now.
 
  


Reply



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
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 06:25 AM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
Dual boot SUSE/XP But SUSE wont let me boot or see boot menu Hairulfr SUSE / openSUSE 9 08-17-2005 12:57 PM
failed features: boot.shm boot.loadmodules boot.swap cccc SUSE / openSUSE 1 08-08-2005 07:23 AM
DUAL BOOT - WIN XP cant be seen/boot on boot - pls help Bluiee Linux - Newbie 1 05-25-2004 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 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
Open Source Consulting | Domain Registration