Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: drunkez 07 Října 2007, 01:27:12
-
ahojte vsetci ubuntaci> moj problem"
live CD ubuntu 7.10 dal som nainstalovat vsetko preslo...po restarte mi nahodi grub ...ale taky BASH like mod.
ja ale potrebujem dual boot..preco tam dual boot nie je? ....
Dakujem.
-
Tak tomu fakt nerozumím...
-
Tak tomu fakt nerozumím...
Tak este raz..:)
Z live CD som nainstaloval UBUNTU 7.10 restartol PC a ocakaval ze GRUB mi da klasicky na vyber medzi xp a u buntu..nestalo sa tak a nastartoval sa GRUB v nejako BASH like mode ..cize na vyber OS nemam
Proste je tam len taketo ze:
grub>
thats all..
-
Tomu už rozumím. :) Něco se asi nepovedlo s Grubem, pak ho tedy obnovte. viz. http://wiki.ubuntu.cz/Obnova_boot_mana%C5%BEeru_Grub_po_reinstalaci_Windows?highlight=%28grub%29
-
Tomu už rozumím. :) Něco se asi nepovedlo s Grubem, pak ho tedy obnovte. viz. http://wiki.ubuntu.cz/Obnova_boot_mana%C5%BEeru_Grub_po_reinstalaci_Windows?highlight=%28grub%29
hm..toto neriesi moj problem...
ten navod je dobry ked je grub down ale funckny ..ja mam skorej nefunkcny grub a potrebujem ho dostat do stavu kde nebude bash like ale pekne OS choose
-
Není pravda, obnoví to Grub zcela. Prostě to udělejte.
-
podla tohto tu
http://forums.fedoraforum.org/archive/index.php/t-62899.html (http://forums.fedoraforum.org/archive/index.php/t-62899.html)
som sa rucne dostal k bootu xp aj ubuntu ..len ubuntu nebootlo:)
tak to idem este vytrikovat....napisem o progrese
-
Není pravda, obnoví to Grub zcela. Prostě to udělejte.
urobil som to..po restarte ..zasa bash like...
-
Proc si vlastne instalujes jeste vyvojovou verzi? Sice uz by mela bejt skoro STABLE, a zrovna Grub by mel fungovat ale tak jen se ptam.
Jestli nabootujes Ubuntu tak sem hod vypis prikazu:
sudo fdisk -lcat /boot/grub/menu.lst
-
tak nenabootujem lebo toto
check root=bootarg cat /proc/cmdline
or missingf modules, devices: cat /proc/modules ls /dev
ALERT:! does not exist. Dropping to a shell!!
Busy Box v1.1.3 Built-in shell (ash)
/bin/sh: can`t access tty; job control tuned off
(initramfs)
tak tam skusim dat 7.04 ze co to spravi
-
takze pani detto situacia s 7.04
takisto bash-like grub a po rucnom nastaveni parametrov zacne ubuntu bootovat a nenabootuje
bude to teda systemom
system je taky ze je hd0 40 GB disk na ktorom je XP a hd1 je rozdelena na 2 particie kde je hd1,0 ubuntu a hd1,1 NTFS (non system)
loader som daval instalovat na hd0,0 je niekde chyba?
-
Uz jsem se s podobnym problemem setkal. Pokud byl byl WIN na prvem disku UBUNTU na druhem a zavadec se instaloval na prvni disk tak se mi spatne GRUB nakonfiguroval. Reseni se nabizeji dve.
1] naistalovat ubuntu vedle windows na prvni hardisk
2] rucne nakonfigurvat grub (muselo by se delat pri kazde aktualizaci jadra ale neni to tak tezke a zabere chvilku)
Rozhodnuti je na tobe. Kazdopadne s tim druhym bysme ti zde urcite pomohli.
-
tak volim 2:))
tu je /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-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 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=9cae3b67-0c3c-4819-8cd7-3bde9a696a3b ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)
## 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
## 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 Ubuntu gutsy (development branch), kernel 2.6.22-12-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-12-generic root=UUID=9cae3b67-0c3c-4819-8cd7-3bde9a696a3b ro quiet splash
initrd /boot/initrd.img-2.6.22-12-generic
quiet
title Ubuntu gutsy (development branch), kernel 2.6.22-12-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-12-generic root=UUID=9cae3b67-0c3c-4819-8cd7-3bde9a696a3b ro single
initrd /boot/initrd.img-2.6.22-12-generic
title Ubuntu gutsy (development branch), memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
quiet
### 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/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
chainloader +1
-
Tak jeste prosim vypis prikazu:
sudo fdisk -l
-
Tak jeste prosim vypis prikazu: sudo fdisk -l
tak tu to je
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x95469546
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4997 40138371 7 HPFS/NTFS
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcdb34689
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2926 23503063+ 83 Linux
/dev/sdb2 3188 19457 130688775 7 HPFS/NTFS
/dev/sdb3 2927 3187 2096482+ 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/sdc: 1050 MB, 1050526208 bytes
33 heads, 61 sectors/track, 1019 cylinders
Units = cylinders of 2013 * 512 = 1030656 bytes
Disk identifier: 0x9f206b73
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdc1 ? 116662 1128523 1018438021 20 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(416, 105, 46) logical=(116661, 30, 3)
Partition 1 has different physical/logical endings:
phys=(612, 109, 2) logical=(1128522, 27, 34)
Partition 1 does not end on cylinder boundary.
/dev/sdc2 ? 683751 1495983 817510834+ 69 Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(100, 97, 32) logical=(683750, 31, 15)
Partition 2 has different physical/logical endings:
phys=(373, 115, 43) logical=(1495982, 9, 9)
Partition 2 does not end on cylinder boundary.
/dev/sdc3 ? 895542 1788383 898643634+ 74 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(362, 116, 53) logical=(895541, 28, 8)
Partition 3 has different physical/logical endings:
phys=(115, 101, 32) logical=(1788382, 0, 51)
Partition 3 does not end on cylinder boundary.
/dev/sdc4 ? 1433523 1433551 27620+ 73 Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(357, 160, 54) logical=(1433522, 22, 25)
Partition 4 has different physical/logical endings:
phys=(10, 121, 13) logical=(1433550, 3, 60)
Partition 4 does not end on cylinder boundary.
ubuntu@ubuntu:~$
-
jo to /dev/sdc je zjavne USB disk gigovy s mp3:)
-
takze s pomocou supergrub nabootujem ..
len by som chcel standartny grub (OS chooser na zaciatku)
-
Tak si nejsem jist tvym rozdelenim a zapsanim v Grubu nebot to mas pomoci UUID coz z fdisku neni moc poznat.
Zkus pri vyberu OS ve standartnim grubu pokud mas zvyraznene Ubuntu (uplne nahore) misto enter jako bootavani zmacnknout "E "(jako edit)
Tim se dostanes do dalsiho menu kde najedes na druhy radek (kernel) a opet zmacknes "E"
Takto vypada tedkon ten radek:
kernel /boot/vmlinuz-2.6.22-12-generic root=UUID=9cae3b67-0c3c-4819-8cd7-3bde9a696a3b ro quiet splash
Zkus ho nahradit takovymto:
kernel /boot/vmlinuz-2.6.22-12-generic root= /dev/sdb1 ro
Smazal jsem tam posledni dve slova na radku a prepsal vse za root=...
Pak zmackni enter a nakonec na tom samem radku "B" (jako BOOT) a doufej ze se to rozjede. Pripadne chyby sem hod.