Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: M4rek 28 Srpna 2010, 16:55:55
-
Mal som na notebooku nainstalovany WIN 7 a Vistu. Particiu s Vistou som zmazal a nainstaloval som Ubuntu. Lenze teraz ked zapnem notebook tak sa hned spusti Ubuntu a neda mi na vyber Sedmicku alebo Ubuntu ako by to malo robit. Ako to napravit ? Mal sa tam nahodit GRUB, nie ? Som dost zaciatocnik s linuxom, ale uz som aj na iny NB instaloval Ubuntu a vzdy to spravilo normalne dualboot. Podotykam, ze particia s Win 7 tam stale je, nezmazal som ju.
Vdaka za pomoc
-
a asi jste si nezkontroloval, jestli ta partition s windows vista nebyla se zavadecem pro windows 7...
pokud byl zavadec pro windows 7 na te odstranene partisne, tak ubuntu opravdu nema, jak by ty windows spustil
zkuste sem dat vypis z http://wiki.ubuntu.cz/boot_info_script (http://wiki.ubuntu.cz/boot_info_script)
-
tu je vysledok:
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 #5 for /boot/grub.
sda1: _________________________________________________________________________
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:
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda3 starts
at sector 0. But according to the info from fdisk,
sda3 starts at sector 151219845.
Operating System: Windows 7
Boot files/dirs: /Windows/System32/winload.exe
sda4: _________________________________________________________________________
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:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 2,048 3,074,047 3,072,000 27 Hidden HPFS/NTFS
/dev/sda2 3,076,094 151,218,175 148,142,082 5 Extended
/dev/sda5 3,076,096 51,902,463 48,826,368 83 Linux
/dev/sda6 51,904,512 140,795,903 88,891,392 83 Linux
/dev/sda7 140,797,952 151,218,175 10,420,224 82 Linux swap / Solaris
/dev/sda3 151,219,845 246,774,464 95,554,620 7 HPFS/NTFS
/dev/sda4 246,786,048 488,394,751 241,608,704 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda: PTTYPE="dos"
/dev/sda1 74C43105C430CB5E ntfs WinRE
/dev/sda2: PTTYPE="dos"
/dev/sda3 01CA5572F5A93420 ntfs
/dev/sda4 329A36639A36242F ntfs Data
/dev/sda5 790ddd1d-4d75-4de6-8895-c0cc2d850bf9 ext4
/dev/sda6 af1acdd9-f896-4aad-b3f7-7009f329a2a7 ext4
/dev/sda7 4e17859e-b9d2-4473-aa7c-8bb663772c41 swap
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda5 / ext4 (rw,errors=remount-ro)
/dev/sda6 /home ext4 (rw)
/dev/sda3 /media/01CA5572F5A93420 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda4 /media/Data fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
=========================== sda5/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='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
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='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
set locale_dir=($root)/boot/grub/locale
set lang=sk
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-24-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
linux /boot/vmlinuz-2.6.32-24-generic-pae root=UUID=790ddd1d-4d75-4de6-8895-c0cc2d850bf9 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
echo 'Loading Linux 2.6.32-24-generic-pae ...'
linux /boot/vmlinuz-2.6.32-24-generic-pae root=UUID=790ddd1d-4d75-4de6-8895-c0cc2d850bf9 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic-pae
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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 ###
=============================== sda5/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 nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=790ddd1d-4d75-4de6-8895-c0cc2d850bf9 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=af1acdd9-f896-4aad-b3f7-7009f329a2a7 /home ext4 defaults 0 2
# swap was on /dev/sda7 during installation
UUID=4e17859e-b9d2-4473-aa7c-8bb663772c41 none swap sw 0 0
=================== sda5: Location of files loaded by Grub: ===================
10.3GB: boot/grub/core.img
14.9GB: boot/grub/grub.cfg
10.3GB: boot/initrd.img-2.6.32-24-generic-pae
10.3GB: boot/vmlinuz-2.6.32-24-generic-pae
10.3GB: initrd.img
10.3GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 8b 55 ec 89 51 2c 8b 45 08 8b 48 2c 89 4d ec c7 |.U..Q,.E..H,.M..|
00000010 45 f0 27 00 00 00 8b 55 ec 3b 55 f0 1b c0 f7 d8 |E.'....U.;U.....|
00000020 8b 4d 08 89 41 28 8b 55 08 8b 42 08 89 45 fc 8b |.M..A(.U..B..E..|
00000030 4d 08 8b 51 28 89 55 ec 8b 45 fc 3b 45 ec 75 05 |M..Q(.U..E.;E.u.|
00000040 e9 af 00 00 00 8b 4d 08 8b 51 14 89 55 ec c7 45 |......M..Q..U..E|
00000050 f0 84 02 00 00 8b 45 ec 03 45 f0 8b 4d 08 89 41 |......E..E..M..A|
00000060 30 8b 55 08 8b 42 2c 89 45 ec c7 45 f0 02 00 00 |0.U..B,.E..E....|
00000070 00 8b 55 ec 8b 4d f0 d3 e2 8b 45 08 89 50 20 8b |..U..M....E..P .|
00000080 4d 08 8b 51 20 89 55 ec 8b 45 08 8b 48 30 89 4d |M..Q .U..E..H0.M|
00000090 f0 8b 55 ec 03 55 f0 8b 45 08 89 50 34 8d 4d ec |..U..U..E..P4.M.|
000000a0 51 8b 55 08 8b 42 34 50 8b 4d 08 51 e8 8f f4 01 |Q.U..B4P.M.Q....|
000000b0 00 89 45 f4 83 7d f4 00 7d 0e 8b 55 08 8b 45 f4 |..E..}..}..U..E.|
000000c0 89 42 14 e9 20 c4 01 00 8b 4d 08 8b 55 ec 89 51 |.B.. ....M..U..Q|
000000d0 38 8b 45 08 8b 48 38 89 4d ec 8b 55 08 8b 42 70 |8.E..H8.M..U..Bp|
000000e0 89 45 f0 8b 4d ec 33 4d f0 8b 55 08 89 4a 30 e9 |.E..M.3M..U..J0.|
000000f0 aa 00 00 00 8b 45 08 8b 48 2c 89 4d ec c7 45 f0 |.....E..H,.M..E.|
00000100 02 00 00 00 8b 55 ec 8b 4d f0 d3 e2 8b 45 08 89 |.....U..M....E..|
00000110 50 3c 8b 4d 08 8b 51 14 89 55 ec c7 45 f0 74 24 |P<.M..Q..U..E.t$|
00000120 00 00 8b 45 ec 03 45 f0 8b 4d 08 89 41 40 8b 55 |...E..E..M..A@.U|
00000130 08 8b 42 3c 89 45 ec 8b 4d 08 8b 51 40 89 55 f0 |..B<.E..M..Q@.U.|
00000140 8b 45 ec 03 45 f0 8b 4d 08 89 41 2c 8d 55 ec 52 |.E..E..M..A,.U.R|
00000150 8b 45 08 8b 48 2c 51 8b 55 08 52 e8 20 f5 01 00 |.E..H,Q.U.R. ...|
00000160 89 45 f4 83 7d f4 00 7d 0e 8b 45 08 8b 4d f4 89 |.E..}..}..E..M..|
00000170 48 14 e9 71 c3 01 00 8b 55 08 8b 45 ec 89 42 28 |H..q....U..E..B(|
00000180 8b 4d 08 8b 51 28 89 55 ec 8b 45 08 8b 48 74 89 |.M..Q(.U..E..Ht.|
00000190 4d f0 8b 55 ec 33 55 f0 8b 45 08 89 50 30 8d 4d |M..U.3U..E..P0.M|
000001a0 ec 51 8b 55 08 0f b7 42 04 83 c0 41 50 8b 4d 08 |.Q.U...B...AP.M.|
000001b0 51 e8 1a 04 02 00 89 45 f4 83 7d f4 00 7d 00 79 |Q......E..}..}.y|
000001c0 3b bf 83 fe ff ff 02 00 00 00 00 08 e9 02 00 fe |;...............|
000001d0 ff ff 05 fe ff ff 02 08 e9 02 00 68 4c 05 00 00 |...........hL...|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
-
mate tri primarni partisny a ntfs a dalsi tri linuxove v extended partisne, ktera je ale uvedena jako druha (obvykle byva posledni)
prvni partisna je primarni a je nastavena jako aktivni (ale nema bootovaci soubory) je na ni ntfs pravdepodobne s winRE a navic je skryta
druha partisna je extended a jsou na ni tri logicke partisny s lin. oddily
pata logicka partisna je s rootem a ext4
sesta logicka partisna je s /home a ext4
sedma logicka partisna je se swapem
treti partisna je primarni, je na ni ntfs pravdepodobne s windows reserved oddilem od windows 7
ctvrta partisna je primarni, je na ni ntfs s windows 7, ale nejsou tam bootovaci soubory!
zkuste pouzit instalacku windows 7 a z ni obnovit bootovaci soubory windows
pokud omylem obnovite i mbr, tak si znicite zavadec linuxu (grub) a budete jej muset opravit
pokud se povede opravit soubory pro zavadeni windows, tak pak jeste bude asi potreba update grubu, aby si to znovu prosel (pokud nalezne soubory pro zavadeni windows, tak by to mel pridat do nabidky...)
-
a ako obnovym tie bootovacie subory Sedmicky ? Ked som vlozil instalacne CD sedmicky a dal Repair tak napisalo, ze naslo nejake chyby v start-upe a ze ked kliknem na OK opravi a restartne, klikol som, restartlo ale zas hned spustilo Ubuntu. Ako to napravit bez reinstalacia Sedmicky ... aspon aby mi isla sedmicka spustit a potom este raz nainstalujem ubuntu ked budem chciet
-
a ako obnovym tie bootovacie subory Sedmicky ?
to presne nevim, ackoliv windows 7 mam (jeste jsem to nikdy nepotreboval)
ja mam windows a linux na jinych pocitacich...
znovu sem dejte vypis z boot_info_script, at je videt, jestli je tam nejaky pokrok
-
tu je vysledok: (nieco som robil podla anglickeho support fora http://ubuntuforums.org/showthread.php?p=9776898#post9776898 , ale teraz nejde uz ani windows ani ubuntu, len cierna obrazovka) .. tento vysledok mam len s pouzitim live cd
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb
sda1: _________________________________________________________________________
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:
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda3 starts
at sector 0. But according to the info from fdisk,
sda3 starts at sector 151219845.
Operating System: Windows 7
Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda4: _________________________________________________________________________
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:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 2,048 3,074,047 3,072,000 27 Hidden HPFS/NTFS
/dev/sda2 3,076,094 151,218,175 148,142,082 5 Extended
/dev/sda5 3,076,096 51,902,463 48,826,368 83 Linux
/dev/sda6 51,904,512 140,795,903 88,891,392 83 Linux
/dev/sda7 140,797,952 151,218,175 10,420,224 82 Linux swap / Solaris
/dev/sda3 * 151,219,845 246,774,464 95,554,620 7 HPFS/NTFS
/dev/sda4 246,786,048 488,394,751 241,608,704 7 HPFS/NTFS
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 999.5 GB, 999501594624 bytes
255 heads, 63 sectors/track, 121515 cylinders, total 1952151552 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 2,048 1,952,151,551 1,952,149,504 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 74C43105C430CB5E ntfs WinRE
/dev/sda2: PTTYPE="dos"
/dev/sda3 01CA5572F5A93420 ntfs
/dev/sda4 329A36639A36242F ntfs Data
/dev/sda5 790ddd1d-4d75-4de6-8895-c0cc2d850bf9 ext4
/dev/sda6 af1acdd9-f896-4aad-b3f7-7009f329a2a7 ext4
/dev/sda7 4e17859e-b9d2-4473-aa7c-8bb663772c41 swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 12C23AD8C23AC031 ntfs My Book
/dev/sdb: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda4 /media/Data fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sr1 /media/WD SmartWare udf (ro,nosuid,nodev,uhelper=udisks,uid=999,gid=999,iocharset=utf8,umask=0077)
/dev/sdb1 /media/My Book fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda5 /tmp/BootInfo0/sda5 ext4 (ro)
/dev/sda3 /tmp/BootInfo2/sda3 fuseblk (ro,nosuid,nodev,allow_other,blksize=4096)
/dev/sda3 /tmp/BootInfo1/sda3 fuseblk (ro,nosuid,nodev,allow_other,blksize=4096)
=========================== sda5/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='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
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='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
set locale_dir=($root)/boot/grub/locale
set lang=sk
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-24-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
linux /boot/vmlinuz-2.6.32-24-generic-pae root=UUID=790ddd1d-4d75-4de6-8895-c0cc2d850bf9 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
echo 'Loading Linux 2.6.32-24-generic-pae ...'
linux /boot/vmlinuz-2.6.32-24-generic-pae root=UUID=790ddd1d-4d75-4de6-8895-c0cc2d850bf9 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic-pae
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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 ###
=============================== sda5/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 nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=790ddd1d-4d75-4de6-8895-c0cc2d850bf9 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=af1acdd9-f896-4aad-b3f7-7009f329a2a7 /home ext4 defaults 0 2
# swap was on /dev/sda7 during installation
UUID=4e17859e-b9d2-4473-aa7c-8bb663772c41 none swap sw 0 0
=================== sda5: Location of files loaded by Grub: ===================
10.3GB: boot/grub/core.img
14.9GB: boot/grub/grub.cfg
10.3GB: boot/initrd.img-2.6.32-24-generic-pae
10.3GB: boot/vmlinuz-2.6.32-24-generic-pae
10.3GB: initrd.img
10.3GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 8b 55 ec 89 51 2c 8b 45 08 8b 48 2c 89 4d ec c7 |.U..Q,.E..H,.M..|
00000010 45 f0 27 00 00 00 8b 55 ec 3b 55 f0 1b c0 f7 d8 |E.'....U.;U.....|
00000020 8b 4d 08 89 41 28 8b 55 08 8b 42 08 89 45 fc 8b |.M..A(.U..B..E..|
00000030 4d 08 8b 51 28 89 55 ec 8b 45 fc 3b 45 ec 75 05 |M..Q(.U..E.;E.u.|
00000040 e9 af 00 00 00 8b 4d 08 8b 51 14 89 55 ec c7 45 |......M..Q..U..E|
00000050 f0 84 02 00 00 8b 45 ec 03 45 f0 8b 4d 08 89 41 |......E..E..M..A|
00000060 30 8b 55 08 8b 42 2c 89 45 ec c7 45 f0 02 00 00 |0.U..B,.E..E....|
00000070 00 8b 55 ec 8b 4d f0 d3 e2 8b 45 08 89 50 20 8b |..U..M....E..P .|
00000080 4d 08 8b 51 20 89 55 ec 8b 45 08 8b 48 30 89 4d |M..Q .U..E..H0.M|
00000090 f0 8b 55 ec 03 55 f0 8b 45 08 89 50 34 8d 4d ec |..U..U..E..P4.M.|
000000a0 51 8b 55 08 8b 42 34 50 8b 4d 08 51 e8 8f f4 01 |Q.U..B4P.M.Q....|
000000b0 00 89 45 f4 83 7d f4 00 7d 0e 8b 55 08 8b 45 f4 |..E..}..}..U..E.|
000000c0 89 42 14 e9 20 c4 01 00 8b 4d 08 8b 55 ec 89 51 |.B.. ....M..U..Q|
000000d0 38 8b 45 08 8b 48 38 89 4d ec 8b 55 08 8b 42 70 |8.E..H8.M..U..Bp|
000000e0 89 45 f0 8b 4d ec 33 4d f0 8b 55 08 89 4a 30 e9 |.E..M.3M..U..J0.|
000000f0 aa 00 00 00 8b 45 08 8b 48 2c 89 4d ec c7 45 f0 |.....E..H,.M..E.|
00000100 02 00 00 00 8b 55 ec 8b 4d f0 d3 e2 8b 45 08 89 |.....U..M....E..|
00000110 50 3c 8b 4d 08 8b 51 14 89 55 ec c7 45 f0 74 24 |P<.M..Q..U..E.t$|
00000120 00 00 8b 45 ec 03 45 f0 8b 4d 08 89 41 40 8b 55 |...E..E..M..A@.U|
00000130 08 8b 42 3c 89 45 ec 8b 4d 08 8b 51 40 89 55 f0 |..B<.E..M..Q@.U.|
00000140 8b 45 ec 03 45 f0 8b 4d 08 89 41 2c 8d 55 ec 52 |.E..E..M..A,.U.R|
00000150 8b 45 08 8b 48 2c 51 8b 55 08 52 e8 20 f5 01 00 |.E..H,Q.U.R. ...|
00000160 89 45 f4 83 7d f4 00 7d 0e 8b 45 08 8b 4d f4 89 |.E..}..}..E..M..|
00000170 48 14 e9 71 c3 01 00 8b 55 08 8b 45 ec 89 42 28 |H..q....U..E..B(|
00000180 8b 4d 08 8b 51 28 89 55 ec 8b 45 08 8b 48 74 89 |.M..Q(.U..E..Ht.|
00000190 4d f0 8b 55 ec 33 55 f0 8b 45 08 89 50 30 8d 4d |M..U.3U..E..P0.M|
000001a0 ec 51 8b 55 08 0f b7 42 04 83 c0 41 50 8b 4d 08 |.Q.U...B...AP.M.|
000001b0 51 e8 1a 04 02 00 89 45 f4 83 7d f4 00 7d 00 79 |Q......E..}..}.y|
000001c0 3b bf 83 fe ff ff 02 00 00 00 00 08 e9 02 00 fe |;...............|
000001d0 ff ff 05 fe ff ff 02 08 e9 02 00 68 4c 05 00 00 |...........hL...|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
-
hmm, tak tedka mate v MBR uz zavadec od windows, pricemz bootovaci soubory windows to dalo na tu windows reserverd partisnu (sda3) - to se moc nepovedlo...
tedka uz musite opravit MBR a dat tam zavadec pro linux http://forum.ubuntu.cz/index.php/topic,42267.0.html (http://forum.ubuntu.cz/index.php/topic,42267.0.html)
pak se take podivejte, jestli mate na sda4 opravdu windows 7 nainstalovane (ma label "Data" a to na to moc neukazuje)
tedy mel by obvykle obsahovat adresare windows, users, program files a programdata (ten je skryty)
-
myslim, ze Windows 7 je na tej sda3 particii, leo sda1 je to WinRE a sda4, kde je label Data tam mam len dokumenty, hudbu a take veci.
A ako opravit MBR ?
-
skusal som ten grub instalovat podla toho navodu na ktory ste dali link, teraz tu je vysledok toho skriptu: (inak ten grub update nesiel, ostatne bez erroru ... daval som mount na sda5, snad som dobre robil, ci nie ?)
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 #5 for /boot/grub.
sda1: _________________________________________________________________________
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:
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda3 starts
at sector 0. But according to the info from fdisk,
sda3 starts at sector 151219845.
Operating System: Windows 7
Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda4: _________________________________________________________________________
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:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 2,048 3,074,047 3,072,000 27 Hidden HPFS/NTFS
/dev/sda2 3,076,094 151,218,175 148,142,082 5 Extended
/dev/sda5 3,076,096 51,902,463 48,826,368 83 Linux
/dev/sda6 51,904,512 140,795,903 88,891,392 83 Linux
/dev/sda7 140,797,952 151,218,175 10,420,224 82 Linux swap / Solaris
/dev/sda3 * 151,219,845 246,774,464 95,554,620 7 HPFS/NTFS
/dev/sda4 246,786,048 488,394,751 241,608,704 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda: PTTYPE="dos"
/dev/sda1 74C43105C430CB5E ntfs WinRE
/dev/sda2: PTTYPE="dos"
/dev/sda3 01CA5572F5A93420 ntfs
/dev/sda4 329A36639A36242F ntfs Data
/dev/sda5 790ddd1d-4d75-4de6-8895-c0cc2d850bf9 ext4
/dev/sda6 af1acdd9-f896-4aad-b3f7-7009f329a2a7 ext4
/dev/sda7 4e17859e-b9d2-4473-aa7c-8bb663772c41 swap
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda5 / ext4 (rw,errors=remount-ro)
/dev/sda6 /home ext4 (rw)
/dev/sda3 /media/01CA5572F5A93420 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
=========================== sda5/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='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
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='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
set locale_dir=($root)/boot/grub/locale
set lang=sk
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-24-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
linux /boot/vmlinuz-2.6.32-24-generic-pae root=UUID=790ddd1d-4d75-4de6-8895-c0cc2d850bf9 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
echo 'Loading Linux 2.6.32-24-generic-pae ...'
linux /boot/vmlinuz-2.6.32-24-generic-pae root=UUID=790ddd1d-4d75-4de6-8895-c0cc2d850bf9 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic-pae
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 790ddd1d-4d75-4de6-8895-c0cc2d850bf9
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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 ###
=============================== sda5/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 nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=790ddd1d-4d75-4de6-8895-c0cc2d850bf9 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=af1acdd9-f896-4aad-b3f7-7009f329a2a7 /home ext4 defaults 0 2
# swap was on /dev/sda7 during installation
UUID=4e17859e-b9d2-4473-aa7c-8bb663772c41 none swap sw 0 0
=================== sda5: Location of files loaded by Grub: ===================
10.3GB: boot/grub/core.img
14.9GB: boot/grub/grub.cfg
10.3GB: boot/initrd.img-2.6.32-24-generic-pae
10.3GB: boot/vmlinuz-2.6.32-24-generic-pae
10.3GB: initrd.img
10.3GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 8b 55 ec 89 51 2c 8b 45 08 8b 48 2c 89 4d ec c7 |.U..Q,.E..H,.M..|
00000010 45 f0 27 00 00 00 8b 55 ec 3b 55 f0 1b c0 f7 d8 |E.'....U.;U.....|
00000020 8b 4d 08 89 41 28 8b 55 08 8b 42 08 89 45 fc 8b |.M..A(.U..B..E..|
00000030 4d 08 8b 51 28 89 55 ec 8b 45 fc 3b 45 ec 75 05 |M..Q(.U..E.;E.u.|
00000040 e9 af 00 00 00 8b 4d 08 8b 51 14 89 55 ec c7 45 |......M..Q..U..E|
00000050 f0 84 02 00 00 8b 45 ec 03 45 f0 8b 4d 08 89 41 |......E..E..M..A|
00000060 30 8b 55 08 8b 42 2c 89 45 ec c7 45 f0 02 00 00 |0.U..B,.E..E....|
00000070 00 8b 55 ec 8b 4d f0 d3 e2 8b 45 08 89 50 20 8b |..U..M....E..P .|
00000080 4d 08 8b 51 20 89 55 ec 8b 45 08 8b 48 30 89 4d |M..Q .U..E..H0.M|
00000090 f0 8b 55 ec 03 55 f0 8b 45 08 89 50 34 8d 4d ec |..U..U..E..P4.M.|
000000a0 51 8b 55 08 8b 42 34 50 8b 4d 08 51 e8 8f f4 01 |Q.U..B4P.M.Q....|
000000b0 00 89 45 f4 83 7d f4 00 7d 0e 8b 55 08 8b 45 f4 |..E..}..}..U..E.|
000000c0 89 42 14 e9 20 c4 01 00 8b 4d 08 8b 55 ec 89 51 |.B.. ....M..U..Q|
000000d0 38 8b 45 08 8b 48 38 89 4d ec 8b 55 08 8b 42 70 |8.E..H8.M..U..Bp|
000000e0 89 45 f0 8b 4d ec 33 4d f0 8b 55 08 89 4a 30 e9 |.E..M.3M..U..J0.|
000000f0 aa 00 00 00 8b 45 08 8b 48 2c 89 4d ec c7 45 f0 |.....E..H,.M..E.|
00000100 02 00 00 00 8b 55 ec 8b 4d f0 d3 e2 8b 45 08 89 |.....U..M....E..|
00000110 50 3c 8b 4d 08 8b 51 14 89 55 ec c7 45 f0 74 24 |P<.M..Q..U..E.t$|
00000120 00 00 8b 45 ec 03 45 f0 8b 4d 08 89 41 40 8b 55 |...E..E..M..A@.U|
00000130 08 8b 42 3c 89 45 ec 8b 4d 08 8b 51 40 89 55 f0 |..B<.E..M..Q@.U.|
00000140 8b 45 ec 03 45 f0 8b 4d 08 89 41 2c 8d 55 ec 52 |.E..E..M..A,.U.R|
00000150 8b 45 08 8b 48 2c 51 8b 55 08 52 e8 20 f5 01 00 |.E..H,Q.U.R. ...|
00000160 89 45 f4 83 7d f4 00 7d 0e 8b 45 08 8b 4d f4 89 |.E..}..}..E..M..|
00000170 48 14 e9 71 c3 01 00 8b 55 08 8b 45 ec 89 42 28 |H..q....U..E..B(|
00000180 8b 4d 08 8b 51 28 89 55 ec 8b 45 08 8b 48 74 89 |.M..Q(.U..E..Ht.|
00000190 4d f0 8b 55 ec 33 55 f0 8b 45 08 89 50 30 8d 4d |M..U.3U..E..P0.M|
000001a0 ec 51 8b 55 08 0f b7 42 04 83 c0 41 50 8b 4d 08 |.Q.U...B...AP.M.|
000001b0 51 e8 1a 04 02 00 89 45 f4 83 7d f4 00 7d 00 79 |Q......E..}..}.y|
000001c0 3b bf 83 fe ff ff 02 00 00 00 00 08 e9 02 00 fe |;...............|
000001d0 ff ff 05 fe ff ff 02 08 e9 02 00 68 4c 05 00 00 |...........hL...|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
-
teraz ked sa uz spustilo Ubuntu tak som dal prikaz sudo update-grub a ked zapnem notebook tak uz nabehne moznost na vybratie OS, je tam Ubuntu aj Windows 7 ale ked zvolim Windows 7 tak nenabehne, iba cierna obrazovka a hore v lavom rohu podciarkovnik
-
v tom poslednim vypisu sice jeste nejsou windows 7 v nabidce grubu, ale na sda3 bootovaci soubory uz jsou, tak tedka uz nevim...
-
ten vypis som robil este pred tym ako som dal update-grub, takze teraz uz je v ponuke grubu aj ten Win
Niekto neviete prosim pomoct ?
-
Proč nejde Windows, to ti tady asi neporadíme.
Zkus opravit disk nějakým jiným Win nástrojem (viz třeba wiki (http://wiki.ubuntu.cz/Odstran%C4%9Bn%C3%AD%20Ubuntu#Windows_Vista)).
a ako obnovym tie bootovacie subory Sedmicky ? Ked som vlozil instalacne CD sedmicky a dal Repair tak napisalo, ze naslo nejake chyby v start-upe a ze ked kliknem na OK opravi a restartne, klikol som, restartlo ale zas hned spustilo Ubuntu. ...
Z toho by plynulo, že v MBR disku zůstal Grub, a tedy k opravě fakticky nedošlo → daný Windows "repair" nástroj nefunguje.
-
a ako obnovym tie bootovacie subory Sedmicky ? Ked som vlozil instalacne CD sedmicky a dal Repair tak napisalo, ze naslo nejake chyby v start-upe a ze ked kliknem na OK opravi a restartne, klikol som, restartlo ale zas hned spustilo Ubuntu. ...
Z toho by plynulo, že v MBR disku zůstal Grub, a tedy k opravě fakticky nedošlo → daný Windows "repair" nástroj nefunguje.
[/quote]
doplnilo to bootovaci soubory windows na sda3, ale presto to selhava
on je to peknej bordel v partisnach (jejich usporadani je velmi nestandardni), tak jestli toto jsou nebo nejsou nasledky uz nejsem s to posoudit
mozna doslo i k prejmenovani disku napr. z D: na C: a windows uz si s tim neporadej, ale to uz jsou jen dohady...