Sponsored Content
Full Discussion: lilo question
Operating Systems Linux Red Hat lilo question Post 302431495 by konvalo on Tuesday 22nd of June 2010 04:16:42 AM
Old 06-22-2010
lilo question

I use redhat7.0, and I want to update kernel to 2.4.0,I make following steps:
Code:
#gzip -cd linux-2.4.0.tar.gz | tar xvf -
#cd linux
#make mrproper
#make config
#make dep
#make bzdisk
#make modules
#make modules_install
#cp linux/arch/i386/boot/bzImage /boot

then I modify lilo.conf,like follows:
Code:
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
defalut=linux

image=/boot/vmlinuz-2.2.16-22smp
         label=linux
         initrd=/boot/initrd-2.2.16-22smp.img
         read-only
         root=/dev/sda5

image=/boot/bzImage
         label=linux2.4.0
         read-only
         root=/dev/sda5

Code:
#lilo

I don't find img file for linux2.4.0,where is this file? How can I get this file?

Then I reboot system
Code:
#reboot

After reboot system,I choose linux2.4,I find I get following errors:

Code:
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
ds: no socket drivers loaded!
request_module[block-major-8]: Root fs not mounted
VFS: Cannot open root device "805" or 08:05
Please append a correct "root=" boot option
Kernel panic: VFS: Unalbe to mount root fs on 08:05

Where is wrong? How to correct it? Which commands can I use? Please give me detail commands. Thanks

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Red Hat and LILO

Hi well ive got a slight prob with LILO, ive been trying to delete my linux partition and merge my entire hard drive back into one but when I do so LILO is still there, even after I erase the linux partition and I was pretty sure that it was on the boot record or something anyway, but all it... (2 Replies)
Discussion started by: Drainy
2 Replies

2. UNIX for Dummies Questions & Answers

Lilo

Does anyone know what LILO stands for and what it exactly does during the boot process? (1 Reply)
Discussion started by: jensam
1 Replies

3. UNIX for Dummies Questions & Answers

Lilo

Guys, Any idea how to Install Lilo after Instal linux 7.2 ( 2.4.7 ). At first when i was installing Linux 7.2 i didnt install LILO because i have alllready installed Boot Magic from Power Quest (Having dual boot Windows2000 Server and Linux Red Hat7.2 ). I didnt install LILO because i was... (20 Replies)
Discussion started by: killerserv
20 Replies

4. UNIX for Dummies Questions & Answers

Lilo

I have installed linux.. but it wont boot.. it says: "LI" and then my computer freezes.. it has worked before.. A couple of days ago, I tried to install OpenBSD.. I used the whole disk for it.. I think it's something with the MBR-settings I made in the OpenBSD installation.. How can... (1 Reply)
Discussion started by: Hamcha
1 Replies

5. Filesystems, Disks and Memory

Lilo Boot

i hade and Win 2000 and and Linux 6.2 on a machine, the Lilo boot worked properly . . after i had changed the Partion size with Partion Magic in w2k and rebooted my computer hangs and just says "Li" in the upper left corner . . can some one plz explain to me where the problem is, can i get the... (1 Reply)
Discussion started by: sajjan2
1 Replies

6. Filesystems, Disks and Memory

I need help with lilo

:confused: I've been trying to figure out what happen to Windows 2000 since I upgrade my partition of Red Hat 7.1 to 7.2. Before I even upgraded my system would dual boot both OS's now it only sees Linux in lilo. Can some one help me I'm in need of help. Can you tell me what I'm missing in my... (3 Replies)
Discussion started by: aojmoj
3 Replies

7. UNIX for Dummies Questions & Answers

Linux Lilo

i hade and Win 2000 and and Linux 6.2 on a machine, the Lilo boot worked properly . . after i had changed the Partion size with Partion Magic in w2k and rebooted my computer hangs and just says "Li" in the upper left corner . . can some one plz explain to me where the problem is, can i get the... (2 Replies)
Discussion started by: sajjan2
2 Replies

8. UNIX for Dummies Questions & Answers

LILO question again. Need help.

I know that this question has been asked here many times before, but after 4hours of reading and conf file changing I'm still where I started. Here's the scenario. I have a machine that has 60GB HDD, RedHat 7.3 & Win2K. 19 first GB are win2k (FAT32; /dev/hda1). Then comes RedHat 7.3: hda2 -> /boot... (2 Replies)
Discussion started by: D-Lexy
2 Replies

9. UNIX for Dummies Questions & Answers

removing lilo

I have a machine that dual boots win2k and linux, and we are handing it off so it no longer needs linux. Linux is a separate partition so I can delete the partition, but I need to remove lilo- how do I do that ? (7 Replies)
Discussion started by: dangral
7 Replies

10. Slackware

Dealing with lilo and uefi

Recently I have been trying to boot into slackware on a new laptop that came preinstalled with windows 8. I have successfully installed slackware and Lilo, but I have had great difficult attempting to boot into it. Since the laptop contains no optical drive, I have been attempting to boot into... (2 Replies)
Discussion started by: a sandwhich
2 Replies
BOOT.CONFIG(5)						      BSD File Formats Manual						    BOOT.CONFIG(5)

NAME
boot.config -- Configuration file for the boot blocks DESCRIPTION
The boot.config file contains options for the FreeBSD boot block code. When the FreeBSD boot loader runs, it searches the ``a'' slice of the boot partition for a boot.config file (as a result, slices which are missing an ``a'' partition require user intervention during the boot process). If the boot.config file is found, its contents are used as the default configuration options for the boot block code and are echoed to the system console. A valid format of this file is to put BIOS drive number, a controller type, a unit number, a partition, a kernel file name, and any other valid boot(8) option on a single line, as it is done at the ``boot:'' prompt. The options related to the boot image selection described below and all the other options available for boot.config are documented in detail in the boot(8) manual page. FILES
/boot.config parameters for the boot blocks (optional) EXAMPLES
The command: # echo "-P" > /boot.config will activate the serial console of FreeBSD. The command: # echo "1:ad(1,a)/boot/loader" > /boot.config will instruct the second stage of boot(8) on the first disk to boot with the third boot(8) stage from the second disk. The command: # echo "1:ad(1,a)/boot/loader -P" > /boot.config will do both of the above. SEE ALSO
boot(8), loader(8) AUTHORS
This manual page was written by Daniel Gerzo <danger@FreeBSD.org>. BSD
May 13, 2007 BSD
All times are GMT -4. The time now is 03:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy