Hi everyone,
I’m new to Opensuse, I’m currently using 11.1. All help greatly appreciated.
I have an older PC that only boots from a 30Gb IDE drive. I have a new 500Gb Sata drive connected via PCI card interface but I cannot boot from Sata drive under old PC bios.
My question is what’s the easiest way to move all of Opensuse 11.1 (clone it) to Sata drive and still boot grub from IDE drive. This means also leaving the XP OS on IDE drive (sda1). Grub would then point to Opensuse on Sata HDD and XP on IDE HDD.
The current configuration is as follows:
Disk /dev/sda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcc9bcc9b
Device Boot Start End Blocks Id System
/dev/sda1 1 1594 12803773+ c W95 FAT32 (LBA)
/dev/sda2 1595 1603 72292+ 7 HPFS/NTFS
/dev/sda3 * 1604 3649 16434495 5 Extended
/dev/sda5 3558 3649 738958+ 82 Linux swap / Solaris
/dev/sda6 1604 2385 6281352 83 Linux
/dev/sda7 2386 3557 9414058+ 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1b711b70
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 60475 485765406 7 HPFS/NTFS
Disk /dev/sdc: 8019 MB, 8019509248 bytes
45 heads, 45 sectors/track, 7734 cylinders
Units = cylinders of 2025 * 512 = 1036800 bytes
Disk identifier: 0x1c210561
Device Boot Start End Blocks Id System
/dev/sdc1 4 7735 7827520 c W95 FAT32 (LBA)
Disk /dev/dm-0: 4194 MB, 4194303488 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
I’m not sure specifically but I’m guessing the best way to do this will be
to just copy the data from one drive to another. For example create three
partitions on your new drive (two for data, one optionally for swap),
mount your new drive’s root partition to /mnt while booted to OpenSuSE and
then copy all of the directories over to that new drive. Do the same then
for your other partition (probably /home normally) copying from the old
drive to the new drive. You will not need to copy data from /proc or /dev
over to the new system though it may try to do that if you just tell the
system to copy everything.
Doing this will give you the potential to tinker while working on this.
You can verify the data on the destination side including permissions and
such and then repurpose your old drive’s space however you need to easily
enough. The last step will be to point grub (/boot/grub/menu.lst) to your
new partition. To do this keep a copy of your old entry for your current
drive but then duplicate it and change the drive number to try to boot
from. Hopefully that will work.
Another thing that came to mind is you may need to mess around in
/etc/fstab to get your new drive mounted (/ and /home) instead of the old
one. I can’t think of anything else but if you do it properly in Grub you
should be able to back out and try a few times before committing
completely and even commitment in this case would only mean setting the
default boot option to your new drive.
Good luck.
87DI wrote:
> Hi everyone,
> I’m new to Opensuse, I’m currently using 11.1. All help greatly
> appreciated.
>
> I have an older PC that only boots from a 30Gb IDE drive. I have a new
> 500Gb Sata drive connected via PCI card interface but I cannot boot from
> Sata drive under old PC bios.
>
>
> My question is what’s the easiest way to move all of Opensuse 11.1
> (clone it) to Sata drive and still boot grub from IDE drive. This means
> also leaving the XP OS on IDE drive (sda1). Grub would then point to
> Opensuse on Sata HDD and XP on IDE HDD.
>
>
>
> The current configuration is as follows:
>
>
>
> Code:
> --------------------
> Disk /dev/sda: 30.0 GB, 30020272128 bytes
> 255 heads, 63 sectors/track, 3649 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xcc9bcc9b
>
> Device Boot Start End Blocks Id System
> /dev/sda1 1 1594 12803773+ c W95 FAT32 (LBA)
> /dev/sda2 1595 1603 72292+ 7 HPFS/NTFS
> /dev/sda3 * 1604 3649 16434495 5 Extended
> /dev/sda5 3558 3649 738958+ 82 Linux swap / Solaris
> /dev/sda6 1604 2385 6281352 83 Linux
> /dev/sda7 2386 3557 9414058+ 83 Linux
>
> Partition table entries are not in disk order
>
> Disk /dev/sdb: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x1b711b70
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 60475 485765406 7 HPFS/NTFS
>
> Disk /dev/sdc: 8019 MB, 8019509248 bytes
> 45 heads, 45 sectors/track, 7734 cylinders
> Units = cylinders of 2025 * 512 = 1036800 bytes
> Disk identifier: 0x1c210561
>
> Device Boot Start End Blocks Id System
> /dev/sdc1 4 7735 7827520 c W95 FAT32 (LBA)
>
> Disk /dev/dm-0: 4194 MB, 4194303488 bytes
> 255 heads, 63 sectors/track, 509 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x00000000
>
> Device Boot Start End Blocks Id System
>
> --------------------
>
>
>
> Loads of thanks.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Thanks a million for your reply and information ab@novell.com. Much appreciated.
I was thinking in the meantime that as Opensuse 11.2 is due for release soon I could install a clean new DVD version to Sata drive and just copy my docs across, taking advantage of new release.
When running live DVD install is it possible to install to Sata drive and set grub on the IDE drive pointing to it?
Would this be a manual type install rather than automatic?
I’d go for this last option. Wait for 11.2, take care that the IDE disk is the first one to boot from in the BIOS, install on the SATA drive. This way it should all fall in place automatically, without manual interference.
If I run install CD will installer recognise existing bootloader on IDE drive and add new Sata OS option to that or will I have to amend it manually afterward?
Do you think I can run an automatic install to Sata drive or will this require a manual install and creating partitions?
Like I said in OP I’m new to linux so do bear with me.