Fórum Ubuntu CZ/SK
		Ostatní => Archiv => Téma založeno: Ondřej Trhoň  17 Listopadu 2006, 10:46:57
		
			
			- 
				Nainstaloval jsem Ubuntu a normálně se zobrazoval GRUB (nebo nabídka výběru systému). Potom jsem nainstaloval WinXP a GRUB zmizel a nyni se mi spusti Win XP :( Pls pomoc!
			
 
			
			- 
				Ach jo, Příspěvky: 163 Registrovaný: 2006-06-20 a jeste neumi zadat do vyhledavae na foru slovo grub anebo se podivat na 100x odkazovanou Wiki.... :/
http://wiki.ubuntu.cz/Obnova_boot_mana%C5%BEeru_Grub_po_reinstalaci_Windows
http://wiki.ubuntu.cz/GRUB
			 
			
			- 
				Nechapu co mam se stazenym souborem udelat. Ma to byt .iso a pritom to je bz2 archiv. A jak ho mám ve Windows rozbalit?
			
 
			
			- 
				Jak ve windows ? ty nemají o Grubu ani ponětí ...
			
 
			
			- 
				No jak je SUPER GRUB DISK tak se stáhne archiv .bz2 a co s ním? Rovnou vypálit?
			
 
			
			- 
				sgd_0.9532.iso.bz2 - Rozbalit v Total Comanderu a .iso vypálit.
			
 
			
			- 
				Rozbalíš ho a jako zázrakem na tebe vykoukne soubor s příponou *.iso. Ten pak už normálně vypálíš (v režimu vypálit obraz CD). Jinak při stahování z originálních stránek je to napsané na odkazem - "supergrub cdrom iso inside bz2".
			
 
			
			- 
				Mockrat vam diky.
			
 
			
			- 
				tak jsem se dostal do stejneho problemu. Bohuzel ale nemam tolik stesti jako ostatni. Zkousel jsem vsechny tri metody popsane ve wiki.
Nejvetsi uspech mam se super grub disk, ale take jen castecny. Sice obnovil Grub, ale muzu nabootovat jen do XP. Mam v PC jeden disk, ktery mel puvodne dva OS. WinXP a Kubuntu 6.10. Potom, jsem preinstaloval XP ale fdisk-em jsem ubral z NTFS a vytvoril jeden oddil FAT32. Ted samozrejme nemuzu nabootvat jinam nez do XP. Dokonce ani ten Super Grub Disk to neprekopal, ale je tam moznost boot to gnu/linux directly a s tim se dostanu do puvodniho Kubuntu, ktery ale pro zmenu neumi cist z disku NTFS coz predtim slo. Zkousel jsem stejne postupy v uz nabootovanem Kubuntu, ale proste to konci stejne. Po restartu se tedy ukaze Grub a kdyz zvolim neco jineho nez XP tak to napise Error 17 : Cannot mount selected partition. Poradite nekdo? Jsem Linuxovy zacatecnik. Diky za radu
Kubuntu je na dev/hda3 a root (hd0,2)
jeste prikladam vypis /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-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 change this entry to 'saved' 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		10
## 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=42329ef0-a80d-4108-a562-35780038065d ro
# kopt_2_6=root=/dev/hda2 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)
## 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
## 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
## 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
## ## End Default Options ##
title		Ubuntu, kernel 2.6.17-10-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.17-10-generic root=/dev/hda2 ro quiet splash
initrd		/boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
title		Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.17-10-generic root=/dev/hda2 ro single
initrd		/boot/initrd.img-2.6.17-10-generic
boot
title		Ubuntu, memtest86+
root		(hd0,1)
kernel		/boot/memtest86+.bin
quiet
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title		Microsoft Windows XP Home Edition
root		(hd0,0)
savedefault
makeactive
chainloader	+1
a vypis  fdisk -l
petr@petr-laptop:~$ sudo fdisk -l
Disk /dev/hda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1147     9213246    7  HPFS/NTFS
/dev/hda2            1148        2604    11703352+   f  W95 Ext'd (LBA)
/dev/hda3            2605        3596     7968240   83  Linux
/dev/hda4            3597        3648      417690   82  Linux swap / Solaris
/dev/hda5            1148        2604    11703321    b  W95 FAT32
petr@petr-laptop:~$
Quis custodiet ipsos custodes
			 
			
			- 
				Podle toho výpisu máš linux na hda3 (čili hd0,2), ale v menu.list máš u Ubuntu hda2(hd0,1), takže v něm přepiš hda2 na hda3 a hd0,1 na hd0,2, neboť na hda2 máš ten FAT32, který se tam zřejmě vnořil jako extended a ostatní disky tak odsunul o jednu pozici dál. Pak si najdi soubor /etc/fstab a v něm si můžeš opravit připojení jednotlivých disků do Kubuntu.
			
 
			
			- 
				jj. presne tak jsem to udelal. jeste s tim fstabem jsem se trapil, ale nakonec jsem to zvladnul. Mam Linux teprve mesic, takze zadna radast. Diky za pomoc
Quis custodiet ipsos custodes