Find the answer to your Linux question:
Results 1 to 10 of 10
I had OpenSuse 10.2 installed (Gnome). Grub was working fine. Did a new install of OpenSuse 10.2 KDE on a another partition (same hd). System would boot up fine when ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5

    Unhappy Grub Grub Grub

    I had OpenSuse 10.2 installed (Gnome). Grub was working fine.
    Did a new install of OpenSuse 10.2 KDE on a another partition (same hd).
    System would boot up fine when I had CD in drive (bios was set to search CD first).
    Changed Bios to search HD first and changed boot loader.... and I've been changing it ever since

    After several tries my system now boots up straight from hd. When I select OpenSuse KDE it boots fine. Chosing Gnome I get an error 19

    Basically what I want is to be able to boot from hd (bios is now configured to do so)
    and be able to choose between the Gnome or KDE install

    My fdisk -l is the following:
    Disk /dev/hda: 79.9 GB, 79916820992 bytes
    255 heads, 63 sectors/track, 9716 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 1 262 2104483+ 82 Linux swap / Solaris
    /dev/hda2 * 263 2612 18876375 83 Linux
    /dev/hda3 2613 4962 18876375 83 Linux
    /dev/hda4 4963 9729 38290927+ f W95 Ext'd (LBA)
    /dev/hda5 4963 6869 15317946 83 Linux
    /dev/hda6 6870 9729 22972918+ 83 Linux

    Where hda2 / 3 are for the Gnome install. hda5 / 6 the KDE

    device.map:
    (hd0) /dev/hda

    menu.lst:
    # Modified by YaST2. Last modification on Sun Jun 24 10:07:21 PDT 2007
    default 0
    timeout 8
    gfxmenu (hd0,4)/boot/message
    ##YaST - activate

    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE 10.2

    ###Don't change this comment - YaST2 identifier: Original name: openSUSE 10.2 (/dev/hda2)###
    title openSUSE 10.2 (/dev/hda2)

    ###Don't change this comment - YaST2 identifier: Original name: Linux other 2###
    title Linux other 2
    rootnoverify (hd0,0)
    chainloader (hd0,3)+1

    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- openSUSE 10.2

    ###Don't change this comment - YaST2 identifier: Original name: 2.6.18.8-0.3-default###
    title 2.6.18.8-0.3-default
    initrd (hd0,4)/boot/initrd-2.6.18.8-0.3-default

    grub.conf
    setup --stage2=/boot/grub/stage2 (hd0) (hd0,4)
    quit

    Boot loader location is set for MBR

    Any help is appreciated... since now I can't boot up into Gnome anymore... so I guess I need help.

    Thanks

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    you can install KDE along with GNOME in SuSe or any other Linux Distro. there was no need to install SuSe again just for KDE only.

    anyways, menu.lst file doesn't look good. there is no entry for other SuSe and first two title blocks are empty, kernel lines are missing. is it a complete file?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5
    Thanks for the reply.

    Yes that is the complete mune.lst (found on the KDE partition), although I tend to believe it might be reading another mune.lst, since I see different options after boot up.

    Feel free to ask any other questions as needed.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    boot up SuSe, Open Terminal/Konsole and execute this
    Code:
    df -h
    post output here.
    execute this
    Code:
    less /boot/grub/menu.lst
    does it display same contents that you have posted here?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5
    Below are the results: (as mentioned I tend to believe it might be reading a different menu.lst, since I do see other options. tried to mount the other partitions with not success, although I'm just getting started)

    Filesystem Size Used Avail Use% Mounted on
    /dev/hda5 15G 2.9G 11G 22% /
    udev 252M 96K 252M 1% /dev
    /dev/hda6 22G 188M 21G 1% /home

    # Modified by YaST2. Last modification on Sun Jun 24 10:01:55 PDT 2007
    default 0
    timeout 8
    gfxmenu (hd0,4)/boot/message
    ##YaST - activate

    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE 10.2

    ###Don't change this comment - YaST2 identifier: Original name: openSUSE 10.2 (/dev/hda2)#
    ##
    title openSUSE 10.2 (/dev/hda2)

    ###Don't change this comment - YaST2 identifier: Original name: Linux other 2###
    title Linux other 2
    rootnoverify (hd0,0)
    chainloader (hd0,3)+1

    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- openSUSE 10.2

    ###Don't change this comment - YaST2 identifier: Original name: 2.6.18.8-0.3-default###
    title 2.6.18.8-0.3-default
    initrd (hd0,4)/boot/initrd-2.6.18.8-0.3-default

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    okk ! we have to mount other partition and edit menu.lst file of that only.
    log in as root and execute this
    Code:
    mkdir /mnt/other
    mount -t ext3 /dev/hda2 /mnt/other
    less /mnt/other/boot/grub/menu.lst
    post contents of menu.lst here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5
    Thanks again

    Yes the menu below is the one I'm currently seeing.

    # Modified by YaST2. Last modification on Sat Jun 23 23:40:39 PDT 2007
    default 0
    timeout 8
    ##YaST - generic_mbr
    gfxmenu (hd0,1)/boot/message
    ##YaST - activate

    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE 10.2

    ###Don't change this comment - YaST2 identifier: Original name: openSUSE KDE 10.2 - 2.6.18.8-0.3 (/dev/hd
    a5)###
    title openSUSE KDE 10.2 - 2.6.18.8-0.3 (/dev/hda5)
    kernel (hd0,4)/boot/vmlinuz-2.6.18.8-0.3-default root=/dev/hda5 vga=0x317 resume=/dev/hda1 splash=sil
    ent showopts
    initrd (hd0,4)/boot/initrd-2.6.18.8-0.3-default

    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- openSUSE 10.2

    ###Don't change this comment - YaST2 identifier: Original name: 2.6.18.8-0.3-default###
    title 2.6.18.8-0.3-default
    initrd (hd0,1)/boot/initrd-2.6.18.8-0.3-default

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    log in as root and open /mnt/other/boot/grub/menu.lst file in Kate or any other Editor.
    either Copy code from here OR edit existing. save file and reboot.

    menu.lst
    Code:
    default 0
    timeout 8
    gfxmenu (hd0,1)/boot/message
    
    title openSUSE KDE 
        kernel (hd0,4)/boot/vmlinuz-2.6.18.8-0.3-default root=/dev/hda5 vga=0x317 resume=/dev/hda1 splash=silent showopts
        initrd (hd0,4)/boot/initrd-2.6.18.8-0.3-default
     
    title OpenSuSe GNOME
        kernel (hd0,1)/boot/vmlinuz-2.6.18.8-0.3-default root=/dev/hda2 vga=0x317 resume=/dev/hda1 splash=silent showopts
        initrd (hd0,1)/boot/initrd-2.6.18.8-0.3-default
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5
    Thanks to you I'm now replying from my Gnome install
    Plus I have a bit more understanding of the menu.lst file

    What determines where it will read the menu.lst file from? (On Gnome my boot loader has boot from root partition selected), yet due to the dual install I have 2 root partitions. (just curious since eventually I might replace the OpenSuse KDE install with another Linux distro).
    Although I must admit the OpenSuse 10.2 running Gnome has really impressed me to the point I could see myself using it as my main OS.

    Also do you have a link you might recommend where I can learn more about Linux terminal commands? (not necessarily focused on Gnome or KDE).

    Thanks again, I really appreciate it.

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    What determines where it will read the menu.lst file from?
    SuSe GNOME's GRUB has been installed in MBR. so it looks for menu.lst in the /dev/hda2 partition. if you install any other Linux Distro and install GRUB of that distro too, GRUB will start looking for menu.lst file in new distro's / (root) partition.

    Also do you have a link you might recommend where I can learn more about Linux terminal commands? (not necessarily focused on Gnome or KDE).
    LinuxCommand.org: Learn the Linux command line. Write shell scripts.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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