Felix Miata wrote:
On 2010/03/03 10:59 (GMT-0500) James Knott composed:
As I mentioned earlier, this is a larger drive to replace the original, so you can be sure the sector numbers are different.
Until your next sentence below, that was not a foregone conclusion. You night have elected to keep Windows' C: the same size as before. You still AFAICR have never told us which device you mount to /boot.
The Windows partition (sda1) was expanded because the old one was just about full. There's also another partion (sda2, formerly FAT32 now EXT3, that's used to exchange data between Windows & Linux. It was expanded from 2 GB to 60. /boot is on sda5. The extended partition is sda3 and LVM is sda6. Sda4 was the XP recovery partition on the old drive, but doesn't seem to have appeared on the new one. I suspect this may be due to the large size, as some partitioning utilities don't appear to work with more than 128 GB. It's not an issue as I have the recovery CDs from IBM. Here's what fdisk shows for the old drive. Device Boot Start End Blocks Id System /dev/sda1 * 1 1087 8723295 7 HPFS/NTFS c: /dev/sda2 1087 1349 2104484 c W95 FAT32 (LBA) d: /dev/sda3 1349 4741 27251909+ f W95 Ext'd (LBA) (extended) /dev/sda4 4741 4864 982800 1c Hidden W95 FAT32 (LBA) restore Partition 4 does not end on cylinder boundary. /dev/sda5 1349 1353 40131 83 Linux /boot /dev/sda6 1354 4740 27206046 8e Linux LVM LVM Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x040f040f Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x040f040f Device Boot Start End Blocks Id System /dev/sda1 * 1 5165 41487831 7 HPFS/NTFS /dev/sda2 5166 12461 58605120 83 Linux /dev/sda3 12462 30401 144103050 5 Extended /dev/sda5 12462 12467 48163+ 83 Linux /dev/sda6 12468 15861 27262273+ 83 Linux Disk /dev/dm-0: 10.7 GB, 10737418240 bytes 255 heads, 63 sectors/track, 1305 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-1: 104 MB, 104857600 bytes 255 heads, 63 sectors/track, 12 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-2: 3221 MB, 3221225472 bytes 255 heads, 63 sectors/track, 391 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-3: 419 MB, 419430400 bytes 255 heads, 63 sectors/track, 50 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-4: 1073 MB, 1073741824 bytes 255 heads, 63 sectors/track, 130 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-5: 524 MB, 524288000 bytes 255 heads, 63 sectors/track, 63 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-6: 4294 MB, 4294967296 bytes 255 heads, 63 sectors/track, 522 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-7: 1073 MB, 1073741824 bytes 255 heads, 63 sectors/track, 130 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/sdb: 500 MB, 500563968 bytes 16 heads, 32 sectors/track, 1909 cylinders Units = cylinders of 512 * 512 = 262144 bytes Disk identifier: 0x45b2cb1a Device Boot Start End Blocks Id System /dev/sdb1 * 1 1910 488816 b W95 FAT32 Currently, this disk boots to XP, but I want it to boot to grub.
The first partition, containing XP is now the size of the original drive. The 2nd partition is also much larger.
So, what I have is a system copied from the old drive, with some partitions resized and now I have to get grub functioning again. While I realize it's a simple matter to reinstall Linux (I've protected all my data), I'd hoped to be able to simply move from a small drive to a larger one. The sticking point is getting grub going again.
BTW, I went from a 40 GB drive to 250 GB. I have not made any changes to the original drive.
Grub needs to be installed on the new HD. More detailed instructions cannot be made available until you provide annotated output of fdisk -l, or /etc/fstab.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org