migrate / to new partition; wants to use old mount points



I wanted to migrate a sid install from a partition on a sata drive to a
partition on another ide drive. I used dd to copy the partion, changed
fstab, and tried to boot into the system on the ide drive. Grub recognizes
the ide drive, begins to boot, but after several (maybe 7 or 8 screens) of
data, the boot halts because it is trying to mount the old sata drive (which
is not now connected to the machine). I originally thought this was a grub
problem (see thread "moved system do different partition; grub boot
problem"), but now think that the kernel on the new partition is booting, but
at some point in the boot process it begins to use all of the mount points on
the sata drive. It is almost as if it is using the old fstab is being used
instead of the new one. I then erased the new partition, and copied over the
old / using 'cp -a', which had the same result. I then tried rsync, with the
same effect.

The message on the screen when the boot process stops reads something like:
waiting 7 seconds for /sys/block/sda/sda10/dev to show up
/bin/cat /sys/block/sda/sda10/dev: No such file or Directory
I cannot figure out why it is looking for sda10, which is where the original
/ was located on the sata drive, instead of looking at hdc2, which is where
the new / is located and is what it booted off of.

Is there any place besides /etc/fstab that indicates what partitions to
mount? I changed /etc/mtab, but that didn't help, and can't find any other
places that might be diverting the boot process to the old drive.

Any advice would be appreciated. Thanks.
Ric

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: BootIt NG high level steps - best approach??
    ... backup boot strategy. ... As far as BING, I should tell you I've been using this software ... make managing your bootable options and partition management so much easier. ... drives) and the DATA partition on a mirrored array. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Dual booting
    ... of Microsoft's dual boot scenario. ... The extended partition is not assigned a drive letter, ... BIOS reserves letters A and B for floppy drives, ... If WinXP Setup ...
    (microsoft.public.windowsxp.general)
  • Re: Dual Boot Instructions
    ... I ended up reinstalling Vista, ... The boot SECTOR is not the bootLOADER. ... finds the partition table for that HDD and sees that the first partition is ... violated, we no longer can simply install WinXP, install Vista and ...
    (microsoft.public.windows.vista.hardware_devices)
  • Re: how to change out system disk?
    ... Inaccessible_Boot_Device, when trying to boot from the new HD, but sometimes ... WinXP booted, you can still run Word, Quicken or whatever without having to ... following the primary partition and the first logical drive ). ... > logical drives in a single extended partition. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Cloning , Ghosting SuSE 9.1
    ... >> Exactly a question I asked myself just after my first Suse installation, ... >> ramdisk) to act as a mount point, and then mount the partition where you ... partition you're insterested in. ... You could do that the first time you boot the RIP CD, ...
    (alt.os.linux.suse)