Brak wyboru systemu windows 7 a ubuntu przez port PS/2

Tak windows się nie uruchamia ,czekając długo. Na live Ubuntu klawiatura i myszka na USB działa.

Trzeba użyć drugi Grub , który automatycznie uruchomi system.

Chwilę trzeba pomyśleć, to jest do zrobienia.

Dodane 03.02.2013 (N) 13:30

Po analizie, widać, że właśnie posiadasz Grub2, w swoim zamyśle mówiłem o Grub1, który był bardziej konfigurowalny.

Zły pomysł, kolejny Grub nadpisze istniejący i będą 2 listy boot.

Nie znajduję miejsca, gdzie wpisana jest konieczność naciskania klawiszy do uruchomienia

Dodane 03.02.2013 (N) 14:27

Przeczytaj tę stronę, wyjaśnia dlaczego taki problem:

http://linuksowo.pl/index.php?t=msg&goto=53800&

Też nie wiem,może w jakimś innym pliku konfiguracyjnym. Może w /etc/default/grub ,/etc/grub.d/,/boot/grub/grub.cfg,lub innym.Jakbyś wiedział w jakim to skopiuję i podam. Cokolwiek zrobić ,byleby uruchomił się windows 7 a potem spod windowsa naprawiłbym bootmgr i skasował linuxa.

Dodane 03.02.2013 (N) 15:56

No właśnie, przy Grub nie było by tyle problemów a twórcy Grub2 zamiast ulepszyć prostotą, jeszcze go bardziej zagmatwali. Może jakość uda się panu lub innemu forumowiczowi rozwiązać ten problem.

Nie naprawi się bootloadera Windowsa spod uruchomionego systemu, tylko z płyty instalacyjnej.

Nie miałem dostępu do PC chwilowo, możesz wkleić zawartość /etc/default/grub ,/etc/grub.d/

Zobacz co się stanie jak zmienisz wpis

GRUB_TIMEOUT=10

Programem UBCD zmieniłbym bootmgr

-------TUTAJ zmień wartość 10 na 0 (zero)

To chwilę potrwa, ale da się zrobić

Zobacz jeszcze raz zawartość /etc/default/grub: bo GRUB_TIMEOUT=10 , miałeś zmienić na 0

Zobacz to

GRUB_DEFAULT=“0”

#GRUB_HIDDEN_TIMEOUT=0

GRUB_HIDDEN_TIMEOUT_QUIET=true

GRUB_TIMEOUT=10

GRUB_DISTRIBUTOR=lsb_release -i -s 2\> /dev/null || echo Debian

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash”

GRUB_CMDLINE_LINUX=""

Usuń tę linijkę GRUB_DISTRIBUTOR=lsb_release -i -s 2\> /dev/null || echo Debian

Najpierw skopiuj gdzieś.

Zobacz co się stanie po uruchomieniu

Tak zmieniłem na “0” i bez reakcji a skopiowałem podana zawartość /etc/default/grub wcześniej przed zmianą.

Usuń tę linijkę GRUB_DISTRIBUTOR=lsb_release -i -s 2\> /dev/null || echo Debian

Najpierw skopiuj gdzieś.

Zobacz co się stanie po uruchomieniu

Dodane 03.02.2013 (N) 17:06

Usuń tę linijkę GRUB_DISTRIBUTOR=lsb_release -i -s 2\> /dev/null || echo Debian

Najpierw skopiuj gdzieś.

Zobacz co się stanie po uruchomieniu

Bez zmian,nadal jest do wyboru system i nic się nie dzieje ,windows się nie uruchamia.

GRUB_DEFAULT=“0” ----zmień wpis na ----GRUB_DEFAULT=saved

Bez zmiam,nadal pole wyboru a windows się nie uruchamia.

/etc/default/grub wygląda następująco:

# If you change this file, run 'update-grub' afterwards to update

# /boot/grub/grub.cfg.

# For full documentation of the options in this file, see:

# info -f grub -n 'Simple configuration'


GRUB_DEFAULT=saved

#GRUB_HIDDEN_TIMEOUT=0

GRUB_HIDDEN_TIMEOUT_QUIET=true

GRUB_TIMEOUT=0

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

GRUB_CMDLINE_LINUX=""


# Uncomment to enable BadRAM filtering, modify to suit your needs

# This works with Linux (no patch required) and with any kernel that obtains

# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)

#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"


# Uncomment to disable graphical terminal (grub-pc only)

#GRUB_TERMINAL=console


# The resolution used on graphical terminal

# note that you can use only modes which your graphic card supports via VBE

# you can see them in real GRUB with the command `vbeinfo'

#GRUB_GFXMODE=640x480


# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

#GRUB_DISABLE_LINUX_UUID=true


# Uncomment to disable generation of recovery mode menu entries

#GRUB_DISABLE_RECOVERY="true"


# Uncomment to get a beep at grub start

#GRUB_INIT_TUNE="480 440 1"

Niestety nikt mi nie odpisał na pytanie, co z tym można zrobić, potrzebny programista.

Trzeba poczekać niestety.

Ok,poczekam.

Dodane 04.02.2013 (Pn) 4:29

Może, w którymś z tych plików folderu grub.d , /etc/grub.d/ , znajdują się miejsca, gdzie wpisana jest konieczność naciskania klawiszy do uruchomienia “i”, “enter”, “e”, “c” .Podam zawartość dwóch plików 00_header i 30_os-prober , jeśli będą potrzebne pozostałe pliki to je wkleję.

00_header

#! /bin/sh

