(SOLVED) replaced harddisk, now only boots off DVD

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

(SOLVED) replaced harddisk, now only boots off DVD

Postby wintpe » Apr 16th, '14, 23:05

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
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: replaced harddisk, now only boots off DVD

Postby jkerr82508 » Apr 17th, '14, 00:57

I suppose that you have confirmed that this disk is set as the boot device in the system BIOS.

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: replaced harddisk, now only boots off DVD

Postby wintpe » Apr 17th, '14, 01:03

yes
in my bios i can pic a specific disk to boot off via F8

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: replaced harddisk, now only boots off DVD

Postby doktor5000 » Apr 17th, '14, 01:10

Can you chroot to the cloned system and run a grub shell, then reinstall grub, at least stage 1 ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18068
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: replaced harddisk, now only boots off DVD

Postby wintpe » Apr 17th, '14, 10:58

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
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: replaced harddisk, now only boots off DVD

Postby doktor5000 » Apr 17th, '14, 15:37

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 ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18068
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: replaced harddisk, now only boots off DVD

Postby wintpe » Apr 17th, '14, 17:08

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
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

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

Postby wintpe » Apr 17th, '14, 19:36

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
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest