Page 1 of 1

(SOLVED) replaced harddisk, now only boots off DVD

PostPosted: Apr 16th, '14, 23:05
by wintpe
OK so used clonezilla to backup my corsair 120GB SSD and the restored to a neutron 240 GTX

MGA3 64bit install bang uptodate

Code: Select all
fdisk -l

Disk /dev/sda: 240.1 GB, 240057409536 bytes, 468862128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x41d82181

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    31133969    15566953+  83  Linux
/dev/sda2        31133970   468860927   218863479    5  Extended
/dev/sda5        31134033    35728559     2297263+  82  Linux swap

blkid
/dev/sda1: UUID="4e30f144-62e2-422c-8a02-e903724242ec" TYPE="ext4"
/dev/sda5: UUID="d993322f-010d-4b16-89e6-a016800b0282" TYPE="swap"
/dev/sda6: UUID="4bc1d2e9-f8a4-4c32-9933-81c2b471f516" TYPE="ext4"

from dmesg
ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata5.00: ATA-8: Corsair Neutron GTX SSD, M311, max UDMA/133
ata5.00: 468862128 sectors, multi 16: LBA48 NCQ (depth 31/32), AA


used gparted to resize the home to take advantage of the remaining space.

then harddisk acts like theres no bootblock

can boot from DVD and select boot from harddisk OK

have used DVD rescue mode to re-install boot block

have done upgrade with no changes to re-install bootblock

and have used MGA control center to alter boot to re-install bootblock

still acts like theres no MBR on disk

can anyone make any suggestion what to try next.

regards peter

Re: replaced harddisk, now only boots off DVD

PostPosted: Apr 17th, '14, 00:57
by jkerr82508
I suppose that you have confirmed that this disk is set as the boot device in the system BIOS.

Jim

Re: replaced harddisk, now only boots off DVD

PostPosted: Apr 17th, '14, 01:03
by wintpe
yes
in my bios i can pic a specific disk to boot off via F8

regards peter

Re: replaced harddisk, now only boots off DVD

PostPosted: Apr 17th, '14, 01:10
by doktor5000
Can you chroot to the cloned system and run a grub shell, then reinstall grub, at least stage 1 ?

Re: replaced harddisk, now only boots off DVD

PostPosted: Apr 17th, '14, 10:58
by wintpe
tried that several times, with no Joy.

what i did try that sheds some light, but does not cure problem,
is if i switch bios into IDE mode away from AHCI mode it does boor, the MBR presents the boot menu,
but subsequently hangs with the kernel command line, and UUID strings from harddisk.

at no point before did this system run in IDE mode.

if i boot from DVD and then select boot from harddisk, in IDE mode it also hangs,
whereas if i boot from DVD and select boot from harddisk, in AHCI mode system behaves as it did before.

Im going to try a complete DVD reinstall tonight, if this does not address the problem,
im sending the GTX back to amazon as incompatible with my motherboard,

which is an ASUS crosshair V formula, first gen, about 3-4 years old now.

regards peter

Re: replaced harddisk, now only boots off DVD

PostPosted: Apr 17th, '14, 15:37
by doktor5000
wintpe wrote:but subsequently hangs with the kernel command line, and UUID strings from harddisk.


FWIW, just want to point out the obvious - you have made sure to put the new UUIDs in /etc/fstab and in the grub config,
or you made sure that you set the UUIDs of the old partitions to the new ones?

Not that this matters for the bootloader AFAIK, but still ...

Re: replaced harddisk, now only boots off DVD

PostPosted: Apr 17th, '14, 17:08
by wintpe
ive never had to mess about with UUID's before with clonezilla

restore a previous clone, and it just works.

and i have checked blkid and fstab and all UUID's are the same.

problem is that ahci mode does not seem to be able to retrieve the MBR.

regards peter

Re: (SOLVED) replaced harddisk, now only boots off DVD

PostPosted: Apr 17th, '14, 19:36
by wintpe
OK, so i feel stupid, but ill share so others might avoid that.....:)

dont overclock your CPU, while it might work, you might start getting disk errors,

and then find that the replacment does not load the MBR

A very happy regards

peter