Podaj wynik skryptu bootinfoscript.
Nie bardzo wiem co wpisać w <output file>.
Nic nie wpisuj - samo zrobi.
Po rozpakowaniu uruchomiłem w terminalu i program pokazał się i się wyłączył. Natomiast gdy wpisuję w terminalu: ./bootinfoscript <outputfile> to wynik jest:
bash: syntax error near unexpected token `newline’
Daj:
bash ./bootinfoscript
bash: ./bootinfoscript: No such file or directory
bash /ścieżka/do/pliku/bootinfoscript
Boot Info Script 0.61 [1 April 2012]
Please use "sudo" or become "root" to run this script.
Run the script as sudoer:
sudo /home/natan/Pulpit/bootinfoscript <outputfile>
or if your operating system does not use sudo:
su -
/home/natan/Pulpit/bootinfoscript <outputfile>
For more info, see the help:
/home/natan/Pulpit/bootinfoscript --help
Jak wybieram którąś z komend to pojawia się błąd ‘‘newline’’.
Moment …
Ale się postarałeś :).
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
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:
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bootx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/MokManager.efi /efi/ubuntu/shimx64.efi
sda3: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
sda4: __________________________________________________________________________
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: /Windows/System32/winload.exe
sda5: __________________________________________________________________________
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:
sda6: __________________________________________________________________________
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:
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 17 Qiana
Boot files: /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab
sda8: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda9: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda10: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 976,773,167 976,773,167 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 821,247 819,200 Windows Recovery Environment (Windows)
/dev/sda2 821,248 1,435,647 614,400 EFI System partition
/dev/sda3 1,435,648 1,697,791 262,144 Microsoft Reserved Partition (Windows)
/dev/sda4 1,697,792 684,402,687 682,704,896 Data partition (Windows/Linux)
/dev/sda5 940,402,688 941,119,487 716,800 Windows Recovery Environment (Windows)
/dev/sda6 941,119,488 976,773,119 35,653,632 Windows Recovery Environment (Windows)
/dev/sda7 684,402,688 713,699,327 29,296,640 Data partition (Linux)
/dev/sda8 713,699,328 721,512,447 7,813,120 Data partition (Linux)
/dev/sda9 721,512,448 897,294,335 175,781,888 Data partition (Linux)
/dev/sda10 897,294,336 903,153,663 5,859,328 Swap partition (Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 B2E8E2C4E8E28647 ntfs Recovery
/dev/sda10 5b943156-3c8c-4141-b55a-b9ec86700331 swap
/dev/sda2 7AE5-1216 vfat ESP
/dev/sda4 8A06E6DB06E6C6F3 ntfs Acer
/dev/sda5 D26E9E366E9E1379 ntfs
/dev/sda6 30B6E8DBB6E8A298 ntfs Push Button Reset
/dev/sda7 7f54ebc2-46f7-4908-89d0-758b25a18b91 ext4
/dev/sda8 75cfbedc-aafe-4466-905d-b5a288292951 ext4
/dev/sda9 b32a9a3c-94ee-43c6-8467-190c2a91ef9a ext4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda2 /boot/efi vfat (rw)
/dev/sda7 / ext4 (rw,errors=remount-ro)
/dev/sda8 /swap ext4 (rw)
/dev/sda9 /home ext4 (rw)
=========================== sda7/boot/grub/menu.lst: ===========================
--------------------------------------------------------------------------------
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-legacy-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=7f54ebc2-46f7-4908-89d0-758b25a18b91 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=7f54ebc2-46f7-4908-89d0-758b25a18b91
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Linux Mint 17 Qiana, kernel 3.13.0-24-generic
uuid 7f54ebc2-46f7-4908-89d0-758b25a18b91
kernel /boot/vmlinuz-3.13.0-24-generic root=UUID=7f54ebc2-46f7-4908-89d0-758b25a18b91 ro quiet splash
initrd /boot/initrd.img-3.13.0-24-generic
title Linux Mint 17 Qiana, kernel 3.13.0-24-generic (recovery mode)
uuid 7f54ebc2-46f7-4908-89d0-758b25a18b91
kernel /boot/vmlinuz-3.13.0-24-generic root=UUID=7f54ebc2-46f7-4908-89d0-758b25a18b91 ro single
initrd /boot/initrd.img-3.13.0-24-generic
title Linux Mint 17 Qiana, memtest86+
uuid 7f54ebc2-46f7-4908-89d0-758b25a18b91
kernel /boot/memtest86+.bin
### END DEBIAN AUTOMAGIC KERNELS LIST
--------------------------------------------------------------------------------
=========================== sda7/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
if ["${next_entry}"] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [x"${feature_menuentry_id}" = xy]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
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 {
if [x$feature_all_video_module = xy]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [x$feature_default_font_path = xy] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [x$feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 7f54ebc2-46f7-4908-89d0-758b25a18b91
else
search --no-floppy --fs-uuid --set=root 7f54ebc2-46f7-4908-89d0-758b25a18b91
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=pl_PL
insmod gettext
fi
terminal_output gfxterm
if ["${recordfail}" = 1] ; then
set timeout=-1
else
if [x$feature_timeout_style = xy] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
Uruchom Linux Mint, potem spróbuj przejrzeć w menedżerze plików partycje Windowsowe. Nie wywaliłeś czegoś za dużo przypadkiem?
Jakie błędy są jak próbujesz uruchomić Windowsa?
Windows uruchamia się bez problemu jeśli jest na pierwszej pozycji bootowania jednak przy próbie uruchomienia windowsa z grub pokazuje się błąd cannot load image. Przy partycjonowaniu podzieliłem dysk C (windowsowy) na 120 GB (z 250 GB dostępnych)dla Linuxa za pomocą Gparted.
Możliwe, że to właśnie podzielenie partycji Windowsa spowodowało problem w systemie i GRUB ma trud go wykryć.
Czyli nie da się nic zrobić?
Oczywiście mogę zmienić tryb z Uefi na Legacy mode ale nir chcę się narażać na wysypanie Windowsa.
Czyżby jakiś nowy bootloader dla Minta?
Wypróbiwał bym Ubuntu ale jednak Mint jest przyjemny.
Jak nawet win się wysypie to zmienisz spowrotem i się uruchomi
A jakby zainstalować Ubuntu, może on poprawnie wykryje system?
mint to jest Ubuntu spróbować możesz
Racja. A z usuwaniem linuxa różne historie mogą być. Chyba spróbuje zrobić tak jak Roobal pisał w poradniku, programem EasyBcd, jako że nie mam płyty z windowsem.
A tak w ogóle, poza wygodą, przełączanie w biosie kolejności bootowania przy włączaniu komputera niczego nie psuje, prawda?