openSUSE Forums > Install/Boot/Login » grub error 21

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
Page 1 of 3 1 23
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-Nov-2009, 23:19
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 12
nisJJ hasn't been rated much yet
Default grub error 21

i recently followed a tutorial to install suse from a live cd onto a usb drive, it worked great except that it created a grub and now i can no longer boot my wondows xp OS from my hard drive with or with out the usb.

im at a loss of what to do, this is my work laptop, i do not have an XP install disc.

ive read about using lilo, ms-sys ect ect this has not worked

when i bring up fdisk -l i see the usb partitions and the ntfs partitions except they are llisted as /dev/sdb1/ * & /dev.sdb2/

my windows OS did have to partitions, a c and d drive.

what can i do to resolve this situation?

please help.
Reply With Quote
  #2 (permalink)  
Old 07-Nov-2009, 23:28
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,888
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: grub error 21

Do you get the same grub error with or without the usb
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #3 (permalink)  
Old 07-Nov-2009, 23:41
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 12
nisJJ hasn't been rated much yet
Default Re: grub error 21

with the USB i can load suse (but no windows option in the suse grub) with out the USB i get the error 21, with a live cd i load into the live cd menu
Reply With Quote
  #4 (permalink)  
Old 07-Nov-2009, 23:47
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,888
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: grub error 21

Please post the result of these:

From a su terminal - with the usb in

Code:
fdisk -l
Code:
cat /boot/grub/menu.lst
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #5 (permalink)  
Old 07-Nov-2009, 23:49
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 12
nisJJ hasn't been rated much yet
Default Re: grub error 21

fs tab
/dev/disk/by-id/usb-USB_2.0_USB_Flash_Drive_269663057a6556-0:0-part1 swap swap defaults 0 0
/dev/disk/by-id/usb-USB_2.0_USB_Flash_Drive_269663057a6556-0:0-part2 / ext3 acl,user_xattr 1 1
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


device map
hd1) /dev/disk/by-id/usb-USB_2.0_USB_Flash_Drive_269663057a6556-0:0
(hd0) /dev/disk/by-id/ata-ST960813AS_5LY5SX6Y


fdisk -l
Disk /dev/sda: 4043 MB, 4043309056 bytes
255 heads, 63 sectors/track, 491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x04dd5721

Device Boot Start End Blocks Id System
/dev/sda1 1 64 514048+ 82 Linux swap / Solaris
/dev/sda2 65 491 3429877+ 83 Linux

Disk /dev/sdb: 60.0 GB, 60011642880 bytes
240 heads, 63 sectors/track, 7752 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xcb13b13e

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4979 37634048 7 HPFS/NTFS
/dev/sdb2 4979 7752 20968448 7 HPFS/NTFS
Reply With Quote
  #6 (permalink)  
Old 07-Nov-2009, 23:51
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 12
nisJJ hasn't been rated much yet
Default Re: grub error 21

menu.lst

# Modified by YaST2. Last modification on Fri Nov 6 17:42:42 EST 2009
default 0
timeout 8
gfxmenu (hd1,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1
root (hd1,1)
kernel /boot/vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/usb-USB_2.0_USB_Flash_Drive_269663057a6556-0:0-part2 resume=/dev/disk/by-id/usb-USB_2.0_USB_F$
initrd /boot/initrd-2.6.27.7-9-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1
root (hd1,1)
kernel /boot/vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/usb-USB_2.0_USB_Flash_Drive_269663057a6556-0:0-part2 showopts ide=nodma apm=off noresume nosm$
initrd /boot/initrd-2.6.27.7-9-default
Reply With Quote
  #7 (permalink)  
Old 08-Nov-2009, 00:02
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,888
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: grub error 21

add this to the end of menu.lst
we may have to edit it further so don't panic

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #8 (permalink)  
Old 08-Nov-2009, 00:05
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 12
nisJJ hasn't been rated much yet
Default Re: grub error 21

ok ive added it, im assuming i should reboot and see if selecting this option from the grub will bring up windows?
Reply With Quote
  #9 (permalink)  
Old 08-Nov-2009, 00:09
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,888
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: grub error 21

Quote:
Originally Posted by nisJJ View Post
ok ive added it, im assuming i should reboot and see if selecting this option from the grub will bring up windows?
Correct. Make a note if it errors again at trying the new win entry
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #10 (permalink)  
Old 08-Nov-2009, 00:15
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 12
nisJJ hasn't been rated much yet
Default Re: grub error 21

map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

error 13: Invalid or unsupported executable format

press any key to continue...
Reply With Quote
Reply
Page 1 of 3 1 23

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2