Hi everyone, I hope you can help me out here because I’m really enjoying openSUSE. I installed 12.3 about a week ago and have been learning the ins and outs. It reboots into openSUSE just fine and WinXP shows up in grub. However, every time I try to load Windows, the screen goes black and there is a rapidly repeating beep. My only option at that point is to hit the power button and shut it off. I can access files from windows while in openSUSE, just can’t see to get it to boot. Any ideas?
Show us
sudo fdisk -l
note a lowe case L not a one
Tell use what partitions you think the windows boot is on
Disk /dev/sda: 160.0 GB, 160041885696 bytes
138 heads, 12 sectors/track, 188757 cylinders, total 312581808 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: 0x8f522883
Device Boot Start End Blocks Id System
/dev/sda1 12 210934667 105467328 7 HPFS/NTFS/exFAT
/dev/sda2 * 210935808 312580095 50822144 f W95 Ext’d (LBA)
/dev/sda5 210935809 215129304 2096748 82 Linux swap / Solaris
/dev/sda6 215130112 254384127 19627008 83 Linux
/dev/sda7 254384129 312580095 29097983+ 83 Linux
Windows should be on sda1 and sda2. I’ve been playing with the boot loader software trying to see if that would fix it and I’ve managed to change the grub screen from the default background for openSUSE to a black one. (Windows still doesn’t boot, just to be clear). I appreciate the help.
EDIT: Sorry, not sure how to keep the formatting for the table
Use code blocks (# in editor here) to keep format.
try
YasT ==>Boot Loader ==>==>Boot Loader options ==> Probe foreign Os check this option.
Windows is on sda1, sda2 is an extended partition
Disk /dev/sda: 160.0 GB, 160041885696 bytes
138 heads, 12 sectors/track, 188757 cylinders, total 312581808 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: 0x8f522883
Device Boot Start End Blocks Id System
/dev/sda1 12 210934667 105467328 7 HPFS/NTFS/exFAT
/dev/sda2 * 210935808 312580095 50822144 f W95 Ext'd (LBA)
/dev/sda5 210935809 215129304 2096748 82 Linux swap / Solaris
/dev/sda6 215130112 254384127 19627008 83 Linux
/dev/sda7 254384129 312580095 29097983+ 83 Linux
At class right now, will try that as soon as I get home. Do I want the star in the boot column to be on sda1 or should it be on sda2?
Yes in most cases you want the boot partition set there. It somewhat depends on where you installed the grub code and if you used a generic MBR. I think by default the installer puts grub code in the MBR so in that case it does not mater where the boot flag is set. It only matters if you are using generic/MS MBR code which uses that flag.
I ended up reinstalling openSUSE so that I could get it back to default settings. In the boot loader, only boot from extended is checked. In boot loader options, everything except hide boot menu is checked. When installing, I used all the recommended settings by the installer. Still no luck, as soon as I select Windows, the screen goes black and I get repeating short beeps. I ran fdisk -l again and its identical to what I posted.
Sounds like a reinstall to me.
Reinstall windows, when youre done, it should be easy with the opensuse dvd, to get the openSUSE entry back in the mbr.
On 2013-10-03 00:36, jonzn4suse wrote:
>
> Sounds like a reinstall to me.
Or windows repair.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
In reading around, I came across another thread with similar problems and they were told it was a bad boot sector and to use testdisk to fix it. I installed it and followed the steps until I got this
TestDisk 6.10, Data Recovery Utility, July 2008
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63
Partition Start End Size in sectors
1 P HPFS - NTFS 0 0 13 13130 19 21 210934656
Boot sector
Warning: Incorrect number of heads/cylinder 138 (NTFS) != 255 (HD)
Warning: Incorrect number of sectors per track 12 (NTFS) != 63 (HD)
Status: OK
Backup boot sector
Warning: Incorrect number of heads/cylinder 138 (NTFS) != 255 (HD)
Warning: Incorrect number of sectors per track 12 (NTFS) != 63 (HD)
Status: OK
Sectors are identical.
A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
According to the instructions, I’m supposed to select a “BackupBS” tab, but all I have is “List” “Rebuild BS” “Repair MFT” and “Dump”
I hope this sheds a little more light on what my problem actually is.
Ok a bad sector can be the beginnings of a disk failing. It looks to me that you may have at lest a corrupted Windows boot sector. To be on the safe side you should run smartctl to see if the damage is physical.
BTW did you clone the Windows from a different drive? That might explain the difference in the reported geometry.
smartctl 6.0 2012-10-10 r3643 [i686-linux-3.7.10-1.16-desktop] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Momentus 5400.3
Device Model: ST9160821AS
Serial Number: 5MA1BVDJ
Firmware Version: 3.ALC
User Capacity: 160,041,885,696 bytes [160 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Fri Oct 4 06:40:50 2013 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 426) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 111) minutes.
SCT capabilities: (0x0001) SCT Status supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 100 253 006 Pre-fail Always - 0
3 Spin_Up_Time 0x0003 099 099 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 099 099 020 Old_age Always - 1248
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 068 060 030 Pre-fail Always - 25814599195
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 1477
10 Spin_Retry_Count 0x0013 100 100 034 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 099 099 020 Old_age Always - 1251
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
189 High_Fly_Writes 0x003a 098 098 000 Old_age Always - 2
190 Airflow_Temperature_Cel 0x0022 069 038 045 Old_age Always In_the_past 31 (8 203 31 27 0)
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 1035
193 Load_Cycle_Count 0x0032 066 066 000 Old_age Always - 69765
194 Temperature_Celsius 0x0022 031 062 000 Old_age Always - 31 (0 16 0 0 0)
195 Hardware_ECC_Recovered 0x001a 092 059 000 Old_age Always - 118617625
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 Data_Address_Mark_Errs 0x0032 100 253 000 Old_age Always - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
I interpret this to mean that the hard drive is healthy but old? The laptop is about 8 years old, fwiw. No, it’s not cloned. The laptop cam with Vista on it, I reformatted and put XP on it and it’s been like that until I installed openSUSE 12.3 the other week.
Find Grub Version 4.4.1 - Written for openSUSE Forums
- reading MBR on disk /dev/sda ... --> Grub2 (2.00) found in sda MBR => sda6 0x83 (openSUSE)
- searching partition /dev/sda1 (NTFS) ... --> Windows NT/2K/XP Loader found in /dev/sda1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can add the following entry to /boot/grub/menu.lst :
###Don't change this comment - YaST2 identifier: Original name: WindowsBootLoader###
title Windows on /dev/sda1
rootnoverify (hd0,0)
chainloader +1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- reading bootsector /dev/sda2 * (Extended) ... --> Grub2 (2.00) found in /dev/sda2 => sda6 0x83 (openSUSE)
- skipping partition /dev/sda5 (swap)
- reading bootsector /dev/sda6 (LINUX) ...
- reading bootsector /dev/sda7 (LINUX) ...
Press <enter> to Exit findgrub...
I just ran findgrub as recommended in another thread and got this. However, I can’t seem to locate the file menu.lst anywhere. It’s not in /boot/grub or /boot/grub2
No such file for grub2. The old legacy grub used it but not the new grub2.
Did you try going to yast-boot and see if re setting up grub2 will work? There is a check box to have it scan for other OSs.
But I think that your Windows may be broken.
On 2013-10-04 14:06, Broomhill wrote:
>
> Code:
> --------------------
> smartctl 6.0 2012-10-10 r3643 [i686-linux-3.7.10-1.16-desktop] (SUSE RPM)
> Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org
…
> 202 Data_Address_Mark_Errs 0x0032 100 253 000 Old_age Always - 0
>
> SMART Error Log Version: 1
> No Errors Logged
>
> SMART Self-test log structure revision number 1
>
> SMART Selective self-test log data structure revision number 1
> SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
> 1 0 0 Not_testing
> 2 0 0 Not_testing
> 3 0 0 Not_testing
> 4 0 0 Not_testing
> 5 0 0 Not_testing
> Selective self-test flags (0x0):
> After scanning selected spans, do NOT read-scan remainder of disk.
> If Selective self-test is pending on power-up, resume after 0 minute delay.
> --------------------
>
> I interpret this to mean that the hard drive is healthy but old?
1500 hours is not old.
There are no bad entries, but you have never run any tests on it. You
should run the short test, verify the output, then the long test, and
verify the output. Till you do, it means little.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
=== START OF INFORMATION SECTION ===
Model Family: Seagate Momentus 5400.3
Device Model: ST9160821AS
Serial Number: 5MA1BVDJ
Firmware Version: 3.ALC
User Capacity: 160,041,885,696 bytes [160 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Wed Oct 9 06:59:09 2013 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 116) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: ( 426) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 111) minutes.
SCT capabilities: (0x0001) SCT Status supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 106 100 006 Pre-fail Always - 12472461
3 Spin_Up_Time 0x0003 099 099 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 099 099 020 Old_age Always - 1281
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 067 060 030 Pre-fail Always - 34405247057
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 1504
10 Spin_Retry_Count 0x0013 100 100 034 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 099 099 020 Old_age Always - 1284
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
189 High_Fly_Writes 0x003a 098 098 000 Old_age Always - 2
190 Airflow_Temperature_Cel 0x0022 063 038 045 Old_age Always In_the_past 37 (9 217 37 37 0)
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 1057
193 Load_Cycle_Count 0x0032 064 064 000 Old_age Always - 73640
194 Temperature_Celsius 0x0022 037 062 000 Old_age Always - 37 (0 16 0 0 0)
195 Hardware_ECC_Recovered 0x001a 095 058 000 Old_age Always - 25291330
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 1
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 1
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 Data_Address_Mark_Errs 0x0032 100 253 000 Old_age Always - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed: read failure 40% 1497 263407055
# 2 Short offline Completed without error 00% 1496 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Ran the tests, but I’m not tech savvy enough to know what it means. I do know that a read failure is a bad thing. I never had a problem with windows before, would the issue have manifested had I not tried to install openSUSE?
On 2013-10-09 14:16, Broomhill wrote:
>
> Code:
> --------------------
> SMART Attributes Data Structure revision number: 10
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
> 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
> 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 1
> 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 1
> Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
> # 1 Extended offline Completed: read failure 40% 1497 263407055
> # 2 Short offline Completed without error 00% 1496 -
> --------------------
> Ran the tests, but I’m not tech savvy enough to know what it means. I
> do know that a read failure is a bad thing. I never had a problem with
> windows before, would the issue have manifested had I not tried to
> install openSUSE?
Those failures are random. You can not really blame anything you did,
anything you installed or removed.
The long test does a surface test, found an error, and aborted at 60%.
LBA of the error was 263407055. The disk has 312581808, that’s about
84%, no?
Hard disks have an area dedicated to remap bad sectors, transparent to
the OS. Parameter 5 shows how many are used; so far zero. Parameter 197
shows how many are waiting to be remapped; the remapping happens when a
write to a bad sector is attempted.
One error is not really important, but the problem is, we don’t know if
there are more beyond that point, or if the damage is growing.
What I do at this point is:
-
Do an image backup to another disk with “dd_rhelp”.
-
Overwrite the entire disk with zeroes, using dd.
-
Rerun the long test.
-
If there are more uncorrected errors, repeat from 2.
-
If the number keeps increasing, quit, replace the disk. Otherwise, I
keep it (keeping an eye on periodical long tests). -
Restore disk from image made on step 1.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))