Solved

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

Posted on 2003-12-10
4
1,072 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now