Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Yast2: Error occurred while installing GRUB

  1. #1

    Default Yast2: Error occurred while installing GRUB

    I was at the following point during installation:

    Code:
    >> Perform installation
    >>>> Install boot manager
    I received the following error:

    Code:
    Yast2: Error occurred while installing GRUB
    
    GNU GRUB version 0.97 (640K lower/3072K upper memory)
    
    [Minimal BASH-Like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.]
    
    grub>setup -stage2=/boot/grub/stage2 (hd0)(hd0,0)
    
    Error 17: Cannot mount selected partition
    
    grub>quit
    I have the following installation situation. I have six hard-drives. Three are IDE and used for data, two are a SATA-150 RAID 1 which is used for WinXP and I now have a new SATA-300 on which I was trying to install openSUSE.

    My full system specification:

    Win XP Pro SP2 / openSUSE 10.2 / Kubuntu 7.01
    MSI K8N Neo4 SLI Platinum (model MS-7100) / BIOS - 3.0 - / PCB version - 3.00 -
    64-bit Athlon 3200+
    2x1024 Mb Corsair Value RAM PC3200
    Leadtek 128Mb 6600GT PCIe Graphics Card / Integrated Creative 24-bit SoundBlaster Sound Card
    Silicon Image SiI 0680 Ultra-133 Medley ATA Raid Controller
    2 x Maxtor DiamondMax 10 6B160M0 160GB SATA-150 8MB = RAID 1
    1 x Maxtor DiamondMax Plus 10 6B200PO 200GB ATA-133 8MB
    1 x WD Caviar WD1600BB 160GB ATA-100 2MB
    1 x WD Caviar WD1200AB 120GB ATA-100 2MB
    1 x Maxtor Diamondmax 22 500GB SATA-II 32MB
    DVDRW : LG-GSA-4167B / CD-RW : Asus CRW-5224A / 1.44MB 3.5"
    CNET CWP-854 rt61 wireless-G PCI adapter
    Thermaltake Toughpower 700W (w105) / +3.3V 30A = +5V 28A = 4x +12V 18A
    MSI K8N Neo4 SLI Platinum / 64-bit Athlon 3200+ / 2x1024 Mb Corsair Value RAM PC3200
    Leadtek 128Mb 6600GT PCIe
    CNET CWP-854 rt61 wireless-G PCI adapter
    Thermaltake Toughpower 700W (w105) / +3.3V 30A = +5V 28A = 4x +12V 18A

  2. #2

    Default Re: Yast2: Error occurred while installing GRUB

    My last post contains an error but editing does not appear possible. I currently have no Linux installations on this computer. The last one to work at all was openSUSE 10.2. In that case, it was installed on the RAID and the new SATA-300 drive was not in my machine. Perhaps it would be possible to install openSUSE 10.2 and then upgrade from there?
    MSI K8N Neo4 SLI Platinum / 64-bit Athlon 3200+ / 2x1024 Mb Corsair Value RAM PC3200
    Leadtek 128Mb 6600GT PCIe
    CNET CWP-854 rt61 wireless-G PCI adapter
    Thermaltake Toughpower 700W (w105) / +3.3V 30A = +5V 28A = 4x +12V 18A

  3. #3
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Yast2: Error occurred while installing GRUB

    Very interesting configuration. Probably it confused the install software. So you need to repair the bootloader installation.

    You can try this: boot the Suse install DVD and select on the first screen to "Repair Installed System". Wait for the screen displaying three choices including "Expert Tools" and select "Expert Tools". Then click option "Install New Boot Loader". Select the partition where you installed Suse (if asked). You'll get the Grub GUI setup screen. Check under the Tab "Boot Loader Installation" that the checkmark is in "Boot from Master Boot Record" and remove any other checkmarks. Click "Finish". Wait for message "The boot loader was installed successfully". Click OK --> Next --> Finish. Ignore any error messages and reboot.

    That should get you booting to openSUSE and then you initialise Grub again to get multiboots included in the Grub menu. More on that here:
    GRUB Boot Multiboot openSUSE Windows (2000, XP, Vista) using the Grub bootloader.

    Hopefully those new configs won't get confused -- try it out.

    EDIT: I misread the bit about no Linux at all -- you could try 11.0 and repair the bootloader after it fails -- or you could install 10.2 but I feel an upgrade to 11.0 from 10.2 is a big leap, particularly since drive nomenclature changed from like hda1 to sda1 -- there could be quite some editing to do. But then again, you could try it. It just seems to me that repairing Grub from 11.0 is a quick thing to try.
    Last edited by swerdna; 10-Jul-2008 at 15:00.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  4. #4

    Default Re: Yast2: Error occurred while installing GRUB

    I tried the repair method but it yielded another error:
    Code:
    Yast2: Error occurred while installing GRUB
    
    /boot/grub/device.map:6: error: Duplicated entry found
    Is this easily rectified?
    MSI K8N Neo4 SLI Platinum / 64-bit Athlon 3200+ / 2x1024 Mb Corsair Value RAM PC3200
    Leadtek 128Mb 6600GT PCIe
    CNET CWP-854 rt61 wireless-G PCI adapter
    Thermaltake Toughpower 700W (w105) / +3.3V 30A = +5V 28A = 4x +12V 18A

  5. #5
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Yast2: Error occurred while installing GRUB

    Quote Originally Posted by seanspotatobusiness View Post
    I tried the repair method but it yielded another error:
    Code:
    Yast2: Error occurred while installing GRUB
    
    /boot/grub/device.map:6: error: Duplicated entry found
    Is this easily rectified?
    The file is located at /boot/grub/device.map. What's in it?
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  6. #6

    Default Re: Yast2: Error occurred while installing GRUB

    In order to get to the file, I used my Kubuntu liveDVD. After mounting the correct partition, I can see the file but do not have the prerequisite permissions to access the file. How might I ascertain the contents?
    MSI K8N Neo4 SLI Platinum / 64-bit Athlon 3200+ / 2x1024 Mb Corsair Value RAM PC3200
    Leadtek 128Mb 6600GT PCIe
    CNET CWP-854 rt61 wireless-G PCI adapter
    Thermaltake Toughpower 700W (w105) / +3.3V 30A = +5V 28A = 4x +12V 18A

  7. #7
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Yast2: Error occurred while installing GRUB

    Quote Originally Posted by seanspotatobusiness View Post
    In order to get to the file, I used my Kubuntu liveDVD. After mounting the correct partition, I can see the file but do not have the prerequisite permissions to access the file. How might I ascertain the contents?
    use this command in a console to list the contemts:
    sudo cat /path_to/device.map
    where you will need to supply the path

    This works for me in Ubuntu: sudo gedit /path_to/device.map
    Maybe for Kubuntu use: sudo kwrite /path_to/device.map
    (to open in a text editor so you can save it as abc.txt somewhere, like a usb pen drive)
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  8. #8

    Default Re: Yast2: Error occurred while installing GRUB

    Here is the readout. I expect, but cannot be sure, that hd3 refers to the RAID 1 which is comprised by two SATAs. The RAID 1 is technically a soft-RAID but it comes by virtue of a chip on the motherboard and the chip is made by nVidea.

    Code:
    ubuntu@ubuntu:~$ sudo cat /suse/boot/grub/device.map
    (hd2)   /dev/sdd
    (hd0)   /dev/sde
    (hd1)   /dev/sdf
    (hd4)   /dev/sda
    (hd3)   /dev/sdc
    (hd3)   /dev/sdb
    Edit, I saw this command suggestion in another thread and it seems that the hd3 entries are not part of the same RAID at all...

    Code:
    ubuntu@ubuntu:~$ sudo /sbin/fdisk -l
    
    Disk /dev/sda: 163.9 GB, 163928604672 bytes
    255 heads, 63 sectors/track, 19929 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        3264    26218048+   7  HPFS/NTFS
    /dev/sda2            3265       19929   133861612+   7  HPFS/NTFS
    
    Disk /dev/sdb: 163.9 GB, 163928604672 bytes
    255 heads, 63 sectors/track, 19929 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1        3264    26218048+   7  HPFS/NTFS
    /dev/sdb2            3265       19929   133861612+   7  HPFS/NTFS
    
    Disk /dev/sdc: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1        4001    32138001   83  Linux
    /dev/sdc2            4002        4261     2088450   82  Linux swap / Solaris
    /dev/sdc3            4262        5501     9960300   83  Linux
    /dev/sdc4            5502       60801   444197250   83  Linux
    
    Disk /dev/sdd: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdd1   *           1       14399   115659936   83  Linux
    /dev/sdd2           14400       14593     1558305   83  Linux
    
    Disk /dev/hdc: 203.9 GB, 203928109056 bytes
    255 heads, 63 sectors/track, 24792 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdc1   *           1       24792   199141708+  83  Linux
    
    Disk /dev/hdd: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdd1               1       19457   156288321   83  Linux
    MSI K8N Neo4 SLI Platinum / 64-bit Athlon 3200+ / 2x1024 Mb Corsair Value RAM PC3200
    Leadtek 128Mb 6600GT PCIe
    CNET CWP-854 rt61 wireless-G PCI adapter
    Thermaltake Toughpower 700W (w105) / +3.3V 30A = +5V 28A = 4x +12V 18A

  9. #9
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Yast2: Error occurred while installing GRUB

    I can't interpret the fdisk output because there are 7 Linux ext3 partitions there.
    I suggest you edit device.map with this command in Ubuntu:
    sudo gedit /suse/boot/grub/device.map
    and take out first one of the pair of (hd3) lines and try the repair again -- then if that's a dud do it again with the other (hd3) line of the pair removed and the first back in again.

    Groping in the shadows here though.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  10. #10

    Default Re: Yast2: Error occurred while installing GRUB

    I got the same error (duplicate entries) for both tries. Care to continue groping?
    MSI K8N Neo4 SLI Platinum / 64-bit Athlon 3200+ / 2x1024 Mb Corsair Value RAM PC3200
    Leadtek 128Mb 6600GT PCIe
    CNET CWP-854 rt61 wireless-G PCI adapter
    Thermaltake Toughpower 700W (w105) / +3.3V 30A = +5V 28A = 4x +12V 18A

Page 1 of 2 12 LastLast

Posting Permissions

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