LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-10-2004, 05:09 AM   #1
spony
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian (kernel 2.4.22)
Posts: 11

Rep: Reputation: 0
"LILO - Timestamp Mismatch"


6 months ago i buildt a new system and made it dual boot (debian, windows XP) with lilo on the same 120GB harddrive (hda). Just recently i happened to come by an old 30GB (hdb) harddrive so I thought why not sepperate the windows and linux partitions so they each have their own harddrive.

So i started off by using administrative tools in windows XP to make 4 partitions on the 30GB harddrive (probably should have done this in linux). Secondly i used Ghost to move the linux partitions from hda to hdb. After this I edited the fstab file in linux so i could actualy see if the partitions were working and linked them to some new directories i made in root. After i realised they worked i changed fstab so the old linux partitions on hda were now insted being linked from the new ones on hdb. This all seemed to work fine

After this I did something stupid. I tried setting up hdb as the master harddrive (hda) to see if it would boot at all, It wouldn't. I figured the master boot record must not have been copied over, so i did this:

Code:
http://hints.n0i.net/id/159

MBR is located within first 446 bytes in harddrive (or partition).
so, copying it i.e. from hda to hdb you should run:
dd if=/dev/hda of=/dev/hdb bs=446 count=
Thinking the standard output was hdb this could in the worst case only skrew up all the work i'd done. But not only does hdb not boot (it gets pretty far though but then suddenly starts outputting a ton of "99 99 99 99 99 99") but hda gives me this upon boot "Timestamp Mismatch". I don't get it, I didn't change anything on hda???

I noticed this artical also, with the following fix to the mismatch error:
Code:
http://www.linuxquestions.org/questi...oto=nextnewest

First boot the slackware installation CD or equivalent (I install via pxelinux). Then do:
# dd if=/dev/zero of=/dev/hda bs=1 count=512
I guess i must have misused dd but still how did this mess up hda?
 
Old 06-10-2004, 05:11 AM   #2
spony
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian (kernel 2.4.22)
Posts: 11

Original Poster
Rep: Reputation: 0
I didn't copy the first code completely....it's

Code:
 MBR is located within first 446 bytes in harddrive (or partition).
so, copying it i.e. from hda to hdb you should run:
dd if=/dev/hda of=/dev/hdb bs=446 count=1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lilo and timestamp mismatch ramke Slackware 13 04-29-2005 08:46 AM
Lilo - Timestamp mismatch lets-eat-gary Linux - Software 1 11-26-2004 06:30 AM
Lilo timestamp mismatch Paridoth Mandriva 1 11-23-2004 11:07 AM
LILO - Timestamp mismatch DarkCaesar Slackware 2 09-20-2004 08:52 PM
lilo timestamp mismatch AndrewBeddall Slackware 6 06-04-2004 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration