
how-to block ads
|
|
Share Topic  |
 |
|
|
|
 koitsuPremium,MVM join:2002-07-16 Mountain View, CA kudos:20 | reply to squircle
Re: Motherboard suddenly stopped booting? The system is almost certainly POSTing. You're insistent that the problem is with the motherboard, while I would argue heavily against it. I realise you're very insistent that GRUB is not being run at all, but you really don't know that for certain -- there's a lot of x86 code that runs in the MBR and subsequent bootstraps before anything is displayed on-screen. The same goes for any x86 bootloader (and this is where things like Sparc's PROM come in handy, too bad PC architecture sucks :P).
Three possibilities as I see them:
1) When you swapped drives, the previous drive was operating in either CHS, Large (ECHS), or possibly LBA addressing mode -- while the new drive is operating in a different mode. This will throw all sorts of things for a loop, particularly bootloaders (as the drive geometry now appears different). The default which most BIOSes use -- "Auto" -- picks whichever the BIOS feels is best. This may be different for the 200GB drive than the 320GB drive. This is one of the many reasons IDE/PATA sucks. 
I would suggest playing around with this setting in the BIOS. I would also suggest putting the 200GB drive back into the system and seeing what the kernel reports as drive geometry; if the BIOS shows a summary screen, it might also disclose what the addressing mode used is for that model of drive (this is pretty common). If not, try changing it in the BIOS (with the 200GB drive) and see if you can find the non-Auto mode which works reliably, then try that on the 320GB drive.
2) A problem with the bootloader installation on the new 320GB drive. Whatever you used to "duplicate the old to the new" may not have duplicated all the necessary bits. I am not extensively familiar with GRUB, but as I understand it changing any part of the underlying disk hardware requires one rewrite the bootloader (that's the MBR and all subsequent bootstraps). This is especially important if the drive addressing mode changes.
If you're using an MBR scheme then this would be LBA 0 and whatever subsequent boot stages that come after that (GRUB is a multi-stage bootloader and lives both within the MBR as well as subsequent LBAs).
If you're using a GPT scheme, GPT bootstraps are somewhat scattered -- usually LBA 0 is used for booting into the next bootstrap portion (which usually lives within the first 512KBytes of the drive) -- but the GPT table itself lives both around there as well as at the end of the drive. See Wikipedia's article on GPT.
I would recommend you boot some CD/DVD-based distro (whichever you used to get into GRUB to begin with) and rewrite the GRUB bits from there. You may find that's all it takes -- and if that's the case, it's either (1) or (2) which occurred.
3) A combination of (1) and (2).
Remember: LBA-to-LBA copies do not guarantee that the system will be usable/bootable afterwards, just that you copied every LBA from X to Y. PATA's addressing mode stuff makes it difficult. This is why when upgrading boot drives, I often tell people to just reinstall the OS. -- Making life hard for others since 1977. I speak for myself and not my employer/affiliates of my employer. | |  Reviews:
·linode
| Thanks for your reply!
When I cloned the drives, I copied, bit-for-bit, from the beginning of the drive until the beginning of the first partition (which copied the MBR table and stuff), so I figured that would work. When it didn't, I nuked all those bytes, reconstructed the partition table and re-installed the bootloader from scratch, so I was somewhat surprised when even that didn't work. The part I find odd is that it's having trouble booting but I can access every LBA on the drive without issue, and everything seems to be in the proper place. I suppose I could give the boot repair CD a try and see if that works, but if it doesn't, I guess I'll have to take a look at the BIOS.
FWIW, they're both Seagate Barracuda 7200.10 drives, they just differ in capacity. Of course, the logical part of me is thinking they can't be that different, but I may be wrong and it may be #1 after all.
And I totally agree with you that IDE/PATA sucks; I just wish I had more ports (and drives) so I could boot from SATA and be done with it.
I'll investigate further and let you know!  | |  koitsuPremium,MVM join:2002-07-16 Mountain View, CA kudos:20 | The drives having the same series number (7200.10) does not mean "they're pretty much identical". The capacity increasing means the platter count may have changed (though the platter itself definitely has), which also means the total LBA count has increased. LBA count directly affects a BIOS's decision to use CHS vs. Large (ECHS) vs. LBA mode. That addressing mode choice also affects how a bootloader makes its decisions; i.e. when you write the boot blocks, it may have been when using CHS addressing, so it may have decided to write things to C=839, H=255, S=0, while on the new drive it may be using LBA which would use a totally different location. On the bright side, at least sector size didn't change. 
I would suggest examining the addressing modes in the BIOS first, as that's the most likely explanation for a non-bootable PATA system (in your situation) that I can think of. -- Making life hard for others since 1977. I speak for myself and not my employer/affiliates of my employer. | | |
|
|