Comments for LILO
05 Jun 2002 11:58
Re: Several FAT's and a Ext3 on 2 IDE Drives
lilo.conf:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/be2-latin1.klt
lba32
prompt
nowarn
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
ignore-table
image=/boot/vmlinuz
label=linux
root=/dev/hda5
initrd=/boot/initrd.img
append="quiet devfs=mount"
vga=788
read-only
image=/boot/vmlinuz
label=linux-nonfb
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount"
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hda5
initrd=/boot/initrd.img
append="failsafe devfs=nomount"
read-only
other=/dev/hda1
label=BOOT
table=/dev/hda
other=/dev/hdc2
label=GAMES
table=/dev/hdc
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
other=/dev/hdc3
label=VIDEO
table=/dev/hdc
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
other=/dev/fd0
label=floppy
unsafe
other=/dev/hdc1
label=REPAIR
table=/dev/hdc
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
i don't know if /dev/hdc equals 0x82 or 0x81, but that doesn't matter i think,
because when there's a normal dos master boot record on my first drive, and all primary are hidden on the first drive, it boots the first primary visible partition, so ... i'd like to make lilo work without have to switch disks, also because the order of drives is sometimes different then.
normally, in all partitions, i get C: as the booted primary one and D: the logical one: '/dev/hda7' and then the following drives, the other primary partitions.
i think that lilo does not actually change the partition table on disk and is there no option to fysically change the partition table in stead of the memory map or something?
TIA
Alien
01 Jun 2002 10:46
Re: Switch from Red Hat 7.2 GRUP to LILO
0. Make sure you can boot from floppy with a rescue disk.
1. Get the LILO source code.
2. In the source directory, compile with "make all". Install with "make install". The components are now installed; but you haven't yet written the boot sector.
3. Construct /etc/lilo.conf. You should consult the sample config files in the 'sample' sub-directory. The 'man' pages are up-to-date for each release; and a very detailed overview of the boot process in in the 'README' file in the source directory.
4. Install the boot sector by executing "/sbin/lilo" with root privileges. This may take a couple of tries to get /etc/lilo.conf right, so be sure to have that rescue floppy available.
01 Jun 2002 09:33
Switch from Red Hat 7.2 GRUP to LILO
Hi there,
I am using Red Hat 7.2. Using GRUP as linux Loader.
Now I want to switch to LILO without have to re-install
the Red Hat 7.2.
Any body know how to do it?
Regards
Eko
31 May 2002 17:33
Re: Several FAT's and a Ext3 on 2 IDE Drives
A couple of issues here:
1. Does LILO recognize /dev/hdc as device 0x81, not 0x82? (I assume you have no /dev/hdb.)
2. Will the OS's on /dev/hdc boot from the second drive? Dos, I thought, had to be on device 0x80 to be booted. Are you using "map drive=0xNN to 0xNN"?
3. Change rules may be applied to any primary partition table. Suggest your send me a copy of your lilo.conf file.
30 May 2002 08:42
Several FAT's and a Ext3 on 2 IDE Drives
I've been trying to get this to work for several months.
hda1 FAT16 50 MB
hda2 EXTENDED
hda5 EXT3 2,5 GB
hda6 SWAP 350 MB
hda7 EXT FAT32 10 GB
hdc1 FAT16 80 MB
hdc2 FAT32 7 GB
hdc3 FAT32LBA 7 GB
hda1:win98
hdc1:dos
hdc2:winME
hdc3:win98
hda7 must be accessible for all OSes
and to boot the win and dos all prev primary partitions need to be hidden
at this time if i want to boot anything from the secondary IDE drive i have to switch disks with map-to.
the problem is this: say i'm at winME (hdc2), and I reboot wanting to go to win98(hdc3), I need to do this:(hda1 & hdc1 are already hidden)
I reboot winME
I select linux in lilo
in linux i type:
fdisk /dev/hdc
a 2 (deactivate hdc2)
t 2 1b (hide winME)
a 3 (activate hdc3)
w (write changes)
reboot
and then i can select win98(hdc3) to boot.
I'd like to do this with lilo.
the problem is this:
in lilo.conf I already used the change directive to hide the other primary partitions, but it only works for partitions in hda? is there any way to instruct lilo to ACTUALLY modify the second hard drive partition table?
TIA
Alien
20 May 2002 04:03
Re: LILO in VMWare
never you mind 22.3 fixed whatever was wrong ;-)
20 May 2002 03:46
LILO in VMWare
I have a Win2K OS on my first harddisk and Linux on the second one. I also use VMWare to run Linux through Win2K AND i installed linux through the VM. What i normally did was, configure lilo in the VMware machine and run lilo, then copy the bootsector to my NT hdd and start up through the NT loader. This all worked fine with the LILO version distributed with RH 7.2. I installed 7.3 last week and now when i run LILO i get this error:
Unexpected dirty buffer encountered at do_get_write_access:587 (08:02 blocknr 0)
This happens right at the end when LILO is busy writing the boot sector. The map file gets written fine and everything.
Can you help ?
19 May 2002 19:41
Re: LILO and Win2k
Use 'other=/dev/hdXX' to specify the boot sector of your Windows partition. This is documented in the man pages for 'lilo.conf', and in detail in the README which accompanies the source distribution.
19 May 2002 19:38
Re: BIOS Virus Warning
Detailed operation of this version is different from previous versions. 22.2 maitains some flags in a sector within the map file; 21.4 does not. Hence the difference. These flags will not be written if you compile with the 'READONLY' flag; however, other features, which rely upon updating the map file will no longer work (fallback, lock, and the -R switch).
Re: Several FAT's and a Ext3 on 2 IDE Drives
Yes, it matters very much whether /dev/hdc is 0x81 or 0x82!!! Definitely add the following to lilo.conf:
drive=/dev/hda bios=0x80
drive=/dev/hdc bios=0x81
(in the global section at the top).
You ARE mapping drives, and the remapping indicates that /dev/hdc IS 0x81.