Solved

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

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
My bash alias isn't executing 5 47
CentOS create a user with predefined MD5 Hashed password 17 66
AD LDAP LDS 3 47
Setting up two Raspberry Pi gateways/routers 3 36
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Fine Tune your automatic Updates for Ubuntu / Debian
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…

919 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

19 Experts available now in Live!

Get 1:1 Help Now