[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1101
  • Last Modified:

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

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
abp01
Asked:
abp01
  • 2
1 Solution
 
ahoffmannCommented:
can you verify with
  hdparm -i /dev/hda
  hdparm -i /dev/hdc
that both serial numbers are identical?
0
 
Karl Heinz KremerCommented:
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
 
abp01Author Commented:
/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
 
abp01Author Commented:
Thanx, 22.5.8 works fine :-)
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now