set -e


# grub-mkconfig helper script.

# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.

#

# GRUB is free software: you can redistribute it and/or modify

# it under the terms of the GNU General Public License as published by

# the Free Software Foundation, either version 3 of the License, or

# (at your option) any later version.

#

# GRUB is distributed in the hope that it will be useful,

# but WITHOUT ANY WARRANTY; without even the implied warranty of

# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

# GNU General Public License for more details.

#

# You should have received a copy of the GNU General Public License

# along with GRUB. If not, see .


transform="s,x,x,"


prefix=/usr

exec_prefix=${prefix}

libdir=${exec_prefix}/lib

locale_dir=`echo ${GRUB_PREFIX}/locale | sed ${transform}`

grub_lang=`echo $LANG | cut -d . -f 1`


. ${libdir}/grub/grub-mkconfig_lib


# Do this as early as possible, since other commands might depend on it.

# (e.g. the `loadfont' command might need lvm or raid modules)

for i in ${GRUB_PRELOAD_MODULES} ; do

  echo "insmod $i"

done


if ["x${GRUB_DEFAULT}" = "x"] ; then GRUB_DEFAULT=0 ; fi

if ["x${GRUB_DEFAULT}" = "xsaved"] ; then GRUB_DEFAULT='${saved_entry}' ; fi

if ["x${GRUB_TIMEOUT}" = "x"] ; then GRUB_TIMEOUT=5 ; fi

if ["x${GRUB_GFXMODE}" = "x"] ; then GRUB_GFXMODE=auto ; fi


if ["x${GRUB_DEFAULT_BUTTON}" = "x"] ; then GRUB_DEFAULT_BUTTON="$GRUB_DEFAULT" ; fi

if ["x${GRUB_DEFAULT_BUTTON}" = "xsaved"] ; then GRUB_DEFAULT_BUTTON='${saved_entry}' ; fi

if ["x${GRUB_TIMEOUT_BUTTON}" = "x"] ; then GRUB_TIMEOUT_BUTTON="$GRUB_TIMEOUT" ; fi


cat << EOF

if [-s \$prefix/grubenv]; then

  set have_grubenv=true

  load_env

fi

EOF

if ["x$GRUB_BUTTON_CMOS_ADDRESS" != "x"]; then

    cat <
if cmostest $GRUB_BUTTON_CMOS_ADDRESS ; then

   set default="${GRUB_DEFAULT_BUTTON}"

else

   set default="${GRUB_DEFAULT}"

fi

EOF

else

    cat <
set default="${GRUB_DEFAULT}"

EOF

fi

cat <
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 {

EOF

if [-n "${GRUB_VIDEO_BACKEND}"]; then

    cat <
  insmod ${GRUB_VIDEO_BACKEND}

EOF

else

    # Insert all available backends; GRUB will use the most appropriate.

    have_video=0;

    for backend in $(cat "${GRUB_PREFIX}/video.lst"); do

	have_video=1;

	cat <
  insmod ${backend}

EOF

    done

    if [x$have_video = x0]; then

	echo "true"

    fi

fi

cat <
}


EOF


serial=0;

gfxterm=0;

for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do

    if [xserial = "x$x"]; then

	serial=1;

    fi

    if [xgfxterm = "x$x"]; then

	gfxterm=1;

    fi

done


if ["x$serial" = x1]; then

    if ! test -e ${GRUB_PREFIX}/serial.mod ; then

	echo "Serial terminal not available on this platform." >&2 ; exit 1

    fi


    if ["x${GRUB_SERIAL_COMMAND}" = "x"] ; then

	grub_warn "Requested serial terminal but GRUB_SERIAL_COMMAND is unspecified. Default parameters will be used."

	GRUB_SERIAL_COMMAND=serial

    fi

    echo "${GRUB_SERIAL_COMMAND}"

fi


if ["x$gfxterm" = x1]; then

    # Make the font accessible

    prepare_grub_to_access_device `${grub_probe} --target=device "${GRUB_FONT_PATH}"`


    cat << EOF

if loadfont `make_system_path_relative_to_its_root "${GRUB_FONT_PATH}"` ; then

  set gfxmode=${GRUB_GFXMODE}

  load_video

  insmod gfxterm

fi

EOF

fi


case x${GRUB_TERMINAL_INPUT} in

  x)

    # Just use the native terminal

  ;;

  x*)

    cat << EOF

terminal_input ${GRUB_TERMINAL_INPUT}

EOF

  ;;

esac


case x${GRUB_TERMINAL_OUTPUT} in

  x)

    # Just use the native terminal

  ;;

  x*)

    cat << EOF

terminal_output ${GRUB_TERMINAL_OUTPUT}

EOF

  ;;

esac


if ["x$gfxterm" = x1]; then

    if ["x$GRUB_THEME" != x] && [-f "$GRUB_THEME"] \

	&& is_path_readable_by_grub "$GRUB_THEME"; then

	echo "Found theme: $GRUB_THEME" >&2

	prepare_grub_to_access_device `${grub_probe} --target=device "$GRUB_THEME"`

	cat << EOF

insmod gfxmenu

