Page 1 of 2 12 LastLast
Results 1 to 16 of 27

Thread: GRUB Error

  1. #1
    Senior Member
    Join Date
    Jan 2006
    Location
    Oop North
    Posts
    1,403
    Thanks
    2
    Thanked
    4 times in 4 posts

    GRUB Error

    Hey

    I installed openSUSE on my desktop today and it installed GRUB. Now I can't book into Windows. When I choose it in the list, the screen just shows the following:

    Code:
    rootnoverify (hd1,3)
    chainloader (hd1,0)+1
    Both openSUSE and XP are installed on the same harddrive, on different partitions. My windows share shows up in openSUSE as /sda5.

    How can I fix this to get XP to boot? From what I've read on the Internet, it's a configuration problem with GRUB. I don't know what to change grub.conf to though.

    Thanks

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: GRUB Error

    i don't like the look of that config at all. can you boot into linux, and paste the content of your /boot/grub/menu.lst file?

    I suspect it's something as simple as changing references from hd1 to hd0 (if it were hd1, then it would be sdb5 not sda5), but best to be sure, yeah?

  3. #3
    Senior Member
    Join Date
    Jan 2006
    Location
    Oop North
    Posts
    1,403
    Thanks
    2
    Thanked
    4 times in 4 posts

    Re: GRUB Error

    Here you go:

    Code:
    # Modified by YaST2. Last modification on Mon Dec  3 23:04:38 GMT 2007
    default 0
    timeout 8
    gfxmenu (hd1,3)/boot/message
    ##YaST - activate
    
    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE
        root (hd1,3)
        kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/disk/by-id/scsi-SATA_Maxt                                                                                                       or_6V160E0_V393K5VG_V393K5VG-part4 vga=0x31a resume=/dev/sda3 splash=silent show                                                                                                       opts
        initrd /boot/initrd-2.6.22.5-31-default
    
    ###Don't change this comment - YaST2 identifier: Original name: windows###
    title Windows
        rootnoverify (hd1,3)
        chainloader (hd1,0)+1
    
    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- openSUSE
        root (hd1,3)
        kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/disk/by-id/scsi-SATA_Maxt                                                                                                       or_6V160E0_V393K5VG_V393K5VG-part4 vga=normal showopts ide=nodma apm=off acpi=of                                                                                                       f noresume nosmp noapic maxcpus=0 edd=off 3
        initrd /boot/initrd-2.6.22.5-31-default
    Thanks

  4. #4
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: GRUB Error

    well, I find the use of hd1 bizarre, but it appears to work for you.

    at a glance, I think changing the rootnoverify line from (hd1,3) to (hd1,4) should suffice. but the layout of the file is a little different to mine

  5. #5
    Senior Member
    Join Date
    Jan 2006
    Location
    Oop North
    Posts
    1,403
    Thanks
    2
    Thanked
    4 times in 4 posts

    Re: GRUB Error

    Hey

    I changed it to (hd1,4), but I get the same error as before. Now it says:

    rootnoverify (hd1,4)
    chainloader (hd1,0)+1

    Any ideas?

    Thanks

  6. #6
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: GRUB Error

    try rootnoverify (hd1,2)?
    (thats my guess)

  7. #7
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: GRUB Error

    well, it's definitely non-standard. it's the "chainloader" bit that looks especially funny to me. your Windows install is definitely on /dev/sda5? (i.e. you don't have multiple windows partitions)?

    okay, try replacing your entire "title windows" section with the following:
    title Windows
    root (hd1,4)
    savedefault
    makeactive
    chainloader +1

  8. #8
    Senior Member
    Join Date
    Jan 2006
    Location
    Oop North
    Posts
    1,403
    Thanks
    2
    Thanked
    4 times in 4 posts

    Re: GRUB Error

    hex, I tried that and got the following:

    Code:
    root (hd1,4)
    Filesystem type unknown, partition type 0x7
    savedefault
    makeactive
    
    Error 12: Invalid device requested
    
    Press any key to continue. . .
    When I press a key, it goes back to GRUB, but with a commandline style gui, not the normal openSUSE coloured one.

    Thanks for your help on this. I've no idea why it's doing this.

  9. #9
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: GRUB Error

    we need to clear up this partitions issue once & for all. can you open a terminal, run "su" to switch to the root user, then give me the output from "fdisk -l /dev/sda /dev/sdb"?

  10. #10
    Senior Member
    Join Date
    Jan 2006
    Location
    Oop North
    Posts
    1,403
    Thanks
    2
    Thanked
    4 times in 4 posts

    Re: GRUB Error

    Code:
    Disk /dev/sda: 160.0 GB, 160000000000 bytes
    255 heads, 63 sectors/track, 19452 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xf8e0f8e0
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           2       15882   127564101    7  HPFS/NTFS
    /dev/sda2           16903       19451    20474842+   f  W95 Ext'd (LBA)
    /dev/sda3           15883       16011     1036192+  82  Linux swap / Solaris
    /dev/sda4           16012       16902     7156957+  83  Linux
    /dev/sda5           16903       19451    20474811    7  HPFS/NTFS
    
    Partition table entries are not in disk order
    
    Disk /dev/sdb: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x6dfde6ec
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       24321   195358401   42  SFS
    Thanks

  11. #11
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: GRUB Error

    you have *TWO* NTFS partitions? i didn't know that. which one is windows installed on?

    and, for reference, your partition table looks really messed up. it ought to be possible to get it booting, but it's definitely "wrong" in the technical sense. and god knows what's going on with your second hard disk
    Last edited by directhex; 04-12-2007 at 04:01 PM.

  12. #12
    Senior Member
    Join Date
    Jan 2006
    Location
    Oop North
    Posts
    1,403
    Thanks
    2
    Thanked
    4 times in 4 posts

    Re: GRUB Error

    Windows is on
    /dev/sda5 16903 19451 20474811 7 HPFS/NTFS

  13. #13
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: GRUB Error

    can you paste the content of /boot/grub/device.map ? i'm discussing it with an associate, trying to track down the issue

  14. #14
    Senior Member
    Join Date
    Jan 2006
    Location
    Oop North
    Posts
    1,403
    Thanks
    2
    Thanked
    4 times in 4 posts

    Re: GRUB Error

    (hd1) /dev/sda
    (hd0) /dev/sdb

    Thanks

  15. #15
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: GRUB Error

    and to make sure i'm reading this output correctly:

    you have a linux partition of about 7 gig, a linux swap partition of about 1 gig, a windows partition (with windows on it, probably d of 20 gig, and another windows partition (probably c of about 127 gig?

  16. #16
    Senior Member
    Join Date
    Jan 2006
    Location
    Oop North
    Posts
    1,403
    Thanks
    2
    Thanked
    4 times in 4 posts

    Re: GRUB Error

    yeah

    the 20gb windows partition showed up in windows as K

    the 127gb partition im not bothered about booting. i should really get round to deleting it, but moving all my files off of there would be a pita.

    its the 20gb partition I need to boot.

    Thanks

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. graphics card error
    By amit12345 in forum PC Hardware and Components
    Replies: 0
    Last Post: 09-04-2007, 03:43 PM
  2. Did my OC cause this?
    By myth in forum PC Hardware and Components
    Replies: 19
    Last Post: 05-04-2005, 12:36 PM
  3. 8o!! taste hot WineX powaaah!
    By directhex in forum Software
    Replies: 33
    Last Post: 31-05-2004, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •