Results 1 to 2 of 2

Thread: Dual booting kubuntu+pardus

Threaded View

  1. #1
    Join Date
    Jul 2010
    Beans
    19

    Trouble with dual booting kubuntu+pardus - grub2 doesn't show all options

    Hi guys,

    I originally had kubuntu on my entire hard drive, then I wanted to install pardus. During the Pardus installation, I told it to shrink the space given to Kubuntu, then install the pardus bootloader onto its own / directory. Now when I run sudo update-grub from ubuntu (I'm logged into a unity 2d session, but I don't think that's relevant) it only picks up kubuntu. Here's the output of the boot info script:

    Code:
                    Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
        partition #1 for (,msdos1)/boot/grub.
    
    sda1: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.10
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
    
    sda2: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info:  
    
    sda5: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    sda3: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  Grub
        Boot sector info:  Grub 0.97 is installed in the boot sector of sda3 and 
                           looks at sector 296036762 of the same hard drive for 
                           the stage2 file. A stage2 file is at this location on 
                           /dev/sda. Stage2 looks on partition #3 for 
                           /boot/grub/menu.lst.
        Operating System:  
        Boot files/dirs:   /boot/grub/menu.lst /grub/menu.lst 
                           /boot/grub/grub.conf /grub/grub.conf
    
    sda4: _________________________________________________________________________
    
        File system:       LVM2_member
        Boot sector type:  -
        Boot sector info:  
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *          2,048   295,495,679   295,493,632  83 Linux
    /dev/sda2         482,258,942   488,396,799     6,137,858   5 Extended
    /dev/sda5         482,258,944   488,396,799     6,137,856  82 Linux swap / Solaris
    /dev/sda3         295,495,680   296,519,679     1,024,000  83 Linux
    /dev/sda4         296,519,680   482,256,895   185,737,216  8e Linux LVM
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/sda1        8d4b5ddd-7490-428f-8ecf-68fc41c5ced1   ext4                                     
    /dev/sda2: PTTYPE="dos" 
    /dev/sda3        7dbd3826-ecb5-485b-9ff9-d5e7b17260ca   ext4                                     
    /dev/sda4        hQ1FQs-yKRH-eVJD-q7DL-gdUE-WnMI-BuWUeH LVM2_member                               
    /dev/sda5        8f512392-e93b-41a0-9c14-5bd2b81a3864   swap                                     
    /dev/sda: PTTYPE="dos" 
    error: /dev/sdb: No medium found
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda1        /                        ext4       (rw,errors=remount-ro,commit=0)
    
    
    =========================== sda1/boot/grub/grub.cfg: ===========================
    
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      set have_grubenv=true
      load_env
    fi
    set default="0"
    if [ "${prev_saved_entry}" ]; then
      set saved_entry="${prev_saved_entry}"
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z "${boot_once}" ]; then
        saved_entry="${chosen}"
        save_env saved_entry
      fi
    }
    
    function recordfail {
      set recordfail=1
      if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    
    function load_video {
      insmod vbe
      insmod vga
    }
    
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos1)'
    search --no-floppy --fs-uuid --set 8d4b5ddd-7490-428f-8ecf-68fc41c5ced1
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      load_video
      insmod gfxterm
    fi
    terminal_output gfxterm
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos1)'
    search --no-floppy --fs-uuid --set 8d4b5ddd-7490-428f-8ecf-68fc41c5ced1
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    if [ "${recordfail}" = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.35-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set 8d4b5ddd-7490-428f-8ecf-68fc41c5ced1
    	linux	/boot/vmlinuz-2.6.35-25-generic root=UUID=8d4b5ddd-7490-428f-8ecf-68fc41c5ced1 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.35-25-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.35-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set 8d4b5ddd-7490-428f-8ecf-68fc41c5ced1
    	echo	'Loading Linux 2.6.35-25-generic ...'
    	linux	/boot/vmlinuz-2.6.35-25-generic root=UUID=8d4b5ddd-7490-428f-8ecf-68fc41c5ced1 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.35-25-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set 8d4b5ddd-7490-428f-8ecf-68fc41c5ced1
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set 8d4b5ddd-7490-428f-8ecf-68fc41c5ced1
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    
    =============================== sda1/etc/fstab: ===============================
    
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    /dev/sda1       /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=8f512392-e93b-41a0-9c14-5bd2b81a3864 none            swap    sw              0       0
    
    =================== sda1: Location of files loaded by Grub: ===================
    
    
        .0GB: boot/grub/core.img
       9.3GB: boot/grub/grub.cfg
        .6GB: boot/initrd.img-2.6.35-25-generic
        .0GB: boot/vmlinuz-2.6.35-25-generic
        .6GB: initrd.img
        .0GB: vmlinuz
    
    ========================== sda3/boot/grub/grub.conf: ==========================
    
    default 0
    timeout 10
    gfxmenu /grub/message
    background 10333C
    
    title Pardus 2011
    uuid 7dbd3826-ecb5-485b-9ff9-d5e7b17260ca
    kernel /kernel-2.6.37 root=/dev/mapper/VolGroup-lv_root resume=/dev/mapper/VolGroup-lv_swap splash quiet
    initrd /initramfs-2.6.37
    
    
    ============================= sda3/grub/grub.conf: =============================
    
    default 0
    timeout 10
    gfxmenu /grub/message
    background 10333C
    
    title Pardus 2011
    uuid 7dbd3826-ecb5-485b-9ff9-d5e7b17260ca
    kernel /kernel-2.6.37 root=/dev/mapper/VolGroup-lv_root resume=/dev/mapper/VolGroup-lv_swap splash quiet
    initrd /initramfs-2.6.37
    
    
    =================== sda3: Location of files loaded by Grub: ===================
    
    
     151.5GB: boot/grub/grub.conf
     151.5GB: boot/grub/menu.lst
     151.5GB: boot/grub/stage2
     151.3GB: boot/initramfs-2.6.37
     151.5GB: grub/grub.conf
     151.5GB: grub/menu.lst
     151.5GB: grub/stage2
     151.3GB: initramfs-2.6.37
    =======Devices which don't seem to have a corresponding hard drive==============
    
    sdb
    Last edited by Thimoteus; February 3rd, 2011 at 02:23 AM.

Tags for this Thread

Bookmarks

Posting Permissions

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