Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: my grub2 nightmare won't end

  1. #1
    Join Date
    Oct 2009
    Location
    Kitimat B.C. Canada
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Angry my grub2 nightmare won't end

    Please help me out of this grub2 nightmare.

    [ 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>

    The text above, is how my computer looks after it boots and that's as far as it gets. This is the result of trying to complete the upgrade from grub legacy to grub2 in my Ubuntu, which was installed as a dual boot alongside vista on a Dell inspiron 531s. The Ubuntu was originally 9.04 Jaunty and then upgraded {well, kind of upgraded} to 9.10 Karmic via the internet. As anyone who has upgraded might know, the upgrade didn't completely deal with grub2. I tried all of the instructions I could find on the net, but couldn't completely finish the installation, leaving me with the "Chainloader" screen and a very slow boot.

    I've been trying to complete the upgrade of grub legacy for two weeks now and i've done too many things to list {it's all a blur}. On my final attempt, I believe that this is the command that got me here:

    -rm -f /boot/grub/menu.lst*

    On the first few attempts at upgrading the grub, I noticed that the terminal pointed out this command at the end of the upgrade {or at the end of one of the steps}. I didn't use it on those attempts and they weren't successful. I, at some point read somewhere that grub2 didn't use those files and that they would be no longer necessary. That got me thinking that the old files {/boot/grub/menu.lst*} were messing with the new .cfg files keeping the upgrade from completing itself successfully {I think they're .cfg with grub2}. It booted up into the chainloader before, So I decided to run the command, lost myself in a few other tasks and eventually rebooted to find myself here and feeling like an idiot again.

    I had a bad feeling about running this command, so {I hope Fortunately} I accessed these {5} files and copied them into another document and saved it onto the hard drive. I just accessed them and copied them onto my usb drive. I hope I just simply need to create and/or copy these back to their previous location{s}. I just need a good walkthrough the necessary steps. I'm more than a little leary now.

    I am however, willing to try anything again, as I may have been following bad and/or incomplete instructions leading me into this disaster. I even tried to do a clean Karmic install with both the Alternate and Desktop CD's, but, for some reason I can't get it to boot into full screen mode. With a normal install, I can only see the bottom right 1/4 of the screen in the upper left 1/4 of my monitor. With an install using the Safe graphics mode, I get lots of text that never leads to anything and stops midway through it's process {if I remember correctly, about 40% through detecting files}. At least with 9.04 Jaunty Desktop live CD, I'm able to run the demo off of the Live disc in Safe graphics mode, which is the mode I had to use to install 9.04 Jaunty and then installation went without a hitch. With Karmic, it doesn't get past the text phase.

    Please, please, please help me before I really mess things up, provided that I haven't already done so.
    Thanks a million. Kirby

  2. #2
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: my grub2 nightmare won't end

    Use the following two commands to determine the device (drive) and partition of the system you wish to boot.



    set


    When set is typed without additional entries the command displays the current GRUB 2 settings.

    ls


    Run ls to see the devices recognized by GRUB 2. Example: (hd0) = sda; (hd0,1)=sda1; (hd1,3)=sdb3

    Express Boot to the Most Recent Kernel

    Press ENTER after entering each command.



    1. set root=(hdX,Y)


    Type with correct X,Y results from the ls command and ENTER. Remember GRUB 2 counts the first drive as 0, the first partition as 1. Example: If the Ubuntu system is on sda5, enter: set root=(hd0,5)

    2. linux /vmlinuz root=/dev/sdXY ro


    (Example: linux /vmlinuz root=/dev/sda3)

    3. initrd /initrd.img


    Selects the latest initrd image.

    4. boot

    Boot to the latest kernel on the selected partition.

    https://help.ubuntu.com/community/Grub2

  3. #3
    Join Date
    Nov 2009
    Location
    Madrid, Spain
    Beans
    1,403
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: my grub2 nightmare won't end

    Hello Kirby,

    the upgrade from 9.04 to 9.10 does not change the grub version. Grub2 is installed only in new installations.

    I would recommend you to re-install your grub program.

    Start your computer from a Ubuntu 9.10 LiveCD and select Try Ubuntu without any change to your computer.

    When the start is finshed, open Gparted (System -> Administration -> GParted) and try to locate the Ubuntu partition (probably a File System ext3 or ext4). I will suppose that this partitios is /dev/sda1. If no, please, chage it with the correct device.

    Open a terminal (Applications -> Accessories -> Terminal)

    Type the following commands:

    sudo bash #the system will ask for your password
    mount /dev/sda1 /mnt #May be your device is not /dev/sda1
    mount --bind /dev /mnt/dev
    chroot /mnt
    grub-install /dev/sda #no number here
    update-grub

    I hope that you does not get any error on these commands.

    That is all.

    And now, cross your fingers, shutdown your computer, extract the CD and boot your system again.

    The system should be start normally with the new grub loader.

    Best regards,

    Luis

  4. #4
    Join Date
    Oct 2009
    Location
    Kitimat B.C. Canada
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: my grub2 nightmare won't end

    Thanks for the input wojox, but I failed to point out that I'm a newborn linux fanatic that's trying to learn the ways of Linux, but I have only learmt so much in my first month and a half. So you'll have to forgive me if it takes me a while to decipher your post, but i'll try. Is this to be done in a terminal or....

    Sorry, took me a while to figure out the editing of my post.

    This is what the terminal displays when just "set" is typed, followed by "Enter".

    HTML Code:
                    --temp-dir= --compare-dest= --compress \
                    --exclude= --exclude-from= --include= \
                    --include-from= --version --daemon --no-detach\
                    --address= --config= --port= --blocking-io \
                    --no-blocking-io --stats --progress \
                    --log-format= --password-file= --bwlimit= \
                    --write-batch= --read-batch= --help' -- $cur ))
            ;;
            *:*)
                shell=rsh;
                for ((i=1; i < COMP_CWORD; i++ ))
                do
                    if [[ "${COMP_WORDS[i]}" == -@(e|-rsh) ]]; then
                        shell=${COMP_WORDS[i+1]};
                        break;
                    fi;
                done;
                if [[ "$shell" == ssh ]]; then
                    cur=${cur/\\:/:};
                    userhost=${cur%%?(\\):*};
                    path=${cur#*:};
                    path=${path//\\\\\\\\ / };
                    if [ -z "$path" ]; then
                        path=$(ssh -o 'Batchmode yes'                 $userhost pwd 2>/dev/null);
                    fi;
                    COMPREPLY=($( ssh -o 'Batchmode yes' $userhost             command ls -aF1d "$path*" 2>/dev/null |                 sed -e 's/ /\\\\\\\ /g' -e 's/[*@|=]$//g'                 -e 's/[^\/]$/& /g' ));
                fi
            ;;
            *)
                _known_hosts -c -a;
                _filedir
            ;;
        esac;
        return 0
    }
    _scp () 
    { 
        local cur userhost path;
        COMPREPLY=();
        cur=`_get_cword ":"`;
        _expand || return 0;
        if [[ "$cur" == *:* ]]; then
            local IFS='    
    ';
            cur=${cur/\\:/:};
            userhost=${cur%%?(\\):*};
            path=${cur#*:};
            path=${path//\\\\\\\\ / };
            if [ -z "$path" ]; then
                path=$(ssh -o 'Batchmode yes' $userhost pwd 2>/dev/null);
            fi;
            COMPREPLY=($( ssh -o 'Batchmode yes' $userhost                    command ls -aF1d "$path*" 2>/dev/null |                    sed -e "s/[][(){}<>\",:;^&!$&=?\`|\\ ']/\\\\\\\\\\\\&/g"                    -e 's/[*@|=]$//g' -e 's/[^\/]$/& /g' ));
            return 0;
        fi;
        [[ "$cur" == */* ]] || _known_hosts -c -a;
        local IFS='    
    ';
        COMPREPLY=("${COMPREPLY[@]}" $( command ls -aF1d $cur*                 2>/dev/null | sed                 -e "s/[][(){}<>\",:;^&!$&=?\`|\\ ']/\\\\&/g"                 -e 's/[*@|=]$//g' -e 's/[^\/]$/& /g' ));
        return 0
    }
    _screen () 
    { 
        local cur prev preprev;
        COMPREPLY=();
        cur=`_get_cword`;
        prev=${COMP_WORDS[COMP_CWORD-1]};
        [ "$COMP_CWORD" -ge 2 ] && preprev=${COMP_WORDS[COMP_CWORD-2]};
        if [ "$preprev" = "-d" -o "$preprev" = "-D" -a "$prev" = "-r" -o "$prev" = "-R" ]; then
            COMPREPLY=($( command screen -ls |                 sed -ne 's|^[''    '']\+\('$cur'[0-9]\+\.[^''    '']\+\).*$|\1|p' ));
        else
            case "$prev" in 
                -[rR])
                    COMPREPLY=($( command screen -ls |                 sed -ne 's|^[''    '']\+\('$cur'[0-9]\+\.[^''    '']\+\).*Detached.*$|\1|p' ))
                ;;
                -[dDx])
                    COMPREPLY=($( command screen -ls |                 sed -ne 's|^[''    '']\+\('$cur'[0-9]\+\.[^''    '']\+\).*Attached.*$|\1|p' ))
                ;;
                -s)
                    COMPREPLY=($( grep ^${cur:-[^#]} /etc/shells ))
                ;;
                *)
    
                ;;
            esac;
        fi;
        return 0
    }
    _service () 
    { 
        local cur sysvdir;
        COMPREPLY=();
        prev=${COMP_WORDS[COMP_CWORD-1]};
        cur=`_get_cword`;
        [[ ${COMP_WORDS[0]} != @(*init.d/!(functions|~)|service) ]] && return 0;
        [ $COMP_CWORD -gt 2 ] && return 0;
        [ -d /etc/rc.d/init.d ] && sysvdir=/etc/rc.d/init.d || sysvdir=/etc/init.d;
        if [[ $COMP_CWORD -eq 1 ]] && [[ $prev == "service" ]]; then
            _services;
        else
            COMPREPLY=($( compgen -W '`sed -ne "y/|/ /; \
                    s/^.*Usage.*{\(.*\)}.*$/\1/p" \
                    $sysvdir/${prev##*/} 2>/dev/null`' -- $cur ));
        fi;
        return 0
    }
    _services () 
    { 
        local sysvdir famdir;
        [ -d /etc/rc.d/init.d ] && sysvdir=/etc/rc.d/init.d || sysvdir=/etc/init.d;
        famdir=/etc/xinetd.d;
        COMPREPLY=($( builtin echo $sysvdir/!(*.rpmsave|*.rpmorig|*~|functions)));
        if [ -d $famdir ]; then
            COMPREPLY=("${COMPREPLY[@]}" $( builtin echo $famdir/!(*.rpmsave|*.rpmorig|*~)));
        fi;
        COMPREPLY=($( compgen -W '${COMPREPLY[@]#@($sysvdir|$famdir)/}' -- $cur ))
    }
    _signals () 
    { 
        local i;
        COMPREPLY=($( compgen -A signal SIG${cur#-} ));
        for ((i=0; i < ${#COMPREPLY[@]}; i++ ))
        do
            COMPREPLY[i]=-${COMPREPLY[i]#SIG};
        done
    }
    _ssh () 
    { 
        local cur prev;
        local -a config;
        COMPREPLY=();
        cur=`_get_cword`;
        prev=${COMP_WORDS[COMP_CWORD-1]};
        case "$prev" in 
            -*c)
                COMPREPLY=($( compgen -W 'blowfish 3des 3des-cbc blowfish-cbc \
                   arcfour cast128-cbc' -- $cur ))
            ;;
            -*i)
                _filedir
            ;;
            -*l)
                COMPREPLY=($( compgen -u -- $cur ))
            ;;
            *)
                _known_hosts -a;
                [ $COMP_CWORD -eq 1 ] || COMPREPLY=("${COMPREPLY[@]}" $( compgen -c -- $cur ))
            ;;
        esac;
        return 0
    }
    _sysctl () 
    { 
        local cur;
        COMPREPLY=();
        cur=`_get_cword`;
        COMPREPLY=($( compgen -W "$(sysctl -N -a 2>/dev/null)" -- $cur ));
        return 0
    }
    _tar () 
    { 
        local cur ext regex tar untar;
        COMPREPLY=();
        cur=`_get_cword`;
        if [ $COMP_CWORD -eq 1 ]; then
            COMPREPLY=($( compgen -W 'c t x u r d A' -- $cur ));
            return 0;
        fi;
        case "${COMP_WORDS[1]}" in 
            ?(-)[cr]*f)
                _filedir;
                return 0
            ;;
            +([^IZzjy])f)
                ext='t@(ar?(.@(Z|gz|bz?(2)))|gz|bz?(2))';
                regex='t\(ar\(\.\(Z\|gz\|bz2\?\)\)\?\|gz\|bz2\?\)'
            ;;
            *[Zz]*f)
                ext='t?(ar.)@(gz|Z)';
                regex='t\(ar\.\)\?\(gz\|Z\)'
            ;;
            *[Ijy]*f)
                ext='t?(ar.)bz?(2)';
                regex='t\(ar\.\)\?bz2\?'
            ;;
            *)
                _filedir;
                return 0
            ;;
        esac;
        if [[ "$COMP_LINE" == *$ext' ' ]]; then
            tar=$( echo "$COMP_LINE" |             sed -e 's/^.* \([^ ]*'$regex'\) .*$/\1/' );
            untar=t${COMP_WORDS[1]//[^Izjyf]/};
            COMPREPLY=($( compgen -W "$( echo $( tar $untar $tar             2>/dev/null ) )" -- "$cur" ));
            return 0;
        fi;
        _filedir "$ext";
        return 0
    }
    _tcpdump () 
    { 
        local cur;
        COMPREPLY=();
        cur=`_get_cword`;
        prev=${COMP_WORDS[COMP_CWORD-1]};
        case "$prev" in 
            -@(r|w|F))
                _filedir;
                return 0
            ;;
            -i)
                _available_interfaces -a;
                return 0
            ;;
        esac;
        if [[ "$cur" == -* ]]; then
            COMPREPLY=($( compgen -W '-a -d -e -f -l -n -N -O -p \
                -q -R -S -t -u -v -x -C -F -i -m -r -s -T -w \
                -E' -- $cur ));
        fi
    }
    _uids () 
    { 
        if type getent >&/dev/null; then
            COMPREPLY=($( getent passwd |                 awk -F: '{if ($3 ~ /^'$cur'/) print $3}' ));
        else
            if type perl >&/dev/null; then
                COMPREPLY=($( compgen -W '$( perl -e '"'"'while (($uid) = (getpwent)[2]) { print $uid . "\n" }'"'"' )' -- $cur ));
            else
                COMPREPLY=($( awk 'BEGIN {FS=":"} {if ($3 ~ /^'$cur'/) print $3}'        /etc/passwd ));
            fi;
        fi
    }
    _umount () 
    { 
        local cur IFS='
    ';
        COMPREPLY=();
        cur=`_get_cword`;
        local IFS='
    ';
        COMPREPLY=($( compgen -W '$( mount | cut -d" " -f 3 )' -- $cur ));
        return 0
    }
    _update_alternatives () 
    { 
        local cur prev mode args i;
        COMPREPLY=();
        cur=`_get_cword`;
        prev=${COMP_WORDS[COMP_CWORD-1]};
        case "$prev" in 
            --@(altdir|admindir))
                _filedir -d;
                return 0
            ;;
            --@(help|version))
                return 0
            ;;
        esac;
        for ((i=1; i < COMP_CWORD; i++ ))
        do
            if [[ "${COMP_WORDS[i]}" == --@(install|remove|auto|display|config|remove-all) ]]; then
                mode=${COMP_WORDS[i]};
                args=$(($COMP_CWORD - i));
                break;
            fi;
        done;
        case $mode in 
            --install)
                case $args in 
                    1)
                        _filedir
                    ;;
                    2)
                        installed_alternatives
                    ;;
                    3)
                        _filedir
                    ;;
                esac
            ;;
            --remove)
                case $args in 
                    1)
                        installed_alternatives
                    ;;
                    2)
                        _filedir
                    ;;
                esac
            ;;
            --auto)
                installed_alternatives
            ;;
            --remove-all)
                installed_alternatives
            ;;
            --display)
                installed_alternatives
            ;;
            --config)
                installed_alternatives
            ;;
            *)
                COMPREPLY=($( compgen -W '--verbose --quiet --help --version \
                       --altdir --admindir' -- $cur ) $( compgen -W '--install --remove --auto --display \
                       --config' -- $cur ))
            ;;
        esac
    }
    _update_rc_d () 
    { 
        local cur prev sysvdir services options valid_options;
        cur=`_get_cword`;
        prev=${COMP_WORDS[COMP_CWORD-1]};
        [ -d /etc/rc.d/init.d ] && sysvdir=/etc/rc.d/init.d || sysvdir=/etc/init.d;
        services=($(echo $sysvdir/!(README*|*.sh|*.dpkg*|*.rpm*)));
        services=(${services[@]#$sysvdir/});
        options=(-f -n);
        if [[ $COMP_CWORD -eq 1 || "$prev" == -* ]]; then
            valid_options=($(         echo "${COMP_WORDS[@]} ${options[@]}"         | tr " " "\n"         | sed -ne "/$( echo "${options[@]}" | sed "s/ /\\|/g" )/p"         | sort | uniq -u         ));
            COMPREPLY=($( compgen -W '${options[@]} ${services[@]}'         -X '$( echo ${COMP_WORDS[@]} | tr " " "|" )' -- $cur ));
        else
            if [[ "$prev" == ?($( echo ${services[@]} | tr " " "|" )) ]]; then
                COMPREPLY=($( compgen -W 'remove defaults start stop' -- $cur ));
            else
                if [[ "$prev" == defaults && "$cur" == [0-9] ]]; then
                    COMPREPLY=(0 1 2 3 4 5 6 7 8 9);
                else
                    if [[ "$prev" == defaults && "$cur" == [sk]?([0-9]) ]]; then
                        COMPREPLY=(0 1 2 3 4 5 6 7 8 9);
                    else
                        if [[ "$prev" == defaults && -z "$cur" ]]; then
                            COMPREPLY=(0 1 2 3 4 5 6 7 8 9 s k);
                        else
                            if [[ "$prev" == ?(start|stop) ]]; then
                                if [[ "$cur" == [0-9] || -z "$cur" ]]; then
                                    COMPREPLY=(0 1 2 3 4 5 6 7 8 9);
                                else
                                    if [[ "$cur" == [0-9][0-9] ]]; then
                                        COMPREPLY=($cur);
                                    else
                                        COMPREPLY=();
                                    fi;
                                fi;
                            else
                                if [[ "$prev" == ?([0-9][0-9]|[0-6S]) ]]; then
                                    if [[ -z "$cur" ]]; then
                                        if [[ $prev == [0-9][0-9] ]]; then
                                            COMPREPLY=(0 1 2 3 4 5 6 S);
                                        else
                                            COMPREPLY=(0 1 2 3 4 5 6 S .);
                                        fi;
                                    else
                                        if [[ "$cur" == [0-6S.] ]]; then
                                            COMPREPLY=($cur);
                                        else
                                            COMPREPLY=();
                                        fi;
                                    fi;
                                else
                                    if [[ "$prev" == "." ]]; then
                                        COMPREPLY=($(compgen -W "start stop" -- $cur));
                                    else
                                        COMPREPLY=();
                                    fi;
                                fi;
                            fi;
                        fi;
                    fi;
                fi;
            fi;
        fi;
        return 0
    }
    _user_at_host () 
    { 
        local cur;
        COMPREPLY=();
        cur=`_get_cword`;
        if [[ $cur == *@* ]]; then
            _known_hosts;
        else
            COMPREPLY=($( compgen -u -- "$cur" ));
        fi;
        return 0
    }
    _usergroup () 
    { 
        local IFS='
    ';
        cur=${cur//\\\\ / };
        if [[ $cur = *@(\\:|.)* ]] && [ -n "$bash205" ]; then
            user=${cur%%*([^:.])};
            COMPREPLY=($(compgen -P ${user/\\\\} -g -- ${cur##*[.:]}));
        else
            if [[ $cur = *:* ]] && [ -n "$bash205" ]; then
                COMPREPLY=($( compgen -g -- ${cur##*[.:]} ));
            else
                COMPREPLY=($( compgen -S : -u -- $cur ));
            fi;
        fi
    }
    _xrandr () 
    { 
        local cur prev output modes;
        COMPREPLY=();
        cur=`_get_cword`;
        prev=${COMP_WORDS[COMP_CWORD-1]};
        case "$prev" in 
            --output)
                local outputs=$(xrandr|grep 'connected'|awk '{print $1}');
                COMPREPLY=($(compgen -W "$outputs" -- $cur));
                return 0
            ;;
            --mode)
                for ((i = 1; i < COMP_CWORD; i++ ))
                do
                    if [[ "${COMP_WORDS[i]}" == "--output" ]]; then
                        output=${COMP_WORDS[i+1]};
                        break;
                    fi;
                done;
                modes=$(xrandr|sed -e "1,/$output/ d"             -e "/connected/,$ d"|awk '{print $1}');
                COMPREPLY=($( compgen -W "$modes" -- $cur));
                return 0
            ;;
        esac;
        case "$cur" in 
            *)
                COMPREPLY=($(compgen -W '-d -display -help -o \
                        --orientation -q --query -s --size\
                        -r --rate -v --version -x -y --screen \
                        --verbose --dryrun --prop --fb --fbmm --dpi \
                        --output --auto --mode --preferred --pos \
                        --reflect --rotate --left-of --right-of \
                        --above --below --same-as --set --off --crtc \
                        --newmode --rmmode --addmode --delmode' -- $cur));
                return 0
            ;;
        esac;
        return 0
    }
    command_not_found_handle () 
    { 
        if [ -x /usr/lib/command-not-found ]; then
            /usr/bin/python /usr/lib/command-not-found -- $1;
            return $?;
        else
            return 127;
        fi
    }
    dequote () 
    { 
        eval echo "$1"
    }
    installed_alternatives () 
    { 
        local admindir;
        for i in alternatives dpkg/alternatives rpm/alternatives;
        do
            [ -d /var/lib/$i ] && admindir=/var/lib/$i && break;
        done;
        for ((i=1; i < COMP_CWORD; i++ ))
        do
            if [[ "${COMP_WORDS[i]}" == --admindir ]]; then
                admindir=${COMP_WORDS[i+1]};
                break;
            fi;
        done;
        COMPREPLY=($( command ls $admindir | grep "^$cur" ))
    }
    quote () 
    { 
        echo \'${1//\'/\'\\\'\'}\'
    }
    quote_readline () 
    { 
        local t="${1//\\/\\\\}";
        echo \'${t//\'/\'\\\'\'}\'
    }
    ubuntu@ubuntu:~$ 

  5. #5
    Join Date
    Nov 2009
    Location
    Madrid, Spain
    Beans
    1,403
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: my grub2 nightmare won't end

    I did not tell you how prepare an Ubuntu 9.10 LiveCD.

    Simply download the ubuntu-9.10-desktop-i368.iso file from the link

    http://www.ubuntu.com/getubuntu/download

    and burn a CD with it.

    A second comment: sudo bash command will not ask for your password in this case because you are running a livecd version of Ubuntu.

    I wish you that your nightmare finish very soon.

    Best regards,

    Luis

  6. #6
    Join Date
    Oct 2009
    Location
    Kitimat B.C. Canada
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: my grub2 nightmare won't end

    Thanks a million lmarmisa. I think I'm deciphering your instructions correctly, but to be safe I'd like to clarify whether or not your talking about the partition containing the Ubuntu OS? For me that would be "/dev/sda6", as you can see below. This is all the pertinent data from the partition editor:

    Partition File System Label Size Flags
    /dev/sda1 = Fat 16 = Dell Utility 47.03 MiB
    /dev/sda2 = ntfs = RECOVERY 10.00 GiB Boot
    /dev/sda3 = ntfs = OS {Vista} 55.75 Gib
    unallocated = unallocated 70.07 GiB
    /dev/sda4 = extended = linux partition 96.97 GiB
    /dev/sda5 = linux swap = linux-swap 1.86 GiB
    /dev/sda6 = ext3 = Ubuntu 13.97 GiB
    /dev/sda7 = ext3 = Home 81.13 GiB

    Thanks again. Kirby

  7. #7
    Join Date
    Oct 2009
    Location
    Kitimat B.C. Canada
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: my grub2 nightmare won't end

    Quote Originally Posted by lmarmisa View Post
    I did not tell you how prepare an Ubuntu 9.10 LiveCD.

    Simply download the ubuntu-9.10-desktop-i368.iso file from the link

    http://www.ubuntu.com/getubuntu/download

    and burn a CD with it.

    A second comment: sudo bash command will not ask for your password in this case because you are running a livecd version of Ubuntu.

    I wish you that your nightmare finish very soon.

    Best regards,

    Luis
    I'm currently running off of a 9.04 live cd in safe graphics mode. I can't run the 9.10's for some reason. I just simply can't get more than the bottom right hand quarter of the screen in the upper left quarter of my monitor.
    Last edited by Kir_B; November 14th, 2009 at 05:35 AM. Reason: safe graphics mode instead of safe mode

  8. #8
    Join Date
    Nov 2009
    Location
    Madrid, Spain
    Beans
    1,403
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: my grub2 nightmare won't end

    Hi again, Kirby

    Yes, I think that you are right. /dev/sda6 seems the correct partition.

    I suppose that you have /dev/sda6 partition for the Ubuntu system and /dev/sda7 for the users' home.

    Ubuntu 9.04 LiveCD seems quite good also.

    Try to follow my instructions and good luck. If you have any doubt, don't hesitate to ask for help.

    Best regards,

    Luis

  9. #9
    Join Date
    Oct 2009
    Location
    Kitimat B.C. Canada
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: my grub2 nightmare won't end

    Thanks a lot Luis. I'm gonna give it a try right now!

  10. #10
    Join Date
    Nov 2009
    Location
    Madrid, Spain
    Beans
    1,403
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: my grub2 nightmare won't end

    Taking into account the correct device /dev/sda6, these are the commands:

    sudo bash
    mount /dev/sda6 /mnt
    mount --bind /dev /mnt/dev
    chroot /mnt
    grub-install /dev/sda
    update-grub


    Any error during the process?

    I would like that everything is fine.

    Now, shutdown the computer (ubuntu -> shutdown) and remove the CD.

    Grub should start correctly next time.

    Regars,

    Luis

Page 1 of 4 123 ... LastLast

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
  •