bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Grub problem on cloned dual boot disk


From: John Koshi
Subject: Grub problem on cloned dual boot disk
Date: Mon, 9 Apr 2007 13:20:39 -0700 (PDT)

Hi all,

I have a problem with the grub bootloader, as follows: I have a laptop
with an 80G disk, with Windows XP on the first half of the disk (NTFS),
and Fedora core 4 (LVM) on the rest. Dual boot is managed by grub, which
was installed with the Fedora install.

I wanted to clone this disk, so I don't lose hours of setup and install
effort on both OS's, and more hours of my work, in case of a disk crash.
So, I did the following:

1) Cloned the entire 80G disk to a 120G USB disk.
2) Restored from that clone onto a new 80G disk of the same geometry,
   and replaced the existing disk with the newly cloned one.
3) On start-up, got a grub hang at "GRUB", so I did the following:
      a) Boot from Fedora core 4 rescue CD
      b) chroot /mnt/sysimage
      c) grub-install /dev/hda
4) Now the grub hang went away, and gave me the OS selection menu, and
   Windows booted fine, but selecting the Linux installation gave me
   "Error 17: Cannot mount selected partition". So I did the following:
      a) Boot from Fedora core 4 rescue CD
      b) chroot /mnt/sysimage
      c) grub-install /dev/hda
      d) Enter grub -> grub<CR>
      e) grub> find /grub/stage1 -> gave me (hd0,3)
      f) grub> root (hd0,3)
      g) grub> kernel /vmlinuz-2.6.17-1.2142_FC4 ro root=/dev/hda4
      h) grub> initrd /initrd-2.6.17-1.2142_FC4.img. -> gave me:
         "Error 16: Inconsistent filesystem structure".
5) Then I exited grub, repeated steps (a) and (b) above, and rebuilt the
   initrd: "mkinitrd -v -f initrd-2.6.17-1.2142_FC4.img 2.6.17-1.2142_FC4",
6) Repeated from step 4(a), and got the same error at step (h).

Is this a known problem in grub, or am I doing something wrong in these
steps? Thanks in advance for a fix to this very frustrating problem.

regards,
John





reply via email to

[Prev in Thread] Current Thread [Next in Thread]