LinHES Forums
http://forum.linhes.org/

lilo - new problems - solved.
http://forum.linhes.org/viewtopic.php?f=3&t=2452
Page 1 of 1

Author:  sivasankar [ Mon Sep 20, 2004 4:45 pm ]
Post subject:  lilo - new problems - solved.

OOPS I did it again - :D

I crashed my 'mythtv' again and again (2 times in 2 days) - while trying to upgrade to myth 0.16. Now I am back to 0.15.1. I have given up and waiting for 'cesman's update to come out.

But I have learned something about lilo after breaking my system.

This is my setup -

/dev/hda - Mythtv boot disk.
/dev/hdb - Windoze
/dev/hdc - 160GB - myth disk
/dev/hdd - DVD writer


----

I created dual booting system successfully as per 'elgordo123's post here.

http://mysettopbox.tv/phpBB2/viewtopic. ... =dual+boot

Then I had timestamp mismatch problem which I fixed following the post here.

http://mysettopbox.tv/phpBB2/viewtopic. ... +timestamp

Now comes the fun part. After I crashed the system and rebuilt it, I had the same timestamp mismatch error while trying to boot with both OS disks and the previous fix did not help me fix it.

So I installed the new version of lilo and when I tried to update lilo using lilo -v command, it failed with the following error message ( I did not capture the exact error message)

BIOS Register Failed - Duplicate Volume ID (or serial number)

I did not find any posting about this error message anywhere in Knoppmyth forum. So after lot of research(and lot of surfing) I found the solution.

-----
The latest lilo has some new feature which checks for disk volume id. (I may be wrong). So when I modified the lilo.conf for dual boot, and used lilo -v, it failed. Since I already did update using lilo -v for dual boot I think it failed when I tried again. I found 2 wyas to fix it.

1. If you have installed the latest version of lilo, use the following command to remove the serial number(volume id).

lilo -z -M /dev/hda
lilo -z -M /dev/hdb

Then update your lilo.conf file for dual boot and use lilo -v.

2. If you have not installed the latest version of lilo and still have the version that came with Knoppmyth (in my case - LILO version 22.5.6.1 (Debian GNU/Linux) ).

You can just use the lilo -v command after making changes. This does not give the "bios register failed" error message since I think it is not checking the volume id.

-------

As with anything else please use due diligence before updating making any changes. Also please post your feedback to correct any mistakes I made.

Thanks.

SIVA

Author:  arnljot [ Thu Dec 16, 2004 5:57 am ]
Post subject: 

My setup is one 120GB Spin Point SATA disk(only harddrive), the Motherboard is Asus A7N8X-E Deluxe, the rest of the setup is listed in this thread

I've made it so that Win XP is on /dev/hde1 and MythTV is installed (manually) on /dev/hde2.

I've tried both approaces to remove "LILO - Timestamp Mismatch" to get dual boot to work, the "update lilo path" and "lilo -z -M" path. But neither has worked for me :(

Grub is one alternative, but the setup doesn't seem complete in this thread?

What else can I try?

Brief list of what I did:
1. Installed XP
2. Installed MythTV manually, installed LILO not to mbr, but to /dev/hde2
3. Fixed XP, linux partition tool corrupted the partition table so that XP didn't boot
4. Snapshot Linux boot image and inserted to boot.ini, dd if=/dev/hde2 bs=512 count=1 of=/mnt/auto/floppy/linux.bin
5. Got LILO - Timestamp Mismatch error
6. Updated LILO
7. lilo -z -M /dev/hde, followed by lilo -v

Still no progress.

BTW, during manual install I partitioned the disk like this:
[ hde1 : 20GB Win XP ]
hde2 : 2 GB where it's installed
hde3 : 512MB, I'll try to set this as swap later
hde4 : 4GB, saw people talk of cache. This partition?
hde5 : The rest of the disk, some 80GB

Any help would be greatly appreciated.

Author:  arnljot [ Thu Dec 16, 2004 8:21 am ]
Post subject: 

Okay...

While waiting for the dual boot to work, I desided that I'd atleas get autoinstall running so that I could play a little around....

To get autoinstall to run I had to boot with
knoppmyth ide=reverse, it then reversed so that my SATA disk is hda and not hde

But the "LILO - Timestamp Mismatch" problem didn't go away despite using the auto install. A curious item was that during the install I couldn't set the time zone. My changes where ignored.

So now I'm looking into grub, without any luck at all so far...

I did:
0: Autoinstalled which gives LILO error
1. Boot with CD using ide=reverse arguments
2. exit to console
3. mount /dev/hda1 /mnt
4. copy /etc/resolv.conf /mnt/etc/resolv.conf, say yes to the question
5. chroot /mnt /bin/bash
6. source /etc/profile
7. apt-get update
8. apt-get --purge remove lilo
9. apt-get install grub

Then what?

grub-install /dev/hda doesn't work

booting isn't very nice now, just lots'n'lots of pairs of 9 (hex that is...) dumped to the screen now...

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/