LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   configuring lilo (https://www.linuxquestions.org/questions/slackware-14/configuring-lilo-103025/)

ksd 10-12-2003 07:12 AM

configuring lilo
 
i have been booting my slack from the boot floppy right from the day of installing it.i tried somany times to install it in the MBR and the hdd9.but nothing has turned out...i wanna have a grub loaded so that i can dual boot ans avoid the pain involved in inserting the boot floppy every time i start my system.has any one got any idea??

kwiksand 10-12-2003 07:33 AM

I've had a fair bit of experience with boot problems now, but before being able to shed light on you situation, we'll all need some more details, what boot messages to do you get when booting from hard drive (i.e, why doesn't it work?).. Show us your lilo.conf from the hard drive too.

ksd 10-12-2003 07:42 AM

hey theres nothing in lilo.conf.its empty.just tell me what to enter ...

nvn 10-12-2003 07:47 AM

#liloconfig

carboncopy 10-12-2003 08:07 AM

mbr is not on /dev/hdd9
mbr should be on the /dev/hdd (if that is the first harddisk you are booting to from bios)
Usually it is /dev/hda
but for my case it is /dev/hde (PCI-IDE)

ksd 10-12-2003 08:38 AM

in my disk,i first loaded windows .ie../dev/hda is a cdrom /dev/hdd1 to /dev/hdd7 are totally windows partitions.the root of linux is loaded on /dev/hdd9.i have run liloconfig and followed the instructions.this time i loaded the lilo in MBR.when i rebooted my system,nothing turned up.i had to again insert the boot disk and load the linux.please help me out....

carboncopy 10-12-2003 08:54 AM

please post your /etc/lilo.config

ksd 10-12-2003 09:09 AM

image=/boot/vmlinuz.old

root=/dev/hdd9

label=slack.old

read-only


this is what it reads...so any clue?

carboncopy 10-12-2003 09:16 AM

is that the only thing that is in lilo.config?
do post the whole file.

ksd 10-12-2003 09:22 AM

hey carboncopy..i am afraid that s the only thing i found in /etc/lilo.conf.is something missing?...

linuxJaver 10-12-2003 10:12 AM

Type "dmesg > dmesg.txt" on the command prompt, then grab the entire content of dmesg.txt into here ..

# dmesg > dmesg.txt

ksd 10-12-2003 12:42 PM

hi linuxjaver.i typed dmesg on the command prompt..herez is the output...

root@dheeraj:~# dmesg
Linux version 2.4.20 (root@midas) (gcc version 3.2.2) #2 Mon Mar 17 22:02:15 PST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000007ef0000 (usable)
BIOS-e820: 0000000007ef0000 - 0000000007ef3000 (ACPI NVS)
BIOS-e820: 0000000007ef3000 - 0000000007f00000 (ACPI data)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
126MB LOWMEM available.
On node 0 totalpages: 32496
zone(0): 4096 pages.
zone(1): 28400 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=vmlinuz ramdisk_size=7000 root=/dev/hdd9 vga=normal ro
Initializing CPU#0
Detected 751.722 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1500.77 BogoMIPS
Memory: 125512k/129984k available (1733k kernel code, 4088k reserved, 568k data, 112k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU serial number disabled.
CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU: Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb160, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Transparent bridge - Intel Corp. 82801AA PCI Bridge
PCI: Using IRQ router PIIX [8086/2410] at 00:1f.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
Detected PS/2 Mouse Port.
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH: IDE controller on PCI bus 00 dev f9
ICH: chipset revision 2
ICH: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:DMA
hda: HL-DT-ST GCE-8520B, ATAPI CD/DVD-ROM drive
hdd: ST320413A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c0388c04, I/O limit 4095Mb (mask 0xffffffff)
hdd: 39102336 sectors (20020 MB) w/512KiB Cache, CHS=38792/16/63, UDMA(66)
hda: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
ide-floppy driver 0.99.newide
Partition check:
hdd: [PTBL] [2434/255/63] hdd1 hdd2 < hdd5 hdd6 hdd7 hdd8 hdd9 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7000K size 1024 blocksize
loop: loaded (max 8 devices)
ide-floppy driver 0.99.newide
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 1244.400 MB/sec
32regs : 746.400 MB/sec
pIII_sse : 1484.800 MB/sec
pII_mmx : 1686.800 MB/sec
p5_mmx : 1760.000 MB/sec
raid5: using function: pIII_sse (1484.800 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 112k freed
Adding Swap: 305192k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,73), internal journal
8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 Fast Ethernet at 0xc883b000, 00:0b:2b:0f:df:82, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Intel PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
Intel 810 + AC97 Audio, version 0.21, 15:37:49 Mar 11 2003
PCI: Found IRQ 12 for device 00:1f.5
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH 82801AA found at IO 0xdc00 and 0xd800, IRQ 12
i810_audio: Audio Controller supports 2 channels.
ac97_codec: AC97 Audio codec, id: 0x4144:0x5348 (Analog Devices AD1881A)
i810_audio: AC'97 codec 0 Unable to map surround DAC's (or DAC's not present), total channels = 2
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 5 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
uhci.c: USB UHCI at I/O 0xd000, IRQ 5
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
i810 TCO timer init: failed to reset NO_REBOOT flag, reboot disabled by hardware
i810_rng hardware driver 0.9.8 loaded
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
i810 TCO timer init: failed to reset NO_REBOOT flag, reboot disabled by hardware
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
i810 TCO timer init: failed to reset NO_REBOOT flag, reboot disabled by hardware
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
i810 TCO timer init: failed to reset NO_REBOOT flag, reboot disabled by hardware
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
i810 TCO timer init: failed to reset NO_REBOOT flag, reboot disabled by hardware
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
i810 TCO timer init: failed to reset NO_REBOOT flag, reboot disabled by hardware
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
i810 TCO timer init: failed to reset NO_REBOOT flag, reboot disabled by hardware
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
i810 TCO timer init: failed to reset NO_REBOOT flag, reboot disabled by hardware
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 93M
agpgart: Detected an Intel i810 Chipset.
agpgart: AGP aperture is 64M @ 0xd8000000
memory : c7e74f60
memory : 00000000
memory : c7e74fa0

carboncopy 10-12-2003 08:25 PM

Quote:

Originally posted by ksd
hey carboncopy..i am afraid that s the only thing i found in /etc/lilo.conf.is something missing?...
Yes there is a lot that is missing. Here is my lilo.config


# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
LBA32
boot = /dev/hde #This tells lilo to write to MBR
append = "hdd=ide-scsi" #if you want to use cd-writer
prompt #not necessary
#timeout = 300
# Normal VGA console
vga = ask #not necessary
#
other = /dev/hde1
label = WinXP
#
image = /boot/260t5v16sept.img
root = /dev/hdf2
label = 260t5v16sept
read-only
#
image = /boot/2422v1oct
root = /dev/hdf2
label = 2422v1oct
read-only
#
image = /boot/stock-2422-2
root = /dev/hdf2
label = stock-2422-2
read-only
#
image = /boot/stock-2422
root = /dev/hdf2
label = stock-2422
read-only
#
image = /boot/vmlinuz
root = /dev/hdf2
label = stock
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
#
# Linux bootable partition config ends

carboncopy 10-12-2003 08:36 PM

LBA32
boot = /dev/hdd #write to MBR
append = "hda=ide-scsi" #for your cd-writer
timeout = 300 #timeout before default is choosen
vga = normal
image = /dev/vmlinuz
boot = /dev/hdd9 # / partition
label = slack.old
read-only

other = /dev/hdd[x] #x being the number where your windows sits i would presume it is 1
label = windows

Disclaimer
Use this at your own risk. :) Any operation which writes to MBR is of considerable risk. The risk that your windows may not be working after that. But it works for me. :)

carboncopy 10-12-2003 08:50 PM

One more thing, after replacing the content of /etc/lilo.conf with what I writen for you (without the disclaimer) run the command lilo. All this you have to do it as root.


All times are GMT -5. The time now is 03:32 AM.