Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: kejhal 30 Dubna 2010, 17:04:11
-
Zdravím,
psal jsem zde do nějakého topicu, ale raději to napíšu do topicu samotného.
Mám problém ten, že po spuětění PC najede nová GRUB2 a v nem mam na vyber bud ubuntu nebo Windows 7 (loader). Toto vše je správně, ubuntu najede bez problému, ale jestliže se pokusím spustit Windows 7 tak se mi na obrazovce zobrazi akorat v hornim levem rohu blikající pomlčka ( - ). Níkdy mi to nedělalo, ani na starém GRUBu (na starém GRUBu jsem měl problém ten, že najížděl až 4 minuty, novým GRUBem se to vyresilo). Když se z Ubuntu podívám na sytémový oddíl kde mam Win 7 tak v něm všechno je, celá složka Windows má stejnou velikost jako měla i před upgradem na novou Ubuntu.
Jestliže se najdě někdo kdo by dokázal pomoct, byl bych moc vděčný.
Děkuji
Edit: přidávám pro jistotu výsledek z boot_info_script
nejspíš tam zůstala nějaka data z předchozích OS. Disky sda a sdb jsou na Win, sdc je Linux a sdd je externí HDD.
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 /boot/grub.
=> Windows is installed in the MBR of /dev/sdb
=> Grub 2 is installed in the MBR of /dev/sdc and looks on the same drive in
partition #1 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdd
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda1 and
looks at sector 273087 of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe /grldr
sda2: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdb1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdb2: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdc1: _________________________________________________________________________
File system: ext4
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sdc1 and
looks at sector 273087 of the same hard drive for
core.img, but core.img can not be found at this
location.
Operating System: Ubuntu 10.04 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sdc2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdc5: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdd1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 320,1 GB, 320 072 933 376 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 38 913, celkem 625 142 448 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů
Partition Boot Start End Size Id System
/dev/sda1 * 63 420,099,749 420,099,687 7 HPFS/NTFS
/dev/sda2 420,099,750 625,137,344 205,037,595 7 HPFS/NTFS
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 750,2 GB, 750 156 374 016 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 91 201, celkem 1 465 149 168 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů
Partition Boot Start End Size Id System
/dev/sdb1 63 715,390,514 715,390,452 7 HPFS/NTFS
/dev/sdb2 715,390,515 1,465,144,064 749,753,550 7 HPFS/NTFS
Drive: sdc ___________________ _____________________________________________________
Disk /dev/sdc: 1 000,2 GB, 1 000 204 886 016 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 121 601, celkem 1 953 525 168 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů
Partition Boot Start End Size Id System
/dev/sdc1 63 1,929,743,864 1,929,743,802 83 Linux
/dev/sdc2 1,929,743,865 1,953,520,064 23,776,200 5 Extended
/dev/sdc5 1,929,743,928 1,953,520,064 23,776,137 82 Linux swap / Solaris
Drive: sdd ___________________ _____________________________________________________
Disk /dev/sdd: 999,5 GB, 999 501 594 624 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 121 515, celkem 1 952 151 552 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů
Partition Boot Start End Size Id System
/dev/sdd1 2,048 1,952,151,551 1,952,149,504 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/ramzswap0 swap
/dev/sda: PTTYPE="dos"
/dev/sda1 533007726F257866 ntfs Systém - Windows
/dev/sda2 1DCFF3624C767B11 ntfs
/dev/sdb: PTTYPE="dos"
/dev/sdb1 32A4E479A4E440C9 ntfs Honza
/dev/sdb2 4C88EF8788EF6DC0 ntfs Tomáš
/dev/sdc: PTTYPE="dos"
/dev/sdc1 9fd308e4-8900-4925-bbbf-cffc81388807 ext4
/dev/sdc2: PTTYPE="dos"
/dev/sdc5 d7595284-0c46-462e-b286-810944e7e831 swap
/dev/sdd: PTTYPE="dos"
/dev/sdd1 12C23AD8C23AC031 ntfs My Book
error: /dev/sde: No medium found
error: /dev/sdf: No medium found
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sdc1 / ext4 (rw,errors=remount-ro)
/dev/sr2 /media/cdrom2 udf (ro,nosuid,nodev,utf8,user=honza)
/dev/sdd1 /media/My Book_ fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
=========================== sdc1/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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
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
}
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9fd308e4-8900-4925-bbbf-cffc81388807
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9fd308e4-8900-4925-bbbf-cffc81388807
set locale_dir=($root)/boot/grub/locale
set lang=cs
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.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9fd308e4-8900-4925-bbbf-cffc81388807
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=9fd308e4-8900-4925-bbbf-cffc81388807 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9fd308e4-8900-4925-bbbf-cffc81388807
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=9fd308e4-8900-4925-bbbf-cffc81388807 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-20-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9fd308e4-8900-4925-bbbf-cffc81388807
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=9fd308e4-8900-4925-bbbf-cffc81388807 ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-20-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9fd308e4-8900-4925-bbbf-cffc81388807
echo 'Loading Linux 2.6.31-20-generic ...'
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=9fd308e4-8900-4925-bbbf-cffc81388807 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.31-20-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9fd308e4-8900-4925-bbbf-cffc81388807
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 9fd308e4-8900-4925-bbbf-cffc81388807
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 533007726f257866
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 ###
=============================== sdc1/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 defaults 0 0
# / was on /dev/sdc1 during installation
UUID=9fd308e4-8900-4925-bbbf-cffc81388807 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
UUID=d7595284-0c46-462e-b286-810944e7e831 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd2 /media/cdrom2 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sdc1: Location of files loaded by Grub: ===================
.1GB: boot/grub/core.img
.3GB: boot/grub/grub.cfg
77.6GB: boot/initrd.img-2.6.31-20-generic
131.0GB: boot/initrd.img-2.6.32-21-generic
.7GB: boot/vmlinuz-2.6.31-20-generic
21.7GB: boot/vmlinuz-2.6.32-21-generic
131.0GB: initrd.img
21.7GB: vmlinuz
=======Devices which don't seem to have a corresponding hard drive==============
sde sdf
-
zkoušel jsi na úplný začátek:
sudo update-grub
-
Nemohu si pomoci, ale tohle maličké nedopatření v 10.04 mě osobně velmi pobavilo :-)
-
Ano, je tu toho plno, jenže ja zkoušel vše co jsem pochopil... A ano zkoušel jsem sudo update-grub a sudo update-grub2, ani jedno nic neudelalo.
-
Ano, je tu toho plno, jenže ja zkoušel vše co jsem pochopil... A ano zkoušel jsem sudo update-grub a sudo update-grub2, ani jedno nic neudelalo.
Co znamená "nic neudělalo"? To jako že to ani nic nenapsalo? A pokud napsalo, přečetl sis to? A pokud přečet a nerozměl, připojil's to k dotazu? Pochop laskavě, že odtud nikdo do tvého počítače nevidí a na základě takto vágně položeného dotazu ti asi těžko může někdo poradit něco jiného, než to, co ostatním.
-
Přečetl jsem si o čem distkuovali ostatní. Toho čeho jsem si byl jistý, že nic nepokazím jsem zkusil. A tam kde jsem nevěděl jak dál jsem radši přestal. Na linuxu nejsem zase tak dlouho, takže se snažím si dávat pozor. A tím nic neudělalo jsem měl namysli, že to něco vypsalo, ale změna žádná.
-
Zkuste doinstalovat StarUpManager a použít. Spusťte ho v terminálu, ať je vidět nálezy.
-
StartUpManager už nainstalovaný je.
Spustil jsem a vypsalo se toto
honza@PC-Linux:~$ startupmanager
error: cannot open `/dev/sdd' while attempting to get disk size.error: cannot open `/dev/sdd' while attempting to get disk size.
Generating grub.cfg ...
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
Found linux image: /boot/vmlinuz-2.6.31-20-generic
Found initrd image: /boot/initrd.img-2.6.31-20-generic
Found memtest86+ image: /boot/memtest86+.bin
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
Found Windows 7 (loader) on /dev/sda1
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
error: cannot open `/dev/sdd' while attempting to get disk size.
done
Grub2 detected
Usplash not detected
Splashy not detected
honza@Kluci-PC-Linux:~$
-
Externí disky je třeba vždy odpojit při téhle akci.
-
to jsem si uvedomil az potom, ale psalo to porad... ale celkove jsem nebyl s ubuntu 10.04 spokojeny, proto jsem uibuntu opet preinstaloval zpet na 9.10, ale problem porad pretrvava, grub najede, ale kdyz spustim windows 7 tak jenom blika pomlcka... ja uz fakt nevim co s tim... nejspis zkusim HDD s windowsem vytahnout a dam to do jineho pc jestli se neco nestalo s bootovacima souborama...(ale nejspis je to blbost, je to uplne jiny HDD, ubuntu by na to nemel mit vliv)...
Edit: tak pisu jeste jednou, ale nejsem jsem uz totalne v haji a vypada to ze muzu reinstalovat jak windows tak ubuntu... pomoci ms-ys jsem zkusil nastavit disk s windowsem aby bootoval jen on, jenze stale pomlcka pouze blika... takze mi ted nejde ani windows a ani ubuntu...
prosim vas, kdyby tu kdokoliv vedel, jak rozjet aspon ten windows... dekuju
-
Nechat v PC pouze disk z win7 a spustit záchranu v nouzovém režimu po startu z CD win7.
-
Máš v boot sectoru Win nainstalovaný Grub (proč?). Některé věci jsi už ale měnil, takže by bylo možná lepší tu znovu dát výpis z boot_info_script (http://wiki.ubuntu.cz/boot_info_script).
Jinak by ti mohlo pomoct
http://forum.ubuntu.cz/index.php/topic,46380.0.html