Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41

Thread: Grub dual boot error

  1. #1

    Default Grub dual boot error

    I resized my windows c drive to make another drive which also has Open SUSE 11.4 dual booting which was working fine.

    After reboot I get missing operating system so I boot the live Opensuse DVD and the windows and Linux is still there so I tried the boot configure tool in YAST but get the error because of partitioning the boot loader cannot be installed properly

    Can I make a boot floppy somehow? I now have a grub menu when it boot sup but do not know what to do now any help very much appreciated

    Thanks

  2. #2

    Default Re: Grub dual boot error

    Quote Originally Posted by Soad2 View Post
    I resized my windows c drive to make another drive which also has Open SUSE 11.4 dual booting which was working fine.
    After reboot I get missing operating system so I boot the live Opensuse DVD and the windows and Linux is still there
    This is normal. You need to edit /boot/grub/menu.lst since partition numbers have changed as you inserted another partition. If you moved the Linux partition containing Grub stage2, you need to reinstall Grub as well. For now, run the following command in a terminal from live CD, post its output here and we might be able to tell you how to proceed.

    Code:
    fdisk -l

  3. #3

    Default Re: Grub dual boot error

    linux:/home/linux # fdisk -l

    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
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000ce079

    Device Boot Start End Blocks Id System
    /dev/sda1 63 95202441 47601189+ 7 HPFS/NTFS/exFAT
    /dev/sda2 160071680 164280319 2104320 82 Linux swap / Solaris
    /dev/sda3 * 164280320 488396799 162058240 83 Linux
    /dev/sda4 95217377 160071679 32427151+ f W95 Ext'd (LBA)
    /dev/sda5 95217379 143428319 24105470+ 7 HPFS/NTFS/exFAT
    /dev/sda6 143429632 156925951 6748160 83 Linux
    /dev/sda7 156928000 160071679 1571840 82 Linux swap / Solaris

    Partition table entries are not in disk order
    linux:/home/linux #

  4. #4

    Default Re: Grub dual boot error

    OK. Now, which of sda3 or sda6 is your openSUSE root partition?
    Do you have more than one Linux distro installed?
    Why do you have 2 swap partitions? This is not needed (even if you have 5 Linux distros).
    In a terminal, please mount sda3 (assuming it is openSUSE /) and show us the Grub boot menu:
    Code:
    su -l
    mount /dev/sda3 /mnt
    cat /mnt/boot/grub/menu.lst
    Also show us /etc/fstab:
    Code:
    cat /mnt/etc/fstab
    * Please post the output whithin CODE tags.

  5. #5

    Default Re: Grub dual boot error

    linux@linux:~> cat /mnt/etc/fstab
    /dev/disk/by-id/ata-HDT722525DLA380_VDS41DT4F8B65J-part3 swap swap defaults 0 0
    /dev/disk/by-id/ata-HDT722525DLA380_VDS41DT4F8B65J-part4 / ext4 acl,user_xattr 1 1
    /dev/disk/by-id/ata-HDT722525DLA380_VDS41DT4F8B65J-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
    /dev/disk/by-id/ata-HDT722525DLA380_VDS41DT4F8B65J-part5 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
    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
    linux@linux:~>

  6. #6

    Default Re: Grub dual boot error

    I only have XP and Opensuse 11.4

  7. #7

    Default Re: Grub dual boot error

    OK, open /mnt/etc/fstab with kwrite or gedit (depending on the live system you're running, kde or gnome)

    Code:
    kdesu /usr/bin/kwrite /mnt/etc/fstab
    or
    Code:
    gnomesu /usr/bin/gedit /mnt/etc/fstab
    and replace the content of the file with:

    Code:
    /dev/disk/by-id/ata-HDT722525DLA380_VDS41DT4F8B65J-part2 swap swap defaults 0 0
    /dev/disk/by-id/ata-HDT722525DLA380_VDS41DT4F8B65J-part3 / ext4 acl,user_xattr 1 1
    /dev/disk/by-id/ata-HDT722525DLA380_VDS41DT4F8B65J-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
    /dev/disk/by-id/ata-HDT722525DLA380_VDS41DT4F8B65J-part5 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
    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
    I highligted the changes I have made in red.

    May we see the file /mnt/boot/grub/menu.lst too?

  8. #8

    Default Re: Grub dual boot error

    Further I will have to ask you what's in sda6. In that a /home partition? But show us your boot menu first, as it is more important.

  9. #9

    Default Re: Grub dual boot error

    Not sure whats in that partition

    How do I get the boot menu up

    Thanks for all your help I am learning a lot here.

  10. #10

    Default Re: Grub dual boot error

    Quote Originally Posted by Soad2 View Post
    Not sure whats in that partition
    We'll check later.

    Quote Originally Posted by Soad2 View Post
    How do I get the boot menu up
    Code:
    sudo cat /mnt/boot/grub/menu.lst
    or
    Code:
    su -l
    cat /mnt/boot/grub/menu.lst
    You need to be root (administrator) to see this file. So you have to use either sudo before the command or login in a terminal as root with the command su -l.

Page 1 of 5 123 ... 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
  •