mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2007-11-12, 22:16   #1
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3×7×167 Posts
Default Weird problem probably involving hard drive

Can anyone think of a reason that a computer can boot from a cd and access a hard drive, but as soon as you try to boot from the hard drive, and this happens with more than one OS, you get an error immediately?

I have a quad-core cpu and 2 GB of RAM. We were switching components from case to case, since in my old case, the power supply was just sort of sitting there without being connected to anything. So, other than the power supply and the case, it's the same components that originally worked fine.

Last fiddled with by jasong on 2007-11-12 at 22:58
jasong is offline   Reply With Quote
Old 2007-11-13, 17:45   #2
rx7350
 
rx7350's Avatar
 
Feb 2006
AR, US

24×32 Posts
Default

What is the error you are getting?
rx7350 is offline   Reply With Quote
Old 2007-11-13, 21:54   #3
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

1101101100112 Posts
Default

Quote:
Originally Posted by rx7350 View Post
What is the error you are getting?
Code:
A disk read error occurred

Press Ctr+Alt+Del to restart.
jasong is offline   Reply With Quote
Old 2007-11-13, 23:31   #4
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

2·7·677 Posts
Default

Sounds like a problem with the area where the OS resides.
Uncwilly is offline   Reply With Quote
Old 2007-11-13, 23:47   #5
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

361710 Posts
Default

Is it a problem caused by master/slave/cable select pin jumper on HDD and CD? Do either share a cable to the mainboard?

Does the HDD have a boot program in the boot sector?

Last fiddled with by paulunderwood on 2007-11-13 at 23:52
paulunderwood is offline   Reply With Quote
Old 2007-11-16, 01:58   #6
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3·7·167 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Is it a problem caused by master/slave/cable select pin jumper on HDD and CD? Do either share a cable to the mainboard?
There's only one hard drive, and I'm pretty sure it's set to master. I'll check tomorrow afternoon, so I'll be less likely to stay up until 0230 trying to figure it out, like last night.

Quote:
Does the HDD have a boot program in the boot sector?
Good question. If neither Linux nor Windows XP cds install that, but instead, expect it to already be there, that could easily be the problem. Does booting with a cd bypass the problem? I'm running mprime successfully with a boot cd.
jasong is offline   Reply With Quote
Old 2007-11-16, 02:20   #7
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,617 Posts
Default

It is tricky to get a boot program installed; There are many ways. From memory, you can boot the (Ubuntu) CD and run GRUB specifying the config file and the target -- most likely /dev/hda (if primary master). The config file is most like to reside on the HDD, so you will have to have it mounted, so that the config file will be something like /media/hda/boot/grub/menu.lst ("l" not "1"). Anyway, do a "man grub" for details, and "man mount" and "man umount". HTH

ps. CDs have master/slave modes too. If CD and HDD are both set to master and share the same ribbon you might have problems...

pps. run "fdisk /dev/hda" and check the boot flag is set for the linux partition. "man fdisk" too.

Last fiddled with by paulunderwood on 2007-11-16 at 02:28
paulunderwood is offline   Reply With Quote
Old 2007-11-16, 02:41   #8
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

22×32×223 Posts
Default

Quote:
pps. run "fdisk /dev/hda" and check the boot flag is set for the linux partition. "man fdisk" too.
Note the asterisk:

Code:
# fdisk -l /dev/hda

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb8bfb8bf

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        9729    78148161   83  Linux
Does the drive show up in the BIOS?

First you need to make sure the drive is being seen physically before you start worrying about the MBR and stuff. There are numerous ways to install or repair a MBR.
Xyzzy is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using SDHC as Hard Drive EdH Hardware 10 2017-02-13 19:25
Real world problem, involving the the surface of the earth. Uncwilly Programming 21 2015-04-25 20:20
Hard Drive Failure? In 3... 2... 1... TheMawn Lounge 32 2013-10-12 06:06
Resuming L-L with a clean hard drive Unregistered PrimeNet 6 2005-01-05 14:16
wow...1 Tb hard drive ixfd64 Hardware 8 2004-06-03 20:37

All times are UTC. The time now is 09:33.

Sun Apr 11 09:33:55 UTC 2021 up 3 days, 4:14, 1 user, load averages: 1.69, 1.98, 2.03

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.