EOF

	themedir="`dirname "$GRUB_THEME"`"

	for x in "$themedir"/*.pf2 "$themedir"/f/*.pf2; do

	    if [-f "$x"]; then

		cat << EOF

loadfont (\$root)`make_system_path_relative_to_its_root $x`

EOF

	    fi

	done

	if [x"`echo "$themedir"/*.jpg`" != x"$themedir/*.jpg"] || [x"`echo "$themedir"/*.jpeg`" != x"$themedir/*.jpeg"]; then

	    cat << EOF

insmod jpeg

EOF

	fi

	if [x"`echo "$themedir"/*.png`" != x"$themedir/*.png"]; then

	    cat << EOF

insmod png

EOF

	fi

	if [x"`echo "$themedir"/*.tga`" != x"$themedir/*.tga"]; then

	    cat << EOF

insmod tga

EOF

	fi


	cat << EOF

set theme=(\$root)`make_system_path_relative_to_its_root $GRUB_THEME`

EOF

    elif ["x$GRUB_BACKGROUND" != x] && [-f "$GRUB_BACKGROUND"] \

	    && is_path_readable_by_grub "$GRUB_BACKGROUND"; then

	echo "Found background: $GRUB_BACKGROUND" >&2

	case "$GRUB_BACKGROUND" in 

	    *.png) reader=png ;;

	    *.tga) reader=tga ;;

	    *.jpg|*.jpeg) reader=jpeg ;;

	    *) echo "Unsupported image format" >&2; exit 1 ;;

	esac

	prepare_grub_to_access_device `${grub_probe} --target=device "$GRUB_BACKGROUND"`

	cat << EOF

insmod $reader

background_image -m stretch `make_system_path_relative_to_its_root "$GRUB_BACKGROUND"`

EOF

    fi

fi


# Gettext variables and module

if ["x${LANG}" != "xC"] && [-d "${locale_dir}"] ; then

    prepare_grub_to_access_device $(${grub_probe} --target=device ${locale_dir})

  cat << EOF

set locale_dir=(\$root)$(make_system_path_relative_to_its_root ${locale_dir})

set lang=${grub_lang}

insmod gettext

EOF

fi


make_timeout ()

{

    cat << EOF

if ["\${recordfail}" = 1]; then

  set timeout=-1

else

  set timeout=${2}

fi

EOF

}


if ["x$GRUB_BUTTON_CMOS_ADDRESS" != "x"]; then

    cat <
if cmostest $GRUB_BUTTON_CMOS_ADDRESS ; then

EOF

make_timeout "${GRUB_HIDDEN_TIMEOUT_BUTTON}" "${GRUB_TIMEOUT_BUTTON}"

echo else

make_timeout "${GRUB_HIDDEN_TIMEOUT}" "${GRUB_TIMEOUT}"

echo fi

else

make_timeout "${GRUB_HIDDEN_TIMEOUT}" "${GRUB_TIMEOUT}"

fi


if ["x$GRUB_BUTTON_CMOS_ADDRESS" != "x"] && ["x$GRUB_BUTTON_CMOS_CLEAN" = "xyes"]; then

    cat <
cmosclean $GRUB_BUTTON_CMOS_ADDRESS

EOF

fi


# Play an initial tune

if ["x${GRUB_INIT_TUNE}" != "x"] ; then

  echo "play ${GRUB_INIT_TUNE}"

fi


if ["x${GRUB_BADRAM}" != "x"] ; then

  echo "badram ${GRUB_BADRAM}"

fi

30_os-prober

#! /bin/sh

set -e


# grub-mkconfig helper script.

# Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc.

#

# GRUB is free software: you can redistribute it and/or modify

# it under the terms of the GNU General Public License as published by

# the Free Software Foundation, either version 3 of the License, or

# (at your option) any later version.

#

# GRUB is distributed in the hope that it will be useful,

# but WITHOUT ANY WARRANTY; without even the implied warranty of

# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

# GNU General Public License for more details.

#

# You should have received a copy of the GNU General Public License

# along with GRUB. If not, see .


prefix=/usr

exec_prefix=${prefix}

libdir=${exec_prefix}/lib


. ${libdir}/grub/grub-mkconfig_lib


found_other_os=


make_timeout () {

  if ["x${found_other_os}" = "x"] ; then

    if ["x${1}" != "x"] ; then

      if ["x${GRUB_HIDDEN_TIMEOUT_QUIET}" = "xtrue"] ; then

	verbose=

      else

	verbose=" --verbose"

      fi


      if ["x${1}" = "x0"] ; then

	cat <
if ["x\${timeout}" != "x-1"]; then

  if keystatus; then

    if keystatus --shift; then

      set timeout=-1

    else

      set timeout=0

    fi

  else

    if sleep$verbose --interruptible 3 ; then

      set timeout=0

    fi

  fi

fi

EOF

      else

	cat << EOF

if ["x\${timeout}" != "x-1"]; then

  if sleep$verbose --interruptible ${GRUB_HIDDEN_TIMEOUT} ; then

    set timeout=0

  fi

fi

EOF

      fi

    fi

  fi

}


adjust_timeout () {

  if ["x$GRUB_BUTTON_CMOS_ADDRESS" != "x"]; then

    cat <
if cmostest $GRUB_BUTTON_CMOS_ADDRESS ; then

EOF

    make_timeout "${GRUB_HIDDEN_TIMEOUT_BUTTON}" "${GRUB_TIMEOUT_BUTTON}"

    echo else

    make_timeout "${GRUB_HIDDEN_TIMEOUT}" "${GRUB_TIMEOUT}"

    echo fi

  else

    make_timeout "${GRUB_HIDDEN_TIMEOUT}" "${GRUB_TIMEOUT}"

  fi

}


if ["x${GRUB_DISABLE_OS_PROBER}" = "xtrue"]; then

  adjust_timeout

  exit 0

fi


if [-z "`which os-prober 2> /dev/null`" -o -z "`which linux-boot-prober 2> /dev/null`"] ; then

  # missing os-prober and/or linux-boot-prober

  adjust_timeout

  exit 0

fi


OSPROBED="`os-prober | tr ' ' '^' | paste -s -d ' '`"

if [-z "${OSPROBED}"] ; then

  # empty os-prober output, nothing doing

  adjust_timeout

  exit 0

fi


osx_entry() {

        cat << EOF

menuentry "${LONGNAME} (${2}-bit) (on ${DEVICE})" --class osx --class darwin --class os {

EOF

	save_default_entry | sed -e "s/^/\t/"

	prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"

	cat << EOF

        load_video

        set do_resume=0

        if [/var/vm/sleepimage -nt10 /]; then

           if xnu_resume /var/vm/sleepimage; then

             set do_resume=1

           fi

        fi

        if [\$do_resume = 0]; then

           xnu_uuid ${OSXUUID} uuid

           if [-f /Extra/DSDT.aml]; then

              acpi -e /Extra/DSDT.aml

           fi

           $1 /mach_kernel boot-uuid=\${uuid} rd=*uuid

           if [/System/Library/Extensions.mkext -nt /System/Library/Extensions]; then

              xnu_mkext /System/Library/Extensions.mkext

           else

              xnu_kextdir /System/Library/Extensions

           fi

           if [-f /Extra/Extensions.mkext]; then

              xnu_mkext /Extra/Extensions.mkext

           fi

           if [-d /Extra/Extensions]; then

              xnu_kextdir /Extra/Extensions

           fi

           if [-f /Extra/devprop.bin]; then

              xnu_devprop_load /Extra/devprop.bin

           fi

           if [-f /Extra/splash.jpg]; then

              insmod jpeg

              xnu_splash /Extra/splash.jpg

           fi

           if [-f /Extra/splash.png]; then

              insmod png

              xnu_splash /Extra/splash.png

           fi

           if [-f /Extra/splash.tga]; then

              insmod tga

              xnu_splash /Extra/splash.tga

           fi

        fi

}

EOF

}


for OS in ${OSPROBED} ; do

  DEVICE="`echo ${OS} | cut -d ':' -f 1`"

  LONGNAME="`echo ${OS} | cut -d ':' -f 2 | tr '^' ' '`"

  LABEL="`echo ${OS} | cut -d ':' -f 3 | tr '^' ' '`"

  BOOT="`echo ${OS} | cut -d ':' -f 4`"


  if [-z "${LONGNAME}"] ; then

    LONGNAME="${LABEL}"

  fi


  echo "Found ${LONGNAME} on ${DEVICE}" >&2

  found_other_os=1


  case ${BOOT} in

    chain)


      cat << EOF

menuentry "${LONGNAME} (on ${DEVICE})" --class windows --class os {

EOF

      save_default_entry | sed -e "s/^/\t/"

      prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"


      case ${LONGNAME} in

	Windows\ Vista*|Windows\ 7*|Windows\ Server\ 2008*)

	;;

	*)

	  cat << EOF

	drivemap -s (hd0) \${root}

EOF

	;;

      esac


      cat <
	chainloader +1

}

EOF

    ;;

    linux)

      LINUXPROBED="`linux-boot-prober ${DEVICE} 2> /dev/null | tr ' ' '^' | paste -s -d ' '`"

      prepare_boot_cache=


      for LINUX in ${LINUXPROBED} ; do

        LROOT="`echo ${LINUX} | cut -d ':' -f 1`"

        LBOOT="`echo ${LINUX} | cut -d ':' -f 2`"

        LLABEL="`echo ${LINUX} | cut -d ':' -f 3 | tr '^' ' '`"

        LKERNEL="`echo ${LINUX} | cut -d ':' -f 4`"

        LINITRD="`echo ${LINUX} | cut -d ':' -f 5`"

        LPARAMS="`echo ${LINUX} | cut -d ':' -f 6- | tr '^' ' '`"


        if [-z "${LLABEL}"] ; then

          LLABEL="${LONGNAME}"

        fi


	if ["${LROOT}" != "${LBOOT}"]; then

	  LKERNEL="${LKERNEL#/boot}"

	  LINITRD="${LINITRD#/boot}"

	fi


        cat << EOF

menuentry "${LLABEL} (on ${DEVICE})" --class gnu-linux --class gnu --class os {

EOF

	save_default_entry | sed -e "s/^/\t/"

	if [-z "${prepare_boot_cache}"]; then

	  prepare_boot_cache="$(prepare_grub_to_access_device ${LBOOT} | sed -e "s/^/\t/")"

	fi

	printf '%s\n' "${prepare_boot_cache}"

	cat << EOF

	linux ${LKERNEL} ${LPARAMS}

EOF

        if [-n "${LINITRD}"] ; then

          cat << EOF

	initrd ${LINITRD}

EOF

        fi

        cat << EOF

}

EOF

      done

    ;;

    macosx)

      OSXUUID="`grub-probe --target=fs_uuid --device ${DEVICE} 2> /dev/null`"

      osx_entry xnu_kernel 32

      osx_entry xnu_kernel64 64

    ;;

    hurd)

      cat << EOF

menuentry "${LONGNAME} (on ${DEVICE})" --class hurd --class gnu --class os {

EOF

      save_default_entry | sed -e "s/^/\t/"

      prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"

      grub_device="`${grub_probe} --device ${DEVICE} --target=drive`"

      mach_device="`echo "${grub_device}" | sed -e 's/(\(hd.*\),msdos\(.*\))/\1s\2/'`"

      grub_fs="`${grub_probe} --device ${DEVICE} --target=fs`"

      case "${grub_fs}" in

	*fs)	hurd_fs="${grub_fs}" ;;

	*)	hurd_fs="${grub_fs}fs" ;;

      esac

      cat << EOF

	multiboot /boot/gnumach.gz root=device:${mach_device}

	module /hurd/${hurd_fs}.static ${hurd_fs} --readonly \\

			--multiboot-command-line='\${kernel-command-line}' \\

			--host-priv-port='\${host-port}' \\

			--device-master-port='\${device-port}' \\

			--exec-server-task='\${exec-task}' -T typed '\${root}' \\

			'\$(task-create)' '\$(task-resume)'

	module /lib/ld.so.1 exec /hurd/exec '\$(exec-task=task-create)'

}

EOF

    ;;

    *)

      echo " ${LONGNAME} is not yet supported by grub-mkconfig." >&2

    ;;

  esac

done


adjust_timeout

P.S.

A nie ma możliwości poprzez Ubuntu live zmiany czegoś w partycji windows 7 aby uruchomił się po restarcie automatycznie windows 7,jak jest taki problem z Grub2 ?

Grub2 nadpisał bootloader Windowsa, jakby go wchłonął, więc bez przywrócenia go z płyty instalacyjnej

nie da się inaczej uruchomić.

Nagrałem na płytę Ubuntu-secure-remix-12.10-32bits ,w której jest program Boot-Repair do naprawy MBR i Gruba. Uruchomiłem go i w opcjach zaawansowanych zrobiłem, że ma ponownie zainstalować Gruba, czas bootowania na 1 sek. Po naprawie po 1 sek automatycznie ubuntu się uruchomiło,także teraz na ubuntu zainstalowanego mogę wejść.Co teraz mogę zrobić żeby z zainstalowanego ubuntu zmienić uruchamianie z windowsa lub może prosciej z tego programu Boot-Repair,zaznaczyć jakieś opcje, aby windows się jako pierwszy uruchamiał. Korzystałem z tej strony o Boot-Repair

http://linuxiarze.pl/tag/boot-repair/

Najpierw zrób aktualizację gruba, dawno jest stabilna wersja 2.00, a ty masz 1.99 i to jeszcze RC1.

Potem w konsoli update-grub i powinno działać. Oczywiście znowu trzeba będzie Windowsa przemieścić na 1 miejsce na liście

Nie mam Ubuntu więc nie wiem, czy jest opcja “Zarządzanie programem rozruchowym”, ja w openSuse mam taki,

gdzie z łatwością wszystko można ustawić.

Po naprawie przez program Boot-Repair bez problemu startuje Ubuntu. W StartUp-Manager, gdzie można zmieniać kolejnosć systemów, chciałem zmienić aby windows 7 był pierwszy,ale go tam nie było w wyborze ,tylko Windows Recovery Environment (loader) (on /dev/sda2) , z którego nie startuje windows.

A to info po Boot-Repair:

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 

    the same hard drive for core.img. core.img is at this location and looks 

    for (,msdos4)/boot/grub on this drive.


sda1: __________________________________________________________________________


    File system: ntfs

    Boot sector type: Windows Vista/7: NTFS

    Boot sector info: No errors found in the Boot Parameter Block.

    Operating System:  

    Boot files: /bootmgr


sda2: __________________________________________________________________________


    File system: ntfs

    Boot sector type: Windows Vista/7: NTFS

    Boot sector info: No errors found in the Boot Parameter Block.

    Operating System: Windows 7

    Boot files: /bootmgr /boot/BCD /Windows/System32/winload.exe


sda3: __________________________________________________________________________


    File system: ntfs

    Boot sector type: Windows Vista/7: NTFS

    Boot sector info: No errors found in the Boot Parameter Block.

    Operating System:  

    Boot files:        


sda4: __________________________________________________________________________


    File system: ext4

    Boot sector type: -

    Boot sector info: 

    Operating System: Ubuntu 11.04

    Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img


============================ Drive/Partition Info: =============================


Drive: sda _____________________________________________________________________


Disk /dev/sda: 160.0 GB, 160040803840 bytes

255 heads, 63 sectors/track, 19457 cylinders, total 312579695 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes


Partition Boot Start Sector End Sector # of Sectors Id System


/dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS

/dev/sda2 206,848 20,482,047 20,275,200 7 NTFS / exFAT / HPFS

/dev/sda3 20,482,048 163,842,047 143,360,000 7 NTFS / exFAT / HPFS

/dev/sda4 163,842,048 312,578,376 148,736,329 83 Linux



"blkid" output: ________________________________________________________________


Device UUID TYPE LABEL


/dev/loop0 squashfs   

/dev/sda1 042031FD2031F670 ntfs Zastrzeżone przez system

/dev/sda2 F8DC69FFDC69B890 ntfs       

/dev/sda3 CC3232083231F7D2 ntfs JEDEN

/dev/sda4 96d09950-887b-4477-b92e-3f83f7922c3a ext4       

/dev/sr0 iso9660 Ubuntu Secure 12.10 32bits


================================ Mount points: =================================


Device Mount_Point Type Options


/dev/loop0 /rofs squashfs (ro,noatime)

/dev/sr0 /cdrom iso9660 (ro,noatime)



================= sda2: Location of files loaded by Syslinux: ==================


           GiB - GB File Fragment(s)


            ?? = ?? boot/syslinux/chain.c32 1

            ?? = ?? boot/syslinux/config.c32 1

            ?? = ?? boot/syslinux/hdt.c32 1

            ?? = ?? boot/syslinux/ifplop.c32 1

            ?? = ?? boot/syslinux/linux.c32 1

            ?? = ?? boot/syslinux/localboot.c32 1

            ?? = ?? boot/syslinux/menu.c32 2

            ?? = ?? boot/syslinux/reboot.c32 1

            ?? = ?? boot/syslinux/vesamenu.c32 1

            ?? = ?? boot/syslinux/whichsys.c32 1


============== sda2: Version of COM32(R) files used by Syslinux: ===============


 boot/syslinux/chain.c32 : COM32R module (v4.xx)

 boot/syslinux/config.c32 : COM32R module (v4.xx)

 boot/syslinux/hdt.c32 : COM32R module (v4.xx)

 boot/syslinux/ifplop.c32 : COM32R module (v4.xx)

 boot/syslinux/linux.c32 : COM32R module (v4.xx)

 boot/syslinux/localboot.c32 : COM32R module (v4.xx)

 boot/syslinux/menu.c32 : COM32R module (v4.xx)

 boot/syslinux/reboot.c32 : COM32R module (v4.xx)

 boot/syslinux/vesamenu.c32 : COM32R module (v4.xx)

 boot/syslinux/whichsys.c32 : COM32R module (v4.xx)


=========================== sda4/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="4"

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 video_bochs

  insmod video_cirrus

}


insmod part_msdos

insmod ext2

set root='(/dev/sda,msdos4)'

search --no-floppy --fs-uuid --set=root 96d09950-887b-4477-b92e-3f83f7922c3a

if loadfont /usr/share/grub/unicode.pf2 ; then

  set gfxmode=auto

  load_video

  insmod gfxterm

fi

terminal_output gfxterm

insmod part_msdos

insmod ext2

set root='(/dev/sda,msdos4)'

search --no-floppy --fs-uuid --set=root 96d09950-887b-4477-b92e-3f83f7922c3a

set locale_dir=($root)/boot/grub/locale

set lang=pl_PL

insmod gettext

if ["${recordfail}" = 1]; then

  set timeout=10

else

  set timeout=10

fi

### END /etc/grub.d/00_header ###


### BEGIN /etc/grub.d/05_debian_theme ###

insmod part_msdos

insmod ext2

set root='(/dev/sda,msdos4)'

search --no-floppy --fs-uuid --set=root 96d09950-887b-4477-b92e-3f83f7922c3a

insmod png

if background_image /usr/share/images/desktop-base/spacefun-grub.png; then

  set color_normal=light-gray/black

  set color_highlight=white/black

else

  set menu_color_normal=white/black

  set menu_color_highlight=black/light-gray

  if background_color 44,0,30; then

    clear

  fi

fi

### END /etc/grub.d/05_debian_theme ###


### BEGIN /etc/grub.d/10_linux ###

if [${recordfail} != 1]; then

  if [-e ${prefix}/gfxblacklist.txt]; then

    if hwmatch ${prefix}/gfxblacklist.txt 3; then

      if [${match} = 0]; then

        set linux_gfx_mode=keep

      else

        set linux_gfx_mode=text

      fi

    else

      set linux_gfx_mode=text

    fi

  else

    set linux_gfx_mode=keep

  fi

else

  set linux_gfx_mode=text

fi

export linux_gfx_mode

if ["$linux_gfx_mode" != "text"]; then load_video; fi

menuentry 'GNU/Linux, with Linux 2.6.38-8-generic' --class gnu-linux --class gnu --class os {

	recordfail

	set gfxpayload=$linux_gfx_mode

	insmod part_msdos

	insmod ext2

	set root='(/dev/sda,msdos4)'

	search --no-floppy --fs-uuid --set=root 96d09950-887b-4477-b92e-3f83f7922c3a

	linux	/boot/vmlinuz-2.6.38-8-generic root=UUID=96d09950-887b-4477-b92e-3f83f7922c3a ro quiet splash vt.handoff=7

	initrd	/boot/initrd.img-2.6.38-8-generic

}

menuentry 'GNU/Linux, with Linux 2.6.38-8-generic (recovery mode)' --class gnu-linux --class gnu --class os {

	recordfail

	set gfxpayload=$linux_gfx_mode

	insmod part_msdos

	insmod ext2

	set root='(/dev/sda,msdos4)'

	search --no-floppy --fs-uuid --set=root 96d09950-887b-4477-b92e-3f83f7922c3a

	echo	'Loading Linux 2.6.38-8-generic ...'

	linux	/boot/vmlinuz-2.6.38-8-generic root=UUID=96d09950-887b-4477-b92e-3f83f7922c3a ro single 

	echo	'Loading initial ramdisk ...'

	initrd	/boot/initrd.img-2.6.38-8-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='(/dev/sda,msdos4)'

	search --no-floppy --fs-uuid --set=root 96d09950-887b-4477-b92e-3f83f7922c3a

	linux16	/boot/memtest86+.bin

}

menuentry "Memory test (memtest86+, serial console 115200)" {

	insmod part_msdos

	insmod ext2

	set root='(/dev/sda,msdos4)'

	search --no-floppy --fs-uuid --set=root 96d09950-887b-4477-b92e-3f83f7922c3a

	linux16	/boot/memtest86+.bin console=ttyS0,115200n8

}

### END /etc/grub.d/20_memtest86+ ###


### BEGIN /etc/grub.d/30_os-prober ###

menuentry "Windows Recovery Environment (loader) (on /dev/sda2)" --class windows --class os {

	insmod part_msdos

	insmod ntfs

	set root='(/dev/sda,msdos2)'

	search --no-floppy --fs-uuid --set=root F8DC69FFDC69B890

	drivemap -s (hd0) ${root}

	chainloader +1

}

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

--------------------------------------------------------------------------------


=============================== sda4/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).

#

# 

proc /proc proc nodev,noexec,nosuid 0 0

/dev/sda4 / ext4 errors=remount-ro 0 1

/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

--------------------------------------------------------------------------------


=================== sda4: Location of files loaded by Grub: ====================


           GiB - GB File Fragment(s)


 138.266750336 = 148.462792704 boot/grub/core.img 1

 138.258758545 = 148.454211584 boot/grub/grub.cfg 1

  79.133152008 = 84.968574976 boot/initrd.img-2.6.38-8-generic 2

 138.258281708 = 148.453699584 boot/vmlinuz-2.6.38-8-generic 1

  79.133152008 = 84.968574976 initrd.img 2

 138.258281708 = 148.453699584 vmlinuz 1


=============================== StdErr Messages: ===============================


File descriptor 8 (/proc/5377/mounts) leaked on lvscan invocation. Parent PID 13721: bash

  No volume groups found


ADDITIONAL INFORMATION :

=================== log of boot-repair 2008-01-12__23h40 ===================

boot-repair version : 3.195~ppa11~quantal

boot-sav version : 3.195~ppa11~quantal

glade2script version : 3.2.2~ppa45~quantal

boot-sav-extra version : 3.195~ppa11~quantal

boot-repair is executed in live-session (Ubuntu-Secure-Remix 12.10 29nov2012, quantal, Ubuntu, i686)

CPU op-mode(s): 32-bit, 64-bit

file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity


=================== os-prober:

/dev/sda2:Windows Recovery Environment (loader):Windows:chain

/dev/sda4:Ubuntu 11.04 (11.04):Ubuntu:linux


=================== blkid:

/dev/loop0: TYPE="squashfs"

/dev/sr0: LABEL="Ubuntu Secure 12.10 32bits" TYPE="iso9660"

/dev/sda1: LABEL="ZastrzeM-EM-
/dev/sda2: UUID="F8DC69FFDC69B890" TYPE="ntfs"

/dev/sda3: LABEL="JEDEN" UUID="CC3232083231F7D2" TYPE="ntfs"

/dev/sda4: UUID="96d09950-887b-4477-b92e-3f83f7922c3a" TYPE="ext4"



1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.




=================== sda4/etc/default/grub :


# If you change this file, run 'update-grub' afterwards to update

# /boot/grub/grub.cfg.

# For full documentation of the options in this file, see:

# info -f grub -n 'Simple configuration'


GRUB_DEFAULT=4

#GRUB_HIDDEN_TIMEOUT=0

GRUB_HIDDEN_TIMEOUT_QUIET=true

GRUB_TIMEOUT=4

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

GRUB_CMDLINE_LINUX=""


# Uncomment to enable BadRAM filtering, modify to suit your needs

# This works with Linux (no patch required) and with any kernel that obtains

# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)

#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"


# Uncomment to disable graphical terminal (grub-pc only)

#GRUB_TERMINAL=console


# The resolution used on graphical terminal

# note that you can use only modes which your graphic card supports via VBE

# you can see them in real GRUB with the command `vbeinfo'

#GRUB_GFXMODE=640x480


# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

#GRUB_DISABLE_LINUX_UUID=true


# Uncomment to disable generation of recovery mode menu entries

#GRUB_DISABLE_RECOVERY="true"


# Uncomment to get a beep at grub start

#GRUB_INIT_TUNE="480 440 1"





=================== sda4/etc/grub.d/ :

drwxr-xr-x 2 root root 4096 kwi 25 2011 grub.d

total 56

-rwxr-xr-x 1 root root 6658 kwi 21 2011 00_header

-rwxr-xr-x 1 root root 5522 kwi 21 2011 05_debian_theme

-rwxr-xr-x 1 root root 6304 kwi 21 2011 10_linux

-rwxr-xr-x 1 root root 5233 kwi 21 2011 20_linux_xen

-rwxr-xr-x 1 root root 1588 paź 22 2010 20_memtest86+

-rwxr-xr-x 1 root root 7119 kwi 21 2011 30_os-prober

-rwxr-xr-x 1 root root 214 kwi 21 2011 40_custom

-rwxr-xr-x 1 root root 95 kwi 21 2011 41_custom

-rw-r--r-- 1 root root 483 kwi 21 2011 README



=================== UEFI/Legacy mode:

This live-session is not EFI-compatible.

SecureBoot maybe enabled.



=================== PARTITIONS & DISKS:

sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.

sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	recovery-or-hidden,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda2.

sda3	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda3.

sda4	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc,	update-grub,	32,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda4.


sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, not-usb,	has-os,	2048 sectors * 512 bytes



=================== parted -l:


Model: ATA WDC WD1600AAJS-0 (scsi)

Disk /dev/sda: 160GB

Sector size (logical/physical): 512B/512B

Partition Table: msdos


Number Start End Size Type File system Flags

1 1049kB 106MB 105MB primary ntfs boot

2 106MB 10.5GB 10.4GB primary ntfs

3 10.5GB 83.9GB 73.4GB primary ntfs

4 83.9GB 160GB 76.2GB primary ext4





Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0

has been opened read-only.



Error: /dev/sr0: unrecognised disk label


=================== parted -lm:


BYT;

/dev/sda:160GB:scsi:512:512:msdos:ATA WDC WD1600AAJS-0;

1:1049kB:106MB:105MB:ntfs::boot;

2:106MB:10.5GB:10.4GB:ntfs::;

3:10.5GB:83.9GB:73.4GB:ntfs::;

4:83.9GB:160GB:76.2GB:ext4::;




Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0

has been opened read-only.



Error: /dev/sr0: unrecognised disk label



=================== mount:

/cow on / type overlayfs (rw)

proc on /proc type proc (rw,noexec,nosuid,nodev)

sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)

udev on /dev type devtmpfs (rw,mode=0755)

devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)

tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)

/dev/sr0 on /cdrom type iso9660 (ro,noatime)

/dev/loop0 on /rofs type squashfs (ro,noatime)

none on /sys/fs/fuse/connections type fusectl (rw)

none on /sys/kernel/debug type debugfs (rw)

none on /sys/kernel/security type securityfs (rw)

tmpfs on /tmp type tmpfs (rw,nosuid,nodev)

none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)

none on /run/shm type tmpfs (rw,nosuid,nodev)

none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)

gvfsd-fuse on /run/user/ubuntu/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)

/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

/dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw)



=================== ls:

/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent

/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent

/dev (filtered): alarm ashmem autofs binder block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd full fuse fw0 hidraw0 hidraw1 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null oldmem parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom vga_arbiter vhost-net watchdog zero

ls /dev/mapper: control


=================== df -Th:


Filesystem Type Size Used Avail Use% Mounted on

/cow overlayfs 502M 44M 458M 9% /

udev devtmpfs 494M 12K 493M 1% /dev

tmpfs tmpfs 201M 800K 200M 1% /run

/dev/sr0 iso9660 751M 751M 0 100% /cdrom

/dev/loop0 squashfs 723M 723M 0 100% /rofs

tmpfs tmpfs 502M 16K 502M 1% /tmp

none tmpfs 5,0M 4,0K 5,0M 1% /run/lock

none tmpfs 502M 76K 502M 1% /run/shm

none tmpfs 100M 40K 100M 1% /run/user

/dev/sda1 fuseblk 100M 25M 76M 25% /mnt/boot-sav/sda1

/dev/sda2 fuseblk 9,7G 9,5G 238M 98% /mnt/boot-sav/sda2

/dev/sda3 fuseblk 69G 4,3G 65G 7% /mnt/boot-sav/sda3

/dev/sda4 ext4 70G 4,5G 62G 7% /mnt/boot-sav/sda4


=================== fdisk -l:


Disk /dev/sda: 160.0 GB, 160040803840 bytes

255 heads, 63 sectors/track, 19457 cylinders, total 312579695 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: 0xa32ba32b


Device Boot Start End Blocks Id System

/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT

/dev/sda2 206848 20482047 10137600 7 HPFS/NTFS/exFAT

/dev/sda3 20482048 163842047 71680000 7 HPFS/NTFS/exFAT

/dev/sda4 163842048 312578376 74368164+ 83 Linux




=================== Recommended repair

Recommended-Repair

This setting will reinstall the grub2 of sda4 into the MBR of sda.

Additional repair will be performed: unhide-bootmenu-10s



Unhide GRUB boot menu in sda4/etc/default/grub

grub-install (GRUB) 1.99~rc1-13ubuntu3,grub-install (GRUB) 1.


Reinstall the GRUB of sda4 into the MBR of sda

grub-install /dev/sda: Installation finished. No error reported.

exit code of grub-install /dev/sda:0


chroot /mnt/boot-sav/sda4 update-grub

Generating grub.cfg ...

Found background image: /usr/share/images/desktop-base/desktop-grub.png

Found linux image: /boot/vmlinuz-2.6.38-8-generic

Found initrd image: /boot/initrd.img-2.6.38-8-generic

Found memtest86+ image: /boot/memtest86+.bin

ls: cannot access /mnt/boot-sav/sda1: No such file or directory

ls: cannot access /mnt/boot-sav/sda1: No such file or directory

ls: cannot access /mnt/boot-sav/sda1: No such file or directory

ls: cannot access /mnt/boot-sav/sda1: No such file or directory

ls: cannot access /mnt/boot-sav/sda1: No such file or directory

ls: cannot access /mnt/boot-sav/sda1: No such file or directory

ls: cannot access /mnt/boot-sav/sda1: No such file or directory

ls: cannot access /mnt/boot-sav/sda3: No such file or directory

ls: cannot access /mnt/boot-sav/sda3: No such file or directory

ls: cannot access /mnt/boot-sav/sda3: No such file or directory

ls: cannot access /mnt/boot-sav/sda3: No such file or directory

ls: cannot access /mnt/boot-sav/sda3: No such file or directory

ls: cannot access /mnt/boot-sav/sda3: No such file or directory

ls: cannot access /mnt/boot-sav/sda3: No such file or directory

Found Windows Recovery Environment (loader) on /dev/sda2

Unhide GRUB boot menu in sda4/boot/grub/grub.cfg


Rozruch komputera został naprawiony.


Teraz możesz ponownie uruchomić komputer.

Dodane 06.02.2013 (Śr) 13:33

Nie za bardzo to wszystko wychodziło i kupiłem używaną płytę główną. Usunąłem Ubuntu ,został tylko windows 7 i nie ma żadnych problemów. Dziękuję Tobie reos za poswięcony czas.Pozdrawiam