LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rootnoverify (hd0,0) chainloader +1 error (https://www.linuxquestions.org/questions/linux-software-2/rootnoverify-hd0-0-chainloader-1-error-887989/)

mike999984 06-23-2011 03:27 PM

rootnoverify (hd0,0) chainloader +1 error
 
Yesterday, I was using a CD bootloader to help me boot from usb, and in the process, it unpartitioned my Windows partition (I have both a Windows and an OpenSUSE partition). After finally finding a bootable partition recovery, I managed for it to correctly find my Windows (NTFS) partition. Upon loading it, though, I got the following error:
Quote:

rootnoverify (hd0,0)
chainloader +1
After that, it would do nothing more. Is there any way to fix this? When I enter Linux, I am able to see everything on my Windows partition.

mike999984 06-23-2011 03:58 PM

When I enter GRUB through bash and type in
Quote:

bash> rootnoverify (hd0,0)
bash> makeactive
It says
Quote:

Error 21: Selected disk does not exist

yancek 06-23-2011 05:57 PM

Boot Opensuse, open a terminal, log in as root and type: fdisk -l (lwoer case Letter L in the command). Post that partition information here. Also navigate to the /boot/grub/menu.lst file and post it.


You seem to have messed up your boot files or partitions.

mike999984 06-23-2011 09:13 PM

Alright. Typed in sudo ./fdisk -l

Quote:

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders, total 78165360 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: 0xd109d109

Device Boot Start End Blocks Id System
/dev/sda1 63 78140159 39070048+ 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders, total 39102336 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: 0xa7ca49d4

Device Boot Start End Blocks Id System
/dev/sdb1 63 36997756 18498847 83 Linux
/dev/sdb2 36999168 39100415 1050624 82 Linux swap / Solaris

mike999984 06-23-2011 09:28 PM

I attempted to open menu.lst in Kwrite, but it would show nothing.

syg00 06-23-2011 10:30 PM

Go here, and do as it says - run it from OpenSUSE. Attach the RESULTS.txt so we can see what your boot environment looks like.

yancek 06-23-2011 11:00 PM

Quote:

I attempted to open menu.lst in Kwrite, but it would show nothing
You need to be root to access menu.lst Just type:
Quote:

cat /boot/grub/menu.lst
after logging in as root user.
Posting the results of the bootinfo script suggested above would be the most helpful.

mike999984 06-24-2011 09:43 AM

Results.txt:
Quote:

Boot Info Script 0.60 from 17 May 2011


============================= Boot Info Summary: ===============================

=> Grub Legacy (v0.97) is installed in the MBR of /dev/sda and looks on boot
drive #2 in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst.
=> Windows is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files: /boot.ini /ntldr /NTDETECT.COM

sdb1: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Welcome to openSUSE 11.4
"Celadon" - Kernel ().
Boot files: /boot/grub/menu.lst /etc/fstab

sdb2: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders, total 78165360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 63 78,140,159 78,140,097 7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders, total 39102336 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 63 36,997,756 36,997,694 83 Linux
/dev/sdb2 36,999,168 39,100,415 2,101,248 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 8AF4711BF4710AA9 ntfs
/dev/sdb1 c4cf9886-5df0-4444-888b-831847060d6b ext4
/dev/sdb2 67f35d66-c751-4e3a-9ea6-b393a2f362c9 swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sda1 /windows/C fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdb1 / ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /noexecute=alwaysoff
--------------------------------------------------------------------------------

=========================== sdb1/boot/grub/menu.lst: ===========================

--------------------------------------------------------------------------------
# Modified by YaST2. Last modification on Sat Mar 12 10:40:38 EST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
gfxmenu (hd1,0)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.4
root (hd1,0)
kernel /boot/vmlinuz-2.6.37.1-1.2-default root=/dev/disk/by-id/ata-WDC_WD200BB-32CFC0_WD-WMA9L2013567-part1 resume=/dev/disk/by-id/ata-WDC_WD200BB-32CFC0_WD-WMA9L2013567-part2 splash=silent quiet showopts vga=0x31a
initrd /boot/initrd-2.6.37.1-1.2-default

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4
root (hd1,0)
kernel /boot/vmlinuz-2.6.37.1-1.2-default root=/dev/disk/by-id/ata-WDC_WD200BB-32CFC0_WD-WMA9L2013567-part1 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.37.1-1.2-default
--------------------------------------------------------------------------------

=============================== sdb1/etc/fstab: ================================

--------------------------------------------------------------------------------
/dev/disk/by-id/ata-WDC_WD200BB-32CFC0_WD-WMA9L2013567-part2 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD200BB-32CFC0_WD-WMA9L2013567-part1 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD400BB-22HEA1_WD-WCAJ61359962-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
--------------------------------------------------------------------------------

=================== sdb1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

2.127219677 = 2.284084736 boot/grub/menu.lst 1
2.126956463 = 2.283802112 boot/grub/stage2 1
0.648467541 = 0.696286720 boot/initrd 2
0.648467541 = 0.696286720 boot/initrd-2.6.37.1-1.2-default 2
2.132674694 = 2.289942016 boot/vmlinuz 1
2.132674694 = 2.289942016 boot/vmlinuz-2.6.37.1-1.2-default 1

========= Devices which don't seem to have a corresponding hard drive: =========

sdc sdd sde sdf

=============================== StdErr Messages: ===============================

/dev/sdc: open failed: No medium found
/dev/sdd: open failed: No medium found
/dev/sde: open failed: No medium found
/dev/sdf: open failed: No medium found
No volume groups found
mdadm: No arrays found in config file or automatically

syg00 06-24-2011 06:17 PM

Looking at that, I don't see anything out of the ordinary that would cause Windoze to not boot. However, that can't have been the way the machine was originally. Windows will not install to the MBR of a secondary disk, and even if that was the primary disk at the time, it cannot be entirely installed on another disk.
You may be able to fix this with fixboot from Windows Recovery - plenty of threads about that here on LQ.

You will need to explain (in detail) what you meant by the following - and how you "resolved" it
Quote:

... in the process, it unpartitioned my Windows partition (I have both a Windows and an OpenSUSE partition). After finally finding a bootable partition recovery, I managed for it to correctly find my Windows (NTFS) partition

mike999984 06-24-2011 08:03 PM

I believe the utility I used was called PloP or something along those lines. I was attempting to boot from Linux using the CD after if failed to boot me through the USB. It said I had three partitions- I assume one is Windows, the second is Linux, and the third is the swap drive. I tried the second, and that just took me back to the menu, so I tried the third and it did the same. After attempting to try the second again, it said I only had two partitions instead of three, and neither of these were bootable (from the CD, I could boot into Linux from my normal GRUB) I have no idea how it unpartitioned Windows. I used a bootable version of Easeus (the "bootable" part was through BartPE). It had found the Windows partition, but did not give it a label, only said it was NTFS. It repartitioned it, but I still was unable to boot into Windows.

yancek 06-24-2011 09:13 PM

What looks unusual to me is that you have windows installed on sda (40GB drive) but windowss bootloader in the master boot record of sdb (20GB drive).
You have Opensuse installed on sdb (20GB drive) and its bootloader (Grub) installed in the master boot record of sda (40GB drive).
I don't know how or why you would do that?
It seems your best option would be to reinstall the windows bootloader to the master boot record of sda. You should be able to find posts searching here at LQ on how to do that. I believe you would need an xp installation CD.

mike999984 06-25-2011 10:22 AM

Alright, I'll attempt to do that. And I really have no idea how that would have happened. I had installed Windows and OpenSUSE at the same time; Windows first on the 40gb drive, and then OpenSUSE on the 20gb.


All times are GMT -5. The time now is 08:20 PM.