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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-15-2003, 05:30 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 13
Rep:
|
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?
|
|
|
07-15-2003, 05:33 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
07-15-2003, 06:20 AM
|
#3
|
Member
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261
Rep:
|
RH9 installs GRUB as default.
|
|
|
07-15-2003, 06:24 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
They referred to LILO specifically If you'd like to give them grub specific advice, feel free
Cool
|
|
|
07-15-2003, 11:10 AM
|
#5
|
LQ Newbie
Registered: Jul 2003
Posts: 13
Original Poster
Rep:
|
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.
|
|
|
07-15-2003, 12:28 PM
|
#6
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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.
|
|
|
07-16-2003, 02:16 AM
|
#7
|
LQ Newbie
Registered: Jul 2003
Posts: 13
Original Poster
Rep:
|
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
|
|
|
07-16-2003, 02:28 AM
|
#8
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
That looks fine to me, feel free to attempt (as root) to run:
/sbin/lilo -v
Now.
Cool
|
|
|
07-16-2003, 03:39 AM
|
#9
|
LQ Newbie
Registered: Jul 2003
Posts: 13
Original Poster
Rep:
|
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]#
|
|
|
07-16-2003, 04:23 AM
|
#10
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Add:
lba32
And place a comment (#) in front of linear, save the file and re-run:
/sbin/lilo -v
Cool
|
|
|
07-16-2003, 06:26 AM
|
#11
|
LQ Newbie
Registered: Jul 2003
Posts: 13
Original Poster
Rep:
|
Thanks! It is working now.
|
|
|
All times are GMT -5. The time now is 08:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|