Moved to new drive, Grub crashing.



Drive #1 is a 320gig drive partitioned as follows:
- Primary; Windows XP 70gig; sda1
- Extended; grub installed here sda2
- Logical; swap 2gig sda5
- Logical; /, boot, etc. installed here 50gig sda6
- Logical; /home 150gig sda7
- Primary; Fat32 data drive (empty) remainder sda3

Drive #2 is a 120gig drive partitioned as follows:
- Primary; Windows XP 58gig hda1
- Extended; grub installed here hda2
- Logical; swap 1.5gig hda5
- Logical; /, boot, etc. installed here 20gig hda6
- Logical; /home 32gig hda7

Drive 1 is a SATA drive with Windows XP and 64bit OpenSUSE 10.2 on it. This
was the only drive in my PC when the OS's were installed.

Drive 2 is a PATA drive with Windows XP and 32bit OpenSUSE 10.2 on it.
Again, this was the only drive in my PC when the OS's were installed.

I need to move my OpenSUSE 10.2 installation from drive 1 to drive 2. What
I've done is:

- delete all files on hda6 and hda7
- moved all files from sda6 to hda6 and from sda7 to hda7

....at this point, when I try to start SUSE, the PC displays "GRUB" and
stops.

I am using the NT boot loader to start Suse and have a copy of the first
512bytes of /sda2 stored on the XP drive as bootsec.lnx. The menu is
configured to use this file. This has worked fine in the past.

I'm assuming that since I have GRUB installed on hda2, and didn't replace
/hda2 with /sda2 that it won't work. I was hesitant to copy sda2 to hda2
because of any drive geometry that might be stored with grub. I've already
replaced /boot, so I don't have any of the files from the old /boot
directory on drive 2.

What do I need to do to get this system booting normally again? Should I
replace the content of /hda2 with that of /sda2? What will I need to do to
tell OpenSUSE about the new partition positions and sizes?

Thanks!


.



Relevant Pages

  • Re: Goodbye SuSE 9.2. Hello gentoo!
    ... Windows or Linux is the laptop. ... All three Athlon boxes run SuSE fast enough that it doesn't get in the way - ... Certain tasks would load quicker, ... Yoper is almost instant as clicking the fstab icon opens a terminal session ...
    (alt.os.linux.suse)
  • Re: [SLE] Cant find NT Box and Printer with YaST - update
    ... Next we setup a simple share with SAMBA and attempted to copy a file from ... We invoked the Network Neighborhood and found the SuSE box, ... >and Linux client/Windows server. ... >Linux client is the easier case, assuming that the Windows printer is working ...
    (SuSE)
  • Re: Is SuSe ready for me yet?
    ... They astounded me with their ease of install and use. ... If you install the suse 'evaluation' version of 10.0 or be sure to ... A year in linux time is equivalent to many years of windows time. ...
    (alt.os.linux.suse)
  • Re: Is SuSe ready for me yet?
    ... They astounded me with their ease of install and use. ... If you install the suse 'evaluation' version of 10.0 or be sure to ... A year in linux time is equivalent to many years of windows time. ...
    (alt.os.linux.suse)
  • Re: Serious Question - Mainstream Use - No Troll
    ... > home/family machine to Linux, but not sure I can yet. ... Next time I go visit, her old Windows machine will get the Linux treatment, ... Did you install Windows XP, or was it installed by the manufacturer before ... On my new machine, SuSE was up ...
    (alt.os.linux.suse)