Solved

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

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 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