Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: mariangru 24 Srpna 2009, 21:02:44
-
Ahojte
tak jsem zase instaloval systém... tentokrát OpenSUSE - Měl jsem Ubuntu. Rozdělil jsem disky, a SUSE nainstaloval na oddělený disk. Ovšem neudělal jsem už partici na SWAP a SUSE použilo, nejspíše, tu, kde bylo Ubuntu. SUSE teď jede, ale Ubuntu nenabootuje - asi že namá svůj SWAP. Dá se to ještě nějak zachránit. Ubuntu tam pořád je, jen se je nadá nabootovat. Jsem pořád začátečník, i když z Ubuntu už pracuji 2 roky. Dík za rady
-
Swapem to nebude. Pošli info z boot_info_script (http://forum.ubuntu.cz/index.php/topic,37003.msg271994.html#msg271994). Popiš podrobněji, co to znamená, že nenabootuje. Píše nějakou chybu? Vidíš ho v nabídce Grubu?
-
Díky Arrange
když dávám toto: sudo bash ~/Desktop/boot_info_script*.sh tak mi vyhazuje, že není takový adresář
jinak: v nabídce grubu Ubuntu je, ale když ho dám, tak píše toto:
kernel /boot/vmlinuz-2.6.26-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe 2dd761a ro quiet splash
Error15: file not found
co s tím? díky
-
Prostě dej v Terminálu (http://wiki.ubuntu.cz/Termin%C3%A1l)
cd ~
wget http://downloads.sourceforge.net/project/bootinfoscript/bootinfoscript/0.32/boot_info_script032.sh?use_mirror=dfn
sudo bash boot_info_script032.shAž skript dojede, v Tvé domovské složce (/home/<Tvé uživ. jméno>) najdeš soubor RESULTS.txt. Zkopíruj jeho obsah sem.
-
ok, tak to vypadá takto:
============================= Boot Info Summary: ==============================
=> Acer 3 is installed in the MBR of /dev/sda
sda1: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info: Operating System: Ubuntu 9.04
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: _________________________________________________________________________
File system: ext3
Boot sector type: Grub
Boot sector info: Grub0.97 is installed in the boot sector of sda3 and
looks at sector 138111607 of the same hard drive for
the stage2 file. A stage2 file is at this location on
/dev/sda. Stage2 looks on partition #3 for
/boot/grub/menu.lst.
Operating System: Welcome to openSUSE 11.1 -
Kernel ().
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 80,0 GB, 80 026 361 856 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 9 729, celkem 156 301 488 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Identifikátor disku: 0x0d4a37a0
Partition Boot Start End Size Id System
/dev/sda1 63 91,875,734 91,875,672 83 Linux
/dev/sda2 153,324,360 156,296,384 2,972,025 5 Extended
/dev/sda5 153,324,423 156,296,384 2,971,962 82 Linux swap / Solaris
/dev/sda3 * 91,875,735 153,324,359 61,448,625 83 Linux
blkid -c /dev/null: ____________________________________________________________
/dev/sda1: UUID="35d3940e-7197-4997-8b38-7a1fe3dd761a" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="d68107ae-277b-4615-8ac3-c59b115c005c" TYPE="ext3"
/dev/sda5: UUID="028e4a19-c3bf-410a-aead-10dfcf669f3b" TYPE="swap"
=============================== "mount" output: ===============================
/dev/sda3 on / type ext3 (rw,acl,user_xattr)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
gvfs-fuse-daemon on /home/marian/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=marian)
=========================== sda1/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 3
## 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=35d3940e-7197-4997-8b38-7a1fe3dd761a ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=35d3940e-7197-4997-8b38-7a1fe3dd761a
## 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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 9.04, kernel 2.6.28-15-generic
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro single
initrd /boot/initrd.img-2.6.28-15-generic
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
=============================== sda1/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'vol_id --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/sda1 during installation
UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=028e4a19-c3bf-410a-aead-10dfcf669f3b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sda1: Location of files loaded by Grub: ===================
31.2GB: boot/grub/menu.lst
31.3GB: boot/grub/stage2
31.3GB: boot/initrd.img-2.6.28-11-generic
31.3GB: boot/initrd.img-2.6.28-15-generic
31.3GB: boot/vmlinuz-2.6.28-11-generic
31.3GB: boot/vmlinuz-2.6.28-15-generic
31.3GB: initrd.img
31.3GB: initrd.img.old
31.3GB: vmlinuz
31.3GB: vmlinuz.old
=========================== sda3/boot/grub/menu.lst: ===========================
# Modified by YaST2. Last modification on Po srp 24 17:57:35 UTC 2009
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,2)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1 - 2.6.27.7-9
root (hd0,2)
kernel /boot/vmlinuz-2.6.27.7-9-pae root=/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 resume=/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part5 splash=silent showopts vga=0x317
initrd /boot/initrd-2.6.27.7-9-pae
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1 - 2.6.27.7-9
root (hd0,2)
kernel /boot/vmlinuz-2.6.27.7-9-pae root=/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd-2.6.27.7-9-pae
###Don't change this comment - YaST2 identifier: Original name: Ubuntu 9.04, kernel 2.6.28-15-generic (/dev/sda1)###
title Ubuntu 9.04, kernel 2.6.28-15-generic (/dev/sda1)
root (hd0,0)
configfile /boot/grub/menu.lst
=============================== sda3/etc/fstab: ===============================
/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 / ext3 acl,user_xattr 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
=================== sda3: Location of files loaded by Grub: ===================
70.6GB: boot/grub/menu.lst
70.7GB: boot/grub/stage2
70.7GB: boot/initrd
70.7GB: boot/initrd-2.6.27.7-9-pae
70.7GB: boot/vmlinuz
70.7GB: boot/vmlinuz-2.6.27.7-9-pae
-
Teď mi není jasné - ta nabídka Grubu při startu počítače je SUSácká nebo Ubuntí? Ta chyba, co píšeš, vypadá z Ubuntího, ale pak by se Ti vůbec nenabízelo SUSE. Nevyznám se prostě v tom SUSáckém menu.lst 8)
kernel /boot/vmlinuz-2.6.26-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe 2dd761a ro quiet splash
Error15: file not found
Jinak tato chyba je jasná, file not found, soubor /boot/vmlinuz-2.6.26-15-generic tam nemáš, jen /boot/vmlinuz-2.6.28-15-generic, možná jsi to ale jen špatně opsal. Když tak pošli snímek obrazovky.
-
ta nabídka je SUSE, né Ubuntu
mám za to, že jsem to napsal správně
nevím, jak udělat snímek obrazovky
dík za pomoc
-
Á, už to asi vidím, configfile! No, neznám SUSE, takže pokud se někdo povolanější neozve, poradil bych Ti toto:
- najeď do SUSE, staň se rootem (nevím jak)
- zálohuj menu.lst cp /boot/grub/menu.lst /boot/grub/menu.lst_zaloha- otevři menu.lst v čem chceš, např. v nano nano /boot/grub/menu.lst- najdi řádek configfile /boot/grub/menu.lst- vymaž ho a místo něj dej tyto 2 řádky kernel /vmlinuz
initrd /initrd.imgtakže celý ten odstavec bude vypadat nějak takto###Don't change this comment - YaST2 identifier: Original name: Ubuntu 9.04, kernel 2.6.28-15-generic (/dev/sda1)###
title Ubuntu 9.04, kernel 2.6.28-15-generic (/dev/sda1)
root (hd0,0)
kernel /vmlinuz
initrd /initrd.img- ulož Ctrl+x, y (yes) (pokud jsi v tom nano)
- restartuj
Pokud jsi zjistil, že sis zmrvil menu.lst a nenabootuješ vůbec, chvíli na sebe/mě/zlý osud tiše nadávej, pak vlož LiveCD a obnov tu zálohu (viz bod 2).
-
ha!
tak zlý jsem nemusel být! ale
chvíli to chrastilo, proběhly tak tři obrazovky, nějaké čísla, pak se to zaseklo na něčem jako toto ( vybral jsem to co se mi zdalo jako podstatné ):
Gave up waiting for root device ... missing modules ( cat/proc/modules , ls/dev ) ... Alert! does not exist Dropping to a shell ... a pak už jen ( initramfs ) a blikající kurzor.
Co s tím?
-
Něco podobného jsem řešil když jsem minulý týden nainstaloval Sabayon 4.2 vedle openSuSE.
Pomohlo mi tohle:bootnout livko openSuSE a přes F2 si tam dát cz-lang :D a potom zvolit volbu → opravit nainstalovaný systém,kde po pár věcech to chce odkliknout oprava zavaděče,nebo něco podobněho.Potom restart a vše bylo o.k.
Neříkám,že to musí na 100% helpnout,ale trvá to asi 10 min a za zkoušku nic nedáš.
-
Hmm, moje chyba, v tom řádku kernel mělo být ještě root=/dev/sda1 ro, takže celkově
kernel /vmlinuz root=/dev/sda1 roPokud nefunguje, tak už nevím, vrať tam tu zálohu menu.lst...
-
hmmm, tak jsem to zkusil přes to liveCD SUSE a neopravil jsem zavaděč - když jsem chtěl umístit zavaděč na té partici disku, kde je Ubuntu, tak mě to nepustilo -, ale vytvořil nový, omylem. Teď už Ubuntu v nabídce Grubu není vůbec. Pak jsem zkoušel ještě jednou to, co dopsal Arrange s tím novým dopiskem o kernel atd, celé znova, ale nic. Neměl bych nabootoval z LiveCD Ubuntu a zkusit vytvořit nový zavaděč tam? Jak dál?
-
zkusil bych to podle tohoto návodu: http://wiki.ubuntu.cz/GRUB/Obnova?action=show&redirect=Obnova+boot+mana%C5%BEeru+Grub+po+reinstalaci+Windows
co myslíte, půjde to?
-
Znovu boot_info_script, ale výsledek dej prosím do kódu, viz ikonka (http://forum.ubuntu.cz/Themes/Ubuntu/images/bbc/code.gif) nahoře.
-
ok, díky moc, Arrange. Já jsem teďka v práci, hodím to sem až večer. Díky za reakci :-)
-
ok, ten script vypadá takto:
============================= Boot Info Summary: ==============================
=> Acer 3 is installed in the MBR of /dev/sda
sda1: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info: Operating System: Ubuntu 9.04
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: _________________________________________________________________________
File system: ext3
Boot sector type: Grub
Boot sector info: Grub0.97 is installed in the boot sector of sda3 and
looks at sector 138111607 of the same hard drive for
the stage2 file. A stage2 file is at this location on
/dev/sda. Stage2 looks on partition #3 for
/boot/grub/menu.lst.
Operating System: Welcome to openSUSE 11.1 -
Kernel ().
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 80,0 GB, 80 026 361 856 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 9 729, celkem 156 301 488 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Identifikátor disku: 0x0d4a37a0
Partition Boot Start End Size Id System
/dev/sda1 63 91,875,734 91,875,672 83 Linux
/dev/sda2 153,324,360 156,296,384 2,972,025 5 Extended
/dev/sda5 153,324,423 156,296,384 2,971,962 82 Linux swap / Solaris
/dev/sda3 * 91,875,735 153,324,359 61,448,625 83 Linux
blkid -c /dev/null: ____________________________________________________________
/dev/sda1: UUID="35d3940e-7197-4997-8b38-7a1fe3dd761a" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="d68107ae-277b-4615-8ac3-c59b115c005c" TYPE="ext3"
/dev/sda5: UUID="028e4a19-c3bf-410a-aead-10dfcf669f3b" TYPE="swap"
=============================== "mount" output: ===============================
/dev/sda3 on / type ext3 (rw,acl,user_xattr)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
gvfs-fuse-daemon on /home/marian/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=marian)
=========================== sda1/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 3
## 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=35d3940e-7197-4997-8b38-7a1fe3dd761a ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=35d3940e-7197-4997-8b38-7a1fe3dd761a
## 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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 9.04, kernel 2.6.28-15-generic
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro single
initrd /boot/initrd.img-2.6.28-15-generic
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid 35d3940e-7197-4997-8b38-7a1fe3dd761a
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
=============================== sda1/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'vol_id --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/sda1 during installation
UUID=35d3940e-7197-4997-8b38-7a1fe3dd761a / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=028e4a19-c3bf-410a-aead-10dfcf669f3b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 /data1 auto noauto,user 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
=================== sda1: Location of files loaded by Grub: ===================
31.2GB: boot/grub/menu.lst
31.3GB: boot/grub/stage2
31.3GB: boot/initrd.img-2.6.28-11-generic
31.3GB: boot/initrd.img-2.6.28-15-generic
31.3GB: boot/vmlinuz-2.6.28-11-generic
31.3GB: boot/vmlinuz-2.6.28-15-generic
31.3GB: initrd.img
31.3GB: initrd.img.old
31.3GB: vmlinuz
31.3GB: vmlinuz.old
=========================== sda3/boot/grub/menu.lst: ===========================
# Modified by YaST2. Last modification on Po srp 24 23:29:16 CEST 2009
default 0
timeout 8
gfxmenu (hd0,2)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX
root (hd0,2)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 repair=1 resume=/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part5 splash=silent showopts vga=0x317
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
root (hd0,2)
kernel /vmlinuz root=/dev/sda1 ro
initrd /boot/initrd
=============================== sda3/etc/fstab: ===============================
/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-SAMSUNG_HM080JI_S082J10YA20704-part3 / ext3 acl,user_xattr 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
=================== sda3: Location of files loaded by Grub: ===================
70.7GB: boot/grub/menu.lst
70.7GB: boot/grub/stage2
70.7GB: boot/initrd
70.7GB: boot/initrd-2.6.27.29-0.1-pae
70.7GB: boot/vmlinuz
70.7GB: boot/vmlinuz-2.6.27.29-0.1-pae
co s tím?
-
V SUSE v menu.lst (zálohuj!) dej místo
title Failsafe
root (hd0,2)
kernel /vmlinuz root=/dev/sda1 ro
initrd /boot/initrdtototitle Ubuntu 9.04 - nejnovejsi kernel
root (hd0,0)
kernel /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
Jinak je zajímavé, jak SUSE označuje volbu Ubuntu jako Failsafe ;D
-
Jo! Uděláno a jede to! Díky díky mooooc :)