Solved

LILO: Error:  /dev/hdc1  and  /dev/hda1  have duplicate volume IDs (serial numbers)

Posted on 2003-12-10
4
1,078 Views
Last Modified: 2013-12-16
When I try to add a partition to second HDD on my system, I can see the following output from /sbin/lilo:
<===============
Error:  /dev/hdc1  and  /dev/hda1  have duplicate volume IDs (serial numbers)
Fatal: Duplicated volume IDs must be resolved before installation can proceed.
  Use the '-z' and '-M <dev>' switches to erase the conflicts.
<===============
lilo version 22.5.3 works fine if all partitions on second HDD are deleted (disk is empty), but fails when I add one partition of any size on second HDD, using '-z' and '-M' switches is useless. Google did not help. Any ideas?
0
Comment
Question by:abp01
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 9914932
can you verify with
  hdparm -i /dev/hda
  hdparm -i /dev/hdc
that both serial numbers are identical?
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 9916995
Try a newer version (22.5.8) of lilo. I know of one case where such a problem was resolved by updating Lilo. 22.5.8 also support to mark a drive as unaccessible for the volume ID check:
Put this into your lilo.conf file:
disk=/dev/hdc inaccessible
if you want to skip /dev/hdc
0
 

Author Comment

by:abp01
ID: 9918398
/dev/hda and /dev/hdc IDs are different. The problem is not related to disks but to primary partitions(!): hda1 and hdc1. Well, I will try 22.5.8, probably this will help...
0
 

Author Comment

by:abp01
ID: 9919371
Thanx, 22.5.8 works fine :-)
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question