Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: kamikaze.suicide 23 Května 2011, 21:16:33
-
zdravim,
pro nekoho mozna stupidni otazka ale nevim jak nastavit(zapnout) menu pri zapinani pc - abych si mohl vybrat mezi ubuntu a win 7...
mam nainstalov. win 7 a pak jsem si vedle neho nainstaloval ubuntu 11.04 a pri zapnuti pc se mi automaticky zapne win a to nechci.
dik.. :)
-
Ubuntu jak píšeš máš nainstalovaný, tak zkus jenom nainstalovat zavaděč.
http://wiki.ubuntu.cz/GRUB2 (http://wiki.ubuntu.cz/GRUB2) odstavec Obnovení GRUB2 pomocí LiveCD
Zde http://forum.ubuntu.cz/index.php/topic,56476.msg403598.html#new (http://forum.ubuntu.cz/index.php/topic,56476.msg403598.html#new) se řeší totéž
-
no a potom (v ubuntu ) v konzoli zadat:
sudo gedit /boot/grub/menu.lst
a k default přepsat řádek OS, který má být spouštěn při startu
-
no a potom (v ubuntu ) v konzoli zadat:
sudo gedit /boot/grub/menu.lst
a k default přepsat řádek OS, který má být spouštěn při startu
Sorry ale tohle platí pro grub1 v Ubu 9.04 a starší, jinak pro grub2 jsem návod odkazoval.
-
kdyz hned po zapnuti pocitace drzis SHIFT, tak se nabidka take neobjevi?
pokud ne, zkopiruj tu vypis s informacemi z boot_info
http://wiki.ubuntu.cz/boot_info_script
-
Ahoj,tak jsem to zkusil,menu naběhlo ale XP tam není,vidím to černě,děkuji za odpověď.
-
zkopiruj tu vypis s informacemi z boot_info
http://wiki.ubuntu.cz/boot_info_script
-
Tady je to.
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.97-1.98) 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 in partition 1 for (,msdos1)/boot/grub.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ 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 Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 612,853,759 612,851,712 83 Linux
/dev/sda2 612,855,806 625,141,759 12,285,954 5 Extended
/dev/sda5 612,855,808 625,141,759 12,285,952 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 fc08a5a7-304d-4f18-9979-27d0a94ee4af ext4
/dev/sda5 f5dc8d32-638b-4965-ab93-7aeee5b961b2 swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 / ext4 (rw,errors=remount-ro,commit=0)
=========================== sda1/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="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
}
function load_video {
insmod vbe
insmod vga
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fc08a5a7-304d-4f18-9979-27d0a94ee4af
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fc08a5a7-304d-4f18-9979-27d0a94ee4af
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.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fc08a5a7-304d-4f18-9979-27d0a94ee4af
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=fc08a5a7-304d-4f18-9979-27d0a94ee4af ro quiet splash
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fc08a5a7-304d-4f18-9979-27d0a94ee4af
echo 'Loading Linux 2.6.35-28-generic ...'
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=fc08a5a7-304d-4f18-9979-27d0a94ee4af ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fc08a5a7-304d-4f18-9979-27d0a94ee4af
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=fc08a5a7-304d-4f18-9979-27d0a94ee4af ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fc08a5a7-304d-4f18-9979-27d0a94ee4af
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=fc08a5a7-304d-4f18-9979-27d0a94ee4af ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-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='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fc08a5a7-304d-4f18-9979-27d0a94ee4af
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fc08a5a7-304d-4f18-9979-27d0a94ee4af
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-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 ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda1/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
/dev/sda1 / ext4 errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
100.134307861 = 107.518394368 boot/grub/core.img 1
128.217708588 = 137.672716288 boot/grub/grub.cfg 2
1.196289062 = 1.284505600 boot/initrd.img-2.6.35-22-generic 2
1.253192902 = 1.345605632 boot/initrd.img-2.6.35-28-generic 2
100.141666412 = 107.526295552 boot/vmlinuz-2.6.35-22-generic 1
100.132854462 = 107.516833792 boot/vmlinuz-2.6.35-28-generic 1
1.253192902 = 1.345605632 initrd.img 2
1.196289062 = 1.284505600 initrd.img.old 2
100.132854462 = 107.516833792 vmlinuz 1
100.141666412 = 107.526295552 vmlinuz.old 1
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda2
00000000 4b 1f cb 5f 0c d0 b7 b5 64 38 fb cc 12 0c c1 ab |K.._....d8......|
00000010 f4 9e 58 6b e9 c6 fd ec 97 7d 5b c3 f2 36 d5 8c |..Xk.....}[..6..|
00000020 ca fd e7 48 6e 92 ac 64 27 5f ef e4 f8 b3 d4 59 |...Hn..d'_.....Y|
00000030 e5 b6 4a b4 84 5d f8 3b 12 5f 0b ea 5f 17 16 d8 |..J..].;._.._...|
00000040 be 31 8b c1 d2 e6 ee e4 3c 33 19 14 a1 e0 07 02 |.1......<3......|
00000050 08 64 0c f6 cc 95 38 ea 00 dd be f8 90 37 37 9d |.d....8......77.|
00000060 35 8f e7 e6 7c 47 f6 dc 11 d1 eb 9e 1a b1 ee 4c |5...|G.........L|
00000070 3f c6 d7 a7 73 ad 7b 92 34 88 1e 98 fa 57 52 9e |?...s.{.4....WR.|
00000080 30 42 d6 2a dd 08 f2 92 65 a8 36 0a 35 a8 0e fa |0B.*....e.6.5...|
00000090 07 bc e1 e0 be 94 e2 76 0f 36 4b 53 e6 16 f1 ca |.......v.6KS....|
000000a0 c9 2e b2 c6 f5 3f 92 ed b8 1c d2 6b 3d df 37 58 |.....?.....k=.7X|
000000b0 fa 4a 2a c8 99 96 41 c3 65 fe 24 9e ff 27 a0 e4 |.J*...A.e.$..'..|
000000c0 5a fc 74 1c ff 64 ca 52 4f f9 70 8f a8 36 9c fa |Z.t..d.RO.p..6..|
000000d0 8a a7 7b 27 7b b8 a2 03 e6 e8 d3 75 57 47 20 01 |..{'{......uWG .|
000000e0 90 32 ee 85 b1 3e d5 85 d7 47 c7 bf d0 a9 3e d0 |.2...>...G....>.|
000000f0 d7 54 f9 3d e8 be 9b d1 c1 76 32 25 74 94 2d c7 |.T.=.....v2%t.-.|
00000100 70 9c 18 f1 e3 1a fa 62 b9 fe 41 b7 67 71 d2 bc |p......b..A.gq..|
00000110 0b 8b 59 f1 61 e4 ac ab fd 86 9c dc d8 d5 89 11 |..Y.a...........|
00000120 35 b7 b0 d4 f6 7b 0a d0 1e f9 eb bc 19 46 0d 78 |5....{.......F.x|
00000130 1a ba 1d 2b 34 bb 70 7a 52 a1 3d b2 4c 32 59 37 |...+4.pzR.=.L2Y7|
00000140 59 66 98 7c 9c 72 73 2d e7 1c bf e6 ba 3d 8f c3 |Yf.|.rs-.....=..|
00000150 b3 9b 8e 6b ac 8e 17 15 50 3a df 4c fd 66 c7 f4 |...k....P:.L.f..|
00000160 95 ca 65 53 50 ef 40 d9 84 b5 25 3a 80 1a 68 4f |..eSP.@...%:..hO|
00000170 0f 1e d7 34 39 5d dd 83 e5 32 35 0f 43 9b 4d ad |...49]...25.C.M.|
00000180 de 99 4d fc 11 44 de fc e0 ec da 0a 8e 31 6b b8 |..M..D.......1k.|
00000190 b8 70 41 aa 86 e0 aa d7 a8 82 b7 27 d1 e8 08 34 |.pA........'...4|
000001a0 35 df d7 13 45 66 a8 16 6b 16 31 81 17 35 88 e0 |5...Ef..k.1..5..|
000001b0 f2 55 d2 03 b4 ee 0e d5 88 6e 45 07 61 89 00 fe |.U.......nE.a...|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 78 bb 00 00 00 |...........x....|
000001d0 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
.
-
je to spatne, zrejme jsi omylem dal instalovat ubuntu na cely disk namisto vedle windows, windows tam nikde neni
jestli jsi tam mel velmi dulezita data, ktera sis nezalohoval, muzes se pokusit je obnovit, ale necekej od toho zazraky
testdisk - pokus o zachranu celeho oddilu (pravdepodobne se nepovede)
photorec - pokus o zacharanu jednotlivych souboru
oboji na http://wiki.ubuntu.cz/TestDisk
-
Zkusím to,nic tak důležitého jsem tam neměl,nějaké fotky atd, a děkuji moc:-)
-
Fotky jsou na světě,kudy budu chodit tudy tě budu chválit :-)