This is just a shot in the dark, but some motherboards have a bios options for diabling MBR changes for virus protection reasons. Look around there to see if this option is enabled and if it is disable it.Originally Posted by derjens
hi all,
i just installed knoppix3.1 on my hdd (created hda1/swap 300MB, hda2/ext2 3900MB with cfdisk). installation went fine. but when i try to reboot i can not boot from hdd (insert system disk). booting from fd works. but i can not install lilo. a lilo -v -t gives me a message like: mbr and map not altered. no ohter os on my hdd.
many thnx for input.
cheers from berlin,
jens
This is just a shot in the dark, but some motherboards have a bios options for diabling MBR changes for virus protection reasons. Look around there to see if this option is enabled and if it is disable it.Originally Posted by derjens
I had a similar problem. What I did was
boot from the cd
edit the /etc/lilo.conf (ramdisk copy) to identify
hda as the boot drive
run lilo with the options to specify the locations of the map files
eject the cd and reboot
i check the BIOS, no virus options.
will try the cd boot way. but since i'm quite a newbe what
specific options do i have to run lilo with, specially regarding
map file option?
thnx for help
jens
Are you dual-booting, I would assume not since you are talking about your first hard drive (hda)
if you are not dual-booting, then:
Boot with your cd, and use " knoppix 2 " to start so you just have root console(s) running, then:
first I would run cfdisk and check your partitions:
*cfdisk /dev/hda
in the partition table make sure that in the Flags column that there is a Boot entry listed for your /dev/hda2 partition (which should be FS-Type ext2) if your ext2 partition is not bootable select that partition and then make it [Bootable] save the changes and then re-run lilo using the example below. If your partition table looks OK, ie. your ext2 partition is bootable, then look at your lilo setup, mount your / partition on your hard drive (from what you've posted):
*mount /dev/hda2 /mnt/hd
then:
*cd /mnt/hd
to change directory to your hard drive, and then:
*chroot /mnt/hda2
to change your 'root filesystem to your hard drive' and now check your lilo.conf file with:
*less /etc/lilo.conf
make sure that the following lines are in the file:
boot=/dev/hda
root=/dev/hda2
If you are NOT dual-booting you will need to have: boot=/dev/hda this line writes your boot record to your master boot record, it should be near the top, and the root=/dev/hda2 line should be after the image=.... line, it tells lilo where your root file system is located.
if both lines look OK. then I would rerun lilo with:
*/sbin/lilo -v
If either line is goofed up, ie. boot=/dev/hda2 instead of boot=/dev/hda etc. you'll need to edit your lilo.conf file, so use a console editor, nano is pretty easy to use run it like this:
*nano /etc/lilo.conf
which will start nano and load your lilo.conf file, then make the necessary changes, press CTRL-x then y then ENTER now re-run lilo with the /sbin/lilo -v command.
If you still get errors post them.
HTH
rock

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99
Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00
(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99
Seagate ST8000DM004 8TB 3.5" 6Gb/s 256MB SATA HDD P/N: 2CX188-300 Tested
$149.99
Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99
HGST Ultrastar 7K4000 3TB 7200RPM SATA III 3.5" Hard Drive HDD HUS724030ALA640
$39.99
HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)
$45.00
Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99
DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99