Mailinglist Archive: opensuse (1606 mails)

< Previous Next >
Re: [opensuse] cloned drive -- /dev/disk error (suse 10.3)
  • From: "Greg Freemyer" <greg.freemyer@xxxxxxxxx>
  • Date: Thu, 4 Sep 2008 19:57:46 -0400
  • Message-id: <87f94c370809041657q215a1e06ybe7f568a219e06d1@xxxxxxxxxxxxxx>
On 9/4/08, James D. Parra <Jamesp@xxxxxxxxxxxxxxxx> wrote:
> > You need to boot into rescue mode and modify /boot/grub/menu.lst
> > and /etc/fstab and correct the settings there. You can find the correct
> > id by: ls /dev/disk/by-id. That will show you the ones it knows about
> > and you can hopefully tell which one is current. I'm guessing it tells
> > you in dmesg too.
> >
> > HTH,
> > James
> Alternatively, if you have a set of machines you routinely keep in
> sync via cloning a master image, then on the master you can modify
> grub's menu.lst file to reference the old /dev/sdX style paths. Then
> the clones should work fine.
> ie. We have 5 travel PCs that have identical hardware. When a major
> upgrade comes, we upgrade the master and test it out. Modify
> menu.lst, then clone the rest of the PCs from the master.


I assume you can modify menu.lst via yast, but I directly edit

On my workstation with a default menu.lst file I have:


in the middle of my kernel boot line.

In my case that would simply need to be "root=/dev/sda5" instead. Not
the part5 and the sda5 are in sync. You need to do that as well.


Thanks Greg. I think what is happening is the cloning software is not
recognizing nor cloning the /dev/sda3 XFS partition from the source to the

I have five identical machines and I only want to install on one and clone
the install to the rest of the machines. Any recommendations on the most
efficient way to accomplish this?

Thanks again,


Are all the drives the same size?

If so, you simply do a dd.

boot SUSE cd to rescue mode, login as root (no password),

dd if=/dev/sda of=/dev/sdb bs=4k conv=noerror,sync

is the command I normally use. Watch out that you get the source and
dest right. Would be bad to go the wrong direction.

This will "waste" time copying even the empty sectors, but it should
go at a couple GB/min or faster, so it is acceptable for me.

Greg Freemyer
Litigation Triage Solutions Specialist
First 99 Days Litigation White Paper -

The Norcross Group
The Intersection of Evidence & Technology
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >